chiark / gitweb /
blog.git
6 years agom.htmlsanity: don't apply typography on links with URLs in title.
Vladimír Vondruš [Sun, 21 Oct 2018 20:20:52 +0000 (22:20 +0200)]
m.htmlsanity: don't apply typography on links with URLs in title.

And e-mail addresses. That's a very bad thing to do.

6 years agocss: highlight also diff subheadings.
Vladimír Vondruš [Tue, 16 Oct 2018 12:40:38 +0000 (14:40 +0200)]
css: highlight also diff subheadings.

6 years agoartwork: update the theme file with diff highlighting colors.
Vladimír Vondruš [Tue, 16 Oct 2018 12:40:13 +0000 (14:40 +0200)]
artwork: update the theme file with diff highlighting colors.

6 years agocss: implement diff colors for the Pygments dark style.
Vladimír Vondruš [Tue, 16 Oct 2018 11:55:37 +0000 (13:55 +0200)]
css: implement diff colors for the Pygments dark style.

6 years agoDoc++
Vladimír Vondruš [Sun, 14 Oct 2018 00:00:59 +0000 (02:00 +0200)]
Doc++

6 years agodoxygen: implement support for \dot and \dotfile.
Vladimír Vondruš [Sun, 14 Oct 2018 16:26:25 +0000 (18:26 +0200)]
doxygen: implement support for \dot and \dotfile.

Ugh, this blew up again. Three days to get here.

6 years agodoxygen: delimit inline CSS with a semicolon for consistency.
Vladimír Vondruš [Sun, 14 Oct 2018 16:24:40 +0000 (18:24 +0200)]
doxygen: delimit inline CSS with a semicolon for consistency.

6 years agodoxygen: fix parsing of two consecutive HTML navbar links.
Vladimír Vondruš [Sun, 14 Oct 2018 13:08:07 +0000 (15:08 +0200)]
doxygen: fix parsing of two consecutive HTML navbar links.

Of course I have bugz!

6 years agom.dot: compatibility with graph figures from m.components.
Vladimír Vondruš [Sun, 14 Oct 2018 14:35:40 +0000 (16:35 +0200)]
m.dot: compatibility with graph figures from m.components.

6 years agom.dot: make title optional.
Vladimír Vondruš [Sun, 14 Oct 2018 14:32:10 +0000 (16:32 +0200)]
m.dot: make title optional.

Requiring a title won't make any sense for graph figures.

6 years agom.dot: extract the reusable guts to an independent module.
Vladimír Vondruš [Sun, 14 Oct 2018 00:03:49 +0000 (02:03 +0200)]
m.dot: extract the reusable guts to an independent module.

Will get used in the Doxygen theme, where we don't need docutils or
Pelican.

6 years agom.math: compatibility with math figures from m.components.
Vladimír Vondruš [Sun, 14 Oct 2018 14:38:38 +0000 (16:38 +0200)]
m.math: compatibility with math figures from m.components.

6 years agom.math: process all math in the directive at once.
Vladimír Vondruš [Sat, 13 Oct 2018 19:18:41 +0000 (21:18 +0200)]
m.math: process all math in the directive at once.

Having multiple blocks is not very useful, as you don't get any of the
fancy typesetting features for that. Use latex arrays for that or
put the math into multiple consecutive directives.

6 years agom.components: support math and graph figures, figure captions.
Vladimír Vondruš [Sun, 14 Oct 2018 00:17:46 +0000 (02:17 +0200)]
m.components: support math and graph figures, figure captions.

The m.math and m.dot plugins need to be updated as well, to put the
<svg> directly inside instead of wrapping it in a <div>. THat'll get
done in later commits.

6 years agocss: enforce bottom padding on figures w/ components in description.
Vladimír Vondruš [Sun, 14 Oct 2018 15:12:36 +0000 (17:12 +0200)]
css: enforce bottom padding on figures w/ components in description.

Otherwise stuff like `div.m-graph:last-child` that resets it back to 0
gets a priority.

6 years agocss: make it possible to have math and graph figures.
Vladimír Vondruš [Sat, 13 Oct 2018 23:57:48 +0000 (01:57 +0200)]
css: make it possible to have math and graph figures.

Also added a test file verifying math coloring priorities.

6 years agocss: make graph, plot <svg>s and block math <svg> a block element.
Vladimír Vondruš [Sat, 13 Oct 2018 16:41:57 +0000 (18:41 +0200)]
css: make graph, plot <svg>s and block math <svg> a block element.

It was inline, which caused weird padding on the bottom.

6 years agocss: ensure parity between <img> and <svg> for images and figures.
Vladimír Vondruš [Sat, 13 Oct 2018 17:48:26 +0000 (19:48 +0200)]
css: ensure parity between <img> and <svg> for images and figures.

6 years agocss: have padding-after also for plots and graphs.
Vladimír Vondruš [Sat, 13 Oct 2018 16:42:41 +0000 (18:42 +0200)]
css: have padding-after also for plots and graphs.

Not sure why this was omitted.

6 years agodoxygen: make it possible to have separate brand link in navbar.
Vladimír Vondruš [Fri, 12 Oct 2018 20:06:09 +0000 (22:06 +0200)]
doxygen: make it possible to have separate brand link in navbar.

6 years agocss: make it possible to have a main/subsite link in the navbar.
Vladimír Vondruš [Fri, 12 Oct 2018 19:57:53 +0000 (21:57 +0200)]
css: make it possible to have a main/subsite link in the navbar.

6 years agotheme: ability to create pages with a passthrough template.
Vladimír Vondruš [Fri, 12 Oct 2018 19:36:16 +0000 (21:36 +0200)]
theme: ability to create pages with a passthrough template.

I.e., without any header navbar or footer.

6 years agotheme: make it possible to add JS files and arbitrary HTML to page head.
Vladimír Vondruš [Fri, 12 Oct 2018 19:08:41 +0000 (21:08 +0200)]
theme: make it possible to add JS files and arbitrary HTML to page head.

6 years agodoxygen: support arbitrary HTML for navbar links.
Vladimír Vondruš [Thu, 11 Oct 2018 10:49:32 +0000 (12:49 +0200)]
doxygen: support arbitrary HTML for navbar links.

6 years agodoxygen: remove redundancy from test names.
Vladimír Vondruš [Thu, 11 Oct 2018 10:48:04 +0000 (12:48 +0200)]
doxygen: remove redundancy from test names.

6 years agodoxygen: support adding extra stuff to HTML <head>.
Vladimír Vondruš [Thu, 11 Oct 2018 10:47:32 +0000 (12:47 +0200)]
doxygen: support adding extra stuff to HTML <head>.

There's a new option for that: M_HTML_HEADER. Specify it as a multi-line
value for extra prettiness.

6 years agodoxygen: concat string Doxyfile properties with a newline, not a space.
Vladimír Vondruš [Thu, 11 Oct 2018 11:23:29 +0000 (13:23 +0200)]
doxygen: concat string Doxyfile properties with a newline, not a space.

I need this for proper multi-line value support. This was quite a corner
case, so I don't expect any user code breaking. I'm now also properly
handling single quotes in Doxyfile, by accident the test data wasn't
really testing the behavior correctly.

6 years agodoxygen: support specifying explicit image width/height.
Vladimír Vondruš [Sun, 7 Oct 2018 11:11:16 +0000 (13:11 +0200)]
doxygen: support specifying explicit image width/height.

6 years agodoc: remove old and not-true-anymore statements.
Vladimír Vondruš [Fri, 28 Sep 2018 17:10:32 +0000 (19:10 +0200)]
doc: remove old and not-true-anymore statements.

6 years agopackage/ci: argh matplotlib is different now too.
Vladimír Vondruš [Wed, 19 Sep 2018 11:40:30 +0000 (13:40 +0200)]
package/ci: argh matplotlib is different now too.

6 years agomath: work around a bug in latex xcolor package < 2.12.
Vladimír Vondruš [Wed, 19 Sep 2018 11:29:49 +0000 (13:29 +0200)]
math: work around a bug in latex xcolor package < 2.12.

Affects Ubuntu 16.04.

6 years agomath: update tests for dvisvgm > 2.2.2.
Vladimír Vondruš [Wed, 19 Sep 2018 11:04:06 +0000 (13:04 +0200)]
math: update tests for dvisvgm > 2.2.2.

This is not a welcome change, unfortunately. It only bloats the output.

6 years agodoc: update Doxygen docs.
Vladimír Vondruš [Thu, 13 Sep 2018 19:08:05 +0000 (21:08 +0200)]
doc: update Doxygen docs.

I wanted to deprecate \m_div, but nope. Not possible. Everything is
shit.

6 years agodoxygen: make it possible to abuse \par for a bigger m.css block.
Vladimír Vondruš [Thu, 13 Sep 2018 18:55:33 +0000 (20:55 +0200)]
doxygen: make it possible to abuse \par for a bigger m.css block.

6 years agodoxygen: support \parblock.
Vladimír Vondruš [Thu, 13 Sep 2018 18:54:04 +0000 (20:54 +0200)]
doxygen: support \parblock.

Uh, finally a <div>-like thing.

6 years agocss: make .m-code-figure and .m-console-figure usable also on <div>s.
Vladimír Vondruš [Thu, 13 Sep 2018 18:46:29 +0000 (20:46 +0200)]
css: make .m-code-figure and .m-console-figure usable also on <div>s.

For better flexibility -- it's hard to hammer a <figure> out of Doxygen
XML.

6 years agodoc: fix warnings coming from (the upcoming) Pelican 3.8.
Vladimír Vondruš [Thu, 13 Sep 2018 17:49:29 +0000 (19:49 +0200)]
doc: fix warnings coming from (the upcoming) Pelican 3.8.

6 years agocss: style focused link/canvas/input outline.
Vladimír Vondruš [Thu, 13 Sep 2018 17:17:00 +0000 (19:17 +0200)]
css: style focused link/canvas/input outline.

Matches the current item color in top navbar.

6 years agodoxygen: workarounds to make coverage.py happy :/
Vladimír Vondruš [Thu, 13 Sep 2018 16:58:33 +0000 (18:58 +0200)]
doxygen: workarounds to make coverage.py happy :/

6 years agodoxygen: support Qt signals and slots.
Vladimír Vondruš [Thu, 13 Sep 2018 16:47:34 +0000 (18:47 +0200)]
doxygen: support Qt signals and slots.

6 years agodoxygen: ignore private non-virtual functions in user-defined groups.
Vladimír Vondruš [Thu, 13 Sep 2018 16:44:43 +0000 (18:44 +0200)]
doxygen: ignore private non-virtual functions in user-defined groups.

Only documented virtual private functions are shown.

6 years agotheme: properly fallback to FEED_ATOM if FEED_ATOM_URL is not set.
Vladimír Vondruš [Thu, 13 Sep 2018 15:05:05 +0000 (17:05 +0200)]
theme: properly fallback to FEED_ATOM if FEED_ATOM_URL is not set.

6 years agodoxygen: support friend functions.
Vladimír Vondruš [Tue, 14 Aug 2018 21:20:28 +0000 (23:20 +0200)]
doxygen: support friend functions.

Not friend classes/structs/unions, in that case Doxygen provides way too
little info to be at all useful.

6 years agodoxygen: don't silently ignore friend declarations.
Vladimír Vondruš [Tue, 14 Aug 2018 19:51:11 +0000 (21:51 +0200)]
doxygen: don't silently ignore friend declarations.

6 years agodoxygen: code coverage back to 100%.
Vladimír Vondruš [Thu, 13 Sep 2018 14:14:57 +0000 (16:14 +0200)]
doxygen: code coverage back to 100%.

6 years agodoxygen: don't assert also for unexpected commands inside sections.
Vladimír Vondruš [Thu, 13 Sep 2018 14:12:17 +0000 (16:12 +0200)]
doxygen: don't assert also for unexpected commands inside sections.

6 years agodoxygen: page briefs are not available on 1.8.13.
Vladimír Vondruš [Thu, 13 Sep 2018 13:56:12 +0000 (15:56 +0200)]
doxygen: page briefs are not available on 1.8.13.

And 1.8.14 binary is *still* not usable on Travis.

6 years agotheme: make article date splitting more robust.
Vladimír Vondruš [Thu, 13 Sep 2018 12:59:19 +0000 (14:59 +0200)]
theme: make article date splitting more robust.

This could fail in case there are spaces in some of the generated
values. Still not ideal, should be made configurable (locale-dependent
order etc).

6 years agodoxygen: don't assert on unexpected sections / commands.
Vladimír Vondruš [Thu, 13 Sep 2018 12:47:41 +0000 (14:47 +0200)]
doxygen: don't assert on unexpected sections / commands.

Until now, putting a @param into a variable description (or similar
unexpected things) resulted in an assertion. Turns out this happens
quite often, so I made that into a warning instead. The contents are
simply ignored.

6 years agodoxygen: fix a CASE_SENSE_NAMES omission.
Vladimír Vondruš [Thu, 13 Sep 2018 11:27:14 +0000 (13:27 +0200)]
doxygen: fix a CASE_SENSE_NAMES omission.

In 1d7c689fd36b6952c0f6877ad9af562e3e10433a I fixed one broken part but
forgot about this one. This one affects the Pages tree and the test of
course didn't check it. Now it does.

6 years agodoxygen: as usual, I found more Doxygen bugs while fixing other stuff.
Vladimír Vondruš [Thu, 13 Sep 2018 11:16:23 +0000 (13:16 +0200)]
doxygen: as usual, I found more Doxygen bugs while fixing other stuff.

This usual thing in Markdown files, for example:

    Hello world
    ###########

is parsed as a paragraph and a 11th level heading with no title.
UHHMAZING, isn't it. Because of that, I'm no longer asserting on too
large heading levels but instead trying to provide helpful warning
messages for the user.

6 years agodoxygen: deprecation status also for pages.
Vladimír Vondruš [Thu, 13 Sep 2018 10:29:31 +0000 (12:29 +0200)]
doxygen: deprecation status also for pages.

Originally I didn't think this would ever be useful, but recently I
deprecated a whole library and thus also the overview pages for it
should be marked as deprecated.

6 years agodoxygen: display the deprecation label next to the name, not after brief.
Vladimír Vondruš [Thu, 13 Sep 2018 10:18:16 +0000 (12:18 +0200)]
doxygen: display the deprecation label next to the name, not after brief.

6 years agotheme: display article draft status more prominently.
Vladimír Vondruš [Thu, 13 Sep 2018 09:55:49 +0000 (11:55 +0200)]
theme: display article draft status more prominently.

So I can submit clearly marked draft articles for review and I don't
accidentally leave the draft status enabled when publishing.

6 years agom.plots: make it possible to hide particular extra labels.
Vladimír Vondruš [Wed, 12 Sep 2018 10:39:42 +0000 (12:39 +0200)]
m.plots: make it possible to hide particular extra labels.

6 years agocss: added m-spacing-150.
Vladimír Vondruš [Sun, 26 Aug 2018 18:40:53 +0000 (20:40 +0200)]
css: added m-spacing-150.

6 years agoplugins: new m.link plugin.
Vladimír Vondruš [Sun, 26 Aug 2018 16:03:15 +0000 (18:03 +0200)]
plugins: new m.link plugin.

6 years agoplugins: make it possible to specify classes on all link roles.
Vladimír Vondruš [Sun, 26 Aug 2018 15:52:34 +0000 (17:52 +0200)]
plugins: make it possible to specify classes on all link roles.

6 years agocss: ability to remove the underline from links.
Vladimír Vondruš [Sun, 26 Aug 2018 14:46:00 +0000 (16:46 +0200)]
css: ability to remove the underline from links.

This will be a bit harder to do for reST, will need to create a custom
role for it.

6 years agocss: add m-block-dot-* to have linear lists delimited by a center dot.
Vladimír Vondruš [Sun, 26 Aug 2018 14:27:48 +0000 (16:27 +0200)]
css: add m-block-dot-* to have linear lists delimited by a center dot.

6 years agodoxygen: parse the Doxyfile as UTF-8.
Vladimír Vondruš [Wed, 22 Aug 2018 16:29:39 +0000 (18:29 +0200)]
doxygen: parse the Doxyfile as UTF-8.

Otherwise it blows up on Doxyfiles with non-ASCII characters when system
locale is not UTF-8.

6 years agodoc: improve docs for the Doxygen \m_keyword command.
Vladimír Vondruš [Wed, 22 Aug 2018 16:29:11 +0000 (18:29 +0200)]
doc: improve docs for the Doxygen \m_keyword command.

6 years agocss: correctly color inline math in doxygen brief descriptions.
Vladimír Vondruš [Tue, 14 Aug 2018 19:19:57 +0000 (21:19 +0200)]
css: correctly color inline math in doxygen brief descriptions.

6 years agodoxygen: wrap long class / namespace <h1>s on semicolons.
Vladimír Vondruš [Tue, 14 Aug 2018 19:15:56 +0000 (21:15 +0200)]
doxygen: wrap long class / namespace <h1>s on semicolons.

6 years agodoxygen: support brief for enum values.
Vladimír Vondruš [Tue, 14 Aug 2018 19:12:51 +0000 (21:12 +0200)]
doxygen: support brief for enum values.

Turns out the enum values can be documented like this:

    //! A value
    enum Enum {
        Value, //!< A value
    };

and the /// or //! comments, unlike /** */, are treated as brief by
doxygen. This is a completely valid use case and I don't want to force
users to a different syntax here, so here ya go.

6 years agom.dot: compatibility with Graphviz < 2.40.
Vladimír Vondruš [Sun, 1 Jul 2018 12:40:45 +0000 (14:40 +0200)]
m.dot: compatibility with Graphviz < 2.40.

Ugh. This does not scale at all.

6 years agom.dot: support structs/records as well.
Vladimír Vondruš [Sun, 1 Jul 2018 14:07:07 +0000 (16:07 +0200)]
m.dot: support structs/records as well.

6 years agom.dot: explicitly specify font size of the SVG.
Vladimír Vondruš [Sun, 1 Jul 2018 13:08:03 +0000 (15:08 +0200)]
m.dot: explicitly specify font size of the SVG.

Otherwise it won't go well in combination with auto-scaling and font
sizes of the document relative to screen size (such as in presentation
mode).

6 years agodoc: show where graph rendering is tested in build status.
Vladimír Vondruš [Mon, 18 Jun 2018 23:45:41 +0000 (01:45 +0200)]
doc: show where graph rendering is tested in build status.

6 years agom.dot: new highly experimental graph drawing plugin.
Vladimír Vondruš [Mon, 18 Jun 2018 23:23:53 +0000 (01:23 +0200)]
m.dot: new highly experimental graph drawing plugin.

6 years agom.math: mark private variable as private.
Vladimír Vondruš [Mon, 18 Jun 2018 23:26:19 +0000 (01:26 +0200)]
m.math: mark private variable as private.

6 years agom.math: escape more things in the regexp.
Vladimír Vondruš [Mon, 18 Jun 2018 23:26:01 +0000 (01:26 +0200)]
m.math: escape more things in the regexp.

6 years agodoc: it can be just apt install.
Vladimír Vondruš [Mon, 18 Jun 2018 23:24:14 +0000 (01:24 +0200)]
doc: it can be just apt install.

6 years agodoc: mention that Doxygen math/code rendering is equivalent to Pelican.
Vladimír Vondruš [Mon, 18 Jun 2018 13:13:16 +0000 (15:13 +0200)]
doc: mention that Doxygen math/code rendering is equivalent to Pelican.

I don't want to repeat all the features there :)

6 years agodoc: update math docs with new features and behavior.
Vladimír Vondruš [Mon, 18 Jun 2018 13:11:58 +0000 (15:11 +0200)]
doc: update math docs with new features and behavior.

6 years agom.math: test also math following surrounding text size.
Vladimír Vondruš [Mon, 18 Jun 2018 13:20:25 +0000 (15:20 +0200)]
m.math: test also math following surrounding text size.

6 years agom.math: ability to color equation parts using m.css color classes.
Vladimír Vondruš [Mon, 18 Jun 2018 13:09:13 +0000 (15:09 +0200)]
m.math: ability to color equation parts using m.css color classes.

6 years agom.math: properly escape formula sources in the output.
Vladimír Vondruš [Mon, 18 Jun 2018 09:42:07 +0000 (11:42 +0200)]
m.math: properly escape formula sources in the output.

6 years agom.math: use em units instead of pt.
Vladimír Vondruš [Mon, 18 Jun 2018 09:21:09 +0000 (11:21 +0200)]
m.math: use em units instead of pt.

So it's possible to actually scale the formulas relative to surrounding
text.

6 years agom.math: having "LaTeX Math" in a hover title is as useless as it can get.
Vladimír Vondruš [Mon, 18 Jun 2018 07:50:30 +0000 (09:50 +0200)]
m.math: having "LaTeX Math" in a hover title is as useless as it can get.

I thought browsers would show the <desc> as well, but no. So putting the
math formula directly in the <title>.

6 years agocss: make it possible to have colored *parts* of math equations.
Vladimír Vondruš [Mon, 18 Jun 2018 13:06:05 +0000 (15:06 +0200)]
css: make it possible to have colored *parts* of math equations.

6 years agocss: make it possible to have math *in buttons*.
Vladimír Vondruš [Mon, 18 Jun 2018 13:05:26 +0000 (15:05 +0200)]
css: make it possible to have math *in buttons*.

Yes, I'm crazy.

6 years agocss: make it possible to disable component padding at the bottom.
Vladimír Vondruš [Mon, 18 Jun 2018 07:54:23 +0000 (09:54 +0200)]
css: make it possible to disable component padding at the bottom.

Reusing the .m-nopadb class from the grid CSS.

6 years agodoxygen: avoid having stale url_base when parsing defines.
Vladimír Vondruš [Mon, 18 Jun 2018 11:30:42 +0000 (13:30 +0200)]
doxygen: avoid having stale url_base when parsing defines.

I *knew* something would blow up here.

6 years agodoxygen: put search icon size directly into the markup.
Vladimír Vondruš [Mon, 18 Jun 2018 09:29:00 +0000 (11:29 +0200)]
doxygen: put search icon size directly into the markup.

Fixes the problem with a giant magnifying glass when no style is present
and also should fix the random layout bugs with top navbar being twice
as high (which is probably caused by the browser not calculating the
floating etc. properly due to such a huge change after the style is
loaded).

6 years agocss: make postprocess.py work on Python < 3.6.
Vladimír Vondruš [Sun, 17 Jun 2018 11:01:53 +0000 (13:01 +0200)]
css: make postprocess.py work on Python < 3.6.

6 years agopackage/ci: test that I didn't forget to update compiled CSS.
Vladimír Vondruš [Sun, 17 Jun 2018 10:06:08 +0000 (12:06 +0200)]
package/ci: test that I didn't forget to update compiled CSS.

6 years agoDoc++
Vladimír Vondruš [Sun, 17 Jun 2018 10:54:37 +0000 (12:54 +0200)]
Doc++

6 years agodoxygen: make it possible to hide m.css options from Doxygen.
Vladimír Vondruš [Sun, 17 Jun 2018 10:53:06 +0000 (12:53 +0200)]
doxygen: make it possible to hide m.css options from Doxygen.

Makes the output finally bearable.

6 years agosite: avoid ugly wrapping on /admire/math/.
Vladimír Vondruš [Sun, 17 Jun 2018 09:55:13 +0000 (11:55 +0200)]
site: avoid ugly wrapping on /admire/math/.

Soon it also won't be a Pelican plugin anymore.

6 years agocss: use concrete font weight value.
Vladimír Vondruš [Sun, 17 Jun 2018 09:54:13 +0000 (11:54 +0200)]
css: use concrete font weight value.

I'm using semibold version of Source Sans Pro, which is 600, not 800.

6 years agocss: make code font size configurable from the theme.
Vladimír Vondruš [Sun, 17 Jun 2018 09:52:18 +0000 (11:52 +0200)]
css: make code font size configurable from the theme.

Not every combination of font and monospace font works with scaling the
code to 0.9 -- the light theme has base font size only 14px and there
the code would be too small. Also use `em` instead of `rem` so it
follows surrounding text size.

6 years agocss: properly handle variable declarations with comments in postprocess.py.
Vladimír Vondruš [Sun, 17 Jun 2018 09:50:01 +0000 (11:50 +0200)]
css: properly handle variable declarations with comments in postprocess.py.

6 years agodoxygen: don't crash on anchors with IDs that don't match the compound.
Vladimír Vondruš [Sun, 17 Jun 2018 09:41:20 +0000 (11:41 +0200)]
doxygen: don't crash on anchors with IDs that don't match the compound.

6 years agom.components: provide roles for labels.
Vladimír Vondruš [Thu, 14 Jun 2018 11:58:41 +0000 (13:58 +0200)]
m.components: provide roles for labels.

I got extremely tired of writing this myself *every time*.

6 years agocss: strip trailing comments also for lines with variables.
Vladimír Vondruš [Wed, 13 Jun 2018 21:55:57 +0000 (23:55 +0200)]
css: strip trailing comments also for lines with variables.

I am back at 8.9 kB, yay!

6 years agoMake the latex2svg caching fully optional.
Vladimír Vondruš [Wed, 13 Jun 2018 10:20:07 +0000 (12:20 +0200)]
Make the latex2svg caching fully optional.

6 years agocss: separate page layout styling out from m-components.css.
Vladimír Vondruš [Wed, 13 Jun 2018 10:08:01 +0000 (12:08 +0200)]
css: separate page layout styling out from m-components.css.

For the presentation framework I need the responsiveness,
typography, components but definitely not popup menus or jumbo article
styling. So away it goes, into a new m-layout.css file.

This also means the theme setup is now in a separate m-theme-*.css file
and the m-dark.css / m-light.css is just a "driver file" that imports
everything else. There will be a m-dark-presentation.css /
m-light-presentation.css driver file as well.

6 years agocss: reduce excessive line length.
Vladimír Vondruš [Wed, 13 Jun 2018 09:50:06 +0000 (11:50 +0200)]
css: reduce excessive line length.

6 years agocss: deduplicate parser code in the CSS preprocessor.
Vladimír Vondruš [Wed, 13 Jun 2018 09:17:06 +0000 (11:17 +0200)]
css: deduplicate parser code in the CSS preprocessor.

No change in the output (which was desired).