hgbook on bitbucket; was: hgbook is broken?

Arne Babenhauserheide arne_bab at web.de
Sun Feb 15 09:23:10 CST 2009


Am Sonntag 15 Februar 2009 07:20:58 schrieb Matt Mackall:
> This is all great until you want to begin a line with a literal dash,
> etc. The behavior of "natural" mark-up engines like ReST is simply not
> well-defined and predictable in the way that TeX and XML-based mark-up
> are. Rather than have clear delineation between what is mark-up and what
> is content, it has to rely on complex regular expressions that may
> sometimes do the wrong thing.

I'm not quite sure if this is really an issue. For example in Markdown I don't 
see that effect, since it simply uses "\" as escape sequence if I want a 
literal markup character. 

The example would look very similar to reST, but I included a line with a 
literal dash: 

------ ------ ------ ------ Markdown File ------ ------ ------ ------ 
Removing a file does not affect its history
========================

It is important to understand that removing a file has only two
effects.

- It removes the current version of the file from the working
  directory.
- It stops Mercurial from tracking changes to the file, from the
  time of the next commit.
\- and this is a literal dash. 

Removing a file *does not* in any way alter the history of
the file.
------ ------ ------ ------ /Markdown File ------ ------ ------ ------ 

But markdown is mainly written to allow for easy HTML creation (for example 
you can just inline HTML code), so I don't know if it is as useful for PDF 
creation (though I use it for writing texts for print, but with some manual 
postprocessing). 

Best wishes, 
Arne
-- 
-- Ein Würfel System: http://1w6.org - einfach saubere (Rollenspiel-) Regeln.
-- Infinite Hands: http://infinite-hands.draketo.de - singing a part of the 
history of free software.
-- My stuff: http://draketo.de - stories, songs, poems, programs and stuff :)

-- PGP/GnuPG: http://draketo.de/inhalt/ich/pubkey.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://selenic.com/pipermail/mercurial/attachments/20090215/4f86c22b/attachment.pgp 


More information about the Mercurial mailing list