[EMAIL PROTECTED] wrote:
On Thu, 29 Mar 2007, Abdelrazak Younes wrote:

[EMAIL PROTECTED] wrote:

Finally, just add the text of the page. To begin with, you can just copy
 the text of the original web page and paste it. Then you format it
 appropriately. Some tips:

Hum, looking at the syntax I think it should be quite easy to modify the 'Plain Text' export of LyX so that it supports the wiki syntax.

Where is this code located?

Look at InsetBase::plaintext() and all its derivative. You have two options:
- add a new pmWiki()
- modularize plaintext() so that it can generate PmWiki tags optionally.



However, the more important question is the motivation for exporting a LyX file as a PmWiki page?

Even though the syntax is simple, I for one hate to re-read the documentation each time I want to add something. Other format like ReSt might be of interest for python developers...


/Christian

PS. I think there are methods to import HTML to wiki, so LyX -> HTML -> PmWiki is another alternative. I've never investigated it though.

It's a bit heavy because LyX->HTML does not exist directly... But why not if it works.

Abdel.

Reply via email to