On Thursday 13 May 2004 14:07, Chris Karakas wrote: > "Jose' Matos" <[EMAIL PROTECTED]> schrieb am 13.05.04 13:44:07: > > Not only that but we can include lyxtox using the converters scheme, > > without changing any C++ code. > > I am proposing that, if necessary, as a first step to have all the > > lyxto features to include lyxtox into lyx. > > Converters scheme...Sounds very promising. Where can I read more about > it?
Search for lyxrc.defaults. There you have several examples. You can add your configurations to the file ~/.lyx/preferences, or use Edit->Preferences and then "File Formats" and Converters to change that inside lyx. There you have some explanation of the different options. Roughly the idea is that you define several formats and the converters that give a way to pass from one format to the other. Instead of the present all in one scheme you design lyxtox to convert just to one format: lyxtox -t onehtml lyxtox -t ps lyxtox -t pdf lyxtox -t dvi For these you would add to your preferences file: \converter docbook dvi "lyxtox -b dvi $$b" "" \converter docbook ps "lyxtox -t ps $$b" "" \converter docbook pdf "lyxtox -t pdf $$b" "" \converter docbook html "lyxtox -t onehtml" "" > > Still I encourage you to test the new code to garantee that when 1.4 > > arrives we have a good working version. > > I will have to do that, but I am currently having a hard time with sed > and sedscr with 1.3.4. I must adapt my sedscr file to this version in > order to be able to use it productively. For example, in 1.2.0 I had huge > SGML lines, while in 1.3.4 I have one element per line. I find this much > better (I was almost going to ask in the docbook lists if there is any > "SGMLtidy" script out there), but of course it has deep effects on my sed > scripts, since sed is a one-line-at-a-time editor. I would use python for that. ;-) > As soon as I get this done, I will have a look at the CVS version. But I > have to give the first priority to the adaptation of sedscr to 1.3.4, > because - well, because I use it productively! ;-) That is fair. > Without a working LyX-to-X, no professional documents, no HTML, no web > site - nothing works for me! On the other side, as soon as I get it > working, everything flies - I can concentrate on content and let LyX and > DocBook do the rest. :-) True. > Chris -- José Abílio LyX and docbook, a perfect match. :-)