Re: LyX to TeX translation, house styles and CVS

1999-07-20 Thread Peter Lister

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



Re: LyX to TeX translation, house styles and CVS

1999-07-20 Thread Jean-Marc Lasgouttes

 "Peter" == Peter Lister [EMAIL PROTECTED] writes:

Peter 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...

Peter Well, it's a start, but what I really want is for LyX to do it
Peter for me, so that

Peter lyx --nogui --export-as=latex blurf.lyx -o blurf.tex

Peter is the identical code and guarantees to produce the identical
Peter LaTeX.

The possibility of running LyX without a GUI will not happen before
LyX 1.2, since the GUI code is really mixed with the non-GUI code in
1.0.x.

In the meantime, you can have a look at lyxexport
http://rerumnatura.zool.su.se/stefano/software/

The page is unavailable at the time of this writing, but it contains a
perl script which runs lyx and use the lyxserver machanism to trigger
export to latex. It will not work without an X server, but it is
better than nothing...

JMarc



Re: LyX to TeX translation, house styles and CVS

1999-07-20 Thread Peter Lister

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 sgml2whatever 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

1999-07-20 Thread Peter Lister

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



Re: LyX to TeX translation, house styles and CVS

1999-07-20 Thread Jean-Marc Lasgouttes

 "Peter" == Peter Lister [EMAIL PROTECTED] writes:

Peter 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...

Peter Well, it's a start, but what I really want is for LyX to do it
Peter for me, so that

Peter lyx --nogui --export-as=latex blurf.lyx -o blurf.tex

Peter is the identical code and guarantees to produce the identical
Peter LaTeX.

The possibility of running LyX without a GUI will not happen before
LyX 1.2, since the GUI code is really mixed with the non-GUI code in
1.0.x.

In the meantime, you can have a look at lyxexport
http://rerumnatura.zool.su.se/stefano/software/

The page is unavailable at the time of this writing, but it contains a
perl script which runs lyx and use the lyxserver machanism to trigger
export to latex. It will not work without an X server, but it is
better than nothing...

JMarc



Re: LyX to TeX translation, house styles and CVS

1999-07-20 Thread Peter Lister

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 sgml2whatever 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

1999-07-20 Thread Peter Lister

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



Re: LyX to TeX translation, house styles and CVS

1999-07-20 Thread Jean-Marc Lasgouttes

> "Peter" == Peter Lister <[EMAIL PROTECTED]> writes:

Peter> 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...

Peter> Well, it's a start, but what I really want is for LyX to do it
Peter> for me, so that

Peter> lyx --nogui --export-as=latex blurf.lyx -o blurf.tex

Peter> is the identical code and guarantees to produce the identical
Peter> LaTeX.

The possibility of running LyX without a GUI will not happen before
LyX 1.2, since the GUI code is really mixed with the non-GUI code in
1.0.x.

In the meantime, you can have a look at lyxexport
http://rerumnatura.zool.su.se/stefano/software/

The page is unavailable at the time of this writing, but it contains a
perl script which runs lyx and use the lyxserver machanism to trigger
export to latex. It will not work without an X server, but it is
better than nothing...

JMarc



Re: LyX to TeX translation, house styles and CVS

1999-07-20 Thread Peter Lister

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

1999-07-19 Thread Christopher Sawtell

On Tue, 20 Jul 1999, Peter Lister wrote:
 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.

Consider the possibility of using LyX in SGML mode.
Layout-Document-Class-SGML

There are not as many text styles available, but sufficient to produce
satisfactory documents. You can then use all the sgml2whatever tools in the
way you want.

--
Sincerely etc.,

 Christopher Sawtell - Support Engineer - iOpen Technologies Ltd.
 email - chris @ iopen . co . nz ( anti spam - join it up to use ).
  The Notes for C Programmers
 - The most widely distributed C tutorial in the world -
  are available from:-
ftp://ftp.funet.fi/pub/languages/C/tutorials/sawtell_C.tar.gz



Re: LyX to TeX translation, house styles and CVS

1999-07-19 Thread Christopher Sawtell

On Tue, 20 Jul 1999, Peter Lister wrote:
 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.

Consider the possibility of using LyX in SGML mode.
Layout-Document-Class-SGML

There are not as many text styles available, but sufficient to produce
satisfactory documents. You can then use all the sgml2whatever tools in the
way you want.

--
Sincerely etc.,

 Christopher Sawtell - Support Engineer - iOpen Technologies Ltd.
 email - chris @ iopen . co . nz ( anti spam - join it up to use ).
  The Notes for C Programmers
 - The most widely distributed C tutorial in the world -
  are available from:-
ftp://ftp.funet.fi/pub/languages/C/tutorials/sawtell_C.tar.gz



Re: LyX to TeX translation, house styles and CVS

1999-07-19 Thread Christopher Sawtell

On Tue, 20 Jul 1999, Peter Lister wrote:
> 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.

Consider the possibility of using LyX in SGML mode.
Layout->Document->Class->SGML

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.

--
Sincerely etc.,

 Christopher Sawtell - Support Engineer - iOpen Technologies Ltd.
 email - chris @ iopen . co . nz ( anti spam - join it up to use ).
  The Notes for C Programmers
 - The most widely distributed C tutorial in the world -
  are available from:-
ftp://ftp.funet.fi/pub/languages/C/tutorials/sawtell_C.tar.gz