Re: markdown 2 man, was Re: Git Community Book
- From
- Abdelrazak Younes <younes@lyx.org>
- Date
- Aug 1, 2008, 10:19 UTC
- Message-ID
- <4892E332.5060804@lyx.org>
- In-Reply-To
- <200808011146.29883.trast@student.ethz.ch>
Thomas Rast wrote:
Show 15 quoted lines
> You wrote: > >> Junio C Hamano wrote: >> >>> How greppable and "log -p"-able is the documentation written in LyX? >>> >> LyX format is plain text, loosely based on LateX. Here's attached a >> sample .lyx file FYI. We have one tag per line and a maximum of 80 char >> per line so that the format is easily parsable. Advanced users often use >> unix tools (grep, sed, etc) to modify the .lyx file manually. >> > > Is it just me or is the format very hard to read? For example, line > 492ff spells a list of quoted items as >
Right, quote is a special case in lyx format because we have to take care of locale differences. So, as you guessed, quotes are not really written with the ascii quote character. But the format is not that hard in general. If needed, I could modify this special case so that it's easier to read though. Don't get me wrong, I don't pretend that LyX is easy to read for the untrained eyes, it is not. But simple modifications like Junio's example is definitely possible. For non simple text insertion, it is better to launch LyX and to type the modification within LyX. But maybe this is a showstopper for you, and so is maybe our treatment of quotes. In which case I'll stop arguying :-)
Abdel.