diff --git a/src/components.js b/src/components.js
index fc2d960..cdf8518 100644
--- a/src/components.js
+++ b/src/components.js
@@ -1,6 +1,6 @@
/* Static styles and other modules */
import './styles/styles';
-import katex from 'katex';
+// import katex from 'katex';
/* Components */
import { Abstract } from './components/d-abstract';
@@ -43,4 +43,5 @@ function defineComponents() {
}
defineComponents();
-window.katex = katex;
+
+window.DMath = DMath;
diff --git a/src/components/d-article.js b/src/components/d-article.js
index b612cbf..63e5715 100644
--- a/src/components/d-article.js
+++ b/src/components/d-article.js
@@ -25,7 +25,7 @@ export class Article extends T(HTMLElement) {
for (const addedNode of mutation.addedNodes) {
switch (addedNode.nodeName) {
case 'HR':
- console.warn('Use of
tags in distill articles is discouraged!');
+ console.warn('Use of
tags in distill articles is discouraged as they interfere with layout! To separate sections, please just use h2 or h3 tags.');
break;
case '#text': { // usually text nodes are only linebreaks.
const text = addedNode.nodeValue;
diff --git a/src/components/d-title.js b/src/components/d-title.js
index 36851f0..95c8897 100644
--- a/src/components/d-title.js
+++ b/src/components/d-title.js
@@ -1,5 +1,5 @@
import { Template } from '../mixins/template';
-import { body } from '../helpers/layout';
+import { page } from '../helpers/layout';
const T = Template('d-title', `
diff --git a/src/styles/styles-article.css b/src/styles/styles-article.css
index 45e3e88..c090d55 100644
--- a/src/styles/styles-article.css
+++ b/src/styles/styles-article.css
@@ -61,7 +61,6 @@ d-article h3 {
line-height: 1.4em;
margin-top: 36px;
margin-bottom: 18px;
- font-style: italic;
}
d-article h1 + h3 {
margin-top: 48px;