TeX styles
We have an in-house LaTeX style, and our TeX guru has made a nice LyX layout for it. I would now like to add some useful macros so that important features of the documentation can be inserted in a standard way which fits in with the layout and style, but it appears to be impossible to add a Lyx style at less than paragraph granularity. Specifically, can I apply a macro so that e.g. a user command is LaTeXed as \inhouse_command{ls -l}, and is displayed on the screen as e.g. Font Typewriter / Color green, or as a box (like a label) *without* a paragraph break? If so, how. If this is not possible at the moment (1.1.4fix3), is this planned for future versions? (And, yes, I know I can simply say \macro{anything} and press the TeX button, but I would like something better). -- Peter Lister [EMAIL PROTECTED]PGP (RSA): 0xE4D85541 Sychron Ltd http://www.sychron.com PGP (DSS): 0xBC1D7258 1 Cambridge Terrace Voice: +44 1865 200211 Oxford OX1 1UR UK FAX: +44 1865 249666
Re: LyX to TeX translation, house styles and CVS
On Tue, 20 Jul 1999, Christopher Sawtell wrote: > There are not as many text styles available, but sufficient to produce > satisfactory documents. You can then use all the sgml2 tools in the > way you want. Doesn't help - everyone here uses TeX to some degree or other (yes, including the boss), and our TeXpert is working on these styles and conversions. TeX is a common source format, so introducing SGML would break that; LyX is "just another editor producing TeX source" as far as scripts are concerned, even though to users like me it may be much better Peter Lister [EMAIL PROTECTED]PGP (RSA): 0xE4D85541 Sychron Ltd http://www.sychron.com PGP (DSS): 0xBC1D7258 1 Cambridge Terrace Voice: +44 1865 200211 Oxford OX1 1UR UK FAX: +44 1865 249666
Re: LyX to TeX translation, house styles and CVS
On Mon, 19 Jul 1999, Andre' Poenitz wrote: > I wrote a perl script to convert .lyx to .tex without using LyX > for exactly the same reason... Well, it's a start, but what I really want is for LyX to do it for me, so that lyx --nogui --export-as=latex blurf.lyx -o blurf.tex is the identical code and guarantees to produce the identical LaTeX. > You are hereby granted the title "Official lyx2latex Beta Tester" ;-) I am appropriately honoured. (Read into that what you will.) Peter Lister [EMAIL PROTECTED]PGP (RSA): 0xE4D85541 Sychron Ltd http://www.sychron.com PGP (DSS): 0xBC1D7258 1 Cambridge Terrace Voice: +44 1865 200211 Oxford OX1 1UR UK FAX: +44 1865 249666
LyX to TeX translation, house styles and CVS
I've been using LyX for some time, and it's a credit to the authors that I haven't need to ask any questions. I'm not a TeXpert, and my demands are limited, but I'm developing systems Sychron's documentation admin and I have a couple of questions which the FAQ seems not to answer. First - is there a command line with no GUI that will take a LyX document and convert it to TeX unattended; I want to be able to author a document with LyX, check it in to CVS and have a process in the background build the docs automatically check and install them into the appropriate places as PDF, HTML etc. It seems that LyX has no command line version, or options for turning the GUI. I need something that a Makefile can handle. Second, my TeXpert colleague is developing a set of house styles. Some of these will "take over" e.g. letter, article etc when the appropriate argument is given, but others probably won't. I can see no obvious mechanism for replacing e.g. article(AMS) with article(Sychron); the stuff I see from searching source tree is non-intuitive. Third, we do, as mentioned, use CVS - it would be nice to have CVS support as well as RCS, so that we can check in new versions. As part of this, I very explicitly do NOT want a time stamp in the saved file, as it generates a spurious difference between otherwise revisions. Peter Lister [EMAIL PROTECTED]PGP (RSA): 0xE4D85541 Sychron Ltd http://www.sychron.com PGP (DSS): 0xBC1D7258 1 Cambridge Terrace Voice: +44 1865 200211 Oxford OX1 1UR UK FAX: +44 1865 249666