tex2pdf 3.0 released

2001-11-13 Thread Steffen Evers

Hello everyone!

About: tex2pdf is a script that generates a PDF file from a LaTeX or LyX
document using tools like pdflatex and hyperref.

Changes in this release:
 * first stable release of tex2pdf in Perl
 * totally rewritten parameter/option handling
 * removed any unnecessary shell command: no more sed problems!
 * much better handling of referenced files
 * many, many other internal changes

Credits for this release:
 * thanks a lot to Fernando Perez for helping me with the porting
 * thanks a lot to Jean-Pierre Chretien for discussing many issues and
   giving me continuous feedback on the beta releases
 * thanks to anyone else who has helped me to get this done

More information: http://tex2pdf.berlios.de/

Bye, Steffen



tex2pdf 3.0 released

2001-11-13 Thread Steffen Evers

Hello everyone!

About: tex2pdf is a script that generates a PDF file from a LaTeX or LyX
document using tools like pdflatex and hyperref.

Changes in this release:
 * first stable release of tex2pdf in Perl
 * totally rewritten parameter/option handling
 * removed any unnecessary shell command: no more sed problems!
 * much better handling of referenced files
 * many, many other internal changes

Credits for this release:
 * thanks a lot to Fernando Perez for helping me with the porting
 * thanks a lot to Jean-Pierre Chretien for discussing many issues and
   giving me continuous feedback on the beta releases
 * thanks to anyone else who has helped me to get this done

More information: http://tex2pdf.berlios.de/

Bye, Steffen



tex2pdf 3.0 released

2001-11-13 Thread Steffen Evers

Hello everyone!

About: tex2pdf is a script that generates a PDF file from a LaTeX or LyX
document using tools like pdflatex and hyperref.

Changes in this release:
 * first stable release of tex2pdf in Perl
 * totally rewritten parameter/option handling
 * removed any unnecessary shell command: no more sed problems!
 * much better handling of referenced files
 * many, many other internal changes

Credits for this release:
 * thanks a lot to Fernando Perez for helping me with the porting
 * thanks a lot to Jean-Pierre Chretien for discussing many issues and
   giving me continuous feedback on the beta releases
 * thanks to anyone else who has helped me to get this done

More information: http://tex2pdf.berlios.de/

Bye, Steffen



Re: How to correct ugly fonts in PDF?

2001-10-28 Thread Steffen Evers

On Sat, Oct 27, 2001 at 14:34, Harry Mangalam wrote:
 As a Lyx newbie (second paper using Lyx, 1st on my own) I have been pleasantly 
amazed at what lyx does for you and how easy it is to actually GET WORK DONE.
 
Maybe you want to try tex2pdf. It takes care of this problem and others
and is written for people who just want to get their work done.
This tool is not perfect either, but sometimes it helps ...

You can download it from here: http://tex2pdf.berlios.de

I suggest to use the Perl version.

Bye, Steffen



Re: How to correct ugly fonts in PDF?

2001-10-28 Thread Steffen Evers

On Sat, Oct 27, 2001 at 14:34, Harry Mangalam wrote:
 As a Lyx newbie (second paper using Lyx, 1st on my own) I have been pleasantly 
amazed at what lyx does for you and how easy it is to actually GET WORK DONE.
 
Maybe you want to try tex2pdf. It takes care of this problem and others
and is written for people who just want to get their work done.
This tool is not perfect either, but sometimes it helps ...

You can download it from here: http://tex2pdf.berlios.de

I suggest to use the Perl version.

Bye, Steffen



Re: How to correct ugly fonts in PDF?

2001-10-28 Thread Steffen Evers

On Sat, Oct 27, 2001 at 14:34, Harry Mangalam wrote:
> As a Lyx newbie (second paper using Lyx, 1st on my own) I have been pleasantly 
>amazed at what lyx does for you and how easy it is to actually GET WORK DONE.
> 
Maybe you want to try tex2pdf. It takes care of this problem and others
and is written for people who just want to get their work done.
This tool is not perfect either, but sometimes it helps ...

You can download it from here: http://tex2pdf.berlios.de

I suggest to use the Perl version.

Bye, Steffen



Re: [tex2pdf-dev] Re: tex2pdf

2001-10-23 Thread Steffen Evers

On Tue, Oct 23, 2001 at 00:03, E GCP wrote:
 Thanks, and I have a couple of questions.
 
 In my LaTeX preamble I have:
 % Add prologue pages (title, etc.)
 \input{prologue.tex}
 
 But somehow tex2pdf does not set the directory correctly. It is missing a 
 /, see below. Can this be fixed?
Should be fixed in 3.0beta4. Released yesterday AFTER my mail. If this
problem still exists, please, tell us.

 -
 Also, How can I set the title of the document within the document, so 
 tex2pdf can see it, and I don't have to hardwire it to the hyperref options 
 in .tex2pdfplrc with pdftitle={My Title}?
1. You can use the \title{MYTITLE} tag in your TeX file (or in LyX)
2. You can use the command line option. See tex2pdf --help for details.

The same for author

Bye, Steffen



Re: [tex2pdf-dev] Re: tex2pdf

2001-10-23 Thread Steffen Evers

On Tue, Oct 23, 2001 at 00:03, E GCP wrote:
 Thanks, and I have a couple of questions.
 
 In my LaTeX preamble I have:
 % Add prologue pages (title, etc.)
 \input{prologue.tex}
 
 But somehow tex2pdf does not set the directory correctly. It is missing a 
 /, see below. Can this be fixed?
Should be fixed in 3.0beta4. Released yesterday AFTER my mail. If this
problem still exists, please, tell us.

 -
 Also, How can I set the title of the document within the document, so 
 tex2pdf can see it, and I don't have to hardwire it to the hyperref options 
 in .tex2pdfplrc with pdftitle={My Title}?
1. You can use the \title{MYTITLE} tag in your TeX file (or in LyX)
2. You can use the command line option. See tex2pdf --help for details.

The same for author

Bye, Steffen



Re: [tex2pdf-dev] Re: tex2pdf

2001-10-23 Thread Steffen Evers

On Tue, Oct 23, 2001 at 00:03, E GCP wrote:
> Thanks, and I have a couple of questions.
> 
> In my LaTeX preamble I have:
> % Add prologue pages (title, etc.)
> \input{prologue.tex}
> 
> But somehow tex2pdf does not set the directory correctly. It is missing a 
> "/", see below. Can this be fixed?
Should be fixed in 3.0beta4. Released yesterday AFTER my mail. If this
problem still exists, please, tell us.

> -
> Also, How can I set the title of the document within the document, so 
> tex2pdf can see it, and I don't have to hardwire it to the hyperref options 
> in .tex2pdfplrc with pdftitle={My Title}?
1. You can use the \title{MYTITLE} tag in your TeX file (or in LyX)
2. You can use the command line option. See tex2pdf --help for details.

The same for author

Bye, Steffen



simple way to generate PDFs from LyX

2001-10-04 Thread Steffen Evers

Hi,

as I have been on vacation I was not able to follow the discussion about PDF
generation earlier on this list.

The major task of tex2pdf is to provide an easy way to generate PDF
from INSIDE and outside Lyx.

All the stuff you have to do (e.g. EPS translation, insertation of extra
TeX stuff for pdftex, ...).

What you have to do to make tex2pdf work from inside LyX:

1. Download tex2pdf (I suggest the Perl version, beta2 should be fine)
   from http://developer.berlios.de/projects/tex2pdf/
2. Unpack it, put it in your binary path, (e.g. /usr/local/bin) and make
   sure it is executable.
3. Run 'tex2pdf --configure' ('tex2pdf -r' for bash port) as the regular
   user who wants to use it. NOTE: The script refuses to start without
   prior configuration!
4. Have a look at possible command line options with 'tex2pdf --help'
5. Choose in the following menu: Edit-Preferences-Converters-Converters
   'LaTeX-PDF(pdftex)' and set the 'Converter' field to your tex2pdf
   executable with all it options and the argument '$$i' at the end: 
   e.g.: /usr/local/bin/tex2pdf $$i
6. Confim your changes. Now it should work.
7. Report any problems to the tex2pdf list:
   mailto:[EMAIL PROTECTED] and or the lyx-users list.

To use tex2pdf from outside Lyx simply call it by
   'tex2pdf [OPTIONS] DOCUMENT.lyx'
   or 'tex2pdf [OPTIONS] DOCUMENT.tex'

Hope it helps ...

Bye, Steffen




simple way to generate PDFs from LyX

2001-10-04 Thread Steffen Evers

Hi,

as I have been on vacation I was not able to follow the discussion about PDF
generation earlier on this list.

The major task of tex2pdf is to provide an easy way to generate PDF
from INSIDE and outside Lyx.

All the stuff you have to do (e.g. EPS translation, insertation of extra
TeX stuff for pdftex, ...).

What you have to do to make tex2pdf work from inside LyX:

1. Download tex2pdf (I suggest the Perl version, beta2 should be fine)
   from http://developer.berlios.de/projects/tex2pdf/
2. Unpack it, put it in your binary path, (e.g. /usr/local/bin) and make
   sure it is executable.
3. Run 'tex2pdf --configure' ('tex2pdf -r' for bash port) as the regular
   user who wants to use it. NOTE: The script refuses to start without
   prior configuration!
4. Have a look at possible command line options with 'tex2pdf --help'
5. Choose in the following menu: Edit-Preferences-Converters-Converters
   'LaTeX-PDF(pdftex)' and set the 'Converter' field to your tex2pdf
   executable with all it options and the argument '$$i' at the end: 
   e.g.: /usr/local/bin/tex2pdf $$i
6. Confim your changes. Now it should work.
7. Report any problems to the tex2pdf list:
   mailto:[EMAIL PROTECTED] and or the lyx-users list.

To use tex2pdf from outside Lyx simply call it by
   'tex2pdf [OPTIONS] DOCUMENT.lyx'
   or 'tex2pdf [OPTIONS] DOCUMENT.tex'

Hope it helps ...

Bye, Steffen




simple way to generate PDFs from LyX

2001-10-04 Thread Steffen Evers

Hi,

as I have been on vacation I was not able to follow the discussion about PDF
generation earlier on this list.

The major task of tex2pdf is to provide an easy way to generate PDF
from INSIDE and outside Lyx.

All the stuff you have to do (e.g. EPS translation, insertation of extra
TeX stuff for pdftex, ...).

What you have to do to make tex2pdf work from inside LyX:

1. Download tex2pdf (I suggest the Perl version, beta2 should be fine)
   from http://developer.berlios.de/projects/tex2pdf/
2. Unpack it, put it in your binary path, (e.g. /usr/local/bin) and make
   sure it is executable.
3. Run 'tex2pdf --configure' ('tex2pdf -r' for bash port) as the regular
   user who wants to use it. NOTE: The script refuses to start without
   prior configuration!
4. Have a look at possible command line options with 'tex2pdf --help'
5. Choose in the following menu: Edit->Preferences->Converters->Converters
   'LaTeX->PDF(pdftex)' and set the 'Converter' field to your tex2pdf
   executable with all it options and the argument '$$i' at the end: 
   e.g.: /usr/local/bin/tex2pdf $$i
6. Confim your changes. Now it should work.
7. Report any problems to the tex2pdf list:
   mailto:[EMAIL PROTECTED] and or the lyx-users list.

To use tex2pdf from outside Lyx simply call it by
   'tex2pdf [OPTIONS] DOCUMENT.lyx'
   or 'tex2pdf [OPTIONS] DOCUMENT.tex'

Hope it helps ...

Bye, Steffen




Re: Footnotes don't appear in HTML output

2001-09-13 Thread Steffen Evers

Maybe you should use lyxport which does some corrections of the LaTeX
file before calling latex2html. You will find a link here:
http://www.lyx.org/download/

Bye, Steffen

On Wed, Sep 12, 2001 at 19:58, Ben Logan wrote:
 Hello,
 
 I've got a document which uses the Book class, and has a footnote in
 it.  When I export to HTML, the html output doesn't contain the
 footnote.  Instead, it looks like
 
 typeset@protect @@footnote SF@gobble@opt text of the footnote
 
 Latex2Html gives a message about the arguments being too complex...you
 can see the message in the attached output.
 
 I'm using
 LyX-1.1.6fix3 (installed from RPM) on a
 Redhat 7.1 (kernel 2.4.5-ac12) Intel system.
 My verion of latex2html is shown in the output from it, which I have
 attached.
 
 Any ideas?
 Ben Logan



Re: Footnotes don't appear in HTML output

2001-09-13 Thread Steffen Evers

Maybe you should use lyxport which does some corrections of the LaTeX
file before calling latex2html. You will find a link here:
http://www.lyx.org/download/

Bye, Steffen

On Wed, Sep 12, 2001 at 19:58, Ben Logan wrote:
 Hello,
 
 I've got a document which uses the Book class, and has a footnote in
 it.  When I export to HTML, the html output doesn't contain the
 footnote.  Instead, it looks like
 
 typeset@protect @@footnote SF@gobble@opt text of the footnote
 
 Latex2Html gives a message about the arguments being too complex...you
 can see the message in the attached output.
 
 I'm using
 LyX-1.1.6fix3 (installed from RPM) on a
 Redhat 7.1 (kernel 2.4.5-ac12) Intel system.
 My verion of latex2html is shown in the output from it, which I have
 attached.
 
 Any ideas?
 Ben Logan



Re: Footnotes don't appear in HTML output

2001-09-13 Thread Steffen Evers

Maybe you should use lyxport which does some corrections of the LaTeX
file before calling latex2html. You will find a link here:
http://www.lyx.org/download/

Bye, Steffen

On Wed, Sep 12, 2001 at 19:58, Ben Logan wrote:
> Hello,
> 
> I've got a document which uses the "Book" class, and has a footnote in
> it.  When I export to HTML, the html output doesn't contain the
> footnote.  Instead, it looks like
> 
> typeset@protect @@footnote SF@gobble@opt 
> 
> Latex2Html gives a message about the arguments being too complex...you
> can see the message in the attached output.
> 
> I'm using
> LyX-1.1.6fix3 (installed from RPM) on a
> Redhat 7.1 (kernel 2.4.5-ac12) Intel system.
> My verion of latex2html is shown in the output from it, which I have
> attached.
> 
> Any ideas?
> Ben Logan



tex2pdf 2.3.0 and 3.0beta1 released

2001-09-09 Thread Steffen Evers

Hello everyone,

There is a new release of the tex2pdf bash shell script.

It is only a frontend to hyperref, pdftex and similar tools. So you still
need all of them.

Thanks to everyone who has helped to get this done. Special thanks to
Steffen Macke and Jean-Pierre Chretien who have helped a lot with the
development of 2.2 and 2.3. This is the last bash release.

I have finally ported tex2pdf to Perl to end all this shell script
hacking. The first Perl beta release 3.0beta1 is available, too.
It is supposed to be feature complete and it seems to be rather
stable as well.

You can download both from here:
http://developer.berlios.de/projects/tex2pdf/

Please, send any feedback to the developer mailing list. NOT to me
personally: mailto:[EMAIL PROTECTED]

Bye, Steffen

PS: At the time of this writing BerliOS is not responding. This will be
fixed soon, I guess.




tex2pdf 2.3.0 and 3.0beta1 released

2001-09-09 Thread Steffen Evers

Hello everyone,

There is a new release of the tex2pdf bash shell script.

It is only a frontend to hyperref, pdftex and similar tools. So you still
need all of them.

Thanks to everyone who has helped to get this done. Special thanks to
Steffen Macke and Jean-Pierre Chretien who have helped a lot with the
development of 2.2 and 2.3. This is the last bash release.

I have finally ported tex2pdf to Perl to end all this shell script
hacking. The first Perl beta release 3.0beta1 is available, too.
It is supposed to be feature complete and it seems to be rather
stable as well.

You can download both from here:
http://developer.berlios.de/projects/tex2pdf/

Please, send any feedback to the developer mailing list. NOT to me
personally: mailto:[EMAIL PROTECTED]

Bye, Steffen

PS: At the time of this writing BerliOS is not responding. This will be
fixed soon, I guess.




tex2pdf 2.3.0 and 3.0beta1 released

2001-09-09 Thread Steffen Evers

Hello everyone,

There is a new release of the tex2pdf bash shell script.

It is only a frontend to hyperref, pdftex and similar tools. So you still
need all of them.

Thanks to everyone who has helped to get this done. Special thanks to
Steffen Macke and Jean-Pierre Chretien who have helped a lot with the
development of 2.2 and 2.3. This is the last bash release.

I have finally ported tex2pdf to Perl to end all this shell script
hacking. The first Perl beta release 3.0beta1 is available, too.
It is supposed to be feature complete and it seems to be rather
stable as well.

You can download both from here:
http://developer.berlios.de/projects/tex2pdf/

Please, send any feedback to the developer mailing list. NOT to me
personally: mailto:[EMAIL PROTECTED]

Bye, Steffen

PS: At the time of this writing BerliOS is not responding. This will be
fixed soon, I guess.




Re: [tex2pdf-dev] Hypertext and PDF

2001-09-05 Thread Steffen Evers

On Wed, Sep 05, 2001 at 17:48, Jean-Pierre Chretien wrote:
 I've tested tex2pdf 2.29 on a real life document (a PhD thesis)
 with a lot of crossrefs and figures.
 Original figures were included with epsf, so I wrote a short script
 to substitute graphics to epsf (not generic I guess).
 
 I ran in a Tex capacity problem when I came to thumbnails, but when this
 was solved, I found that the PDF toc was not incomplete
 (seems to stop after the 1st \section* encountered).
 Moreover the navigation from the in-text TOC did not point to the right page.
increase the maxrunno, maybe that helps 
I remember having similar problems when pdflatex was not running often
enough.

 Running tex2pdf -r to change the toc option from yes to no produced en error:
 pdfTeX error (ext4): link annotations can't be nested.
You could have a look at the generated temp-tex file and make sure that
everything in there is correct.
It sounds a little bit like a messed up tex file.

The option linktocpage is doing nothing else than putting 'linktocpage'
in the the hyperref parameters. Works here ...

You could also try the perl port in order to make sure that it is not a
sed problem or something like this...

 Reinstalling hyperref from ctan did'nt change the behavior.
 
 Any clue ?
 

Bye, Steffen



Re: [tex2pdf-dev] Hypertext and PDF

2001-09-05 Thread Steffen Evers

On Wed, Sep 05, 2001 at 17:48, Jean-Pierre Chretien wrote:
 I've tested tex2pdf 2.29 on a real life document (a PhD thesis)
 with a lot of crossrefs and figures.
 Original figures were included with epsf, so I wrote a short script
 to substitute graphics to epsf (not generic I guess).
 
 I ran in a Tex capacity problem when I came to thumbnails, but when this
 was solved, I found that the PDF toc was not incomplete
 (seems to stop after the 1st \section* encountered).
 Moreover the navigation from the in-text TOC did not point to the right page.
increase the maxrunno, maybe that helps 
I remember having similar problems when pdflatex was not running often
enough.

 Running tex2pdf -r to change the toc option from yes to no produced en error:
 pdfTeX error (ext4): link annotations can't be nested.
You could have a look at the generated temp-tex file and make sure that
everything in there is correct.
It sounds a little bit like a messed up tex file.

The option linktocpage is doing nothing else than putting 'linktocpage'
in the the hyperref parameters. Works here ...

You could also try the perl port in order to make sure that it is not a
sed problem or something like this...

 Reinstalling hyperref from ctan did'nt change the behavior.
 
 Any clue ?
 

Bye, Steffen



Re: [tex2pdf-dev] Hypertext and PDF

2001-09-05 Thread Steffen Evers

On Wed, Sep 05, 2001 at 17:48, Jean-Pierre Chretien wrote:
> I've tested tex2pdf 2.29 on a real life document (a PhD thesis)
> with a lot of crossrefs and figures.
> Original figures were included with epsf, so I wrote a short script
> to substitute graphics to epsf (not generic I guess).
> 
> I ran in a Tex capacity problem when I came to thumbnails, but when this
> was solved, I found that the PDF toc was not incomplete
> (seems to stop after the 1st \section* encountered).
> Moreover the navigation from the in-text TOC did not point to the right page.
increase the maxrunno, maybe that helps 
I remember having similar problems when pdflatex was not running often
enough.

> Running tex2pdf -r to change the toc option from yes to no produced en error:
> pdfTeX error (ext4): link annotations can't be nested.
You could have a look at the generated temp-tex file and make sure that
everything in there is correct.
It sounds a little bit like a messed up tex file.

The option linktocpage is doing nothing else than putting 'linktocpage'
in the the hyperref parameters. Works here ...

You could also try the perl port in order to make sure that it is not a
sed problem or something like this...

> Reinstalling hyperref from ctan did'nt change the behavior.
> 
> Any clue ?
> 

Bye, Steffen



Re: PS images for PDF files

2001-08-31 Thread Steffen Evers

On Sat, Sep 01, 2001 at 09:23, Kathryn Andersen wrote:
 On Fri, Aug 31, 2001 at 10:48:32PM +0200, Adolfo Pachón wrote:
  I'm a .tex version of an LyX document, that include PostScript graphics.
  How can I generate the images in the PDF output with pdflatex?
 
 Okay, there are two approaches:
 (1) Use the tex2pdf script (I think it's findable on
 http://www.ctan.org) which converts your EPS figures into PDF figures
 on the fly.  This works with most of them, but not all of them.

You will find tex2pdf here:
http://tex2pdf.berlios.de/

Bye, Steffen



Re: PS images for PDF files

2001-08-31 Thread Steffen Evers

On Sat, Sep 01, 2001 at 09:23, Kathryn Andersen wrote:
 On Fri, Aug 31, 2001 at 10:48:32PM +0200, Adolfo Pachón wrote:
  I'm a .tex version of an LyX document, that include PostScript graphics.
  How can I generate the images in the PDF output with pdflatex?
 
 Okay, there are two approaches:
 (1) Use the tex2pdf script (I think it's findable on
 http://www.ctan.org) which converts your EPS figures into PDF figures
 on the fly.  This works with most of them, but not all of them.

You will find tex2pdf here:
http://tex2pdf.berlios.de/

Bye, Steffen



Re: PS images for PDF files

2001-08-31 Thread Steffen Evers

On Sat, Sep 01, 2001 at 09:23, Kathryn Andersen wrote:
> On Fri, Aug 31, 2001 at 10:48:32PM +0200, Adolfo Pachón wrote:
> > I'm a .tex version of an LyX document, that include PostScript graphics.
> > How can I generate the images in the PDF output with pdflatex?
> 
> Okay, there are two approaches:
> (1) Use the tex2pdf script (I think it's findable on
> ) which converts your EPS figures into PDF figures
> on the fly.  This works with most of them, but not all of them.

You will find tex2pdf here:
http://tex2pdf.berlios.de/

Bye, Steffen



Re: LyX to pdf conversion

2001-08-19 Thread Steffen Evers

Hi Joerg,

does it not work to set a4paper directly in tex2pdf?

Which version of tex2pdf do you use?
The current is 2.2.0 (released today).
You can find it here: http://developer.berlios.de/projects/tex2pdf/
Please, read the release information, too.

Bye, Steffen

On Sun, Aug 19, 2001 at 04:35:29PM +0200, Joerg Hau wrote:
 'tex2pdf' works directly with the present version I have ... with a
 small problem that is related to hyperref: If you do not specify
 'a4paper' in your options to \documentclass, [hyperref] assumes Letter
 paper and overrides the entries in your pdftex.cfg file. (pdftex FAQ)
 
 Now, if I select to use A4 paper in LyX - no other paper-size options -,
 the generated LaTeX file is fine: 
 
\documentclass[english,a4paper]{article} 
 
 ... and it gives pdf output in the right size. However, when I select A4
 with some options, e.g. very small margins, the generated LaTeX file
 contains just: 
 
\documentclass[english]{article} 
\usepackage{a4wide}
 
 ... which means that 'hyperref' will generate a file with Letter page
 size! Not a problem for those in the USA, but very well a problem for
 Europe as you have to edit the exported TeX file manually ;-)
 
 To make a long story short: The bug is apparently due to 'hyperref' ...
 but wouldn't it be safer to have LyX insert the 'a4paper' statement in
 '\documentclass' automatically if any A4-related package (such as
 a4wide) is selected? Something like:
 
\documentclass[english,a4paper]{article} 
\usepackage{a4wide}

-- 




Re: LyX to pdf conversion

2001-08-19 Thread Steffen Evers

Hi Joerg,

does it not work to set a4paper directly in tex2pdf?

Which version of tex2pdf do you use?
The current is 2.2.0 (released today).
You can find it here: http://developer.berlios.de/projects/tex2pdf/
Please, read the release information, too.

Bye, Steffen

On Sun, Aug 19, 2001 at 04:35:29PM +0200, Joerg Hau wrote:
 'tex2pdf' works directly with the present version I have ... with a
 small problem that is related to hyperref: If you do not specify
 'a4paper' in your options to \documentclass, [hyperref] assumes Letter
 paper and overrides the entries in your pdftex.cfg file. (pdftex FAQ)
 
 Now, if I select to use A4 paper in LyX - no other paper-size options -,
 the generated LaTeX file is fine: 
 
\documentclass[english,a4paper]{article} 
 
 ... and it gives pdf output in the right size. However, when I select A4
 with some options, e.g. very small margins, the generated LaTeX file
 contains just: 
 
\documentclass[english]{article} 
\usepackage{a4wide}
 
 ... which means that 'hyperref' will generate a file with Letter page
 size! Not a problem for those in the USA, but very well a problem for
 Europe as you have to edit the exported TeX file manually ;-)
 
 To make a long story short: The bug is apparently due to 'hyperref' ...
 but wouldn't it be safer to have LyX insert the 'a4paper' statement in
 '\documentclass' automatically if any A4-related package (such as
 a4wide) is selected? Something like:
 
\documentclass[english,a4paper]{article} 
\usepackage{a4wide}

-- 




Re: LyX to pdf conversion

2001-08-19 Thread Steffen Evers

Hi Joerg,

does it not work to set a4paper directly in tex2pdf?

Which version of tex2pdf do you use?
The current is 2.2.0 (released today).
You can find it here: http://developer.berlios.de/projects/tex2pdf/
Please, read the release information, too.

Bye, Steffen

On Sun, Aug 19, 2001 at 04:35:29PM +0200, Joerg Hau wrote:
> 'tex2pdf' works directly with the present version I have ... with a
> small problem that is related to hyperref: "If you do not specify
> 'a4paper' in your options to \documentclass, [hyperref] assumes Letter
> paper and overrides the entries in your pdftex.cfg file." (pdftex FAQ)
> 
> Now, if I select to use A4 paper in LyX - no other paper-size options -,
> the generated LaTeX file is fine: 
> 
>\documentclass[english,a4paper]{article} 
> 
> ... and it gives pdf output in the right size. However, when I select A4
> with some options, e.g. "very small margins", the generated LaTeX file
> contains just: 
> 
>\documentclass[english]{article} 
>\usepackage{a4wide}
> 
> ... which means that 'hyperref' will generate a file with "Letter" page
> size! Not a problem for those in the USA, but very well a problem for
> Europe as you have to edit the exported TeX file manually ;-)
> 
> To make a long story short: The bug is apparently due to 'hyperref' ...
> but wouldn't it be safer to have LyX insert the 'a4paper' statement in
> '\documentclass' automatically if any "A4-related" package (such as
> a4wide) is selected? Something like:
> 
>\documentclass[english,a4paper]{article} 
>\usepackage{a4wide}

-- 




tex2pdf - improved beta needs testingfeedsback

2001-08-01 Thread Steffen Evers

Hello everyone,

tex2pdf has changed a lot in order to make it more user friendly:

- more paramters
- private RC config files for multi-user environment
- configuration procedure
- command line options
- many bugfixes
- better log file handling
- many other little things

Special thanks to Steffen Macke who has written a big part of new config
file/command line stuff.

Although the current version seems to be rather stable I consider it BETA.

You can download it from here:
http://cvs.berlios.de/cgi-bin/cvsweb.cgi/bin/tex2pdf?cvsroot=tex2pdf

PLEASE, send a lot of feedback to: mailto:[EMAIL PROTECTED]

Bye, Steffen

PS: As I will start a new job soon, the next release might be MY last one, BUT
anyone is invited to continue improving tex2pdf ...




tex2pdf - improved beta needs testingfeedsback

2001-08-01 Thread Steffen Evers

Hello everyone,

tex2pdf has changed a lot in order to make it more user friendly:

- more paramters
- private RC config files for multi-user environment
- configuration procedure
- command line options
- many bugfixes
- better log file handling
- many other little things

Special thanks to Steffen Macke who has written a big part of new config
file/command line stuff.

Although the current version seems to be rather stable I consider it BETA.

You can download it from here:
http://cvs.berlios.de/cgi-bin/cvsweb.cgi/bin/tex2pdf?cvsroot=tex2pdf

PLEASE, send a lot of feedback to: mailto:[EMAIL PROTECTED]

Bye, Steffen

PS: As I will start a new job soon, the next release might be MY last one, BUT
anyone is invited to continue improving tex2pdf ...




tex2pdf - improved beta needs testing

2001-08-01 Thread Steffen Evers

Hello everyone,

tex2pdf has changed a lot in order to make it more user friendly:

- more paramters
- private RC config files for multi-user environment
- configuration procedure
- command line options
- many bugfixes
- better log file handling
- many other little things

Special thanks to Steffen Macke who has written a big part of new config
file/command line stuff.

Although the current version seems to be rather stable I consider it BETA.

You can download it from here:
http://cvs.berlios.de/cgi-bin/cvsweb.cgi/bin/tex2pdf?cvsroot=tex2pdf

PLEASE, send a lot of feedback to: mailto:[EMAIL PROTECTED]

Bye, Steffen

PS: As I will start a new job soon, the next release might be MY last one, BUT
anyone is invited to continue improving tex2pdf ...




tex2pdf 2.1 released

2001-04-07 Thread Steffen Evers

Hello everyone,

tex2pdf 2.1 has been released. It is a bugfix release. The major changes are:

#  * bugfix: included graphics haven't been recognised with [...] parameter
# (thanks to Ahmet Sekercioglu for the bug report)
#  * introduced parameters MINRUNNO, INSERTCOMMAND and CLEANLOGS
#  * bugfix: env variable in single quotes (handling of included TeX files)
#  * bugfix: TOC was not created as pdflatex has been running only once
# (thanks to Richard for the bug report)
#  * bugfix: commented out \include and \bibliography have been processed
# (thanks to Ahmet Sekercioglu for the bug report)
#  * added optional makeindex support (set MAKEINDEX=test to activate)
# (thanks to Steffen Macke for his work)

More information at: http://tex2pdf.berlios.de/

Please send any comments to the Tex2pdf Developer List:
mailto:[EMAIL PROTECTED] .

Thanks to all the people who helped us with their feedback, patches and
comments.

Bye, Steffen




tex2pdf 2.1 released

2001-04-07 Thread Steffen Evers

Hello everyone,

tex2pdf 2.1 has been released. It is a bugfix release. The major changes are:

#  * bugfix: included graphics haven't been recognised with [...] parameter
# (thanks to Ahmet Sekercioglu for the bug report)
#  * introduced parameters MINRUNNO, INSERTCOMMAND and CLEANLOGS
#  * bugfix: env variable in single quotes (handling of included TeX files)
#  * bugfix: TOC was not created as pdflatex has been running only once
# (thanks to Richard for the bug report)
#  * bugfix: commented out \include and \bibliography have been processed
# (thanks to Ahmet Sekercioglu for the bug report)
#  * added optional makeindex support (set MAKEINDEX=test to activate)
# (thanks to Steffen Macke for his work)

More information at: http://tex2pdf.berlios.de/

Please send any comments to the Tex2pdf Developer List:
mailto:[EMAIL PROTECTED] .

Thanks to all the people who helped us with their feedback, patches and
comments.

Bye, Steffen




tex2pdf 2.1 released

2001-04-07 Thread Steffen Evers

Hello everyone,

tex2pdf 2.1 has been released. It is a bugfix release. The major changes are:

#  * bugfix: included graphics haven't been recognised with [...] parameter
# (thanks to Ahmet Sekercioglu for the bug report)
#  * introduced parameters MINRUNNO, INSERTCOMMAND and CLEANLOGS
#  * bugfix: env variable in single quotes (handling of included TeX files)
#  * bugfix: TOC was not created as pdflatex has been running only once
# (thanks to Richard for the bug report)
#  * bugfix: commented out \include and \bibliography have been processed
# (thanks to Ahmet Sekercioglu for the bug report)
#  * added optional makeindex support (set MAKEINDEX=test to activate)
# (thanks to Steffen Macke for his work)

More information at: http://tex2pdf.berlios.de/

Please send any comments to the Tex2pdf Developer List:
mailto:[EMAIL PROTECTED] .

Thanks to all the people who helped us with their feedback, patches and
comments.

Bye, Steffen




tex2pdf 2.0 released

2001-03-15 Thread Steffen Evers

tex2pdf 2.0 finished: I have cleaned up the code a lot and made it work with LyX
again.

You can get it from http://tex2pdf.berlios.de/

It works as a converter for PDF inside LyX now. You don't need to set any flags.
Just use 'tex2pdf $$i' in Edit-Preferences-Converters-Converters:
LaTeX-PDF(pdflatex).

Feedback is wanted, of cause: mailto:[EMAIL PROTECTED] .

I think this is it for a while... except someone finds something really bad or
wants to work on it himself. Anyone is welcome to send me patches and
suggestions. I will collect them and keep it in mind for the next release. Most
welcome are patches against the CVS Repository on the tex2pdf's developer site.

If someone likes to port it to Perl: Go ahead!

Bye, Steffen




tex2pdf 2.0 released

2001-03-15 Thread Steffen Evers

tex2pdf 2.0 finished: I have cleaned up the code a lot and made it work with LyX
again.

You can get it from http://tex2pdf.berlios.de/

It works as a converter for PDF inside LyX now. You don't need to set any flags.
Just use 'tex2pdf $$i' in Edit-Preferences-Converters-Converters:
LaTeX-PDF(pdflatex).

Feedback is wanted, of cause: mailto:[EMAIL PROTECTED] .

I think this is it for a while... except someone finds something really bad or
wants to work on it himself. Anyone is welcome to send me patches and
suggestions. I will collect them and keep it in mind for the next release. Most
welcome are patches against the CVS Repository on the tex2pdf's developer site.

If someone likes to port it to Perl: Go ahead!

Bye, Steffen




tex2pdf 2.0 released

2001-03-15 Thread Steffen Evers

tex2pdf 2.0 finished: I have cleaned up the code a lot and made it work with LyX
again.

You can get it from http://tex2pdf.berlios.de/

It works as a converter for PDF inside LyX now. You don't need to set any flags.
Just use 'tex2pdf $$i' in Edit->Preferences->Converters->Converters:
LaTeX->PDF(pdflatex).

Feedback is wanted, of cause: mailto:[EMAIL PROTECTED] .

I think this is it for a while... except someone finds something really bad or
wants to work on it himself. Anyone is welcome to send me patches and
suggestions. I will collect them and keep it in mind for the next release. Most
welcome are patches against the CVS Repository on the tex2pdf's developer site.

If someone likes to port it to Perl: Go ahead!

Bye, Steffen




tex2pdf (former lyx2pdf) new versions !!!

2001-03-10 Thread Steffen Evers

Hello everyone,

after several month break I was driven to continue the development of tex2pdf by
a lot of thankful feedback and patches. I stopped my work because I thought that
the script is no longer demanded because of LyX' built-in PDF export, but than I
realized that LyX is only calling pdflatex which tex2pdf does as well. The image
translation, etc. has to be done manually without tex2pdf. So, it is still
usefull!  

Stable version: lyx2pdf 1.8
Development version: tex2pdf 2.0 beta 2

The beta should work properly as well!!

Highlights:
* (tex2pdf) works with LyX and LaTeX files as input
* supports thumbpdf to generate thumbnails of all pages
* parses included LaTeX files for images
* support for pstex_t files with included EPS image
* parameter section to adjust to your personel flavor
* bibtex support

I have opened a project at BerliOS to make life easier. Have a look if you like:
http://developer.berlios.de/projects/tex2pdf/

There are two mailing lists at BerliOS as well:
http://lists.berlios.de/mailman/listinfo/tex2pdf-announce
http://lists.berlios.de/mailman/listinfo/tex2pdf-devel

Join them if you like. I will announce future releases only on my mailing lists,
though, I might post it on the pdftex and lyx-users mailing list, too, as long
as nobody minds.

For LyX 1.1.6 users: Using tex2pdf as LyX export should work but requires the
flag originaldir. Unfortunately this flag seems not to be recognized. So you
still have to do it externally.

Have fun with it!!!

Bye, Steffen



tex2pdf (former lyx2pdf) new versions !!!

2001-03-10 Thread Steffen Evers

Hello everyone,

after several month break I was driven to continue the development of tex2pdf by
a lot of thankful feedback and patches. I stopped my work because I thought that
the script is no longer demanded because of LyX' built-in PDF export, but than I
realized that LyX is only calling pdflatex which tex2pdf does as well. The image
translation, etc. has to be done manually without tex2pdf. So, it is still
usefull!  

Stable version: lyx2pdf 1.8
Development version: tex2pdf 2.0 beta 2

The beta should work properly as well!!

Highlights:
* (tex2pdf) works with LyX and LaTeX files as input
* supports thumbpdf to generate thumbnails of all pages
* parses included LaTeX files for images
* support for pstex_t files with included EPS image
* parameter section to adjust to your personel flavor
* bibtex support

I have opened a project at BerliOS to make life easier. Have a look if you like:
http://developer.berlios.de/projects/tex2pdf/

There are two mailing lists at BerliOS as well:
http://lists.berlios.de/mailman/listinfo/tex2pdf-announce
http://lists.berlios.de/mailman/listinfo/tex2pdf-devel

Join them if you like. I will announce future releases only on my mailing lists,
though, I might post it on the pdftex and lyx-users mailing list, too, as long
as nobody minds.

For LyX 1.1.6 users: Using tex2pdf as LyX export should work but requires the
flag originaldir. Unfortunately this flag seems not to be recognized. So you
still have to do it externally.

Have fun with it!!!

Bye, Steffen



tex2pdf (former lyx2pdf) new versions !!!

2001-03-10 Thread Steffen Evers

Hello everyone,

after several month break I was driven to continue the development of tex2pdf by
a lot of thankful feedback and patches. I stopped my work because I thought that
the script is no longer demanded because of LyX' built-in PDF export, but than I
realized that LyX is only calling pdflatex which tex2pdf does as well. The image
translation, etc. has to be done manually without tex2pdf. So, it is still
usefull!  

Stable version: lyx2pdf 1.8
Development version: tex2pdf 2.0 beta 2

The beta should work properly as well!!

Highlights:
* (tex2pdf) works with LyX and LaTeX files as input
* supports thumbpdf to generate thumbnails of all pages
* parses included LaTeX files for images
* support for pstex_t files with included EPS image
* parameter section to adjust to your personel flavor
* bibtex support

I have opened a project at BerliOS to make life easier. Have a look if you like:
http://developer.berlios.de/projects/tex2pdf/

There are two mailing lists at BerliOS as well:
http://lists.berlios.de/mailman/listinfo/tex2pdf-announce
http://lists.berlios.de/mailman/listinfo/tex2pdf-devel

Join them if you like. I will announce future releases only on my mailing lists,
though, I might post it on the pdftex and lyx-users mailing list, too, as long
as nobody minds.

For LyX 1.1.6 users: Using tex2pdf as LyX export should work but requires the
flag originaldir. Unfortunately this flag seems not to be recognized. So you
still have to do it externally.

Have fun with it!!!

Bye, Steffen



lyx2pdf - pending, but not dead

2000-11-01 Thread Steffen Evers

Hello everyone,

your mails are still in my Inbox. I have all read them, but was to busy
to take any action so far.
I have heard something about a different approach of the LyX developers
on PDF export in 1.1.6 or 1.2. Does anyone know what the plans are?

The URL I have given in the past has problems sometimes, use the
following one instead:
http://user.cs.tu-berlin.de/~tron/scripts/lyx2pdf

What are the future plans with lyx2pdf:

1. make lyx2pdf work with included documents

2. Use options and an RC file for parameter section (like in my skript
mkkrl: http://user.cs.tu-berlin.de/~tron/scripts/mkkrl )

3. make it possible to call lyx2pdf from LyX directly

4. clean up the code; use more functions (bibtex handling, image
handling, etc. as functions)

5. Clean up script output

6. When there is enough interest in lyx2pdf: Make lyx2pdf an offical
part of LyX or an independent project on Sourceforge or something.  So,
we have mailing lists, etc.


I am thankful with anyone who wants to help me somehow. Patches (even
bad ones) are preffered. Information is welcome as well.

I think, I will have the time to reply properly next weekend.

Anyway, thanks a lot for your feedback!

Bye, Steffen 

-- 
Steffen Evers 
mailto:trony.tripod.de

Carpe diem!



lyx2pdf - pending, but not dead

2000-11-01 Thread Steffen Evers

Hello everyone,

your mails are still in my Inbox. I have all read them, but was to busy
to take any action so far.
I have heard something about a different approach of the LyX developers
on PDF export in 1.1.6 or 1.2. Does anyone know what the plans are?

The URL I have given in the past has problems sometimes, use the
following one instead:
http://user.cs.tu-berlin.de/~tron/scripts/lyx2pdf

What are the future plans with lyx2pdf:

1. make lyx2pdf work with included documents

2. Use options and an RC file for parameter section (like in my skript
mkkrl: http://user.cs.tu-berlin.de/~tron/scripts/mkkrl )

3. make it possible to call lyx2pdf from LyX directly

4. clean up the code; use more functions (bibtex handling, image
handling, etc. as functions)

5. Clean up script output

6. When there is enough interest in lyx2pdf: Make lyx2pdf an offical
part of LyX or an independent project on Sourceforge or something.  So,
we have mailing lists, etc.


I am thankful with anyone who wants to help me somehow. Patches (even
bad ones) are preffered. Information is welcome as well.

I think, I will have the time to reply properly next weekend.

Anyway, thanks a lot for your feedback!

Bye, Steffen 

-- 
Steffen Evers 
mailto:trony.tripod.de

Carpe diem!



lyx2pdf - pending, but not dead

2000-11-01 Thread Steffen Evers

Hello everyone,

your mails are still in my Inbox. I have all read them, but was to busy
to take any action so far.
I have heard something about a different approach of the LyX developers
on PDF export in 1.1.6 or 1.2. Does anyone know what the plans are?

The URL I have given in the past has problems sometimes, use the
following one instead:
http://user.cs.tu-berlin.de/~tron/scripts/lyx2pdf

What are the future plans with lyx2pdf:

1. make lyx2pdf work with included documents

2. Use options and an RC file for parameter section (like in my skript
mkkrl: http://user.cs.tu-berlin.de/~tron/scripts/mkkrl )

3. make it possible to call lyx2pdf from LyX directly

4. clean up the code; use more functions (bibtex handling, image
handling, etc. as functions)

5. Clean up script output

6. When there is enough interest in lyx2pdf: Make lyx2pdf an offical
part of LyX or an independent project on Sourceforge or something.  So,
we have mailing lists, etc.


I am thankful with anyone who wants to help me somehow. Patches (even
bad ones) are preffered. Information is welcome as well.

I think, I will have the time to reply properly next weekend.

Anyway, thanks a lot for your feedback!

Bye, Steffen 

-- 
Steffen Evers 
mailto:trony.tripod.de

Carpe diem!



lyx2pdf V1.6 - with bibtex support

2000-10-14 Thread Steffen Evers

Hello everyone,

there has been some efforts to get lyx2pdf working with bibtex. The result is
version 1.6 which fixes some other problems as well. 

However, there are still some cases where the script fails and I need your
feedback and patches to find and get ride of all these problems. So, thanks to
anyone who has supported lyx2pdf by sending me feedback and patches! Special
thanks to the people mentioned below in the change log.

You can find lyx2pdf here: http://www.cs.tu-berlin.de/~tron/scripts/lyx2pdf

Have a nice day!

Steffen


Change log for V1.5 = V1.6:
#  * added bibtex support
# (thanks to Mark van Rossum for hinting to the problem)
# (thanks to Matt Bandy for his patch)
#  * improved pdflatex error checking, hint to log file
#  * introduced paramter to set the location of the generated PDF document
#  * change working directory to document directory (for local images, etc.)
# (thanks to Matt Bandy for his patch)
#  * put in tex command before 'makeletter' instead 'makeatother' (fixes problem
#with apacite package - requires different order)
# (thanks to Mark van Rossum for this patch)
#  * introduced paramters to specifiy title, author and link colors
# (thanks to Matt Bandy for this patch)
#  * minor changes





lyx2pdf V1.6 - with bibtex support

2000-10-14 Thread Steffen Evers

Hello everyone,

there has been some efforts to get lyx2pdf working with bibtex. The result is
version 1.6 which fixes some other problems as well. 

However, there are still some cases where the script fails and I need your
feedback and patches to find and get ride of all these problems. So, thanks to
anyone who has supported lyx2pdf by sending me feedback and patches! Special
thanks to the people mentioned below in the change log.

You can find lyx2pdf here: http://www.cs.tu-berlin.de/~tron/scripts/lyx2pdf

Have a nice day!

Steffen


Change log for V1.5 => V1.6:
#  * added bibtex support
# (thanks to Mark van Rossum for hinting to the problem)
# (thanks to Matt Bandy for his patch)
#  * improved pdflatex error checking, hint to log file
#  * introduced paramter to set the location of the generated PDF document
#  * change working directory to document directory (for local images, etc.)
# (thanks to Matt Bandy for his patch)
#  * put in tex command before 'makeletter' instead 'makeatother' (fixes problem
#with apacite package - requires different order)
# (thanks to Mark van Rossum for this patch)
#  * introduced paramters to specifiy title, author and link colors
# (thanks to Matt Bandy for this patch)
#  * minor changes





Re: Bibtex and pdftex again, sorry!

2000-10-08 Thread Steffen Evers

lyx2pdf does not work with bibtex at the moment, but Matt Bandy has sent me a
patch which should fix this problem. I have to do some more changes and will
release a new version with bibtex support in a few days. When you can't wait
send me an email and I will send you Matt's version.

Bye, Steffen

Jacobo Myerston wrote:
 
 Hi
 
 Sorry, but I forgot how to convert a tex file with bibtex references in
 pdf.  I am using the lyx2pdf script, but it does not work properly: the
 references do  not appear.





Re: Bibtex and pdftex again, sorry!

2000-10-08 Thread Steffen Evers

lyx2pdf does not work with bibtex at the moment, but Matt Bandy has sent me a
patch which should fix this problem. I have to do some more changes and will
release a new version with bibtex support in a few days. When you can't wait
send me an email and I will send you Matt's version.

Bye, Steffen

Jacobo Myerston wrote:
 
 Hi
 
 Sorry, but I forgot how to convert a tex file with bibtex references in
 pdf.  I am using the lyx2pdf script, but it does not work properly: the
 references do  not appear.





Re: Bibtex and pdftex again, sorry!

2000-10-08 Thread Steffen Evers

lyx2pdf does not work with bibtex at the moment, but Matt Bandy has sent me a
patch which should fix this problem. I have to do some more changes and will
release a new version with bibtex support in a few days. When you can't wait
send me an email and I will send you Matt's version.

Bye, Steffen

Jacobo Myerston wrote:
> 
> Hi
> 
> Sorry, but I forgot how to convert a tex file with bibtex references in
> pdf.  I am using the lyx2pdf script, but it does not work properly: the
> references do  not appear.





Re: A new Agency needs LyX, perhaps.

2000-10-07 Thread Steffen Evers

Emanuele Gissi  Alessia Franceschi wrote:

 My project is to start the right (and economic) way: an open-source
 only organisation.  So, I plan to use Linux, StarOffice 6 (soon coming?) and
 LyX, of course, for all the reporting activity.
 
 I already know that I will be facing several problems and oppositions.
 The worst of the problems, that I should solve before formal proposal, is the
 following: our likely partners work on Win and MSOffice only.
 

Hello Emanuele,

if you are really serious in using an open source system only the best way to
solve this problem might be to pay someone for taking care of the described
issue.

This sounds very expensive at a first glance but it is not necessarily. There
are several auction services on the Internet where you can offer a certain
amount for solving a certain problem. As they all have different procedures to
handle this task, I will not describe it in detail here.

E.g. you  offer 100 Euro and others will jump on it and all of them put another
100 Euro on top of it. So, the sum might become several thousand Euro and some
good hackers that have spent a lot of their time on similar problems will take
the opportunity and do the job. The result will be released as open source and
you can adjust it to your needs (or pay another 100 Euro to get improved :-) ).

As this particular problem is a common one you might find many compaignes having
the same one ...

http://visar.csustan.edu/bazaar/bazaar_catoffers.html
If you want to have some more auction services, mail me ...

Think about it ...
and have a nice day!

Steffen



Re: A new Agency needs LyX, perhaps.

2000-10-07 Thread Steffen Evers

Emanuele Gissi  Alessia Franceschi wrote:

 My project is to start the right (and economic) way: an open-source
 only organisation.  So, I plan to use Linux, StarOffice 6 (soon coming?) and
 LyX, of course, for all the reporting activity.
 
 I already know that I will be facing several problems and oppositions.
 The worst of the problems, that I should solve before formal proposal, is the
 following: our likely partners work on Win and MSOffice only.
 

Hello Emanuele,

if you are really serious in using an open source system only the best way to
solve this problem might be to pay someone for taking care of the described
issue.

This sounds very expensive at a first glance but it is not necessarily. There
are several auction services on the Internet where you can offer a certain
amount for solving a certain problem. As they all have different procedures to
handle this task, I will not describe it in detail here.

E.g. you  offer 100 Euro and others will jump on it and all of them put another
100 Euro on top of it. So, the sum might become several thousand Euro and some
good hackers that have spent a lot of their time on similar problems will take
the opportunity and do the job. The result will be released as open source and
you can adjust it to your needs (or pay another 100 Euro to get improved :-) ).

As this particular problem is a common one you might find many compaignes having
the same one ...

http://visar.csustan.edu/bazaar/bazaar_catoffers.html
If you want to have some more auction services, mail me ...

Think about it ...
and have a nice day!

Steffen



Re: A new Agency needs LyX, perhaps.

2000-10-07 Thread Steffen Evers

Emanuele Gissi & Alessia Franceschi wrote:

> My project is to start the right (and economic) way: an open-source
> only organisation.  So, I plan to use Linux, StarOffice 6 (soon coming?) and
> LyX, of course, for all the reporting activity.
> 
> I already know that I will be facing several problems and oppositions.
> The worst of the problems, that I should solve before formal proposal, is the
> following: our likely partners work on Win and MSOffice only.
> 

Hello Emanuele,

if you are really serious in using an open source system only the best way to
solve this problem might be to pay someone for taking care of the described
issue.

This sounds very expensive at a first glance but it is not necessarily. There
are several auction services on the Internet where you can offer a certain
amount for solving a certain problem. As they all have different procedures to
handle this task, I will not describe it in detail here.

E.g. you  offer 100 Euro and others will jump on it and all of them put another
100 Euro on top of it. So, the sum might become several thousand Euro and some
good hackers that have spent a lot of their time on similar problems will take
the opportunity and do the job. The result will be released as open source and
you can adjust it to your needs (or pay another 100 Euro to get improved :-) ).

As this particular problem is a common one you might find many compaignes having
the same one ...

http://visar.csustan.edu/bazaar/bazaar_catoffers.html
If you want to have some more auction services, mail me ...

Think about it ...
and have a nice day!

Steffen



lyx2pdf V1.4

2000-09-15 Thread Steffen Evers

A new version of lyx2pdf is out.

I have not tested it a lot. So, there might still be some bugs in it.

You are welcome to find them ... :-)

Look at the following page for more information:
http://www.cs.tu-berlin.de/~tron/scripts/lyx2pdf 

Thanks to anyone who has helped me with feedback and/or patches.

Special thanks to Bruce Foster, Nicolas Marsgui and Herbert Voss. 

Have a nice day!

 Steffen



lyx2pdf V1.4

2000-09-15 Thread Steffen Evers

A new version of lyx2pdf is out.

I have not tested it a lot. So, there might still be some bugs in it.

You are welcome to find them ... :-)

Look at the following page for more information:
http://www.cs.tu-berlin.de/~tron/scripts/lyx2pdf 

Thanks to anyone who has helped me with feedback and/or patches.

Special thanks to Bruce Foster, Nicolas Marsgui and Herbert Voss. 

Have a nice day!

 Steffen



lyx2pdf V1.4

2000-09-15 Thread Steffen Evers

A new version of lyx2pdf is out.

I have not tested it a lot. So, there might still be some bugs in it.

You are welcome to find them ... :-)

Look at the following page for more information:
http://www.cs.tu-berlin.de/~tron/scripts/lyx2pdf 

Thanks to anyone who has helped me with feedback and/or patches.

Special thanks to Bruce Foster, Nicolas Marsgui and Herbert Voss. 

Have a nice day!

 Steffen



Re: [Again] Re: help with Bibliography TOC please [on koma-script]

2000-08-15 Thread Steffen Evers

Joao Cardoso wrote:
How can I make Bibliography show up as a TOC item, e.g.,
   Reuben It seems that LyX needs a FAQ. But more to the point, there
   Reuben should be an easy way of making starred sections show up in
   Reuben the TOC. For the Bibliography, it should default to showing up
   Reuben (because that's what most people want). I think this is a bad
   Reuben default in LaTeX.
 
   In the case of koma script, the answer is to add bibtotoc or
   bibtotocnumbered in the Extra Options field of Layout-Document.
 
 I also has this problem, so I searched the mailing list and this apears.
 However it does not work.
 
 I had already tried it, after reading the english version of the koma
 docs, but without success. By the way, is there a more complete english
 version of the koma-script docs---there are several german dvi files and
 only one english one; is anything relevant missing from the english
 version?
 
 I'm using lyx-1.1.5 with multifile/multidirectories chapters and the
 above 'bibtococ...' stuff only in the main document extra options. Any
 further hints?

Just add the following latex command:

\addcontentsline{toc}{chapter}{Bibliography}

You cannot put it in an extra line. So, insert it directly in the first line of
your bibliography (as TEX).

I don't know if it works with bibtex.

Have a nice day

Steffen



Re: Extra LyX-to-HTML scripts...

2000-08-15 Thread Steffen Evers

David Utidjian wrote:
 
 Steffen,
 
 I saw you link to your thesis on the lyx-user mailing list. I like what
 you have done. However it is not clear to me how the scripts are
 applied.
 
 Before lyx2html, during, after?
You mean before latex2html, right?

 
 H... after reading the source :-) it appears that latex2html is
 called within lyx2html.
 
 OK so what does it fix?
 

lyx2html works as follows:

0. Called by a command lyx2html DOC.lyx (requires an up-to-date latex-export
file)

1. Preparation of the latex file exported by LyX with the sed script
'improvetex':
 a) Remove all pagerefs (senseless in HTML docs) and related text('on page ')
 b) Comment out redefintion of url tag (=url tags will be recognized by
latex2html)
 c) Replace illegal characters from label tags with '_' (mainly ':')
 d) Remove empty pages (senseless in HTML docs; latex2html translates them as
empty
lines)
 e) Comment out ident/skip block command (produces error message; why?)
 f) Comment out special LyX-Latex code and custom Latex-preamble (normally
useless in
HTML and produced error messages and undesired behavior with latex2html)
 g) Make latex2html handle uppertitleback and lowertitleback as regular text,
but on
the coverpage

2. Run latex2html

3. Polish cover page with sed script 'improvecover':
 a) Remove navigation panels
 b) Remove all TOC entries that don't have their own file (subsections and
below)
 c) Remove (dummy) footnote numbers in TOC entries

4. Polish about page with sed script 'improveinfo':
 a) Change some text
 b) Teplace complex address parameter with the word ADDRESS and file with FILE

5. Polish contents page
 a) Remove (dummy) footnote numbers in TOC entries

6. Polish all html files with sed script 'improveall'
 a) Add a line after the both navigation panel
 b) Remove all table of contents for subsections
 c) Remove (dummy) footnote numbers in TOC entries
 d) Remove chapter number from footnote number (before: cno.fno, after: fno)
 e) Put the footnotes below the navigation panel
 f) Insert a SSI command for a hidden counter

7. Initialize all hit counters

8. Copy used scripts to a subdirectory of the generated html directory

9. Clean up and set correct access rights




Re: lyx2pdf V1.3

2000-08-15 Thread Steffen Evers

Jacobo Myerston wrote:
 
 I have somes problems with the script. It stop at the beginning with this message:
 
 Babel v3.6k and hyphenation patterns for american, french, german, ngerman, 
nohyphenation, loaded.
 )
 *
 

As this is not a message of my script and doesn't look like a message of my
shell commands, this is either a LyX message or a pdflatex message. To check
this, I need the following information:
1. Are there any messages before this message? Which?
2. Does the regular, interactive latex export function work with this LyX
document?

Bye, Steffen





Re: Extra LyX-to-HTML scripts...

2000-08-15 Thread Steffen Evers

David Utidjian wrote:
  0. Called by a command lyx2html DOC.lyx (requires an up-to-date latex-export
  file)
 
  1. Preparation of the latex file exported by LyX with the sed script
  'improvetex':
 
 When I try to run it as a plain command: lyx2html DOC.lyx
 I get an error in improvetex:
 
 *
 $ /home/utidjian/lyx2html/lyx2html AOspec_pfd.lyx
 
 Setting environment variables
 rlog: RCS/AOspec_pfd.lyx,v: No such file or directory
 
 Preparing latex-file for translation
 sed: file /home/utidjian/lyx2html/improvetex line 30: Unexpected ','

Ups... I haven't known that I'm using the new sed stuff. You need to get GNU sed
version 3.02.80 to run it. Get it from:
 ftp://alpha.gnu.org/pub/gnu/sed/sed-3.02.80.tar.gz

 Thanks for all the info. I have run latex2html on some of my LyX
 documents and it mangles the footnotes. I noticed in your thesis that
 the footnotes looked fine. I was hoping that your script(s) would fix
 that.

But before you do all this ... my script is customized for my document and you
might have to change several things before it's okay.

Maybe it will be sufficient for you to comment out the LyX specific Latex stuff
(including your preamble). Have a look at my improvetex script to do this with
sed.

Anyway, I am going to improve the script and get rid of my document specific
stuff sometimes, but I will not process many changes in the next two weeks or so
as I am probably heading for vacations in a few days.

When I come back we should find a better place to discuss these things. It's not
really a topic for the user list, I think. :-]

Bye, Steffen




Re: lyx2pdf - pdf output

2000-08-15 Thread Steffen Evers

As I am using GNU sed v3.02.80 which is actually a beta version (for 1 year now,
so it's pretty stable), you might face some problems because I have sometimes
used commands that doesn't work with earlier versions. So, version 3.02a should
be fine, but version 3.02 could cause problems.

You get the new version at:
 ftp://alpha.gnu.org/pub/gnu/sed/sed-3.02.80.tar.gz

Anyway, I am going to improve the script and get rid of this problem somehow,
but I will not process many changes in the next two weeks or so as I am probably
heading for vacations in a few days.

When I come back we should find a better place to discuss these things. It's not
really a topic for the user list, I think. :-]

Bye, Steffen





Re: [Again] Re: help with Bibliography TOC please [on koma-script]

2000-08-15 Thread Steffen Evers

Joao Cardoso wrote:
How can I make Bibliography show up as a TOC item, e.g.,
   Reuben It seems that LyX needs a FAQ. But more to the point, there
   Reuben should be an easy way of making starred sections show up in
   Reuben the TOC. For the Bibliography, it should default to showing up
   Reuben (because that's what most people want). I think this is a bad
   Reuben default in LaTeX.
 
   In the case of koma script, the answer is to add bibtotoc or
   bibtotocnumbered in the Extra Options field of Layout-Document.
 
 I also has this problem, so I searched the mailing list and this apears.
 However it does not work.
 
 I had already tried it, after reading the english version of the koma
 docs, but without success. By the way, is there a more complete english
 version of the koma-script docs---there are several german dvi files and
 only one english one; is anything relevant missing from the english
 version?
 
 I'm using lyx-1.1.5 with multifile/multidirectories chapters and the
 above 'bibtococ...' stuff only in the main document extra options. Any
 further hints?

Just add the following latex command:

\addcontentsline{toc}{chapter}{Bibliography}

You cannot put it in an extra line. So, insert it directly in the first line of
your bibliography (as TEX).

I don't know if it works with bibtex.

Have a nice day

Steffen



Re: Extra LyX-to-HTML scripts...

2000-08-15 Thread Steffen Evers

David Utidjian wrote:
 
 Steffen,
 
 I saw you link to your thesis on the lyx-user mailing list. I like what
 you have done. However it is not clear to me how the scripts are
 applied.
 
 Before lyx2html, during, after?
You mean before latex2html, right?

 
 H... after reading the source :-) it appears that latex2html is
 called within lyx2html.
 
 OK so what does it fix?
 

lyx2html works as follows:

0. Called by a command lyx2html DOC.lyx (requires an up-to-date latex-export
file)

1. Preparation of the latex file exported by LyX with the sed script
'improvetex':
 a) Remove all pagerefs (senseless in HTML docs) and related text('on page ')
 b) Comment out redefintion of url tag (=url tags will be recognized by
latex2html)
 c) Replace illegal characters from label tags with '_' (mainly ':')
 d) Remove empty pages (senseless in HTML docs; latex2html translates them as
empty
lines)
 e) Comment out ident/skip block command (produces error message; why?)
 f) Comment out special LyX-Latex code and custom Latex-preamble (normally
useless in
HTML and produced error messages and undesired behavior with latex2html)
 g) Make latex2html handle uppertitleback and lowertitleback as regular text,
but on
the coverpage

2. Run latex2html

3. Polish cover page with sed script 'improvecover':
 a) Remove navigation panels
 b) Remove all TOC entries that don't have their own file (subsections and
below)
 c) Remove (dummy) footnote numbers in TOC entries

4. Polish about page with sed script 'improveinfo':
 a) Change some text
 b) Teplace complex address parameter with the word ADDRESS and file with FILE

5. Polish contents page
 a) Remove (dummy) footnote numbers in TOC entries

6. Polish all html files with sed script 'improveall'
 a) Add a line after the both navigation panel
 b) Remove all table of contents for subsections
 c) Remove (dummy) footnote numbers in TOC entries
 d) Remove chapter number from footnote number (before: cno.fno, after: fno)
 e) Put the footnotes below the navigation panel
 f) Insert a SSI command for a hidden counter

7. Initialize all hit counters

8. Copy used scripts to a subdirectory of the generated html directory

9. Clean up and set correct access rights




Re: lyx2pdf V1.3

2000-08-15 Thread Steffen Evers

Jacobo Myerston wrote:
 
 I have somes problems with the script. It stop at the beginning with this message:
 
 Babel v3.6k and hyphenation patterns for american, french, german, ngerman, 
nohyphenation, loaded.
 )
 *
 

As this is not a message of my script and doesn't look like a message of my
shell commands, this is either a LyX message or a pdflatex message. To check
this, I need the following information:
1. Are there any messages before this message? Which?
2. Does the regular, interactive latex export function work with this LyX
document?

Bye, Steffen





Re: Extra LyX-to-HTML scripts...

2000-08-15 Thread Steffen Evers

David Utidjian wrote:
  0. Called by a command lyx2html DOC.lyx (requires an up-to-date latex-export
  file)
 
  1. Preparation of the latex file exported by LyX with the sed script
  'improvetex':
 
 When I try to run it as a plain command: lyx2html DOC.lyx
 I get an error in improvetex:
 
 *
 $ /home/utidjian/lyx2html/lyx2html AOspec_pfd.lyx
 
 Setting environment variables
 rlog: RCS/AOspec_pfd.lyx,v: No such file or directory
 
 Preparing latex-file for translation
 sed: file /home/utidjian/lyx2html/improvetex line 30: Unexpected ','

Ups... I haven't known that I'm using the new sed stuff. You need to get GNU sed
version 3.02.80 to run it. Get it from:
 ftp://alpha.gnu.org/pub/gnu/sed/sed-3.02.80.tar.gz

 Thanks for all the info. I have run latex2html on some of my LyX
 documents and it mangles the footnotes. I noticed in your thesis that
 the footnotes looked fine. I was hoping that your script(s) would fix
 that.

But before you do all this ... my script is customized for my document and you
might have to change several things before it's okay.

Maybe it will be sufficient for you to comment out the LyX specific Latex stuff
(including your preamble). Have a look at my improvetex script to do this with
sed.

Anyway, I am going to improve the script and get rid of my document specific
stuff sometimes, but I will not process many changes in the next two weeks or so
as I am probably heading for vacations in a few days.

When I come back we should find a better place to discuss these things. It's not
really a topic for the user list, I think. :-]

Bye, Steffen




Re: lyx2pdf - pdf output

2000-08-15 Thread Steffen Evers

As I am using GNU sed v3.02.80 which is actually a beta version (for 1 year now,
so it's pretty stable), you might face some problems because I have sometimes
used commands that doesn't work with earlier versions. So, version 3.02a should
be fine, but version 3.02 could cause problems.

You get the new version at:
 ftp://alpha.gnu.org/pub/gnu/sed/sed-3.02.80.tar.gz

Anyway, I am going to improve the script and get rid of this problem somehow,
but I will not process many changes in the next two weeks or so as I am probably
heading for vacations in a few days.

When I come back we should find a better place to discuss these things. It's not
really a topic for the user list, I think. :-]

Bye, Steffen





Re: [Again] Re: help with Bibliography & TOC please [on koma-script]

2000-08-15 Thread Steffen Evers

Joao Cardoso wrote:
> >  >> How can I make Bibliography show up as a TOC item, e.g.,
> >  Reuben> It seems that LyX needs a FAQ. But more to the point, there
> >  Reuben> should be an easy way of making starred sections show up in
> >  Reuben> the TOC. For the Bibliography, it should default to showing up
> >  Reuben> (because that's what most people want). I think this is a bad
> >  Reuben> default in LaTeX.
> >
> >  In the case of koma script, the answer is to add bibtotoc or
> >  bibtotocnumbered in the Extra Options field of Layout->Document.
> 
> I also has this problem, so I searched the mailing list and this apears.
> However it does not work.
> 
> I had already tried it, after reading the english version of the koma
> docs, but without success. By the way, is there a more complete english
> version of the koma-script docs---there are several german dvi files and
> only one english one; is anything relevant missing from the english
> version?
> 
> I'm using lyx-1.1.5 with multifile/multidirectories chapters and the
> above 'bibtococ...' stuff only in the main document extra options. Any
> further hints?

Just add the following latex command:

\addcontentsline{toc}{chapter}{Bibliography}

You cannot put it in an extra line. So, insert it directly in the first line of
your bibliography (as TEX).

I don't know if it works with bibtex.

Have a nice day

Steffen



Re: Extra LyX-to-HTML scripts...

2000-08-15 Thread Steffen Evers

David Utidjian wrote:
> 
> Steffen,
> 
> I saw you link to your thesis on the lyx-user mailing list. I like what
> you have done. However it is not clear to me how the scripts are
> applied.
> 
> Before lyx2html, during, after?
You mean before latex2html, right?

> 
> H... after reading the source :-) it appears that latex2html is
> called within lyx2html.
> 
> OK so what does it fix?
> 

lyx2html works as follows:

0. Called by a command lyx2html DOC.lyx (requires an up-to-date latex-export
file)

1. Preparation of the latex file exported by LyX with the sed script
'improvetex':
 a) Remove all pagerefs (senseless in HTML docs) and related text('on page ')
 b) Comment out redefintion of url tag (=>url tags will be recognized by
latex2html)
 c) Replace illegal characters from label tags with '_' (mainly ':')
 d) Remove empty pages (senseless in HTML docs; latex2html translates them as
empty
lines)
 e) Comment out ident/skip block command (produces error message; why?)
 f) Comment out special LyX-Latex code and custom Latex-preamble (normally
useless in
HTML and produced error messages and undesired behavior with latex2html)
 g) Make latex2html handle uppertitleback and lowertitleback as regular text,
but on
the coverpage

2. Run latex2html

3. Polish cover page with sed script 'improvecover':
 a) Remove navigation panels
 b) Remove all TOC entries that don't have their own file (subsections and
below)
 c) Remove (dummy) footnote numbers in TOC entries

4. Polish about page with sed script 'improveinfo':
 a) Change some text
 b) Teplace complex address parameter with the word ADDRESS and file with FILE

5. Polish contents page
 a) Remove (dummy) footnote numbers in TOC entries

6. Polish all html files with sed script 'improveall'
 a) Add a line after the both navigation panel
 b) Remove all table of contents for subsections
 c) Remove (dummy) footnote numbers in TOC entries
 d) Remove chapter number from footnote number (before: cno.fno, after: fno)
 e) Put the footnotes below the navigation panel
 f) Insert a SSI command for a hidden counter

7. Initialize all hit counters

8. Copy used scripts to a subdirectory of the generated html directory

9. Clean up and set correct access rights




Re: lyx2pdf V1.3

2000-08-15 Thread Steffen Evers

Jacobo Myerston wrote:
> 
> I have somes problems with the script. It stop at the beginning with this message:
> 
> Babel  and hyphenation patterns for american, french, german, ngerman, 
>nohyphenation, loaded.
> )
> *
> 

As this is not a message of my script and doesn't look like a message of my
shell commands, this is either a LyX message or a pdflatex message. To check
this, I need the following information:
1. Are there any messages before this message? Which?
2. Does the regular, interactive latex export function work with this LyX
document?

Bye, Steffen





Re: Extra LyX-to-HTML scripts...

2000-08-15 Thread Steffen Evers

David Utidjian wrote:
> > 0. Called by a command lyx2html DOC.lyx (requires an up-to-date latex-export
> > file)
> >
> > 1. Preparation of the latex file exported by LyX with the sed script
> > 'improvetex':
> 
> When I try to run it as a plain command: lyx2html DOC.lyx
> I get an error in improvetex:
> 
> *
> $ /home/utidjian/lyx2html/lyx2html AOspec_pfd.lyx
> 
> Setting environment variables
> rlog: RCS/AOspec_pfd.lyx,v: No such file or directory
> 
> Preparing latex-file for translation
> sed: file /home/utidjian/lyx2html/improvetex line 30: Unexpected ','

Ups... I haven't known that I'm using the new sed stuff. You need to get GNU sed
version 3.02.80 to run it. Get it from:
 ftp://alpha.gnu.org/pub/gnu/sed/sed-3.02.80.tar.gz

> Thanks for all the info. I have run latex2html on some of my LyX
> documents and it mangles the footnotes. I noticed in your thesis that
> the footnotes looked fine. I was hoping that your script(s) would fix
> that.

But before you do all this ... my script is customized for my document and you
might have to change several things before it's okay.

Maybe it will be sufficient for you to comment out the LyX specific Latex stuff
(including your preamble). Have a look at my improvetex script to do this with
sed.

Anyway, I am going to improve the script and get rid of my document specific
stuff sometimes, but I will not process many changes in the next two weeks or so
as I am probably heading for vacations in a few days.

When I come back we should find a better place to discuss these things. It's not
really a topic for the user list, I think. :-]

Bye, Steffen




Re: lyx2pdf - pdf output

2000-08-15 Thread Steffen Evers

As I am using GNU sed v3.02.80 which is actually a beta version (for 1 year now,
so it's pretty stable), you might face some problems because I have sometimes
used commands that doesn't work with earlier versions. So, version 3.02a should
be fine, but version 3.02 could cause problems.

You get the new version at:
 ftp://alpha.gnu.org/pub/gnu/sed/sed-3.02.80.tar.gz

Anyway, I am going to improve the script and get rid of this problem somehow,
but I will not process many changes in the next two weeks or so as I am probably
heading for vacations in a few days.

When I come back we should find a better place to discuss these things. It's not
really a topic for the user list, I think. :-]

Bye, Steffen





Re: lyx2pdf - pdf output

2000-08-14 Thread Steffen Evers

"Kayvan A. Sylvan" wrote:
 
 On Sun, Aug 13, 2000 at 11:38:04PM +0200, Steffen Evers wrote:
 
  A little shell script to translate lyx documents to pdf has come into being!
  [...]
 
   Run pdflatex 9 times
  for runno in 1 2 3 4 5 6 7 8 9
  do
 echo
 echo " PDF Latex run no. $runno *"
 echo
 pdflatex ${LYXPATH}${DOCUMENTBASE}-pdf.tex
  done
 
 I have a question: Why 9 times?
 

When I use pdflatex it always recommends to rerun it because the labels may have
changed. I noticed as well that LyX used up to 9 runs for my document to
generate it with latex. So, I have thought it might be a good number. That's all
to be on the safe side. If you know more about this issue tell me or simply
change the script and post it.

Steffen



Re: lyx2pdf - pdf output

2000-08-14 Thread Steffen Evers

Herbert Voss wrote:
 
 Steffen Evers wrote:
 
  Hello,
 
  A little shell script to translate lyx documents to pdf has come into being!
 
  Maybe someone can make use of it or someone is in the mood to integrate some
  parts of it in the LyX code. A PDF-export function would be nice ...
 
 indeed :-)
 
 i'm using pybliographer for bibtex-files and therefore a lyxpipe is
 used and the files ~/.lyx/lyxpipe.in and lyxpipe.out exist. i don't know
 really why, but i have to remove these files before running your
 lyx2pdf.
 i insert the following line:
 
 # export TEX file with lyx (needs a display!)
 rm $home/.lyx/lyxpipe.* # --  neu line ##
 mv $TEXDOC $TEXDOC~
 lyx --export tex $1

Okay, I will insert this line in the next version.

 
 now i'm able to run lyx2pdf and it works well until pdftex
 is started. i got the following error message for each run:
 
  PDF Latex run no. 1 *
 
 This is pdfTeX, Version 3.14159-14f-released-2525 (Web2C 7.3.2x)
 (Fatal format file error; I'm stymied)
 
 i never worked with pdftex and so i don't understand this
 message. do you know what's going on?

Sorry, as I haven't much experience with pdflatex either I don't know what this
line means, but maybe my script has messed up your LaTeX file. It is named
'DOC-pdf.tex'. Could you have a look at it?

The most important line I need for the regular expressions is this \makeatother
command. I don't know what it does, but it was always directly behind my Latex
preamble.

I hope "Matej Cepl" [EMAIL PROTECTED] reads your message, too. He has given me
all hints to use pdflatex.

If you can't solve it I will have allok at it later on.

Steffen



lyx2pdf V1.3

2000-08-14 Thread Steffen Evers

Herbert Voss wrote:
 lyx puts by default the \makeatletter behind the \babel-command
 and \makeatother just before \begin{document}.

Thanks. So, it's save to use it for inserting the new commands, right?

 here is my problem with lyx2pdf:
 
 whats with the sed -command? in my attachement there were three
 lines. it may be possible that the linebreaks are inserted from
 a mailprogramm or anyone else?
 
 sed -e "s/\(\\includegraphics{[^}]LINE 1 - and the rest
 i\\usepackage[pdftex,pdftitle={'"$LINE 2 - and the rest
 p;d}" $TEXDOC  ${LYXPATH}${DOCUMELINE 3 - and the rest
 
 is this correct? from my point of view the shell doesn't know
 that this three lines are ONE command??


It is supposed to be three lines (notice the quotes), but maybe it doesn't work
with all shells. The problem is the i(nsert) commmand of the sed script. I don't
know how to start a new sed command on the same line. Anyway, I can change this,
though, it will look more ugly.

 my DOC-pdf.tex is 0 bytes, a user-friendly size .. :-)
 and i got the message
 
 sed: -e expression #2, char 22: Extra characters after command
Okay, then it is sed that produces the user-friendly 0-file. :-)

I hope the new version 1.3 (attached) will fix the problem. Tell me about the
results.

Another question: How many runs are reasonable? I don't know anything about this
issue. Nine seems to be on the save side, but are less also okay?

Bye, Steffen

#!/bin/bash

#  lyx2pdf - script for translating lyx docs to pdf
#
#  Copyright (C) 2000 by Steffen Evers ([EMAIL PROTECTED])
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# Credits:
# Thanks to Matej Cepl and Herbert Voss for helping me with the latex stuff!
#
# Version History:
#
# Aug 13th, 2000 -- Version 1.2
#   initial version
#
# Aug 14th, 2000 -- Version 1.3
#  * added command to rename ~/.lyx/lyxpipe.out and ~/.lyx/lyxpipe.in 
#(thanks to Herbert Voss for this hint)
#  * converted the sed command to be suitable for a single line
#  * added check for number of command line arguments
#

# You will need pdftex and epstopdf for the translation!
# See pdftex homepage for details: http://tug.org/applications/pdftex/
# Have fun!!!


# Check arguments
MYNAME=`basename $0`
echo
if [ $# -ne 1 ]
then
   echo $MYNAME: Wrong number of arguments.
   echo
   echo Usage: $MYNAME DOCUMENT.lyx
   echo
   exit 1
fi

## set environment variables
LYXDOC=$1
DOCUMENTBASE=`basename $LYXDOC .lyx`
LYXPATH=`echo $LYXDOC | sed -e "s/^\(.*\)$DOCUMENTBASE\.lyx/\1/"`
TEXDOC=${LYXPATH}${DOCUMENTBASE}.tex

# some variables not usedi ...
#VERSION=`rlog ${LYXPATH}$DOCUMENTBASE.lyx,v | sed -n "s/^head: 
\([[:digit:].]*\)$/\1/1p"`
#TRANSTIME=`date`

# export TEX file with lyx (needs a display!)
mv $HOME/.lyx/lyxpipe.out $HOME/.lyx/lyxpipe.out~
mv $HOME/.lyx/lyxpipe.in $HOME/.lyx/lyxpipe.in~
mv $TEXDOC $TEXDOC~
lyx --export tex $1

# get title, author and images from the produced tex file
TITLE=`sed -n "s/^.title{\(.*\)}.*$/\1/1p" $TEXDOC`
AUTHOR=`sed -n "s/^.author{\(.*\)}.*$/\1/1p" $TEXDOC`
IMAGES=`sed -n "s/^.*includegraphics{\([^}]\+\.\(e\)*ps\)}.*$/\1 /p" $TEXDOC`

echo
echo Document title: $TITLE
echo Document author: $AUTHOR
echo "Identified images (.eps/.ps):" $IMAGES
echo

### Insert pdf conversation tags in tex file and write to foo-pdf.tex
### some possible colors:red, green, cyan, blue, magenta, black
### some possible paper sizes: a4paper, letterpaper, legalpaper, executivepaper
### see hyperref manual for more:/usr/share/texmf/doc/latex/hyperref/manual.pdf
sed -e "s/\(\\includegraphics{[^}]\+\.\)\(e\)*ps}/\1pdf}/g" -e '/^\\makeatother$/i 
\\usepackage{pslatex}' -e '/^\\makeatother$/i \\usepackage[pdftex,pdftitle={'"$TITLE}, 
pdfauthor={$AUTHOR},linktocpage,a4paper,colorlinks=true,urlcolor=blue,citecolor=magenta]{hyperref}"
 $TEXDOC  ${LYXPATH}${DOCUMENTBASE}-pdf.tex

### Convert eps images to pdf
PDFIMAGES=
for image in $IMAGES
do
 IMAGENAME=`basename $image`
 IMAGEPATH=`echo "$image" | sed -n "s/^\(.*\)$IMAGENAME$/\1/p"`
 IMAGEBASE=`basename $IMAGENAME .eps`
 IMAGEBASE=`basename $IMAGEBASE .ps`
   if [ `echo $image | cut -c 1` != "/" ]
   then

Re: lyx2pdf - pdf output

2000-08-14 Thread Steffen Evers

"Kayvan A. Sylvan" wrote:
 
 On Sun, Aug 13, 2000 at 11:38:04PM +0200, Steffen Evers wrote:
 
  A little shell script to translate lyx documents to pdf has come into being!
  [...]
 
   Run pdflatex 9 times
  for runno in 1 2 3 4 5 6 7 8 9
  do
 echo
 echo " PDF Latex run no. $runno *"
 echo
 pdflatex ${LYXPATH}${DOCUMENTBASE}-pdf.tex
  done
 
 I have a question: Why 9 times?
 

When I use pdflatex it always recommends to rerun it because the labels may have
changed. I noticed as well that LyX used up to 9 runs for my document to
generate it with latex. So, I have thought it might be a good number. That's all
to be on the safe side. If you know more about this issue tell me or simply
change the script and post it.

Steffen



Re: lyx2pdf - pdf output

2000-08-14 Thread Steffen Evers

Herbert Voss wrote:
 
 Steffen Evers wrote:
 
  Hello,
 
  A little shell script to translate lyx documents to pdf has come into being!
 
  Maybe someone can make use of it or someone is in the mood to integrate some
  parts of it in the LyX code. A PDF-export function would be nice ...
 
 indeed :-)
 
 i'm using pybliographer for bibtex-files and therefore a lyxpipe is
 used and the files ~/.lyx/lyxpipe.in and lyxpipe.out exist. i don't know
 really why, but i have to remove these files before running your
 lyx2pdf.
 i insert the following line:
 
 # export TEX file with lyx (needs a display!)
 rm $home/.lyx/lyxpipe.* # --  neu line ##
 mv $TEXDOC $TEXDOC~
 lyx --export tex $1

Okay, I will insert this line in the next version.

 
 now i'm able to run lyx2pdf and it works well until pdftex
 is started. i got the following error message for each run:
 
  PDF Latex run no. 1 *
 
 This is pdfTeX, Version 3.14159-14f-released-2525 (Web2C 7.3.2x)
 (Fatal format file error; I'm stymied)
 
 i never worked with pdftex and so i don't understand this
 message. do you know what's going on?

Sorry, as I haven't much experience with pdflatex either I don't know what this
line means, but maybe my script has messed up your LaTeX file. It is named
'DOC-pdf.tex'. Could you have a look at it?

The most important line I need for the regular expressions is this \makeatother
command. I don't know what it does, but it was always directly behind my Latex
preamble.

I hope "Matej Cepl" [EMAIL PROTECTED] reads your message, too. He has given me
all hints to use pdflatex.

If you can't solve it I will have allok at it later on.

Steffen



lyx2pdf V1.3

2000-08-14 Thread Steffen Evers

Herbert Voss wrote:
 lyx puts by default the \makeatletter behind the \babel-command
 and \makeatother just before \begin{document}.

Thanks. So, it's save to use it for inserting the new commands, right?

 here is my problem with lyx2pdf:
 
 whats with the sed -command? in my attachement there were three
 lines. it may be possible that the linebreaks are inserted from
 a mailprogramm or anyone else?
 
 sed -e "s/\(\\includegraphics{[^}]LINE 1 - and the rest
 i\\usepackage[pdftex,pdftitle={'"$LINE 2 - and the rest
 p;d}" $TEXDOC  ${LYXPATH}${DOCUMELINE 3 - and the rest
 
 is this correct? from my point of view the shell doesn't know
 that this three lines are ONE command??


It is supposed to be three lines (notice the quotes), but maybe it doesn't work
with all shells. The problem is the i(nsert) commmand of the sed script. I don't
know how to start a new sed command on the same line. Anyway, I can change this,
though, it will look more ugly.

 my DOC-pdf.tex is 0 bytes, a user-friendly size .. :-)
 and i got the message
 
 sed: -e expression #2, char 22: Extra characters after command
Okay, then it is sed that produces the user-friendly 0-file. :-)

I hope the new version 1.3 (attached) will fix the problem. Tell me about the
results.

Another question: How many runs are reasonable? I don't know anything about this
issue. Nine seems to be on the save side, but are less also okay?

Bye, Steffen

#!/bin/bash

#  lyx2pdf - script for translating lyx docs to pdf
#
#  Copyright (C) 2000 by Steffen Evers ([EMAIL PROTECTED])
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# Credits:
# Thanks to Matej Cepl and Herbert Voss for helping me with the latex stuff!
#
# Version History:
#
# Aug 13th, 2000 -- Version 1.2
#   initial version
#
# Aug 14th, 2000 -- Version 1.3
#  * added command to rename ~/.lyx/lyxpipe.out and ~/.lyx/lyxpipe.in 
#(thanks to Herbert Voss for this hint)
#  * converted the sed command to be suitable for a single line
#  * added check for number of command line arguments
#

# You will need pdftex and epstopdf for the translation!
# See pdftex homepage for details: http://tug.org/applications/pdftex/
# Have fun!!!


# Check arguments
MYNAME=`basename $0`
echo
if [ $# -ne 1 ]
then
   echo $MYNAME: Wrong number of arguments.
   echo
   echo Usage: $MYNAME DOCUMENT.lyx
   echo
   exit 1
fi

## set environment variables
LYXDOC=$1
DOCUMENTBASE=`basename $LYXDOC .lyx`
LYXPATH=`echo $LYXDOC | sed -e "s/^\(.*\)$DOCUMENTBASE\.lyx/\1/"`
TEXDOC=${LYXPATH}${DOCUMENTBASE}.tex

# some variables not usedi ...
#VERSION=`rlog ${LYXPATH}$DOCUMENTBASE.lyx,v | sed -n "s/^head: 
\([[:digit:].]*\)$/\1/1p"`
#TRANSTIME=`date`

# export TEX file with lyx (needs a display!)
mv $HOME/.lyx/lyxpipe.out $HOME/.lyx/lyxpipe.out~
mv $HOME/.lyx/lyxpipe.in $HOME/.lyx/lyxpipe.in~
mv $TEXDOC $TEXDOC~
lyx --export tex $1

# get title, author and images from the produced tex file
TITLE=`sed -n "s/^.title{\(.*\)}.*$/\1/1p" $TEXDOC`
AUTHOR=`sed -n "s/^.author{\(.*\)}.*$/\1/1p" $TEXDOC`
IMAGES=`sed -n "s/^.*includegraphics{\([^}]\+\.\(e\)*ps\)}.*$/\1 /p" $TEXDOC`

echo
echo Document title: $TITLE
echo Document author: $AUTHOR
echo "Identified images (.eps/.ps):" $IMAGES
echo

### Insert pdf conversation tags in tex file and write to foo-pdf.tex
### some possible colors:red, green, cyan, blue, magenta, black
### some possible paper sizes: a4paper, letterpaper, legalpaper, executivepaper
### see hyperref manual for more:/usr/share/texmf/doc/latex/hyperref/manual.pdf
sed -e "s/\(\\includegraphics{[^}]\+\.\)\(e\)*ps}/\1pdf}/g" -e '/^\\makeatother$/i 
\\usepackage{pslatex}' -e '/^\\makeatother$/i \\usepackage[pdftex,pdftitle={'"$TITLE}, 
pdfauthor={$AUTHOR},linktocpage,a4paper,colorlinks=true,urlcolor=blue,citecolor=magenta]{hyperref}"
 $TEXDOC  ${LYXPATH}${DOCUMENTBASE}-pdf.tex

### Convert eps images to pdf
PDFIMAGES=
for image in $IMAGES
do
 IMAGENAME=`basename $image`
 IMAGEPATH=`echo "$image" | sed -n "s/^\(.*\)$IMAGENAME$/\1/p"`
 IMAGEBASE=`basename $IMAGENAME .eps`
 IMAGEBASE=`basename $IMAGEBASE .ps`
   if [ `echo $image | cut -c 1` != "/" ]
   then

Re: lyx2pdf - pdf output

2000-08-14 Thread Steffen Evers

"Kayvan A. Sylvan" wrote:
> 
> On Sun, Aug 13, 2000 at 11:38:04PM +0200, Steffen Evers wrote:
> >
> > A little shell script to translate lyx documents to pdf has come into being!
> > [...]
> >
> >  Run pdflatex 9 times
> > for runno in 1 2 3 4 5 6 7 8 9
> > do
> >echo
> >echo " PDF Latex run no. $runno *"
> >echo
> >pdflatex ${LYXPATH}${DOCUMENTBASE}-pdf.tex
> > done
> 
> I have a question: Why 9 times?
> 

When I use pdflatex it always recommends to rerun it because the labels may have
changed. I noticed as well that LyX used up to 9 runs for my document to
generate it with latex. So, I have thought it might be a good number. That's all
to be on the safe side. If you know more about this issue tell me or simply
change the script and post it.

Steffen



Re: lyx2pdf - pdf output

2000-08-14 Thread Steffen Evers

Herbert Voss wrote:
> 
> Steffen Evers wrote:
> >
> > Hello,
> >
> > A little shell script to translate lyx documents to pdf has come into being!
> >
> > Maybe someone can make use of it or someone is in the mood to integrate some
> > parts of it in the LyX code. A PDF-export function would be nice ...
> 
> indeed :-)
> 
> i'm using pybliographer for bibtex-files and therefore a lyxpipe is
> used and the files ~/.lyx/lyxpipe.in and lyxpipe.out exist. i don't know
> really why, but i have to remove these files before running your
> lyx2pdf.
> i insert the following line:
> 
> # export TEX file with lyx (needs a display!)
> rm $home/.lyx/lyxpipe.* # <--  neu line ##
> mv $TEXDOC $TEXDOC~
> lyx --export tex $1

Okay, I will insert this line in the next version.

> 
> now i'm able to run lyx2pdf and it works well until pdftex
> is started. i got the following error message for each run:
> 
>  PDF Latex run no. 1 *
> 
> This is pdfTeX, Version 3.14159-14f-released-2525 (Web2C 7.3.2x)
> (Fatal format file error; I'm stymied)
> 
> i never worked with pdftex and so i don't understand this
> message. do you know what's going on?

Sorry, as I haven't much experience with pdflatex either I don't know what this
line means, but maybe my script has messed up your LaTeX file. It is named
'DOC-pdf.tex'. Could you have a look at it?

The most important line I need for the regular expressions is this \makeatother
command. I don't know what it does, but it was always directly behind my Latex
preamble.

I hope "Matej Cepl" <[EMAIL PROTECTED]> reads your message, too. He has given me
all hints to use pdflatex.

If you can't solve it I will have allok at it later on.

Steffen



lyx2pdf V1.3

2000-08-14 Thread Steffen Evers

Herbert Voss wrote:
> lyx puts by default the \makeatletter behind the \babel-command
> and \makeatother just before \begin{document}.

Thanks. So, it's save to use it for inserting the new commands, right?

> here is my problem with lyx2pdf:
> 
> whats with the sed -command? in my attachement there were three
> lines. it may be possible that the linebreaks are inserted from
> a mailprogramm or anyone else?
> 
> sed -e "s/\(\\includegraphics{[^}]LINE 1 - and the rest
> i\\usepackage[pdftex,pdftitle={'"$LINE 2 - and the rest
> p;d}" $TEXDOC > ${LYXPATH}${DOCUMELINE 3 - and the rest
> 
> is this correct? from my point of view the shell doesn't know
> that this three lines are ONE command??
>

It is supposed to be three lines (notice the quotes), but maybe it doesn't work
with all shells. The problem is the i(nsert) commmand of the sed script. I don't
know how to start a new sed command on the same line. Anyway, I can change this,
though, it will look more ugly.

> my DOC-pdf.tex is 0 bytes, a user-friendly size .. :-)
> and i got the message
> 
> sed: -e expression #2, char 22: Extra characters after command
Okay, then it is sed that produces the user-friendly 0-file. :-)

I hope the new version 1.3 (attached) will fix the problem. Tell me about the
results.

Another question: How many runs are reasonable? I don't know anything about this
issue. Nine seems to be on the save side, but are less also okay?

Bye, Steffen

#!/bin/bash

#  lyx2pdf - script for translating lyx docs to pdf
#
#  Copyright (C) 2000 by Steffen Evers ([EMAIL PROTECTED])
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# Credits:
# Thanks to Matej Cepl and Herbert Voss for helping me with the latex stuff!
#
# Version History:
#
# Aug 13th, 2000 -- Version 1.2
#   initial version
#
# Aug 14th, 2000 -- Version 1.3
#  * added command to rename ~/.lyx/lyxpipe.out and ~/.lyx/lyxpipe.in 
#(thanks to Herbert Voss for this hint)
#  * converted the sed command to be suitable for a single line
#  * added check for number of command line arguments
#

# You will need pdftex and epstopdf for the translation!
# See pdftex homepage for details: http://tug.org/applications/pdftex/
# Have fun!!!


# Check arguments
MYNAME=`basename $0`
echo
if [ $# -ne 1 ]
then
   echo $MYNAME: Wrong number of arguments.
   echo
   echo Usage: $MYNAME DOCUMENT.lyx
   echo
   exit 1
fi

## set environment variables
LYXDOC=$1
DOCUMENTBASE=`basename $LYXDOC .lyx`
LYXPATH=`echo $LYXDOC | sed -e "s/^\(.*\)$DOCUMENTBASE\.lyx/\1/"`
TEXDOC=${LYXPATH}${DOCUMENTBASE}.tex

# some variables not usedi ...
#VERSION=`rlog ${LYXPATH}$DOCUMENTBASE.lyx,v | sed -n "s/^head: 
\([[:digit:].]*\)$/\1/1p"`
#TRANSTIME=`date`

# export TEX file with lyx (needs a display!)
mv $HOME/.lyx/lyxpipe.out $HOME/.lyx/lyxpipe.out~
mv $HOME/.lyx/lyxpipe.in $HOME/.lyx/lyxpipe.in~
mv $TEXDOC $TEXDOC~
lyx --export tex $1

# get title, author and images from the produced tex file
TITLE=`sed -n "s/^.title{\(.*\)}.*$/\1/1p" $TEXDOC`
AUTHOR=`sed -n "s/^.author{\(.*\)}.*$/\1/1p" $TEXDOC`
IMAGES=`sed -n "s/^.*includegraphics{\([^}]\+\.\(e\)*ps\)}.*$/\1 /p" $TEXDOC`

echo
echo Document title: $TITLE
echo Document author: $AUTHOR
echo "Identified images (.eps/.ps):" $IMAGES
echo

### Insert pdf conversation tags in tex file and write to foo-pdf.tex
### some possible colors:red, green, cyan, blue, magenta, black
### some possible paper sizes: a4paper, letterpaper, legalpaper, executivepaper
### see hyperref manual for more:/usr/share/texmf/doc/latex/hyperref/manual.pdf
sed -e "s/\(\\includegraphics{[^}]\+\.\)\(e\)*ps}/\1pdf}/g" -e '/^\\makeatother$/i 
\\usepackage{pslatex}' -e '/^\\makeatother$/i \\usepackage[pdftex,pdftitle={'"$TITLE}, 
pdfauthor={$AUTHOR},linktocpage,a4paper,colorlinks=true,urlcolor=blue,citecolor=magenta]{hyperref}"
 $TEXDOC > ${LYXPATH}${DOCUMENTBASE}-pdf.tex

### Convert eps images to pdf
PDFIMAGES=
for image in $IMAGES
do
 IMAGENAME=`basename $image`
 IMAGEPATH=`echo "$image" | sed -n "s/^\(.*\)$IMAGENAME$/\1/p"`
 IMAGEBASE=`basename $IMAGENAME .eps`
 IMAGEBASE=`ba

lyx2pdf - pdf output

2000-08-13 Thread Steffen Evers

Hello,

A little shell script to translate lyx documents to pdf has come into being!

Maybe someone can make use of it or someone is in the mood to integrate some
parts of it in the LyX code. A PDF-export function would be nice ...

Thanks to Herbert Voss and Matej Cepl for telling me how the translation works.

And ... feel free to improve it! :-)

Cheers

  Steffen

PS: I am only on the user list.

#!/bin/bash

#  lyx2pdf - script for translating lyx docs to pdf
#
#  Copyright (C) 2000 by Steffen Evers ([EMAIL PROTECTED])
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# Credits:
# Thanks to Matej Cepl and Herbert Voss for helping me with latex stuff!
#
# Version History:
#
# Aug 13th, 2000 -- Version 1.2
#   initial version
#

# You will need pdftex and epstopdf for the translation!
# See pdftex homepage for details: http://tug.org/applications/pdftex/
# Have fun!!!

## set environment variables
LYXDOC=$1
DOCUMENTBASE=`basename $LYXDOC .lyx`
LYXPATH=`echo $LYXDOC | sed -e "s/^\(.*\)$DOCUMENTBASE\.lyx/\1/"`
TEXDOC=${LYXPATH}${DOCUMENTBASE}.tex

# some variables not usedi ...
#VERSION=`rlog ${LYXPATH}$DOCUMENTBASE.lyx,v | sed -n "s/^head: 
\([[:digit:].]*\)$/\1/1p"`
#TRANSTIME=`date`

# export TEX file with lyx (needs a display!)
mv $TEXDOC $TEXDOC~
lyx --export tex $1

# get title, author and images from the produced tex file
TITLE=`sed -n "s/^.title{\(.*\)}.*$/\1/1p" $TEXDOC`
AUTHOR=`sed -n "s/^.author{\(.*\)}.*$/\1/1p" $TEXDOC`
IMAGES=`sed -n "s/^.*includegraphics{\([^}]\+\.\(e\)*ps\)}.*$/\1 /p" $TEXDOC`

echo
echo Document title: $TITLE
echo Document author: $AUTHOR
echo "Identified images (.eps/.ps):" $IMAGES
echo

### Insert pdf conversation tags in tex file and write to foo-pdf.tex
### some possible colors:red, green, cyan, blue, magenta, black
### some possible paper sizes: a4paper, letterpaper, legalpaper, executivepaper
### see hyperref manual for more:/usr/share/texmf/doc/latex/hyperref/manual.pdf
sed -e "s/\(\\includegraphics{[^}]\+\.\)\(e\)*ps}/\1pdf}/g" -e '/^\\makeatother$/{i 
\\usepackage{pslatex}
i \\usepackage[pdftex,pdftitle={'"$TITLE}, 
pdfauthor={$AUTHOR},linktocpage,a4paper,colorlinks=true,urlcolor=blue,citecolor=magenta]{hyperref}
p;d}" $TEXDOC  ${LYXPATH}${DOCUMENTBASE}-pdf.tex

### Convert eps images to pdf
PDFIMAGES=
for image in $IMAGES
do
 IMAGENAME=`basename $image`
 IMAGEPATH=`echo "$image" | sed -n "s/^\(.*\)$IMAGENAME$/\1/p"`
 IMAGEBASE=`basename $IMAGENAME .eps`
 IMAGEBASE=`basename $IMAGEBASE .ps`
   if [ `echo $image | cut -c 1` != "/" ]
   then
  # relative pathname
  IMAGEPATH=${LYXPATH}$IMAGEPATH
   fi
   echo Converting image ${IMAGENAME} to pdf
   epstopdf -outfile=${IMAGEPATH}${IMAGEBASE}.pdf ${IMAGEPATH}${IMAGENAME}
   PDFIMAGES="$PDFIMAGES ${IMAGEPATH}${IMAGEBASE}.pdf"
done

 Run pdflatex 9 times
for runno in 1 2 3 4 5 6 7 8 9
do
   echo
   echo " PDF Latex run no. $runno *"
   echo
   pdflatex ${LYXPATH}${DOCUMENTBASE}-pdf.tex 
done

### Clean up
mv ${LYXPATH}${DOCUMENTBASE}-pdf.pdf ${LYXPATH}${DOCUMENTBASE}.pdf
rm ${LYXPATH}${DOCUMENTBASE}-pdf.* $PDFIMAGES

echo
echo "The new pdf file is: ${LYXPATH}${DOCUMENTBASE}.pdf"
echo




Re: pdf output

2000-08-13 Thread Steffen Evers

Matej Cepl wrote:
 PDFLaTeX cannot work with .eps files at all. You have to convert
 them into .pdf (yes, there are even small PDF files with just a
 picture) using an utility eps2pdf (or something like it -- it's a part of
 tetex). Then refer to them without an extension (i.e.,
 \includegraphics{project-roles2}). Each type of latex (regular one
 and pdflatex) will take its own -- either .eps (regular latex or dvips)
 or .pdf.

Ok, I've found it (epstopdf), though, it has not worked with my eps files
exported by StarOffice. So, I had to redraw one image with Xfig and now
everything looks fine!
 
 pslatex works for me even with pdflatex. Try \usepackage{times}
 instead of \usepackage{pslatex} and tell me, what are the results.
 The file should be bigger, but otherwise it should be OK (check via
 File/Info/Fonts menu in Acrobat Reader).
I don't know what was wrong, but now pslatex works for me, too. Maybe a typo ...

Thanks for your help!

If you want to see the resulting pdf it will be situated again at
http://user.cs.tu-berlin.de/~tron/opensource/opensource.pdf .

Have a nice day, too.

Steffen




lyx2pdf - pdf output

2000-08-13 Thread Steffen Evers

Hello,

A little shell script to translate lyx documents to pdf has come into being!

Maybe someone can make use of it or someone is in the mood to integrate some
parts of it in the LyX code. A PDF-export function would be nice ...

Thanks to Herbert Voss and Matej Cepl for telling me how the translation works.

And ... feel free to improve it! :-)

Cheers

  Steffen

PS: I am only on the user list.

#!/bin/bash

#  lyx2pdf - script for translating lyx docs to pdf
#
#  Copyright (C) 2000 by Steffen Evers ([EMAIL PROTECTED])
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# Credits:
# Thanks to Matej Cepl and Herbert Voss for helping me with latex stuff!
#
# Version History:
#
# Aug 13th, 2000 -- Version 1.2
#   initial version
#

# You will need pdftex and epstopdf for the translation!
# See pdftex homepage for details: http://tug.org/applications/pdftex/
# Have fun!!!

## set environment variables
LYXDOC=$1
DOCUMENTBASE=`basename $LYXDOC .lyx`
LYXPATH=`echo $LYXDOC | sed -e "s/^\(.*\)$DOCUMENTBASE\.lyx/\1/"`
TEXDOC=${LYXPATH}${DOCUMENTBASE}.tex

# some variables not usedi ...
#VERSION=`rlog ${LYXPATH}$DOCUMENTBASE.lyx,v | sed -n "s/^head: 
\([[:digit:].]*\)$/\1/1p"`
#TRANSTIME=`date`

# export TEX file with lyx (needs a display!)
mv $TEXDOC $TEXDOC~
lyx --export tex $1

# get title, author and images from the produced tex file
TITLE=`sed -n "s/^.title{\(.*\)}.*$/\1/1p" $TEXDOC`
AUTHOR=`sed -n "s/^.author{\(.*\)}.*$/\1/1p" $TEXDOC`
IMAGES=`sed -n "s/^.*includegraphics{\([^}]\+\.\(e\)*ps\)}.*$/\1 /p" $TEXDOC`

echo
echo Document title: $TITLE
echo Document author: $AUTHOR
echo "Identified images (.eps/.ps):" $IMAGES
echo

### Insert pdf conversation tags in tex file and write to foo-pdf.tex
### some possible colors:red, green, cyan, blue, magenta, black
### some possible paper sizes: a4paper, letterpaper, legalpaper, executivepaper
### see hyperref manual for more:/usr/share/texmf/doc/latex/hyperref/manual.pdf
sed -e "s/\(\\includegraphics{[^}]\+\.\)\(e\)*ps}/\1pdf}/g" -e '/^\\makeatother$/{i 
\\usepackage{pslatex}
i \\usepackage[pdftex,pdftitle={'"$TITLE}, 
pdfauthor={$AUTHOR},linktocpage,a4paper,colorlinks=true,urlcolor=blue,citecolor=magenta]{hyperref}
p;d}" $TEXDOC  ${LYXPATH}${DOCUMENTBASE}-pdf.tex

### Convert eps images to pdf
PDFIMAGES=
for image in $IMAGES
do
 IMAGENAME=`basename $image`
 IMAGEPATH=`echo "$image" | sed -n "s/^\(.*\)$IMAGENAME$/\1/p"`
 IMAGEBASE=`basename $IMAGENAME .eps`
 IMAGEBASE=`basename $IMAGEBASE .ps`
   if [ `echo $image | cut -c 1` != "/" ]
   then
  # relative pathname
  IMAGEPATH=${LYXPATH}$IMAGEPATH
   fi
   echo Converting image ${IMAGENAME} to pdf
   epstopdf -outfile=${IMAGEPATH}${IMAGEBASE}.pdf ${IMAGEPATH}${IMAGENAME}
   PDFIMAGES="$PDFIMAGES ${IMAGEPATH}${IMAGEBASE}.pdf"
done

 Run pdflatex 9 times
for runno in 1 2 3 4 5 6 7 8 9
do
   echo
   echo " PDF Latex run no. $runno *"
   echo
   pdflatex ${LYXPATH}${DOCUMENTBASE}-pdf.tex 
done

### Clean up
mv ${LYXPATH}${DOCUMENTBASE}-pdf.pdf ${LYXPATH}${DOCUMENTBASE}.pdf
rm ${LYXPATH}${DOCUMENTBASE}-pdf.* $PDFIMAGES

echo
echo "The new pdf file is: ${LYXPATH}${DOCUMENTBASE}.pdf"
echo




Re: pdf output

2000-08-13 Thread Steffen Evers

Matej Cepl wrote:
 PDFLaTeX cannot work with .eps files at all. You have to convert
 them into .pdf (yes, there are even small PDF files with just a
 picture) using an utility eps2pdf (or something like it -- it's a part of
 tetex). Then refer to them without an extension (i.e.,
 \includegraphics{project-roles2}). Each type of latex (regular one
 and pdflatex) will take its own -- either .eps (regular latex or dvips)
 or .pdf.

Ok, I've found it (epstopdf), though, it has not worked with my eps files
exported by StarOffice. So, I had to redraw one image with Xfig and now
everything looks fine!
 
 pslatex works for me even with pdflatex. Try \usepackage{times}
 instead of \usepackage{pslatex} and tell me, what are the results.
 The file should be bigger, but otherwise it should be OK (check via
 File/Info/Fonts menu in Acrobat Reader).
I don't know what was wrong, but now pslatex works for me, too. Maybe a typo ...

Thanks for your help!

If you want to see the resulting pdf it will be situated again at
http://user.cs.tu-berlin.de/~tron/opensource/opensource.pdf .

Have a nice day, too.

Steffen




lyx2pdf - pdf output

2000-08-13 Thread Steffen Evers

Hello,

A little shell script to translate lyx documents to pdf has come into being!

Maybe someone can make use of it or someone is in the mood to integrate some
parts of it in the LyX code. A PDF-export function would be nice ...

Thanks to Herbert Voss and Matej Cepl for telling me how the translation works.

And ... feel free to improve it! :-)

Cheers

  Steffen

PS: I am only on the user list.

#!/bin/bash

#  lyx2pdf - script for translating lyx docs to pdf
#
#  Copyright (C) 2000 by Steffen Evers ([EMAIL PROTECTED])
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# Credits:
# Thanks to Matej Cepl and Herbert Voss for helping me with latex stuff!
#
# Version History:
#
# Aug 13th, 2000 -- Version 1.2
#   initial version
#

# You will need pdftex and epstopdf for the translation!
# See pdftex homepage for details: http://tug.org/applications/pdftex/
# Have fun!!!

## set environment variables
LYXDOC=$1
DOCUMENTBASE=`basename $LYXDOC .lyx`
LYXPATH=`echo $LYXDOC | sed -e "s/^\(.*\)$DOCUMENTBASE\.lyx/\1/"`
TEXDOC=${LYXPATH}${DOCUMENTBASE}.tex

# some variables not usedi ...
#VERSION=`rlog ${LYXPATH}$DOCUMENTBASE.lyx,v | sed -n "s/^head: 
\([[:digit:].]*\)$/\1/1p"`
#TRANSTIME=`date`

# export TEX file with lyx (needs a display!)
mv $TEXDOC $TEXDOC~
lyx --export tex $1

# get title, author and images from the produced tex file
TITLE=`sed -n "s/^.title{\(.*\)}.*$/\1/1p" $TEXDOC`
AUTHOR=`sed -n "s/^.author{\(.*\)}.*$/\1/1p" $TEXDOC`
IMAGES=`sed -n "s/^.*includegraphics{\([^}]\+\.\(e\)*ps\)}.*$/\1 /p" $TEXDOC`

echo
echo Document title: $TITLE
echo Document author: $AUTHOR
echo "Identified images (.eps/.ps):" $IMAGES
echo

### Insert pdf conversation tags in tex file and write to foo-pdf.tex
### some possible colors:red, green, cyan, blue, magenta, black
### some possible paper sizes: a4paper, letterpaper, legalpaper, executivepaper
### see hyperref manual for more:/usr/share/texmf/doc/latex/hyperref/manual.pdf
sed -e "s/\(\\includegraphics{[^}]\+\.\)\(e\)*ps}/\1pdf}/g" -e '/^\\makeatother$/{i 
\\usepackage{pslatex}
i \\usepackage[pdftex,pdftitle={'"$TITLE}, 
pdfauthor={$AUTHOR},linktocpage,a4paper,colorlinks=true,urlcolor=blue,citecolor=magenta]{hyperref}
p;d}" $TEXDOC > ${LYXPATH}${DOCUMENTBASE}-pdf.tex

### Convert eps images to pdf
PDFIMAGES=
for image in $IMAGES
do
 IMAGENAME=`basename $image`
 IMAGEPATH=`echo "$image" | sed -n "s/^\(.*\)$IMAGENAME$/\1/p"`
 IMAGEBASE=`basename $IMAGENAME .eps`
 IMAGEBASE=`basename $IMAGEBASE .ps`
   if [ `echo $image | cut -c 1` != "/" ]
   then
  # relative pathname
  IMAGEPATH=${LYXPATH}$IMAGEPATH
   fi
   echo Converting image ${IMAGENAME} to pdf
   epstopdf -outfile=${IMAGEPATH}${IMAGEBASE}.pdf ${IMAGEPATH}${IMAGENAME}
   PDFIMAGES="$PDFIMAGES ${IMAGEPATH}${IMAGEBASE}.pdf"
done

 Run pdflatex 9 times
for runno in 1 2 3 4 5 6 7 8 9
do
   echo
   echo " PDF Latex run no. $runno *"
   echo
   pdflatex ${LYXPATH}${DOCUMENTBASE}-pdf.tex 
done

### Clean up
mv ${LYXPATH}${DOCUMENTBASE}-pdf.pdf ${LYXPATH}${DOCUMENTBASE}.pdf
rm ${LYXPATH}${DOCUMENTBASE}-pdf.* $PDFIMAGES

echo
echo "The new pdf file is: ${LYXPATH}${DOCUMENTBASE}.pdf"
echo




Re: pdf output

2000-08-13 Thread Steffen Evers

Matej Cepl wrote:
> PDFLaTeX cannot work with .eps files at all. You have to convert
> them into .pdf (yes, there are even small PDF files with just a
> picture) using an utility eps2pdf (or something like it -- it's a part of
> tetex). Then refer to them without an extension (i.e.,
> \includegraphics{project-roles2}). Each type of latex (regular one
> and pdflatex) will take its own -- either .eps (regular latex or dvips)
> or .pdf.

Ok, I've found it (epstopdf), though, it has not worked with my eps files
exported by StarOffice. So, I had to redraw one image with Xfig and now
everything looks fine!
 
> pslatex works for me even with pdflatex. Try \usepackage{times}
> instead of \usepackage{pslatex} and tell me, what are the results.
> The file should be bigger, but otherwise it should be OK (check via
> File/Info/Fonts menu in Acrobat Reader).
I don't know what was wrong, but now pslatex works for me, too. Maybe a typo ...

Thanks for your help!

If you want to see the resulting pdf it will be situated again at
http://user.cs.tu-berlin.de/~tron/opensource/opensource.pdf .

Have a nice day, too.

Steffen




Re: pdf output

2000-08-10 Thread Steffen Evers

Matej Cepl wrote:
 even better result you get by using PDFLaTeX. The only change
 necessary is to use pdftex is to use pdftex as a driver (i.e., instead
 of ps2pdf), export LaTeX instead of PostScript and use (maybe,
 more than once and bibtex) pdflatex instead of regular latex.
 PDFLaTeX should be part of all regular TeX distributions (certainly, it
 is in tetex for Linux as well as in miktex for Win32)


Yes, I would also prefer pdflatex as this driver is able to break hyperlinks
longer than one line in several parts, but two problems has come up:

1. pdflatex complains about my eps and ps figures:
 ! LaTeX Error: Unknown graphics extension: .eps.

 See the LaTeX manual or LaTeX Companion for explanation.
 Type  H return  for immediate help.
  ...
  
 
 l.2602 ...!}{\includegraphics{project-roles2.eps}}
   \par}

2. Something is wrong with the font (looks ugly). When using the ps2pdf driver
this can be corrected by using the pslatex package, but this doesn't work with
pdflatex.

Any hints?

Steffen




Re: pdf output

2000-08-10 Thread Steffen Evers

Matej Cepl wrote:
 even better result you get by using PDFLaTeX. The only change
 necessary is to use pdftex is to use pdftex as a driver (i.e., instead
 of ps2pdf), export LaTeX instead of PostScript and use (maybe,
 more than once and bibtex) pdflatex instead of regular latex.
 PDFLaTeX should be part of all regular TeX distributions (certainly, it
 is in tetex for Linux as well as in miktex for Win32)


Yes, I would also prefer pdflatex as this driver is able to break hyperlinks
longer than one line in several parts, but two problems has come up:

1. pdflatex complains about my eps and ps figures:
 ! LaTeX Error: Unknown graphics extension: .eps.

 See the LaTeX manual or LaTeX Companion for explanation.
 Type  H return  for immediate help.
  ...
  
 
 l.2602 ...!}{\includegraphics{project-roles2.eps}}
   \par}

2. Something is wrong with the font (looks ugly). When using the ps2pdf driver
this can be corrected by using the pslatex package, but this doesn't work with
pdflatex.

Any hints?

Steffen




Re: pdf output

2000-08-10 Thread Steffen Evers

Matej Cepl wrote:
> even better result you get by using PDFLaTeX. The only change
> necessary is to use pdftex is to use pdftex as a driver (i.e., instead
> of ps2pdf), export LaTeX instead of PostScript and use (maybe,
> more than once and bibtex) pdflatex instead of regular latex.
> PDFLaTeX should be part of all regular TeX distributions (certainly, it
> is in tetex for Linux as well as in miktex for Win32)
>

Yes, I would also prefer pdflatex as this driver is able to break hyperlinks
longer than one line in several parts, but two problems has come up:

1. pdflatex complains about my eps and ps figures:
< ! LaTeX Error: Unknown graphics extension: .eps.
<
< See the LaTeX manual or LaTeX Companion for explanation.
< Type  H   for immediate help.
<  ...
<  
 
< l.2602 ...!}{\includegraphics{project-roles2.eps}}
<   \par}

2. Something is wrong with the font (looks ugly). When using the ps2pdf driver
this can be corrected by using the pslatex package, but this doesn't work with
pdflatex.

Any hints?

Steffen




Re: LyX beginner

2000-08-09 Thread Steffen Evers

Li Bing wrote:
 
 Dear all,
 
 I am a LyX user. After I installed LyX on my Solaris machine, I found that
 some other ones, xdvi, dvips and latex were also needed. Where can I find
 these software? And are binary ones available?
 

Are you sure they are not installed?

Anyway, someone posted earlier in another context:
 See http://www.sunfreeware.com/ for it and why not upload it to 
 http://www.sunfreeware.com/ too ?
You may find some of it there.

For the latex stuff, see http://www.latex-project.org/ . But you should know
that it is 30MB.

Otherwise, http://www.freshmeat.net/ is a good place to start searching for open
source software in general.

If you have no experience with installing such things (what I guess because you
are asking for these locations) you should consider to ask a more experienced
friend to assist you directly otherwise you might have a hard time ..., but
learn a lot. :-)

Cheers

Steffen



Re: LyX beginner

2000-08-09 Thread Steffen Evers

Li Bing wrote:
 
 Dear all,
 
 I am a LyX user. After I installed LyX on my Solaris machine, I found that
 some other ones, xdvi, dvips and latex were also needed. Where can I find
 these software? And are binary ones available?
 

Are you sure they are not installed?

Anyway, someone posted earlier in another context:
 See http://www.sunfreeware.com/ for it and why not upload it to 
 http://www.sunfreeware.com/ too ?
You may find some of it there.

For the latex stuff, see http://www.latex-project.org/ . But you should know
that it is 30MB.

Otherwise, http://www.freshmeat.net/ is a good place to start searching for open
source software in general.

If you have no experience with installing such things (what I guess because you
are asking for these locations) you should consider to ask a more experienced
friend to assist you directly otherwise you might have a hard time ..., but
learn a lot. :-)

Cheers

Steffen



Re: LyX beginner

2000-08-09 Thread Steffen Evers

Li Bing wrote:
> 
> Dear all,
> 
> I am a LyX user. After I installed LyX on my Solaris machine, I found that
> some other ones, xdvi, dvips and latex were also needed. Where can I find
> these software? And are binary ones available?
> 

Are you sure they are not installed?

Anyway, someone posted earlier in another context:
> See http://www.sunfreeware.com/ for it and why not upload it to 
> http://www.sunfreeware.com/ too ?
You may find some of it there.

For the latex stuff, see http://www.latex-project.org/ . But you should know
that it is >30MB.

Otherwise, http://www.freshmeat.net/ is a good place to start searching for open
source software in general.

If you have no experience with installing such things (what I guess because you
are asking for these locations) you should consider to ask a more experienced
friend to assist you directly otherwise you might have a hard time ..., but
learn a lot. :-)

Cheers

Steffen



Re: pdf output

2000-08-05 Thread Steffen Evers

Herbert Voss wrote:
 in latex preamble
 
 \usepackage{pslatex}
 \usepackage[ps2pdf,pdftitle={Your Document
 Title},urlcolor=blue,linktocpage,letterpaper,colorlinks=true]{hyperref}
 
 And then use Export-Postscript and from the shell program ps2pdf
 ducument.ps
 or print-menu and output to a ps-file and than ps2pdf ducument.ps.
 
 this works good for me.
 
 Herbert
 
 --
 [EMAIL PROTECTED]
 http://perce.de/voss

Wow, that's great!
I didn't know that you are able to produce so good pdf documents with LyX.
Thanks a lot Herbert!

Anyone who likes to see an example for LyX pdfs (530K):
http://user.cs.tu-berlin.de/~tron/opensource/opensource.pdf

Two hints for someone who also wants to use this method:
1. The pdf package doesn't like footnotes in your section titles.
2. ps2pdf fails and gv gives errors when you have blanks in your bibliography
keys.

Steffen



Re: pdf output

2000-08-05 Thread Steffen Evers

Herbert Voss wrote:
 in latex preamble
 
 \usepackage{pslatex}
 \usepackage[ps2pdf,pdftitle={Your Document
 Title},urlcolor=blue,linktocpage,letterpaper,colorlinks=true]{hyperref}
 
 And then use Export-Postscript and from the shell program ps2pdf
 ducument.ps
 or print-menu and output to a ps-file and than ps2pdf ducument.ps.
 
 this works good for me.
 
 Herbert
 
 --
 [EMAIL PROTECTED]
 http://perce.de/voss

Wow, that's great!
I didn't know that you are able to produce so good pdf documents with LyX.
Thanks a lot Herbert!

Anyone who likes to see an example for LyX pdfs (530K):
http://user.cs.tu-berlin.de/~tron/opensource/opensource.pdf

Two hints for someone who also wants to use this method:
1. The pdf package doesn't like footnotes in your section titles.
2. ps2pdf fails and gv gives errors when you have blanks in your bibliography
keys.

Steffen



Re: pdf output

2000-08-05 Thread Steffen Evers

Herbert Voss wrote:
> in latex preamble
> 
> \usepackage{pslatex}
> \usepackage[ps2pdf,pdftitle={Your Document
> Title},urlcolor=blue,linktocpage,letterpaper,colorlinks=true]{hyperref}
> 
> And then use Export->Postscript and from the shell program ps2pdf
> 
> or print-menu and output to a ps-file and than ps2pdf .
> 
> this works good for me.
> 
> Herbert
> 
> --
> [EMAIL PROTECTED]
> http://perce.de/voss

Wow, that's great!
I didn't know that you are able to produce so good pdf documents with LyX.
Thanks a lot Herbert!

Anyone who likes to see an example for LyX pdfs (530K):
http://user.cs.tu-berlin.de/~tron/opensource/opensource.pdf

Two hints for someone who also wants to use this method:
1. The pdf package doesn't like footnotes in your section titles.
2. ps2pdf fails and gv gives errors when you have blanks in your bibliography
keys.

Steffen



Re: pdf output

2000-08-04 Thread Steffen Evers

Ralph Boland wrote:
 WHAT EXACTLY DO THESE SETTINGS DO AND HOW
 DO I MAKE THEM TAKE EFFECT?
 
 The archives have several useful comments on how
 to convert my foilTex lyx documents to pdf files
 which I will now try. Any final advice welcome.
 
 I am using lyx-1.1.5fix1

When you figured out how to do it could you post it on the list?
Actually, I have also wanted to generate some good pdfs and nothing really
satsified me. So, I finally used postscript instead, but pdfs would be better
...

Cheers

  Steffen



lyx2html

2000-08-04 Thread Steffen Evers

I needed to generate a HTML version of my diploma thesis which I have originally
written with LyX. As the output of latex2html didn't fulfill my requirements, I
have spent some time on sed and shell scripting to improve the results.

Maybe some of you would like to have a look at it and adjust it to your personal
needs.

Or is it possible to put some of it in the LyX source code? E.g. the
redefinition of the url tag should be removed before using latex2html.

The scripts (and the resulting thesis) can be found at:
http://user.cs.tu-berlin.de/~tron/opensource/node31.html.

Cheers

 Steffen

PS: I'm only on the users list.



Re: pdf output

2000-08-04 Thread Steffen Evers

Ralph Boland wrote:
 WHAT EXACTLY DO THESE SETTINGS DO AND HOW
 DO I MAKE THEM TAKE EFFECT?
 
 The archives have several useful comments on how
 to convert my foilTex lyx documents to pdf files
 which I will now try. Any final advice welcome.
 
 I am using lyx-1.1.5fix1

When you figured out how to do it could you post it on the list?
Actually, I have also wanted to generate some good pdfs and nothing really
satsified me. So, I finally used postscript instead, but pdfs would be better
...

Cheers

  Steffen



lyx2html

2000-08-04 Thread Steffen Evers

I needed to generate a HTML version of my diploma thesis which I have originally
written with LyX. As the output of latex2html didn't fulfill my requirements, I
have spent some time on sed and shell scripting to improve the results.

Maybe some of you would like to have a look at it and adjust it to your personal
needs.

Or is it possible to put some of it in the LyX source code? E.g. the
redefinition of the url tag should be removed before using latex2html.

The scripts (and the resulting thesis) can be found at:
http://user.cs.tu-berlin.de/~tron/opensource/node31.html.

Cheers

 Steffen

PS: I'm only on the users list.



Re: pdf output

2000-08-04 Thread Steffen Evers

Ralph Boland wrote:
> WHAT EXACTLY DO THESE SETTINGS DO AND HOW
> DO I MAKE THEM TAKE EFFECT?
> 
> The archives have several useful comments on how
> to convert my foilTex lyx documents to pdf files
> which I will now try. Any final advice welcome.
> 
> I am using lyx-1.1.5fix1

When you figured out how to do it could you post it on the list?
Actually, I have also wanted to generate some good pdfs and nothing really
satsified me. So, I finally used postscript instead, but pdfs would be better
...

Cheers

  Steffen



lyx2html

2000-08-04 Thread Steffen Evers

I needed to generate a HTML version of my diploma thesis which I have originally
written with LyX. As the output of latex2html didn't fulfill my requirements, I
have spent some time on sed and shell scripting to improve the results.

Maybe some of you would like to have a look at it and adjust it to your personal
needs.

Or is it possible to put some of it in the LyX source code? E.g. the
redefinition of the url tag should be removed before using latex2html.

The scripts (and the resulting thesis) can be found at:
http://user.cs.tu-berlin.de/~tron/opensource/node31.html.

Cheers

 Steffen

PS: I'm only on the users list.



setcolor in lyx1.1.5fix1

2000-07-23 Thread Steffen Evers

By using '\set_color footnote red' in my '~/.lyx/lyxrc' file, I always
get the error messages:

LyX: Bad color tag: `footnote' [around line 267 of file ~/.lyx/lyxrc]
LyX: Unknown tag `red' [around line 268 of file ~/.lyx/lyxrc] 

I've swapped the two tags , but it doesn't help either:
LyX: Bad color tag: `red' [around line 267 of file ~/.lyx/lyxrc]
LyX: Unknown tag `footnote' [around line 268 of file ~/.lyx/lyxrc]

Am I doing anything wrong?

Steffen



setcolor in lyx1.1.5fix1

2000-07-23 Thread Steffen Evers

By using '\set_color footnote red' in my '~/.lyx/lyxrc' file, I always
get the error messages:

LyX: Bad color tag: `footnote' [around line 267 of file ~/.lyx/lyxrc]
LyX: Unknown tag `red' [around line 268 of file ~/.lyx/lyxrc] 

I've swapped the two tags , but it doesn't help either:
LyX: Bad color tag: `red' [around line 267 of file ~/.lyx/lyxrc]
LyX: Unknown tag `footnote' [around line 268 of file ~/.lyx/lyxrc]

Am I doing anything wrong?

Steffen



  1   2   >