14 Commits
Author SHA1 Message Date
Josh Wood fd992eafcb INSTALL: Note Plan 9 CFLAGS fix 2021-11-05 20:51:31 -05:00
david parsons f46d425c2f add a list item for testing the build 2018-10-06 15:13:02 -07:00
david parsons f555d4c1c4 fix all places where I pass flags to be DWORDs 2018-09-14 20:18:17 -07:00
david parsons a3739d3901 add --cxx-binding option to configure.sh to generate a mkdio.h that's got a extern "C" wrapper around it 2018-03-17 19:35:45 -07:00
david parsons 7f917437df Document the --h1-title configuration option 2017-01-26 22:56:11 -08:00
david parsons 8c670e04da Bring the installation instructions a little closer to up to date. 2016-09-22 21:23:43 -07:00
david parsons b787bc3459 Strip out references to 'relaxed-emphasis' configuration (it's not used; it's
now the runtimeflag 'relaxed' (MKD_NORELAXED; set if you DON'T want relaxed
emphasis)
2015-02-05 09:16:16 -08:00
David Parsons ca7c57333c Revert "Up to version 1.2.8 ( --relaxed-emphasis, atx header pruning, -nohtml)"
(drop missing changes from pell?)

This reverts commit 7d414e7a23.
2008-08-22 07:51:14 -07:00
david parsons 7d414e7a23 Up to version 1.2.8 ( --relaxed-emphasis, atx header pruning, -nohtml) 2008-08-11 21:19:41 -07:00
David Parsons c3a06a7686 Rearrange RELAXED_EMPHASIS so that it only applies to underscrores in the
middle of words.   Add the new configure option --relaxed-emphasis, which
breaks the emphasis rules for things like a_b (or, if you're describing
code, thing like `size_t` or `time_t` or ...)
2008-08-09 09:19:48 -07:00
david parsons f84c14a8d6 Reorder the --help output from configure.sh to show all the
--enables in a block.
2008-07-30 22:31:45 -07:00
David Parsons e1f898adb3 1. Enable --with-superscript
2. Write a superscript test case
3. Up to version 1.2.7
4. have the version string include whether superscripts are enabled
2008-07-30 22:08:46 -07:00
david parsons ed662dfea3 Implement a somewhat better way of handling embedded emphasis,
by writing compiled output into a token queue, then running
an emphasis maker on that queue.  The token queue is an array
of TEXT and EMPHASIS tokens -- `TEXT` being what you'd expect,
and `EMPHASIS` holding counts of consecutive emphasis characters.

It's easier to explain with pretty pictures:

During the process of compiling the string `***HI***`, it gets
broken into five tokens:

1. TEXT `<p>`
2. EMPHASIS `*`3
3. TEXT `HI`
4. EMPHASIS `*`3
5. TEXT `</p>`

and then pasted together into a compiled document.  During the
pasting, emphasis tokens are paired with the next matching emphasis
token, then rewritten into two text sections (opens & closes) which
are treated as normal text during the pasting.

The above tokens are processed like so;  first to

1. TEXT `<p>`
2. EMPHASIS `*`1 [] [`<strong>`]
3. TEXT `HI`
4. EMPHASIS `*`1 [`</strong>`] []
5. TEXT `</p>`

then to

1. TEXT `<p>`
2. EMPHASIS `*`0 [] [`<strong><em>`]
3. TEXT `HI`
4. EMPHASIS `*`0 [`</em></strong>`] []
5. TEXT `</p>`

which is then concatenated to

    <p><strong><em>HI</em></strong></p>

And Bob's your uncle.
2008-04-10 15:49:19 -07:00
david parsons de5cab5f16 1.1.2a just adds INSTALL and README files. 2008-03-01 15:13:28 -08:00