Re: Creating HTML docs from LyX

2005-03-31 Thread Angus Leeming
Jane McKean wrote:

 My question: Has anybody created a volume of documentation (300-500
 pages) in LyX and converted it to HTML? Do you have any recommendations,
 suggestions, things to avoid?

Jane, there are loads of tools out there. See the 
http://www.tug.org/interest.html#web

Of these, the most sophisticated by far is TeX4ht by Eitan Gurari. 

http://www.tug.org/applications/tex4ht/mn.html

Unlike all the others it operates on the raw TeX and so is guaranteed to 
support all the weird and wonderful LaTeX packages that you've used.

There are people on this list who use it regularly, so I'd 
expect you to be able to get some support in using it too.

-- 
Angus



Re: Creating HTML docs from LyX

2005-03-31 Thread Jean-Pierre Chretien

Subject: Creating HTML docs from LyX
From: Jane McKean [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Wed, 30 Mar 2005 11:23:58 -0800

Hi there:

I am using LyX 1.3.5 on Fedora Core 3 to create our compiler
documentation set (now up to six volumes or so). I've been creating PDFs
from LyX as the final output (pdflatex), with included PDFs for the
covers (artwork from Marketing). I have figures, tables, an index, the
works. 

Everyone has been very pleased with the output and the documentation
set. Now they want an HTML version of the docs to post on our website,
not just the PDFs.

My question: Has anybody created a volume of documentation (300-500
pages) in LyX and converted it to HTML? Do you have any recommendations,
suggestions, things to avoid? 

Are there other converters/tools/packages you might recommend? Would I
be better off generating from the .tex files that LyX creates? I
understand that tables can be problematic. 

I built a HTML version of the docs with latex2html. You must be aware that
you loose some of the features of the on-line help (when the help refers to
things which need LyX to be correctly displayed) - but this is true with the 
pdf version as well.
The reward is the ability to access individual sections with a search field,
if you take care to split the docs at maximum depth.
In that case, you may keep the lyx doc separate.

So the best combination seems on-line LyX help to navigate the docs by TOC, pdf 
doc to read at will,
and keyword search on HTML conversion (batch automated conversion, something 
like
-- tuned for french documentation:
#!/bin/sh
# export
lyx -e latex fr_Customization.lyx
# compile
latex fr_Customization
bibtex fr_Customization
makeindex -s fridx1.ist fr_Customization
latex fr_Customization
latex fr_Customization
latex fr_Customization
# convert to html
latex2html -html_version 3.2,latin1,Unicode,latin9 -image_type png \
 -auto_prefix -split 8 -link 4 \
 -t  Documentation LYX - Personnalisation \
-address 'Documentation LYX 1.3.5 - PersonnalisationBRa href=mailto:[EMAIL 
PROTECTED]Admin LyX/a' fr_Customization.tex
exit 0

Once this works, you may loop on the docs...

-- 
Jean-Pierre






LyX-1.3.5 - Windows native version - Problem with Latex2html

2005-03-31 Thread EXT / TEAMLOG MELLERIN Pierrick
Hello,

I have a problem when I want to export my .lyx document in .html, with the
latex2html package (installed with MiKTeX).
The following error message is displayed : Cannot convert file ...
Error while executing latex2html -no_subdir -split 0 -show_section_number.

In Preferences \ Converters, I added this entry : Latex - HTML, with
this command :

latex2html -no_subdir -split 0 -show_section_numbers $$i

Is it a known bug or is it a configuration problem ?

Thanks in advance,

P. Mellerin.



Re: LyX-1.3.5 - Windows native version - Problem with Latex2html

2005-03-31 Thread Angus Leeming
EXT / TEAMLOG MELLERIN Pierrick wrote:
 I have a problem when I want to export my .lyx document in .html, with
 the latex2html package (installed with MiKTeX).
 The following error message is displayed : Cannot convert file ...
 Error while executing latex2html -no_subdir -split 0
 -show_section_number.
 
 In Preferences \ Converters, I added this entry : Latex - HTML, with
 this command :
 
 latex2html -no_subdir -split 0 -show_section_numbers $$i
 
 Is it a known bug or is it a configuration problem ?

If you run lyx from the command line as

$ lyx -dbg files

You should get a stream of information output to the console including the 
actual command that is being invoked.

One question to investigate. Can LyX find latex2html? Ie, if you type this 
at the command line, do you get similar output to:

$ latex2html --version
This is LaTeX2HTML Version 2002-2-1 (1.70)
by Nikos Drakos, Computer Based Learning Unit, University of Leeds.

If not, then you should adjust your PATH environment variable 
appropriately. See, eg:

http://www.computerhope.com/issues/ch000549.htm

-- 
Angus



Re: Dutch surnames in Bibtex

2005-03-31 Thread G. Milde
On 30.03.05, christiaan johannes pauw wrote:
 I am writing a document with lyx using tkbibtex as bibliography database 
 and the apsrmp format.
 Two questions:
 1. Some Dutch surnames are two or three words long (e.g. van den Berg). 
 How do define the all the words as a surname and not as first names or 
 initials (which is what happens now)?

The bibtex documentation (btxdoc.dvi) suggests (in it's last section)

autor = {van den Berg, Paul}

In tkbibtex just put the part betwenn the {} in the author field.
 

 2. There doesn't seem to be an option in the version of tkbibtex that I 
 have now that handles co-authors  (eg. a book written by two people)?

Use the and keyword provided by BibTeX in the author field:

van den Berg, Paul and Minchow, Jean Marc

should do.

Günter


-- 
G.Milde web.de


Re: Problems with BibTeX crossrefs

2005-03-31 Thread G. Milde
On 24.03.05, Rich Shepard wrote:
 On Thu, 24 Mar 2005, Stefano Franchi wrote:
 
 Can anyone explain how to get BibTeX to correctly parse a citation to an
 article in a book when the .bib file uses the crossref mechanism? For
 example, here is a minimal file:
 
 @incollection{Vamvoukakis1980,
  Author = {Nicolas Vamvoukakis},
  Crossref = {Aubenque1980},  Pages = {253-269},
  Title = {Les cat{\'e}gories aristot{\'e}liennes d'action et de 
 passion vues par Simplicius},
  Year = {1980}}
  @book{Aubenque1980,
  Address = {Paris},
  Editor = {Pierre Aubenque},
  Publisher = {Vrin},
  Title = {Concepts et cat{\'e}gories dans la pens{\'e}e antique},
  Year = {1980}}
 
 Stefano,
 
   The referenced work _may_ need to start at column 1, as does the citation.

AFAIK, all whitespace is equivalent in bibtex (see example file btxdoc.bib
that comes with bibtex (/usr/share/doc/texmf/bibtex/base/btxdoc.bib on my
Debian system)).
 
I cannot find an error, but studying the bibtex documentation in
btxdoc.dvi might give some advice.

   If you are citing only a single chapter from a collection a direct
 reference (rather than a cross reference) is simpler and it does work. At
 least it does for me.

Copying the fields instead of a crossref is of course a quick and dirty
workaround.

Guenter

-- 
G.Milde web.de


Re: Problems with BibTeX crossrefs

2005-03-31 Thread Jean-Pierre Chretien

Date: Thu, 31 Mar 2005 15:30:26 +0200
From: G. Milde [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: Problems with BibTeX crossrefs


Copying the fields instead of a crossref is of course a quick and dirty
workaround.

I disagree upon this: it's crossreferencing which is the quick and dirty 
solution,
as the citation extract cannot be manipulated alone (same remark abour STRING 
facility).

Unless  the bibtex tool allows database export with crossref and abrev 
expansion, these facilities
create a loss of information at source level, not appropriate for static data 
like citations
(I can't think of a more static piece of info than a citation in fact: once 
typed correctly
it will never change, so basically is should be typed only onece by the first 
author and then
only copied :-).

-- 
Jean-Pierre





Re: LyX-1.3.5 - Windows native version - Problem with Latex2html

2005-03-31 Thread Milos Komarcevic
EXT / TEAMLOG MELLERIN Pierrick [EMAIL PROTECTED] writes:

 
 Hello,
 
 I have a problem when I want to export my .lyx document in .html, with the
 latex2html package (installed with MiKTeX).

The latex2html package in MiKTeX is unfortunately NOT the expected 
latex2html binary converter, but just a set of .sty files (don't know 
how to use those either).

M



RE : LyX-1.3.5 - Windows native version - Problem with Latex2html

2005-03-31 Thread EXT / TEAMLOG MELLERIN Pierrick
Yes, absolutely ... As MiKTeX proposes the converter 'text4ht', 
I thought that it was the same for 'LaTeX2HTML' ... unfortunately 
it is not the case, as you said !

So, I have followed the indications at this address : 
http://www.mayer.dial.pipex.com/l2h.htm 
and now all is OK ...

-Message d'origine-
De : news [mailto:[EMAIL PROTECTED] De la part de Milos Komarcevic
Envoyé : jeudi 31 mars 2005 16:33
À : lyx-users@lists.lyx.org
Objet : Re: LyX-1.3.5 - Windows native version - Problem with Latex2html


EXT / TEAMLOG MELLERIN Pierrick [EMAIL PROTECTED] writes:

 
 Hello,
 
 I have a problem when I want to export my .lyx document in .html, with 
 the latex2html package (installed with MiKTeX).

The latex2html package in MiKTeX is unfortunately NOT the expected 
latex2html binary converter, but just a set of .sty files (don't know 
how to use those either).

M


Insertion of xfig figures

2005-03-31 Thread Jean-Pierre Chretien

Hello,

I just found out this by mistyping a suffix (.fig instead of .eps) 
for the file name in the figure inset menu.

The figure is, say figures/foo.fig
foo.fig embeds epses (in fact, exported from latex), say bar.eps
as relative file names

Lyx fails to find bar.eps when insetting directly figures/foo.fig

It should cd to the dir in which the fig files are located before exporting, I 
guess.

I always export to eps myself, but it's just to make sure.

HTH 

-- 
Jean-Pierre



Re: Insertion of xfig figures

2005-03-31 Thread Angus Leeming
Jean-Pierre Chretien wrote:

 
 Hello,
 
 I just found out this by mistyping a suffix (.fig instead of .eps)
 for the file name in the figure inset menu.
 
 The figure is, say figures/foo.fig
 foo.fig embeds epses (in fact, exported from latex), say bar.eps
 as relative file names
 
 Lyx fails to find bar.eps when insetting directly figures/foo.fig
 
 It should cd to the dir in which the fig files are located before
 exporting, I guess.
 
 I always export to eps myself, but it's just to make sure.
 
 HTH
 

I think that this works correctly in LyX 1.4.x. Since you've just compiled 
it, maybe you could check ;-)

It may be tht it only works for XFig files inserted using the External 
inset rather than the Graphics inset, I'm not sure.

-- 
Angus



linebreaks inside table cells

2005-03-31 Thread Alexander Blüm
hello again,

I'd like to create a table with linebreaks inside the cells.
Inserting linebreaks doesn't help, neither does C-enter...
any ideas?


-- 
Cheers,
  Alex

shakespeare:
/(bb|[^b]{2})/


Re: Creating HTML docs from LyX

2005-03-31 Thread Angus Leeming
Jane McKean wrote:

 My question: Has anybody created a volume of documentation (300-500
 pages) in LyX and converted it to HTML? Do you have any recommendations,
 suggestions, things to avoid?

Jane, there are loads of tools out there. See the 
http://www.tug.org/interest.html#web

Of these, the most sophisticated by far is TeX4ht by Eitan Gurari. 

http://www.tug.org/applications/tex4ht/mn.html

Unlike all the others it operates on the raw TeX and so is guaranteed to 
support all the weird and wonderful LaTeX packages that you've used.

There are people on this list who use it regularly, so I'd 
expect you to be able to get some support in using it too.

-- 
Angus



Re: Creating HTML docs from LyX

2005-03-31 Thread Jean-Pierre Chretien

Subject: Creating HTML docs from LyX
From: Jane McKean [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Wed, 30 Mar 2005 11:23:58 -0800

Hi there:

I am using LyX 1.3.5 on Fedora Core 3 to create our compiler
documentation set (now up to six volumes or so). I've been creating PDFs
from LyX as the final output (pdflatex), with included PDFs for the
covers (artwork from Marketing). I have figures, tables, an index, the
works. 

Everyone has been very pleased with the output and the documentation
set. Now they want an HTML version of the docs to post on our website,
not just the PDFs.

My question: Has anybody created a volume of documentation (300-500
pages) in LyX and converted it to HTML? Do you have any recommendations,
suggestions, things to avoid? 

Are there other converters/tools/packages you might recommend? Would I
be better off generating from the .tex files that LyX creates? I
understand that tables can be problematic. 

I built a HTML version of the docs with latex2html. You must be aware that
you loose some of the features of the on-line help (when the help refers to
things which need LyX to be correctly displayed) - but this is true with the 
pdf version as well.
The reward is the ability to access individual sections with a search field,
if you take care to split the docs at maximum depth.
In that case, you may keep the lyx doc separate.

So the best combination seems on-line LyX help to navigate the docs by TOC, pdf 
doc to read at will,
and keyword search on HTML conversion (batch automated conversion, something 
like
-- tuned for french documentation:
#!/bin/sh
# export
lyx -e latex fr_Customization.lyx
# compile
latex fr_Customization
bibtex fr_Customization
makeindex -s fridx1.ist fr_Customization
latex fr_Customization
latex fr_Customization
latex fr_Customization
# convert to html
latex2html -html_version 3.2,latin1,Unicode,latin9 -image_type png \
 -auto_prefix -split 8 -link 4 \
 -t  Documentation LYX - Personnalisation \
-address 'Documentation LYX 1.3.5 - PersonnalisationBRa href=mailto:[EMAIL 
PROTECTED]Admin LyX/a' fr_Customization.tex
exit 0

Once this works, you may loop on the docs...

-- 
Jean-Pierre






LyX-1.3.5 - Windows native version - Problem with Latex2html

2005-03-31 Thread EXT / TEAMLOG MELLERIN Pierrick
Hello,

I have a problem when I want to export my .lyx document in .html, with the
latex2html package (installed with MiKTeX).
The following error message is displayed : Cannot convert file ...
Error while executing latex2html -no_subdir -split 0 -show_section_number.

In Preferences \ Converters, I added this entry : Latex - HTML, with
this command :

latex2html -no_subdir -split 0 -show_section_numbers $$i

Is it a known bug or is it a configuration problem ?

Thanks in advance,

P. Mellerin.



Re: LyX-1.3.5 - Windows native version - Problem with Latex2html

2005-03-31 Thread Angus Leeming
EXT / TEAMLOG MELLERIN Pierrick wrote:
 I have a problem when I want to export my .lyx document in .html, with
 the latex2html package (installed with MiKTeX).
 The following error message is displayed : Cannot convert file ...
 Error while executing latex2html -no_subdir -split 0
 -show_section_number.
 
 In Preferences \ Converters, I added this entry : Latex - HTML, with
 this command :
 
 latex2html -no_subdir -split 0 -show_section_numbers $$i
 
 Is it a known bug or is it a configuration problem ?

If you run lyx from the command line as

$ lyx -dbg files

You should get a stream of information output to the console including the 
actual command that is being invoked.

One question to investigate. Can LyX find latex2html? Ie, if you type this 
at the command line, do you get similar output to:

$ latex2html --version
This is LaTeX2HTML Version 2002-2-1 (1.70)
by Nikos Drakos, Computer Based Learning Unit, University of Leeds.

If not, then you should adjust your PATH environment variable 
appropriately. See, eg:

http://www.computerhope.com/issues/ch000549.htm

-- 
Angus



Re: Dutch surnames in Bibtex

2005-03-31 Thread G. Milde
On 30.03.05, christiaan johannes pauw wrote:
 I am writing a document with lyx using tkbibtex as bibliography database 
 and the apsrmp format.
 Two questions:
 1. Some Dutch surnames are two or three words long (e.g. van den Berg). 
 How do define the all the words as a surname and not as first names or 
 initials (which is what happens now)?

The bibtex documentation (btxdoc.dvi) suggests (in it's last section)

autor = {van den Berg, Paul}

In tkbibtex just put the part betwenn the {} in the author field.
 

 2. There doesn't seem to be an option in the version of tkbibtex that I 
 have now that handles co-authors  (eg. a book written by two people)?

Use the and keyword provided by BibTeX in the author field:

van den Berg, Paul and Minchow, Jean Marc

should do.

Günter


-- 
G.Milde web.de


Re: Problems with BibTeX crossrefs

2005-03-31 Thread G. Milde
On 24.03.05, Rich Shepard wrote:
 On Thu, 24 Mar 2005, Stefano Franchi wrote:
 
 Can anyone explain how to get BibTeX to correctly parse a citation to an
 article in a book when the .bib file uses the crossref mechanism? For
 example, here is a minimal file:
 
 @incollection{Vamvoukakis1980,
  Author = {Nicolas Vamvoukakis},
  Crossref = {Aubenque1980},  Pages = {253-269},
  Title = {Les cat{\'e}gories aristot{\'e}liennes d'action et de 
 passion vues par Simplicius},
  Year = {1980}}
  @book{Aubenque1980,
  Address = {Paris},
  Editor = {Pierre Aubenque},
  Publisher = {Vrin},
  Title = {Concepts et cat{\'e}gories dans la pens{\'e}e antique},
  Year = {1980}}
 
 Stefano,
 
   The referenced work _may_ need to start at column 1, as does the citation.

AFAIK, all whitespace is equivalent in bibtex (see example file btxdoc.bib
that comes with bibtex (/usr/share/doc/texmf/bibtex/base/btxdoc.bib on my
Debian system)).
 
I cannot find an error, but studying the bibtex documentation in
btxdoc.dvi might give some advice.

   If you are citing only a single chapter from a collection a direct
 reference (rather than a cross reference) is simpler and it does work. At
 least it does for me.

Copying the fields instead of a crossref is of course a quick and dirty
workaround.

Guenter

-- 
G.Milde web.de


Re: Problems with BibTeX crossrefs

2005-03-31 Thread Jean-Pierre Chretien

Date: Thu, 31 Mar 2005 15:30:26 +0200
From: G. Milde [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Re: Problems with BibTeX crossrefs


Copying the fields instead of a crossref is of course a quick and dirty
workaround.

I disagree upon this: it's crossreferencing which is the quick and dirty 
solution,
as the citation extract cannot be manipulated alone (same remark abour STRING 
facility).

Unless  the bibtex tool allows database export with crossref and abrev 
expansion, these facilities
create a loss of information at source level, not appropriate for static data 
like citations
(I can't think of a more static piece of info than a citation in fact: once 
typed correctly
it will never change, so basically is should be typed only onece by the first 
author and then
only copied :-).

-- 
Jean-Pierre





Re: LyX-1.3.5 - Windows native version - Problem with Latex2html

2005-03-31 Thread Milos Komarcevic
EXT / TEAMLOG MELLERIN Pierrick [EMAIL PROTECTED] writes:

 
 Hello,
 
 I have a problem when I want to export my .lyx document in .html, with the
 latex2html package (installed with MiKTeX).

The latex2html package in MiKTeX is unfortunately NOT the expected 
latex2html binary converter, but just a set of .sty files (don't know 
how to use those either).

M



RE : LyX-1.3.5 - Windows native version - Problem with Latex2html

2005-03-31 Thread EXT / TEAMLOG MELLERIN Pierrick
Yes, absolutely ... As MiKTeX proposes the converter 'text4ht', 
I thought that it was the same for 'LaTeX2HTML' ... unfortunately 
it is not the case, as you said !

So, I have followed the indications at this address : 
http://www.mayer.dial.pipex.com/l2h.htm 
and now all is OK ...

-Message d'origine-
De : news [mailto:[EMAIL PROTECTED] De la part de Milos Komarcevic
Envoyé : jeudi 31 mars 2005 16:33
À : lyx-users@lists.lyx.org
Objet : Re: LyX-1.3.5 - Windows native version - Problem with Latex2html


EXT / TEAMLOG MELLERIN Pierrick [EMAIL PROTECTED] writes:

 
 Hello,
 
 I have a problem when I want to export my .lyx document in .html, with 
 the latex2html package (installed with MiKTeX).

The latex2html package in MiKTeX is unfortunately NOT the expected 
latex2html binary converter, but just a set of .sty files (don't know 
how to use those either).

M


Insertion of xfig figures

2005-03-31 Thread Jean-Pierre Chretien

Hello,

I just found out this by mistyping a suffix (.fig instead of .eps) 
for the file name in the figure inset menu.

The figure is, say figures/foo.fig
foo.fig embeds epses (in fact, exported from latex), say bar.eps
as relative file names

Lyx fails to find bar.eps when insetting directly figures/foo.fig

It should cd to the dir in which the fig files are located before exporting, I 
guess.

I always export to eps myself, but it's just to make sure.

HTH 

-- 
Jean-Pierre



Re: Insertion of xfig figures

2005-03-31 Thread Angus Leeming
Jean-Pierre Chretien wrote:

 
 Hello,
 
 I just found out this by mistyping a suffix (.fig instead of .eps)
 for the file name in the figure inset menu.
 
 The figure is, say figures/foo.fig
 foo.fig embeds epses (in fact, exported from latex), say bar.eps
 as relative file names
 
 Lyx fails to find bar.eps when insetting directly figures/foo.fig
 
 It should cd to the dir in which the fig files are located before
 exporting, I guess.
 
 I always export to eps myself, but it's just to make sure.
 
 HTH
 

I think that this works correctly in LyX 1.4.x. Since you've just compiled 
it, maybe you could check ;-)

It may be tht it only works for XFig files inserted using the External 
inset rather than the Graphics inset, I'm not sure.

-- 
Angus



linebreaks inside table cells

2005-03-31 Thread Alexander Blüm
hello again,

I'd like to create a table with linebreaks inside the cells.
Inserting linebreaks doesn't help, neither does C-enter...
any ideas?


-- 
Cheers,
  Alex

shakespeare:
/(bb|[^b]{2})/


Re: Creating HTML docs from LyX

2005-03-31 Thread Angus Leeming
Jane McKean wrote:

> My question: Has anybody created a volume of documentation (300-500
> pages) in LyX and converted it to HTML? Do you have any recommendations,
> suggestions, things to avoid?

Jane, there are loads of tools out there. See the 
http://www.tug.org/interest.html#web

Of these, the most sophisticated by far is TeX4ht by Eitan Gurari. 

http://www.tug.org/applications/tex4ht/mn.html

Unlike all the others it operates on the raw TeX and so is guaranteed to 
support all the weird and wonderful LaTeX packages that you've used.

There are people on this list who use it regularly, so I'd 
expect you to be able to get some support in using it too.

-- 
Angus



Re: Creating HTML docs from LyX

2005-03-31 Thread Jean-Pierre Chretien

>>Subject: Creating HTML docs from LyX
>>From: Jane McKean <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Date: Wed, 30 Mar 2005 11:23:58 -0800
>>
>>Hi there:
>>
>>I am using LyX 1.3.5 on Fedora Core 3 to create our compiler
>>documentation set (now up to six volumes or so). I've been creating PDFs
>>from LyX as the final output (pdflatex), with included PDFs for the
>>covers (artwork from Marketing). I have figures, tables, an index, the
>>works. 
>>
>>Everyone has been very pleased with the output and the documentation
>>set. Now they want an HTML version of the docs to post on our website,
>>not just the PDFs.
>>
>>My question: Has anybody created a volume of documentation (300-500
>>pages) in LyX and converted it to HTML? Do you have any recommendations,
>>suggestions, things to avoid? 
>>
>>Are there other converters/tools/packages you might recommend? Would I
>>be better off generating from the .tex files that LyX creates? I
>>understand that tables can be problematic. 

I built a HTML version of the docs with latex2html. You must be aware that
you loose some of the features of the on-line help (when the help refers to
things which need LyX to be correctly displayed) - but this is true with the 
pdf version as well.
The reward is the ability to access individual sections with a search field,
if you take care to split the docs at maximum depth.
In that case, you may keep the lyx doc separate.

So the best combination seems on-line LyX help to navigate the docs by TOC, pdf 
doc to read at will,
and keyword search on HTML conversion (batch automated conversion, something 
like
-- tuned for french documentation:
#!/bin/sh
# export
lyx -e latex fr_Customization.lyx
# compile
latex fr_Customization
bibtex fr_Customization
makeindex -s fridx1.ist fr_Customization
latex fr_Customization
latex fr_Customization
latex fr_Customization
# convert to html
latex2html -html_version 3.2,latin1,Unicode,latin9 -image_type png \
 -auto_prefix -split 8 -link 4 \
 -t " Documentation LYX - Personnalisation" \
-address 'Documentation LYX 1.3.5 - Personnalisationmailto:[EMAIL 
PROTECTED]">Admin LyX' fr_Customization.tex
exit 0

Once this works, you may loop on the docs...

-- 
Jean-Pierre






LyX-1.3.5 - Windows native version - Problem with Latex2html

2005-03-31 Thread EXT / TEAMLOG MELLERIN Pierrick
Hello,

I have a problem when I want to export my .lyx document in .html, with the
latex2html package (installed with MiKTeX).
The following error message is displayed : "Cannot convert file ...
Error while executing latex2html -no_subdir -split 0 -show_section_number".

In "Preferences \ Converters", I added this entry : "Latex -> HTML", with
this command :

"latex2html -no_subdir -split 0 -show_section_numbers $$i"

Is it a known bug or is it a configuration problem ?

Thanks in advance,

P. Mellerin.



Re: LyX-1.3.5 - Windows native version - Problem with Latex2html

2005-03-31 Thread Angus Leeming
EXT / TEAMLOG MELLERIN Pierrick wrote:
> I have a problem when I want to export my .lyx document in .html, with
> the latex2html package (installed with MiKTeX).
> The following error message is displayed : "Cannot convert file ...
> Error while executing latex2html -no_subdir -split 0
> -show_section_number".
> 
> In "Preferences \ Converters", I added this entry : "Latex -> HTML", with
> this command :
> 
> "latex2html -no_subdir -split 0 -show_section_numbers $$i"
> 
> Is it a known bug or is it a configuration problem ?

If you run lyx from the command line as

$ lyx -dbg files

You should get a stream of information output to the console including the 
actual command that is being invoked.

One question to investigate. Can LyX find latex2html? Ie, if you type this 
at the command line, do you get similar output to:

$ latex2html --version
This is LaTeX2HTML Version 2002-2-1 (1.70)
by Nikos Drakos, Computer Based Learning Unit, University of Leeds.

If not, then you should adjust your PATH environment variable 
appropriately. See, eg:

http://www.computerhope.com/issues/ch000549.htm

-- 
Angus



Re: Dutch surnames in Bibtex

2005-03-31 Thread G. Milde
On 30.03.05, christiaan johannes pauw wrote:
> I am writing a document with lyx using tkbibtex as bibliography database 
> and the apsrmp format.
> Two questions:
> 1. Some Dutch surnames are two or three words long (e.g. van den Berg). 
> How do define the all the words as a surname and not as first names or 
> initials (which is what happens now)?

The bibtex documentation (btxdoc.dvi) suggests (in it's last section)

autor = {van den Berg, Paul}

In tkbibtex just put the part betwenn the {} in the author field.
 

> 2. There doesn't seem to be an option in the version of tkbibtex that I 
> have now that handles co-authors  (eg. a book written by two people)?

Use the "and" keyword provided by BibTeX in the author field:

van den Berg, Paul and Minchow, Jean Marc

should do.

Günter


-- 
G.Milde web.de


Re: Problems with BibTeX crossrefs

2005-03-31 Thread G. Milde
On 24.03.05, Rich Shepard wrote:
> On Thu, 24 Mar 2005, Stefano Franchi wrote:
> 
> >Can anyone explain how to get BibTeX to correctly parse a citation to an
> >article in a book when the .bib file uses the crossref mechanism? For
> >example, here is a minimal file:
> >
> >@incollection{Vamvoukakis1980,
> > Author = {Nicolas Vamvoukakis},
> > Crossref = {Aubenque1980},  Pages = {253-269},
> > Title = {Les cat{\'e}gories aristot{\'e}liennes d'action et de 
> >passion vues par Simplicius},
> > Year = {1980}}
> > @book{Aubenque1980,
> > Address = {Paris},
> > Editor = {Pierre Aubenque},
> > Publisher = {Vrin},
> > Title = {Concepts et cat{\'e}gories dans la pens{\'e}e antique},
> > Year = {1980}}
> 
> Stefano,
> 
>   The referenced work _may_ need to start at column 1, as does the citation.

AFAIK, all whitespace is equivalent in bibtex (see example file btxdoc.bib
that comes with bibtex (/usr/share/doc/texmf/bibtex/base/btxdoc.bib on my
Debian system)).
 
I cannot find an error, but studying the bibtex documentation in
btxdoc.dvi might give some advice.

>   If you are citing only a single chapter from a collection a direct
> reference (rather than a cross reference) is simpler and it does work. At
> least it does for me.

Copying the fields instead of a crossref is of course a "quick and dirty"
workaround.

Guenter

-- 
G.Milde web.de


Re: Problems with BibTeX crossrefs

2005-03-31 Thread Jean-Pierre Chretien

>>Date: Thu, 31 Mar 2005 15:30:26 +0200
>>From: "G. Milde" <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: Re: Problems with BibTeX crossrefs

>>
>>Copying the fields instead of a crossref is of course a "quick and dirty"
>>workaround.

I disagree upon this: it's crossreferencing which is the "quick and dirty" 
solution,
as the citation extract cannot be manipulated alone (same remark abour STRING 
facility).

Unless  the bibtex tool allows database export with crossref and abrev 
expansion, these facilities
create a loss of information at source level, not appropriate for static data 
like citations
(I can't think of a more static piece of info than a citation in fact: once 
typed correctly
it will never change, so basically is should be typed only onece by the first 
author and then
only copied :-).

-- 
Jean-Pierre





Re: LyX-1.3.5 - Windows native version - Problem with Latex2html

2005-03-31 Thread Milos Komarcevic
EXT / TEAMLOG MELLERIN Pierrick <[EMAIL PROTECTED]> writes:

> 
> Hello,
> 
> I have a problem when I want to export my .lyx document in .html, with the
> latex2html package (installed with MiKTeX).

The latex2html package in MiKTeX is unfortunately NOT the expected 
latex2html binary converter, but just a set of .sty files (don't know 
how to use those either).

M



RE : LyX-1.3.5 - Windows native version - Problem with Latex2html

2005-03-31 Thread EXT / TEAMLOG MELLERIN Pierrick
Yes, absolutely ... As MiKTeX proposes the converter 'text4ht', 
I thought that it was the same for 'LaTeX2HTML' ... unfortunately 
it is not the case, as you said !

So, I have followed the indications at this address : 
http://www.mayer.dial.pipex.com/l2h.htm 
and now all is OK ...

-Message d'origine-
De : news [mailto:[EMAIL PROTECTED] De la part de Milos Komarcevic
Envoyé : jeudi 31 mars 2005 16:33
À : lyx-users@lists.lyx.org
Objet : Re: LyX-1.3.5 - Windows native version - Problem with Latex2html


EXT / TEAMLOG MELLERIN Pierrick <[EMAIL PROTECTED]> writes:

> 
> Hello,
> 
> I have a problem when I want to export my .lyx document in .html, with 
> the latex2html package (installed with MiKTeX).

The latex2html package in MiKTeX is unfortunately NOT the expected 
latex2html binary converter, but just a set of .sty files (don't know 
how to use those either).

M


Insertion of xfig figures

2005-03-31 Thread Jean-Pierre Chretien

Hello,

I just found out this by mistyping a suffix (.fig instead of .eps) 
for the file name in the figure inset menu.

The figure is, say figures/foo.fig
foo.fig embeds epses (in fact, exported from latex), say bar.eps
as relative file names

Lyx fails to find bar.eps when insetting directly figures/foo.fig

It should cd to the dir in which the fig files are located before exporting, I 
guess.

I always export to eps myself, but it's just to make sure.

HTH 

-- 
Jean-Pierre



Re: Insertion of xfig figures

2005-03-31 Thread Angus Leeming
Jean-Pierre Chretien wrote:

> 
> Hello,
> 
> I just found out this by mistyping a suffix (.fig instead of .eps)
> for the file name in the figure inset menu.
> 
> The figure is, say figures/foo.fig
> foo.fig embeds epses (in fact, exported from latex), say bar.eps
> as relative file names
> 
> Lyx fails to find bar.eps when insetting directly figures/foo.fig
> 
> It should cd to the dir in which the fig files are located before
> exporting, I guess.
> 
> I always export to eps myself, but it's just to make sure.
> 
> HTH
> 

I think that this works correctly in LyX 1.4.x. Since you've just compiled 
it, maybe you could check ;-)

It may be tht it only works for XFig files inserted using the External 
inset rather than the Graphics inset, I'm not sure.

-- 
Angus



linebreaks inside table cells

2005-03-31 Thread Alexander Blüm
hello again,

I'd like to create a table with linebreaks inside the cells.
Inserting linebreaks doesn't help, neither does C-enter...
any ideas?


-- 
Cheers,
  Alex

shakespeare:
/(bb|[^b]{2})/