Re: Another Point to Consider in Your Writing

2009-07-17 Thread Liviu Andronic
On 7/17/09, Steve Litt sl...@troubleshooters.com wrote:
  I use 12pt Century Schoolbook because Century Schoolbook appears very clear
  and readable to me. If the Book document class supported 14 point, I'd use

Have you tried Book (more font sizes)? Here I can set default font
to New Cent Schoolbook size 14pt.

Liviu


Re: Consolidating the bibliography for article submissions

2009-07-17 Thread Manolo Martí­nez
not sure, I understood your problem. If you don't want to share the whole 
bib-file all.bib, but only the references cited in cited.bib, and your 
document is doc.lyx 
you could e.g. use JabRef as a reference manager and say on a command line

jabref --aux doc.aux,cited.bib all.bib
after having exported your doc.lyx to doc.tex by using fileexportlatex
You would share cited.bib with your colleagues


This is already an improvement from what I was doing, thank you. It's 
not a matter of sharing more or less files. Rather, as you surely know, 
many scientific journal have pretty strict requirements on the 
formatting of bibliography. So you come up with a .bst that suits your 
needs but, then, if you are to submit a .tex paper, you just cannot send 
it using your carefully arranged format. Or else you need to send the 
.bst as well, and trust the LaTeX competence of your correspondent.


That's why I was saying that a way to resolve the references into the 
.tex (or .lyx) document as already formatted /bibitems would be nice.


Anyway, thanks for your help. Cheers,
Manolo




Windows: Graphics preview doesn't work using Lyxlauncher.exe

2009-07-17 Thread Nick Bell
Apologies if this has been said before, but I have only ever been able 
to get graphics preview to work if I start LyX by running lyx.exe. If I 
use the default LyXlauncher.exe, I can't preview .eps, .pdf (although 
.png works).


Is this a known issue?
--
Nick Bell
m...@nickbell.org


Re: List of Tables, numbering problem

2009-07-17 Thread Yago

You can put in your preamble this command:

\renewcommand{\thetable}{\arabic{chapter}.\arabic{table}}
- Original Message - 
From: Laser Yuan laser.y...@gmail.com

To: lyx-users@lists.lyx.org
Sent: Friday, July 17, 2009 7:24 AM
Subject: List of Tables, numbering problem



Hello,

I have tables in Chapters, say, two in the first Chapter, one in the 
second.

And I'm using ASM(book) class.

The numbering comes up with the list of talbes are like this:

1 
2 ...

1 ...

I want it to be:
1.1 ...
1.2 ...

2.1 ...

Could anybody tell me, how this wizard numbering happened. and how to 
solve

it. I attached a sample as bellow for your information

Thanks.
_

#LyX 1.6.1 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass amsbook
\begin_preamble

\end_preamble
\use_default_options true
\begin_modules
theorems-ams
\end_modules
\language english
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing onehalf
\use_hyperref false
\pdf_bookmarks true
\pdf_bookmarksnumbered true
\pdf_bookmarksopen true
\pdf_bookmarksopenlevel 3
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\leftmargin 1.5cm
\topmargin 3cm
\rightmargin 1.5cm
\bottommargin 1.5cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author 
\author 
\end_header

\begin_body

\begin_layout Standard
\begin_inset FloatList table

\end_inset


\end_layout

\begin_layout Chapter
the first chapter
\end_layout

\begin_layout Section
the first section of chapter 1
\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
the first table in chpter 1
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
the second table in chpter 1
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Chapter
the second chapter
\end_layout

\begin_layout Section
the first section of chapter 2
\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
the first chapter in chapter 2
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\end_body
\end_document





Re: Windows: Graphics preview doesn't work using Lyxlauncher.exe

2009-07-17 Thread Yago
Do you have selected the option graphics preview in the Graphics option 
inToolsPreferences?
- Original Message - 
From: Nick Bell m...@nickbell.org

To: Lyx lyx-users@lists.lyx.org
Sent: Friday, July 17, 2009 11:11 AM
Subject: Windows: Graphics preview doesn't work using Lyxlauncher.exe


Apologies if this has been said before, but I have only ever been able to 
get graphics preview to work if I start LyX by running lyx.exe. If I use 
the default LyXlauncher.exe, I can't preview .eps, .pdf (although .png 
works).


Is this a known issue?
--
Nick Bell
m...@nickbell.org 




RE: Windows: Graphics preview doesn't work using Lyxlauncher.exe

2009-07-17 Thread Vincent van Ravesteijn - TNW

Apologies if this has been said before, but I have
only ever been able to get graphics preview to work
if I start LyX by running lyx.exe. If I use the
default LyXlauncher.exe, I can't preview .eps,
.pdf (although .png works).

 Is this a known issue?

Yes, it is known:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg74448.html

Vincent


Cannot compile PDF with graphics missing, but DVI is fine

2009-07-17 Thread nuke

I have a doc where I want to hide my graphics for the moment. So I moved my
eps-files in a folder called 'hide'. In this case compilation of DVI works
fine, however, when I try to make PDF directly by pressing GUI button it
fails with the following message:


Latex Error: Cannot determine size of graphic in mygraph.eps (no size
specified...
...0 0 200 100, draft, type=eps]{swing.eps}
 
Try typing  [return]  to proceed.
If that doesn't work, type  X [return]  to quit.
(it is showed for all missing graphics)

I can use DVI to PDF converter all the time :| , but of course direct
compilation is preferable.

Do you have an idea how to solve it?
Thanks
-- 
View this message in context: 
http://n2.nabble.com/Cannot-compile-PDF-with-graphics-missing%2C-but-DVI-is-fine-tp3274928p3274928.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Windows: Graphics preview doesn't work using Lyxlauncher.exe

2009-07-17 Thread Nick Bell

Vincent van Ravesteijn - TNW wrote:

Is this a known issue?

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg74448.html


Thanks.

--
Nick Bell
m...@nickbell.org


Re: Multiple author affiliations

2009-07-17 Thread E. Kaplan
Thanks.  However, in many journals the authors are listed, sensibly, 
under the title, and not in footnotes.




Ehud Kaplan



I Wayan Warmada wrote:

--- On Fri, 7/17/09, Rich Shepard rshep...@appl-ecosys.com wrote:

  

E. Kaplan:

Rather than superscript placement/sizing, why not
use footnotes? You can
have multiple authors listed and define a footnote for each
one's employer.
LyX will happily digest this.




use authblk.sty from preprint package. The authblk.sty can handle up to 6 
affiliation. I have use by putting this package in preamble like:

\usepackage[auth-lg]{authblk}
   \author[1]{name of author 1}
   \author[1,2]{name of author 2 with two affiliation}
   \affil[1]{affiliation 1}
   \affil[2]{affiliation 2}

etc, please read the documentation.
Btw, you don't need to put the author in editing area, because it already 
define in preamble.

Regards,
Wayan






  
  


Re: Multiple author affiliations

2009-07-17 Thread E. Kaplan
Late breaking news-- it turns out that using superscripts in the AUTHOR 
block does work just fine under WINDOWS, but not in Linux.  More 
research is indicated to discover what Miktex knows that TexLive does 
not.  Stay tuned!




Ehud Kaplan



I Wayan Warmada wrote:

--- On Fri, 7/17/09, Rich Shepard rshep...@appl-ecosys.com wrote:

  

E. Kaplan:

Rather than superscript placement/sizing, why not
use footnotes? You can
have multiple authors listed and define a footnote for each
one's employer.
LyX will happily digest this.




use authblk.sty from preprint package. The authblk.sty can handle up to 6 
affiliation. I have use by putting this package in preamble like:

\usepackage[auth-lg]{authblk}
   \author[1]{name of author 1}
   \author[1,2]{name of author 2 with two affiliation}
   \affil[1]{affiliation 1}
   \affil[2]{affiliation 2}

etc, please read the documentation.
Btw, you don't need to put the author in editing area, because it already 
define in preamble.

Regards,
Wayan






  
  


Re: Typing some text in Lyx with capital letters

2009-07-17 Thread Helge Hafting

John Coppens wrote:

On Thu, 16 Jul 2009 12:02:39 + (GMT)
silvio grosso grossosil...@yahoo.it wrote:


To sum up, is there an option in Lyx to have the same behaviour about
capital letters as Writer or Word?


Do think about this. I have noticed the 'feature' in some editors, then
noticed that those programs also want to be intelligent and, for example
don't permit 'MHz' (they consider the only the first letter should be
capitalized). Then, to solve this, they have an exception table where you
can put those.

I ended up losing more time administering the exceptions than what I
could have ever gained by the capitalize-checking feature.


I agree. And then there are abbreviations like i.e. - no 
capitalization after the period. And there are file names and

programming language constructs with periods. . .

And all the other things autocorrection gets wrong. In Scandinavian 
languages, you're not supposed to capitalize the word i (it means 
in). I have lost count of all the papers I have read with

miscapitalized i.

It is not as if it is hard to hit the shift key now and then. And we 
usually know about our common mistakes and look for them. Absurdity

done by word processors is more tricky. Especially when it can't
be fixed because the stupid thing keeps re-applying a wrong fix. :-(

I hope LyX won't fall into that trap.

Helge Hafting



Re: Another Point to Consider in Your Writing

2009-07-17 Thread Steve Litt
On Friday 17 July 2009 03:57:26 am Liviu Andronic wrote:
 On 7/17/09, Steve Litt sl...@troubleshooters.com wrote:
   I use 12pt Century Schoolbook because Century Schoolbook appears very
  clear and readable to me. If the Book document class supported 14 point,
  I'd use

 Have you tried Book (more font sizes)? Here I can set default font
 to New Cent Schoolbook size 14pt.

That's the specific other document class I was thinking about when I said the 
Book doc class supports only up to 12. The Book (more font sizes) is a 
different document class.

You bring up a good point. I wonder how different it is. If the only 
difference is really only possible font sizes, this might be something for me 
to consider.

Thanks

SteveT
 
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Another Point to Consider in Your Writing

2009-07-17 Thread Eran Kaplinsky
Nothing wrong with New Century Schoolbook, but take a look at Minion for 
book work. It is easy on the eyes, economical, and the LaTeX package 
support is excellent, with small caps and choice of oldstyle or lining 
figures, and more. It's already on your computer in OpenType, but for 
publishing you might consider licensing the full package.


Eran



Re: Cannot compile PDF with graphics missing, but DVI is fine

2009-07-17 Thread Paul A. Rubin

nuke wrote:

I have a doc where I want to hide my graphics for the moment. So I moved my
eps-files in a folder called 'hide'. In this case compilation of DVI works
fine, however, when I try to make PDF directly by pressing GUI button it
fails with the following message:


Latex Error: Cannot determine size of graphic in mygraph.eps (no size
specified...
...0 0 200 100, draft, type=eps]{swing.eps}
 
Try typing  [return]  to proceed.

If that doesn't work, type  X [return]  to quit.
(it is showed for all missing graphics)

I can use DVI to PDF converter all the time :| , but of course direct
compilation is preferable.

Do you have an idea how to solve it?
Thanks


One possibility is to move the graphics insets into LyX notes or 
comments, so that they are retained in the file but ignored on output. 
Another possibility is to find some innocuous EPS file and put multiple 
copies in the folder where the real images originally lived, giving each 
copy the name of one of the image files.


/Paul



Citation style

2009-07-17 Thread Maximilian Melcher

Hello guys,

i have the problem that i cant lyx make my citation look like i want 
them too.
Currently im using dinat 
(http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=dinat) but it 
makes my cites look like normal text.

I want a cite appear as [cite] and not without braces - any way to do it?

thx for your help!
Max




Writing an old fashioned paper: ever try biblatex and biblatex style customization?

2009-07-17 Thread Paul Johnson
I took a contract that requires old fashioned citations in
footnotes, not in-text citations with an attached set of references.
I've not written a paper in that format in 25 years and I've been
digging about for the best way to get it done. I first checked into
jurabib, but learned that it is no longer maintained or developed, and
its author suggests we try biblatex.  OK, I'm game for that. I found a
helpful introduction in the LyX wiki.
(http://wiki.lyx.org/BibTeX/Biblatex).

I wonder if others have experimented with biblatex and LyX beyond the
information in the LyX Wiki?  Here's why I ask. I don't get output
that is exactly right, and I'm casting about for the best way to
change the style of output.

I've installed biblatex-8e (the newest) and updated csquotes to go
with it.  After some trial and error, I'm able to generate a document
that has the biblatex verbose style of citations in footnotes.
Mainly, I'm just following the LyX Wiki to get that far.  HOWEVER, the
precise formatting of the footnotes does not match the publisher's
style sheet, so I started trying to understand the configuration of
biblatex and its manual. It is 176 terse pages, helpful when you
understand quite a bit already, probably not helpful otherwise.  I'm
pretty determined as Linux users go and have written some
documentation for new users (http://wiki.lyx.org/BibTeX/Introduction).
 I've designed bst files in the past for bibtex, but biblatex does not
have any simple scripts to create customized styles.  Furthermore, it
appears to me that customized styles for biblatex on CTAN may break
biblatex.

I came to that conclusion after I lookeded for a short-cut by using
the pre-existing styles on the CTAN like biblatex-mla and
biblatex-chicago-df. The biblatex-mla style doesn't work on my
system--I can't even compile the example tex files.  That could be due
to a change inside biblatex, I don't know.

I can get biblatex-chicago to work, but the steps needed to make it go
are not consistent with the LyX module on the LyX/biblatex wiki page.
It is necessary in LyX to remove the biblatex module. Even then, it is
probably not worth the effort. For reasons I don't understand,
biblatex-chicago does not accept all of the options that biblatex
accepts. One of the most handy things about biblatex is the style
option natbib=true option. In LyX, you can fool the system by using
natbib citations that biblatex will convert to its format. The
biblatex-chicago package does not accept that option, and so one must
be absolutely sure in the LyX document that natbib citations are not
used.  Otherwise, a ton of latex errors will follow. Only plain \cite
will work, and inside LyX I had the trouble that the Document
Bibliography setting kept reverting to natbib, even though I would
repeatedly set it to 'default'. (Turned out the document had a  line
after the preamble that said \use_default_options true  and that was
causing LyX to unset my settings.)  After I got biblatex-chicago to
work, I concluded it was a waste of effort.  I don't think
biblatex-chicago output is a whole lot closer to my final format than
biblatex's builtin verbose style.

I conclude that biblatex users ought to stick with the built-in
biblatex styles, and that if specialized output is needed, one ought
to hack the provided files in the biblatex distribution.

One of the problems I had with biblatex's verbose footnote citations
was that the document issn and URLs were being included. I had a bunch
of ordinary journal citations from JSTOR that I gathered into BiBTeX
with the super-handy citeulike system. The citations were fine,
except they include some fields I consider extraneous, such as the
JSTOR download URL. Instead of deleting the issn and URL info in the
bib file, I wanted to adjust the style.  in the biblatex config files,
there is a file standard.bbx and one can comment out the
bothersome fields with % signs:

Here's what it looks like on lines 38-46

  \setunit{\bibpagespunct}%
  \printfield{pages}
  \newunit\newblock
  %\printfield{issn}%
  %\newunit\newblock
  %\printfield{doi}%
  %\newunit\newblock
  %\usebibmacro{eprint}
  %\newunit\newblock
  %\usebibmacro{url+urldate}%

In addition, for some reason I don't understand, all journal citations
inserted the letters In: before every journal name. I've never need
In: except for proceedings or collections.

The offending bit is in standard.bbx, on lines 637-639:

\newbibmacro*{in:}{%
  \bibstring{in}\addcolon
  \setunit{\space}}

and commenting out the middle like eliminates the In: from the output.

For me, this has been hard work.  I've not found a biblatex email list
or support forum.  The biblatex support page on sourceforge is sparse;
It simply recommends we go discuss in the Usenet in comp.text.tex.  I
would do that, except I have not found a way to post in the Usenet
since my ISP eliminated Usenet service a year ago.

-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: Another Point to Consider in Your Writing

2009-07-17 Thread Eran Kaplinsky
Palatino is a good face, too. It also works well with the microtype 
package as does Minion. I should mention that Minion also has superb 
math and Greek, which makes it suitable for scholarly and technical work.


Bruce Pourciau wrote:


On Jul 17, 2009, at 11:47 AM, Eran Kaplinsky wrote:


Nothing wrong with New Century Schoolbook, but take a look at Minion for
book work. It is easy on the eyes, economical, and the LaTeX package
support is excellent, with small caps and choice of oldstyle or lining
figures, and more. It's already on your computer in OpenType, but for
publishing you might consider licensing the full package.

Eran



And of course there's Palatino, an elegant Roman and italic, designed 
by the great typographer Hermann Zapf. It too comes with old style 
figures and small caps. Wider than the skinny Times, Palatino is very 
readable at 11 pt. LyX has built-in support for Palatino, old style 
figures, small caps, and matching mathematical symbols.


Bruce






Re: Another Point to Consider in Your Writing

2009-07-17 Thread Rich Shepard

On Fri, 17 Jul 2009, Bruce Pourciau wrote:


And of course there's Palatino, an elegant Roman and italic, designed by
the great typographer Hermann Zapf. It too comes with old style figures
and small caps. Wider than the skinny Times, Palatino is very readable at
11 pt. LyX has built-in support for Palatino, old style figures, small
caps, and matching mathematical symbols.


Bruce,

  Palatino and it's math form are my default typefaces. I use 10pt and it is
very easy to read. It is an elegant typeface.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Another Point to Consider in Your Writing

2009-07-17 Thread Steve Litt
On Friday 17 July 2009 03:03:34 pm Bruce Pourciau wrote:
 On Jul 17, 2009, at 11:47 AM, Eran Kaplinsky wrote:
  Nothing wrong with New Century Schoolbook, but take a look at Minion
  for
  book work. It is easy on the eyes, economical, and the LaTeX package
  support is excellent, with small caps and choice of oldstyle or lining
  figures, and more. It's already on your computer in OpenType, but for
  publishing you might consider licensing the full package.
 
  Eran

 And of course there's Palatino, an elegant Roman and italic, designed
 by the great typographer Hermann Zapf. It too comes with old style
 figures and small caps. Wider than the skinny Times, Palatino is very
 readable at 11 pt. LyX has built-in support for Palatino, old style
 figures, small caps, and matching mathematical symbols.

 Bruce

I tried Palatino a long time ago and chose Century Schoolbook instead. In my 
recollection, on my computer, my printer, and my paper, Palatinoo was too 
thin to be strongly readable.

In general, I prioritize readability over all else, including beauty.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Another Point to Consider in Your Writing

2009-07-17 Thread Steve Litt
On Friday 17 July 2009 12:47:48 pm Eran Kaplinsky wrote:
 Nothing wrong with New Century Schoolbook, but take a look at Minion for
 book work. It is easy on the eyes, economical, and the LaTeX package
 support is excellent, with small caps and choice of oldstyle or lining
 figures, and more. It's already on your computer in OpenType, but for
 publishing you might consider licensing the full package.

 Eran

Thanks Eran,

Minion isn't one of the choices I get when picking a LyX font, so I guess I'd 
need to install it into LaTeX or LyX. Any idea how I'd do that?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: lyx + pstricks - pdf

2009-07-17 Thread Jeremy
On Friday 10 July 2009, Jeremy wrote:
 I would like to add to my letters a signature created with inkscape from a
 scanned png and converted to a path and saved as a pstricks .tex file.

 So in my .lyx file I have
 \begin{document}
 \newsavebox{\mysignature}
 \sbox{\mysignature}{\input{./mysignature.tex}}
 . . .
 \begin{minipage}[pos]{width}
 \closingphrase
\vspace{.6in} \\
\begin{textblock*}{2.5in}[0,1](0pt,0pt)
   \usebox{\mysignature}
\end{textblock*}
 My Typed Name
 \end{minipage}

 The above works just fine with lyx for dvi and ps output.
 But I can't generate pdf.

 In order to directly generate pdfs I need to include in my preamble
 \usepackage{auto-pst-pdf}

 and convert to pdf using
 pdflatex --shell-escape file.tex

 However, lyx does not allow me to change or add options to the pdflatex
 converter.

I finally got this to work.
I added the option --shell-escape to the LaTeX (pdflatex) - PDF(pdflatex) and 
clicked modfiy
but when I clicked on the pdf button to regenerate and view the pdf, the 
pstricks logo was missing, but it was visible in the dvi and ps views.

I then clicked on View - PDF(ps2pdf) and the resulting pdf did show the 
pstricks logo. However, my envelopes were rotated to landscape view.

So I then added the auto-pst-pdf option -dAutoRotatePages=/None
\usepackage[ps2pdf={-dAutoRotatePages=/None}]{auto-pst-pdf}

but the envelopes were still rotated to landscape.

So I then changed the converter for Postscript - PDF (ps2pdf)
Converter: ps2pdf13 -dAutoRotatePages=/None $$i $$o

Now I can generate letters+envelopes in pdf format with included pstricks 
logos/signatures.



Re: Citation style

2009-07-17 Thread rgheck

On 07/17/2009 02:57 PM, Maximilian Melcher wrote:

Hello guys,

i have the problem that i cant lyx make my citation look like i want 
them too.
Currently im using dinat 
(http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=dinat) but 
it makes my cites look like normal text.

I want a cite appear as [cite] and not without braces - any way to do it?

I'm not sure, as I don't read German well enough to read the docs. But 
there may be some package option you can use for that.


That said, are you sure you are choosing the right cite style when you 
insert the citation?


rh



Re: Cannot compile PDF with graphics missing, but DVI is fine

2009-07-17 Thread Wolfgang Engelmann
Am Friday 17 July 2009 13:47:58 schrieb nuke:
 I have a doc where I want to hide my graphics for the moment. So I moved my
 eps-files in a folder called 'hide'. In this case compilation of DVI works
 fine, however, when I try to make PDF directly by pressing GUI button it
 fails with the following message:


 Latex Error: Cannot determine size of graphic in mygraph.eps (no size
 specified...
that usually means the figure is not found. 

Wolfgang


Table of contents with lyx -e

2009-07-17 Thread Guillaume Yziquel

Hello.

I have been trying to generate some .pdf from a .lyx file using lyx -e.

Unfortunately, it seems that the table of contents gets messed up: If 
section X is on page n, the internal link points to page n-1.


Generating the .pdf from the LyX graphical environment works fine, however.

Is it me? Or is it LyX?

All the best,

--
 Guillaume Yziquel
http://yziquel.homelinux.org/


Re: Another Point to Consider in Your Writing

2009-07-17 Thread Liviu Andronic
On 7/17/09, Steve Litt sl...@troubleshooters.com wrote:
  I use 12pt Century Schoolbook because Century Schoolbook appears very clear
  and readable to me. If the Book document class supported 14 point, I'd use

Have you tried Book (more font sizes)? Here I can set default font
to New Cent Schoolbook size 14pt.

Liviu


Re: Consolidating the bibliography for article submissions

2009-07-17 Thread Manolo Martí­nez
not sure, I understood your problem. If you don't want to share the whole 
bib-file all.bib, but only the references cited in cited.bib, and your 
document is doc.lyx 
you could e.g. use JabRef as a reference manager and say on a command line

jabref --aux doc.aux,cited.bib all.bib
after having exported your doc.lyx to doc.tex by using fileexportlatex
You would share cited.bib with your colleagues


This is already an improvement from what I was doing, thank you. It's 
not a matter of sharing more or less files. Rather, as you surely know, 
many scientific journal have pretty strict requirements on the 
formatting of bibliography. So you come up with a .bst that suits your 
needs but, then, if you are to submit a .tex paper, you just cannot send 
it using your carefully arranged format. Or else you need to send the 
.bst as well, and trust the LaTeX competence of your correspondent.


That's why I was saying that a way to resolve the references into the 
.tex (or .lyx) document as already formatted /bibitems would be nice.


Anyway, thanks for your help. Cheers,
Manolo




Windows: Graphics preview doesn't work using Lyxlauncher.exe

2009-07-17 Thread Nick Bell
Apologies if this has been said before, but I have only ever been able 
to get graphics preview to work if I start LyX by running lyx.exe. If I 
use the default LyXlauncher.exe, I can't preview .eps, .pdf (although 
.png works).


Is this a known issue?
--
Nick Bell
m...@nickbell.org


Re: List of Tables, numbering problem

2009-07-17 Thread Yago

You can put in your preamble this command:

\renewcommand{\thetable}{\arabic{chapter}.\arabic{table}}
- Original Message - 
From: Laser Yuan laser.y...@gmail.com

To: lyx-users@lists.lyx.org
Sent: Friday, July 17, 2009 7:24 AM
Subject: List of Tables, numbering problem



Hello,

I have tables in Chapters, say, two in the first Chapter, one in the 
second.

And I'm using ASM(book) class.

The numbering comes up with the list of talbes are like this:

1 
2 ...

1 ...

I want it to be:
1.1 ...
1.2 ...

2.1 ...

Could anybody tell me, how this wizard numbering happened. and how to 
solve

it. I attached a sample as bellow for your information

Thanks.
_

#LyX 1.6.1 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass amsbook
\begin_preamble

\end_preamble
\use_default_options true
\begin_modules
theorems-ams
\end_modules
\language english
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing onehalf
\use_hyperref false
\pdf_bookmarks true
\pdf_bookmarksnumbered true
\pdf_bookmarksopen true
\pdf_bookmarksopenlevel 3
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\leftmargin 1.5cm
\topmargin 3cm
\rightmargin 1.5cm
\bottommargin 1.5cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author 
\author 
\end_header

\begin_body

\begin_layout Standard
\begin_inset FloatList table

\end_inset


\end_layout

\begin_layout Chapter
the first chapter
\end_layout

\begin_layout Section
the first section of chapter 1
\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
the first table in chpter 1
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
the second table in chpter 1
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Chapter
the second chapter
\end_layout

\begin_layout Section
the first section of chapter 2
\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
the first chapter in chapter 2
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\end_body
\end_document





Re: Windows: Graphics preview doesn't work using Lyxlauncher.exe

2009-07-17 Thread Yago
Do you have selected the option graphics preview in the Graphics option 
inToolsPreferences?
- Original Message - 
From: Nick Bell m...@nickbell.org

To: Lyx lyx-users@lists.lyx.org
Sent: Friday, July 17, 2009 11:11 AM
Subject: Windows: Graphics preview doesn't work using Lyxlauncher.exe


Apologies if this has been said before, but I have only ever been able to 
get graphics preview to work if I start LyX by running lyx.exe. If I use 
the default LyXlauncher.exe, I can't preview .eps, .pdf (although .png 
works).


Is this a known issue?
--
Nick Bell
m...@nickbell.org 




RE: Windows: Graphics preview doesn't work using Lyxlauncher.exe

2009-07-17 Thread Vincent van Ravesteijn - TNW

Apologies if this has been said before, but I have
only ever been able to get graphics preview to work
if I start LyX by running lyx.exe. If I use the
default LyXlauncher.exe, I can't preview .eps,
.pdf (although .png works).

 Is this a known issue?

Yes, it is known:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg74448.html

Vincent


Cannot compile PDF with graphics missing, but DVI is fine

2009-07-17 Thread nuke

I have a doc where I want to hide my graphics for the moment. So I moved my
eps-files in a folder called 'hide'. In this case compilation of DVI works
fine, however, when I try to make PDF directly by pressing GUI button it
fails with the following message:


Latex Error: Cannot determine size of graphic in mygraph.eps (no size
specified...
...0 0 200 100, draft, type=eps]{swing.eps}
 
Try typing  [return]  to proceed.
If that doesn't work, type  X [return]  to quit.
(it is showed for all missing graphics)

I can use DVI to PDF converter all the time :| , but of course direct
compilation is preferable.

Do you have an idea how to solve it?
Thanks
-- 
View this message in context: 
http://n2.nabble.com/Cannot-compile-PDF-with-graphics-missing%2C-but-DVI-is-fine-tp3274928p3274928.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Windows: Graphics preview doesn't work using Lyxlauncher.exe

2009-07-17 Thread Nick Bell

Vincent van Ravesteijn - TNW wrote:

Is this a known issue?

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg74448.html


Thanks.

--
Nick Bell
m...@nickbell.org


Re: Multiple author affiliations

2009-07-17 Thread E. Kaplan
Thanks.  However, in many journals the authors are listed, sensibly, 
under the title, and not in footnotes.




Ehud Kaplan



I Wayan Warmada wrote:

--- On Fri, 7/17/09, Rich Shepard rshep...@appl-ecosys.com wrote:

  

E. Kaplan:

Rather than superscript placement/sizing, why not
use footnotes? You can
have multiple authors listed and define a footnote for each
one's employer.
LyX will happily digest this.




use authblk.sty from preprint package. The authblk.sty can handle up to 6 
affiliation. I have use by putting this package in preamble like:

\usepackage[auth-lg]{authblk}
   \author[1]{name of author 1}
   \author[1,2]{name of author 2 with two affiliation}
   \affil[1]{affiliation 1}
   \affil[2]{affiliation 2}

etc, please read the documentation.
Btw, you don't need to put the author in editing area, because it already 
define in preamble.

Regards,
Wayan






  
  


Re: Multiple author affiliations

2009-07-17 Thread E. Kaplan
Late breaking news-- it turns out that using superscripts in the AUTHOR 
block does work just fine under WINDOWS, but not in Linux.  More 
research is indicated to discover what Miktex knows that TexLive does 
not.  Stay tuned!




Ehud Kaplan



I Wayan Warmada wrote:

--- On Fri, 7/17/09, Rich Shepard rshep...@appl-ecosys.com wrote:

  

E. Kaplan:

Rather than superscript placement/sizing, why not
use footnotes? You can
have multiple authors listed and define a footnote for each
one's employer.
LyX will happily digest this.




use authblk.sty from preprint package. The authblk.sty can handle up to 6 
affiliation. I have use by putting this package in preamble like:

\usepackage[auth-lg]{authblk}
   \author[1]{name of author 1}
   \author[1,2]{name of author 2 with two affiliation}
   \affil[1]{affiliation 1}
   \affil[2]{affiliation 2}

etc, please read the documentation.
Btw, you don't need to put the author in editing area, because it already 
define in preamble.

Regards,
Wayan






  
  


Re: Typing some text in Lyx with capital letters

2009-07-17 Thread Helge Hafting

John Coppens wrote:

On Thu, 16 Jul 2009 12:02:39 + (GMT)
silvio grosso grossosil...@yahoo.it wrote:


To sum up, is there an option in Lyx to have the same behaviour about
capital letters as Writer or Word?


Do think about this. I have noticed the 'feature' in some editors, then
noticed that those programs also want to be intelligent and, for example
don't permit 'MHz' (they consider the only the first letter should be
capitalized). Then, to solve this, they have an exception table where you
can put those.

I ended up losing more time administering the exceptions than what I
could have ever gained by the capitalize-checking feature.


I agree. And then there are abbreviations like i.e. - no 
capitalization after the period. And there are file names and

programming language constructs with periods. . .

And all the other things autocorrection gets wrong. In Scandinavian 
languages, you're not supposed to capitalize the word i (it means 
in). I have lost count of all the papers I have read with

miscapitalized i.

It is not as if it is hard to hit the shift key now and then. And we 
usually know about our common mistakes and look for them. Absurdity

done by word processors is more tricky. Especially when it can't
be fixed because the stupid thing keeps re-applying a wrong fix. :-(

I hope LyX won't fall into that trap.

Helge Hafting



Re: Another Point to Consider in Your Writing

2009-07-17 Thread Steve Litt
On Friday 17 July 2009 03:57:26 am Liviu Andronic wrote:
 On 7/17/09, Steve Litt sl...@troubleshooters.com wrote:
   I use 12pt Century Schoolbook because Century Schoolbook appears very
  clear and readable to me. If the Book document class supported 14 point,
  I'd use

 Have you tried Book (more font sizes)? Here I can set default font
 to New Cent Schoolbook size 14pt.

That's the specific other document class I was thinking about when I said the 
Book doc class supports only up to 12. The Book (more font sizes) is a 
different document class.

You bring up a good point. I wonder how different it is. If the only 
difference is really only possible font sizes, this might be something for me 
to consider.

Thanks

SteveT
 
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Another Point to Consider in Your Writing

2009-07-17 Thread Eran Kaplinsky
Nothing wrong with New Century Schoolbook, but take a look at Minion for 
book work. It is easy on the eyes, economical, and the LaTeX package 
support is excellent, with small caps and choice of oldstyle or lining 
figures, and more. It's already on your computer in OpenType, but for 
publishing you might consider licensing the full package.


Eran



Re: Cannot compile PDF with graphics missing, but DVI is fine

2009-07-17 Thread Paul A. Rubin

nuke wrote:

I have a doc where I want to hide my graphics for the moment. So I moved my
eps-files in a folder called 'hide'. In this case compilation of DVI works
fine, however, when I try to make PDF directly by pressing GUI button it
fails with the following message:


Latex Error: Cannot determine size of graphic in mygraph.eps (no size
specified...
...0 0 200 100, draft, type=eps]{swing.eps}
 
Try typing  [return]  to proceed.

If that doesn't work, type  X [return]  to quit.
(it is showed for all missing graphics)

I can use DVI to PDF converter all the time :| , but of course direct
compilation is preferable.

Do you have an idea how to solve it?
Thanks


One possibility is to move the graphics insets into LyX notes or 
comments, so that they are retained in the file but ignored on output. 
Another possibility is to find some innocuous EPS file and put multiple 
copies in the folder where the real images originally lived, giving each 
copy the name of one of the image files.


/Paul



Citation style

2009-07-17 Thread Maximilian Melcher

Hello guys,

i have the problem that i cant lyx make my citation look like i want 
them too.
Currently im using dinat 
(http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=dinat) but it 
makes my cites look like normal text.

I want a cite appear as [cite] and not without braces - any way to do it?

thx for your help!
Max




Writing an old fashioned paper: ever try biblatex and biblatex style customization?

2009-07-17 Thread Paul Johnson
I took a contract that requires old fashioned citations in
footnotes, not in-text citations with an attached set of references.
I've not written a paper in that format in 25 years and I've been
digging about for the best way to get it done. I first checked into
jurabib, but learned that it is no longer maintained or developed, and
its author suggests we try biblatex.  OK, I'm game for that. I found a
helpful introduction in the LyX wiki.
(http://wiki.lyx.org/BibTeX/Biblatex).

I wonder if others have experimented with biblatex and LyX beyond the
information in the LyX Wiki?  Here's why I ask. I don't get output
that is exactly right, and I'm casting about for the best way to
change the style of output.

I've installed biblatex-8e (the newest) and updated csquotes to go
with it.  After some trial and error, I'm able to generate a document
that has the biblatex verbose style of citations in footnotes.
Mainly, I'm just following the LyX Wiki to get that far.  HOWEVER, the
precise formatting of the footnotes does not match the publisher's
style sheet, so I started trying to understand the configuration of
biblatex and its manual. It is 176 terse pages, helpful when you
understand quite a bit already, probably not helpful otherwise.  I'm
pretty determined as Linux users go and have written some
documentation for new users (http://wiki.lyx.org/BibTeX/Introduction).
 I've designed bst files in the past for bibtex, but biblatex does not
have any simple scripts to create customized styles.  Furthermore, it
appears to me that customized styles for biblatex on CTAN may break
biblatex.

I came to that conclusion after I lookeded for a short-cut by using
the pre-existing styles on the CTAN like biblatex-mla and
biblatex-chicago-df. The biblatex-mla style doesn't work on my
system--I can't even compile the example tex files.  That could be due
to a change inside biblatex, I don't know.

I can get biblatex-chicago to work, but the steps needed to make it go
are not consistent with the LyX module on the LyX/biblatex wiki page.
It is necessary in LyX to remove the biblatex module. Even then, it is
probably not worth the effort. For reasons I don't understand,
biblatex-chicago does not accept all of the options that biblatex
accepts. One of the most handy things about biblatex is the style
option natbib=true option. In LyX, you can fool the system by using
natbib citations that biblatex will convert to its format. The
biblatex-chicago package does not accept that option, and so one must
be absolutely sure in the LyX document that natbib citations are not
used.  Otherwise, a ton of latex errors will follow. Only plain \cite
will work, and inside LyX I had the trouble that the Document
Bibliography setting kept reverting to natbib, even though I would
repeatedly set it to 'default'. (Turned out the document had a  line
after the preamble that said \use_default_options true  and that was
causing LyX to unset my settings.)  After I got biblatex-chicago to
work, I concluded it was a waste of effort.  I don't think
biblatex-chicago output is a whole lot closer to my final format than
biblatex's builtin verbose style.

I conclude that biblatex users ought to stick with the built-in
biblatex styles, and that if specialized output is needed, one ought
to hack the provided files in the biblatex distribution.

One of the problems I had with biblatex's verbose footnote citations
was that the document issn and URLs were being included. I had a bunch
of ordinary journal citations from JSTOR that I gathered into BiBTeX
with the super-handy citeulike system. The citations were fine,
except they include some fields I consider extraneous, such as the
JSTOR download URL. Instead of deleting the issn and URL info in the
bib file, I wanted to adjust the style.  in the biblatex config files,
there is a file standard.bbx and one can comment out the
bothersome fields with % signs:

Here's what it looks like on lines 38-46

  \setunit{\bibpagespunct}%
  \printfield{pages}
  \newunit\newblock
  %\printfield{issn}%
  %\newunit\newblock
  %\printfield{doi}%
  %\newunit\newblock
  %\usebibmacro{eprint}
  %\newunit\newblock
  %\usebibmacro{url+urldate}%

In addition, for some reason I don't understand, all journal citations
inserted the letters In: before every journal name. I've never need
In: except for proceedings or collections.

The offending bit is in standard.bbx, on lines 637-639:

\newbibmacro*{in:}{%
  \bibstring{in}\addcolon
  \setunit{\space}}

and commenting out the middle like eliminates the In: from the output.

For me, this has been hard work.  I've not found a biblatex email list
or support forum.  The biblatex support page on sourceforge is sparse;
It simply recommends we go discuss in the Usenet in comp.text.tex.  I
would do that, except I have not found a way to post in the Usenet
since my ISP eliminated Usenet service a year ago.

-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: Another Point to Consider in Your Writing

2009-07-17 Thread Eran Kaplinsky
Palatino is a good face, too. It also works well with the microtype 
package as does Minion. I should mention that Minion also has superb 
math and Greek, which makes it suitable for scholarly and technical work.


Bruce Pourciau wrote:


On Jul 17, 2009, at 11:47 AM, Eran Kaplinsky wrote:


Nothing wrong with New Century Schoolbook, but take a look at Minion for
book work. It is easy on the eyes, economical, and the LaTeX package
support is excellent, with small caps and choice of oldstyle or lining
figures, and more. It's already on your computer in OpenType, but for
publishing you might consider licensing the full package.

Eran



And of course there's Palatino, an elegant Roman and italic, designed 
by the great typographer Hermann Zapf. It too comes with old style 
figures and small caps. Wider than the skinny Times, Palatino is very 
readable at 11 pt. LyX has built-in support for Palatino, old style 
figures, small caps, and matching mathematical symbols.


Bruce






Re: Another Point to Consider in Your Writing

2009-07-17 Thread Rich Shepard

On Fri, 17 Jul 2009, Bruce Pourciau wrote:


And of course there's Palatino, an elegant Roman and italic, designed by
the great typographer Hermann Zapf. It too comes with old style figures
and small caps. Wider than the skinny Times, Palatino is very readable at
11 pt. LyX has built-in support for Palatino, old style figures, small
caps, and matching mathematical symbols.


Bruce,

  Palatino and it's math form are my default typefaces. I use 10pt and it is
very easy to read. It is an elegant typeface.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Another Point to Consider in Your Writing

2009-07-17 Thread Steve Litt
On Friday 17 July 2009 03:03:34 pm Bruce Pourciau wrote:
 On Jul 17, 2009, at 11:47 AM, Eran Kaplinsky wrote:
  Nothing wrong with New Century Schoolbook, but take a look at Minion
  for
  book work. It is easy on the eyes, economical, and the LaTeX package
  support is excellent, with small caps and choice of oldstyle or lining
  figures, and more. It's already on your computer in OpenType, but for
  publishing you might consider licensing the full package.
 
  Eran

 And of course there's Palatino, an elegant Roman and italic, designed
 by the great typographer Hermann Zapf. It too comes with old style
 figures and small caps. Wider than the skinny Times, Palatino is very
 readable at 11 pt. LyX has built-in support for Palatino, old style
 figures, small caps, and matching mathematical symbols.

 Bruce

I tried Palatino a long time ago and chose Century Schoolbook instead. In my 
recollection, on my computer, my printer, and my paper, Palatinoo was too 
thin to be strongly readable.

In general, I prioritize readability over all else, including beauty.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Another Point to Consider in Your Writing

2009-07-17 Thread Steve Litt
On Friday 17 July 2009 12:47:48 pm Eran Kaplinsky wrote:
 Nothing wrong with New Century Schoolbook, but take a look at Minion for
 book work. It is easy on the eyes, economical, and the LaTeX package
 support is excellent, with small caps and choice of oldstyle or lining
 figures, and more. It's already on your computer in OpenType, but for
 publishing you might consider licensing the full package.

 Eran

Thanks Eran,

Minion isn't one of the choices I get when picking a LyX font, so I guess I'd 
need to install it into LaTeX or LyX. Any idea how I'd do that?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: lyx + pstricks - pdf

2009-07-17 Thread Jeremy
On Friday 10 July 2009, Jeremy wrote:
 I would like to add to my letters a signature created with inkscape from a
 scanned png and converted to a path and saved as a pstricks .tex file.

 So in my .lyx file I have
 \begin{document}
 \newsavebox{\mysignature}
 \sbox{\mysignature}{\input{./mysignature.tex}}
 . . .
 \begin{minipage}[pos]{width}
 \closingphrase
\vspace{.6in} \\
\begin{textblock*}{2.5in}[0,1](0pt,0pt)
   \usebox{\mysignature}
\end{textblock*}
 My Typed Name
 \end{minipage}

 The above works just fine with lyx for dvi and ps output.
 But I can't generate pdf.

 In order to directly generate pdfs I need to include in my preamble
 \usepackage{auto-pst-pdf}

 and convert to pdf using
 pdflatex --shell-escape file.tex

 However, lyx does not allow me to change or add options to the pdflatex
 converter.

I finally got this to work.
I added the option --shell-escape to the LaTeX (pdflatex) - PDF(pdflatex) and 
clicked modfiy
but when I clicked on the pdf button to regenerate and view the pdf, the 
pstricks logo was missing, but it was visible in the dvi and ps views.

I then clicked on View - PDF(ps2pdf) and the resulting pdf did show the 
pstricks logo. However, my envelopes were rotated to landscape view.

So I then added the auto-pst-pdf option -dAutoRotatePages=/None
\usepackage[ps2pdf={-dAutoRotatePages=/None}]{auto-pst-pdf}

but the envelopes were still rotated to landscape.

So I then changed the converter for Postscript - PDF (ps2pdf)
Converter: ps2pdf13 -dAutoRotatePages=/None $$i $$o

Now I can generate letters+envelopes in pdf format with included pstricks 
logos/signatures.



Re: Citation style

2009-07-17 Thread rgheck

On 07/17/2009 02:57 PM, Maximilian Melcher wrote:

Hello guys,

i have the problem that i cant lyx make my citation look like i want 
them too.
Currently im using dinat 
(http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=dinat) but 
it makes my cites look like normal text.

I want a cite appear as [cite] and not without braces - any way to do it?

I'm not sure, as I don't read German well enough to read the docs. But 
there may be some package option you can use for that.


That said, are you sure you are choosing the right cite style when you 
insert the citation?


rh



Re: Cannot compile PDF with graphics missing, but DVI is fine

2009-07-17 Thread Wolfgang Engelmann
Am Friday 17 July 2009 13:47:58 schrieb nuke:
 I have a doc where I want to hide my graphics for the moment. So I moved my
 eps-files in a folder called 'hide'. In this case compilation of DVI works
 fine, however, when I try to make PDF directly by pressing GUI button it
 fails with the following message:


 Latex Error: Cannot determine size of graphic in mygraph.eps (no size
 specified...
that usually means the figure is not found. 

Wolfgang


Table of contents with lyx -e

2009-07-17 Thread Guillaume Yziquel

Hello.

I have been trying to generate some .pdf from a .lyx file using lyx -e.

Unfortunately, it seems that the table of contents gets messed up: If 
section X is on page n, the internal link points to page n-1.


Generating the .pdf from the LyX graphical environment works fine, however.

Is it me? Or is it LyX?

All the best,

--
 Guillaume Yziquel
http://yziquel.homelinux.org/


Re: Another Point to Consider in Your Writing

2009-07-17 Thread Liviu Andronic
On 7/17/09, Steve Litt  wrote:
>  I use 12pt Century Schoolbook because Century Schoolbook appears very clear
>  and readable to me. If the Book document class supported 14 point, I'd use
>
Have you tried "Book (more font sizes)"? Here I can set default font
to New Cent Schoolbook size 14pt.

Liviu


Re: Consolidating the bibliography for article submissions

2009-07-17 Thread Manolo Martí­nez
not sure, I understood your problem. If you don't want to share the whole 
bib-file all.bib, but only the references cited in cited.bib, and your 
document is doc.lyx 
you could e.g. use JabRef as a reference manager and say on a command line

jabref --aux doc.aux,cited.bib all.bib
after having exported your doc.lyx to doc.tex by using file>export>latex
You would share cited.bib with your colleagues


This is already an improvement from what I was doing, thank you. It's 
not a matter of sharing more or less files. Rather, as you surely know, 
many scientific journal have pretty strict requirements on the 
formatting of bibliography. So you come up with a .bst that suits your 
needs but, then, if you are to submit a .tex paper, you just cannot send 
it using your carefully arranged format. Or else you need to send the 
.bst as well, and trust the LaTeX competence of your correspondent.


That's why I was saying that a way to resolve the references into the 
.tex (or .lyx) document as already formatted /bibitems would be nice.


Anyway, thanks for your help. Cheers,
Manolo




Windows: Graphics preview doesn't work using Lyxlauncher.exe

2009-07-17 Thread Nick Bell
Apologies if this has been said before, but I have only ever been able 
to get graphics preview to work if I start LyX by running lyx.exe. If I 
use the default LyXlauncher.exe, I can't preview .eps, .pdf (although 
.png works).


Is this a known issue?
--
Nick Bell
m...@nickbell.org


Re: List of Tables, numbering problem

2009-07-17 Thread Yago

You can put in your preamble this command:

\renewcommand{\thetable}{\arabic{chapter}.\arabic{table}}
- Original Message - 
From: "Laser Yuan" 

To: 
Sent: Friday, July 17, 2009 7:24 AM
Subject: List of Tables, numbering problem



Hello,

I have tables in Chapters, say, two in the first Chapter, one in the 
second.

And I'm using ASM(book) class.

The numbering comes up with the "list of talbes" are like this:

1 
2 ...

1 ...

I want it to be:
1.1 ...
1.2 ...

2.1 ...

Could anybody tell me, how this wizard numbering happened. and how to 
solve

it. I attached a sample as bellow for your information

Thanks.
_

#LyX 1.6.1 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass amsbook
\begin_preamble

\end_preamble
\use_default_options true
\begin_modules
theorems-ams
\end_modules
\language english
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing onehalf
\use_hyperref false
\pdf_bookmarks true
\pdf_bookmarksnumbered true
\pdf_bookmarksopen true
\pdf_bookmarksopenlevel 3
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\leftmargin 1.5cm
\topmargin 3cm
\rightmargin 1.5cm
\bottommargin 1.5cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author ""
\author ""
\end_header

\begin_body

\begin_layout Standard
\begin_inset FloatList table

\end_inset


\end_layout

\begin_layout Chapter
the first chapter
\end_layout

\begin_layout Section
the first section of chapter 1
\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
the first table in chpter 1
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
the second table in chpter 1
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Chapter
the second chapter
\end_layout

\begin_layout Section
the first section of chapter 2
\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
the first chapter in chapter 2
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\end_body
\end_document





Re: Windows: Graphics preview doesn't work using Lyxlauncher.exe

2009-07-17 Thread Yago
Do you have selected the option "graphics preview" in the Graphics option 
inTools>Preferences?
- Original Message - 
From: "Nick Bell" 

To: "Lyx" 
Sent: Friday, July 17, 2009 11:11 AM
Subject: Windows: Graphics preview doesn't work using Lyxlauncher.exe


Apologies if this has been said before, but I have only ever been able to 
get graphics preview to work if I start LyX by running lyx.exe. If I use 
the default LyXlauncher.exe, I can't preview .eps, .pdf (although .png 
works).


Is this a known issue?
--
Nick Bell
m...@nickbell.org 




RE: Windows: Graphics preview doesn't work using Lyxlauncher.exe

2009-07-17 Thread Vincent van Ravesteijn - TNW

>Apologies if this has been said before, but I have
>only ever been able to get graphics preview to work
>if I start LyX by running lyx.exe. If I use the
>default LyXlauncher.exe, I can't preview .eps,
>.pdf (although .png works).

> Is this a known issue?

Yes, it is known:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg74448.html

Vincent


Cannot compile PDF with graphics missing, but DVI is fine

2009-07-17 Thread nuke

I have a doc where I want to hide my graphics for the moment. So I moved my
eps-files in a folder called 'hide'. In this case compilation of DVI works
fine, however, when I try to make PDF directly by pressing GUI button it
fails with the following message:


Latex Error: Cannot determine size of graphic in mygraph.eps (no size
specified...
...0 0 200 100, draft, type=eps]{swing.eps}
 
Try typing  [return]  to proceed.
If that doesn't work, type  X [return]  to quit.
(it is showed for all missing graphics)

I can use DVI to PDF converter all the time :| , but of course direct
compilation is preferable.

Do you have an idea how to solve it?
Thanks
-- 
View this message in context: 
http://n2.nabble.com/Cannot-compile-PDF-with-graphics-missing%2C-but-DVI-is-fine-tp3274928p3274928.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Windows: Graphics preview doesn't work using Lyxlauncher.exe

2009-07-17 Thread Nick Bell

Vincent van Ravesteijn - TNW wrote:

Is this a known issue?

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg74448.html


Thanks.

--
Nick Bell
m...@nickbell.org


Re: Multiple author affiliations

2009-07-17 Thread E. Kaplan
Thanks.  However, in many journals the authors are listed, sensibly, 
under the title, and not in footnotes.




Ehud Kaplan



I Wayan Warmada wrote:

--- On Fri, 7/17/09, Rich Shepard  wrote:

  

E. Kaplan:

Rather than superscript placement/sizing, why not
use footnotes? You can
have multiple authors listed and define a footnote for each
one's employer.
LyX will happily digest this.




use authblk.sty from preprint package. The authblk.sty can handle up to 6 
affiliation. I have use by putting this package in preamble like:

\usepackage[auth-lg]{authblk}
   \author[1]{name of author 1}
   \author[1,2]{name of author 2 with two affiliation}
   \affil[1]{affiliation 1}
   \affil[2]{affiliation 2}

etc, please read the documentation.
Btw, you don't need to put the author in editing area, because it already 
define in preamble.

Regards,
Wayan






  
  


Re: Multiple author affiliations

2009-07-17 Thread E. Kaplan
Late breaking news-- it turns out that using superscripts in the AUTHOR 
block does work just fine under WINDOWS, but not in Linux.  More 
research is indicated to discover what Miktex knows that TexLive does 
not.  Stay tuned!




Ehud Kaplan



I Wayan Warmada wrote:

--- On Fri, 7/17/09, Rich Shepard  wrote:

  

E. Kaplan:

Rather than superscript placement/sizing, why not
use footnotes? You can
have multiple authors listed and define a footnote for each
one's employer.
LyX will happily digest this.




use authblk.sty from preprint package. The authblk.sty can handle up to 6 
affiliation. I have use by putting this package in preamble like:

\usepackage[auth-lg]{authblk}
   \author[1]{name of author 1}
   \author[1,2]{name of author 2 with two affiliation}
   \affil[1]{affiliation 1}
   \affil[2]{affiliation 2}

etc, please read the documentation.
Btw, you don't need to put the author in editing area, because it already 
define in preamble.

Regards,
Wayan






  
  


Re: Typing some text in Lyx with capital letters

2009-07-17 Thread Helge Hafting

John Coppens wrote:

On Thu, 16 Jul 2009 12:02:39 + (GMT)
silvio grosso  wrote:


To sum up, is there an option in Lyx to have the same behaviour about
capital letters as Writer or Word?


Do think about this. I have noticed the 'feature' in some editors, then
noticed that those programs also want to be intelligent and, for example
don't permit 'MHz' (they consider the only the first letter should be
capitalized). Then, to solve this, they have an exception table where you
can put those.

I ended up losing more time administering the exceptions than what I
could have ever gained by the capitalize-checking feature.


I agree. And then there are abbreviations like "i.e." - no 
capitalization after the period. And there are file names and

programming language constructs with periods. . .

And all the other things autocorrection gets wrong. In Scandinavian 
languages, you're not supposed to capitalize the word "i" (it means 
"in"). I have lost count of all the papers I have read with

miscapitalized "i".

It is not as if it is hard to hit the shift key now and then. And we 
usually know about our "common mistakes" and look for them. Absurdity

done by word processors is more tricky. Especially when it can't
be fixed because the stupid thing keeps re-applying a wrong fix. :-(

I hope LyX won't fall into that trap.

Helge Hafting



Re: Another Point to Consider in Your Writing

2009-07-17 Thread Steve Litt
On Friday 17 July 2009 03:57:26 am Liviu Andronic wrote:
> On 7/17/09, Steve Litt  wrote:
> >  I use 12pt Century Schoolbook because Century Schoolbook appears very
> > clear and readable to me. If the Book document class supported 14 point,
> > I'd use
>
> Have you tried "Book (more font sizes)"? Here I can set default font
> to New Cent Schoolbook size 14pt.

That's the specific other document class I was thinking about when I said the 
Book doc class supports only up to 12. The "Book (more font sizes)" is a 
different document class.

You bring up a good point. I wonder how different it is. If the only 
difference is really only possible font sizes, this might be something for me 
to consider.

Thanks

SteveT
 
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Another Point to Consider in Your Writing

2009-07-17 Thread Eran Kaplinsky
Nothing wrong with New Century Schoolbook, but take a look at Minion for 
book work. It is easy on the eyes, economical, and the LaTeX package 
support is excellent, with small caps and choice of oldstyle or lining 
figures, and more. It's already on your computer in OpenType, but for 
publishing you might consider licensing the full package.


Eran



Re: Cannot compile PDF with graphics missing, but DVI is fine

2009-07-17 Thread Paul A. Rubin

nuke wrote:

I have a doc where I want to hide my graphics for the moment. So I moved my
eps-files in a folder called 'hide'. In this case compilation of DVI works
fine, however, when I try to make PDF directly by pressing GUI button it
fails with the following message:


Latex Error: Cannot determine size of graphic in mygraph.eps (no size
specified...
...0 0 200 100, draft, type=eps]{swing.eps}
 
Try typing  [return]  to proceed.

If that doesn't work, type  X [return]  to quit.
(it is showed for all missing graphics)

I can use DVI to PDF converter all the time :| , but of course direct
compilation is preferable.

Do you have an idea how to solve it?
Thanks


One possibility is to move the graphics insets into LyX notes or 
comments, so that they are retained in the file but ignored on output. 
Another possibility is to find some innocuous EPS file and put multiple 
copies in the folder where the real images originally lived, giving each 
copy the name of one of the image files.


/Paul



Citation style

2009-07-17 Thread Maximilian Melcher

Hello guys,

i have the problem that i cant lyx make my citation look like i want 
them too.
Currently im using dinat 
(http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=dinat) but it 
makes my cites look like normal text.

I want a cite appear as [cite] and not without braces - any way to do it?

thx for your help!
Max




Writing an old fashioned paper: ever try biblatex and biblatex style customization?

2009-07-17 Thread Paul Johnson
I took a contract that requires "old fashioned" citations in
footnotes, not in-text citations with an attached set of references.
I've not written a paper in that format in 25 years and I've been
digging about for the best way to get it done. I first checked into
jurabib, but learned that it is no longer maintained or developed, and
its author suggests we try biblatex.  OK, I'm game for that. I found a
helpful introduction in the LyX wiki.
(http://wiki.lyx.org/BibTeX/Biblatex).

I wonder if others have experimented with biblatex and LyX beyond the
information in the LyX Wiki?  Here's why I ask. I don't get output
that is exactly right, and I'm casting about for the best way to
change the style of output.

I've installed biblatex-8e (the newest) and updated csquotes to go
with it.  After some trial and error, I'm able to generate a document
that has the biblatex verbose style of citations in footnotes.
Mainly, I'm just following the LyX Wiki to get that far.  HOWEVER, the
precise formatting of the footnotes does not match the publisher's
style sheet, so I started trying to understand the configuration of
biblatex and its manual. It is 176 terse pages, helpful when you
understand quite a bit already, probably not helpful otherwise.  I'm
pretty determined as Linux users go and have written some
documentation for new users (http://wiki.lyx.org/BibTeX/Introduction).
 I've designed bst files in the past for bibtex, but biblatex does not
have any simple scripts to create customized styles.  Furthermore, it
appears to me that customized styles for biblatex on CTAN may "break"
biblatex.

I came to that conclusion after I lookeded for a short-cut by using
the pre-existing styles on the CTAN like "biblatex-mla" and
"biblatex-chicago-df". The biblatex-mla style doesn't work on my
system--I can't even compile the example tex files.  That could be due
to a change inside biblatex, I don't know.

I can get biblatex-chicago to work, but the steps needed to make it go
are not consistent with the LyX module on the LyX/biblatex wiki page.
It is necessary in LyX to remove the biblatex module. Even then, it is
probably not worth the effort. For reasons I don't understand,
biblatex-chicago does not accept all of the options that biblatex
accepts. One of the most handy things about biblatex is the style
option natbib=true option. In LyX, you can "fool" the system by using
natbib citations that biblatex will convert to its format. The
biblatex-chicago package does not accept that option, and so one must
be absolutely sure in the LyX document that natbib citations are not
used.  Otherwise, a ton of latex errors will follow. Only plain \cite
will work, and inside LyX I had the trouble that the Document
Bibliography setting kept reverting to natbib, even though I would
repeatedly set it to 'default'. (Turned out the document had a  line
after the preamble that said "\use_default_options true"  and that was
causing LyX to unset my settings.)  After I got biblatex-chicago to
work, I concluded it was a waste of effort.  I don't think
biblatex-chicago output is a whole lot closer to my final format than
biblatex's builtin verbose style.

I conclude that biblatex users ought to stick with the built-in
biblatex styles, and that if specialized output is needed, one ought
to hack the provided files in the biblatex distribution.

One of the problems I had with biblatex's verbose footnote citations
was that the document issn and URLs were being included. I had a bunch
of ordinary journal citations from JSTOR that I gathered into BiBTeX
with the super-handy "citeulike" system. The citations were fine,
except they include some fields I consider extraneous, such as the
JSTOR download URL. Instead of deleting the issn and URL info in the
bib file, I wanted to adjust the style.  in the biblatex config files,
there is a file "standard.bbx" and one can "comment out" the
bothersome fields with % signs:

Here's what it looks like on lines 38-46

  \setunit{\bibpagespunct}%
  \printfield{pages}
  \newunit\newblock
  %\printfield{issn}%
  %\newunit\newblock
  %\printfield{doi}%
  %\newunit\newblock
  %\usebibmacro{eprint}
  %\newunit\newblock
  %\usebibmacro{url+urldate}%

In addition, for some reason I don't understand, all journal citations
inserted the letters "In:" before every journal name. I've never need
"In:" except for proceedings or collections.

The offending bit is in standard.bbx, on lines 637-639:

\newbibmacro*{in:}{%
  \bibstring{in}\addcolon
  \setunit{\space}}

and commenting out the middle like eliminates the "In:" from the output.

For me, this has been hard work.  I've not found a biblatex email list
or support forum.  The biblatex support page on sourceforge is sparse;
It simply recommends we go discuss in the Usenet in comp.text.tex.  I
would do that, except I have not found a way to post in the Usenet
since my ISP eliminated Usenet service a year ago.

-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504

Re: Another Point to Consider in Your Writing

2009-07-17 Thread Eran Kaplinsky
Palatino is a good face, too. It also works well with the microtype 
package as does Minion. I should mention that Minion also has superb 
math and Greek, which makes it suitable for scholarly and technical work.


Bruce Pourciau wrote:


On Jul 17, 2009, at 11:47 AM, Eran Kaplinsky wrote:


Nothing wrong with New Century Schoolbook, but take a look at Minion for
book work. It is easy on the eyes, economical, and the LaTeX package
support is excellent, with small caps and choice of oldstyle or lining
figures, and more. It's already on your computer in OpenType, but for
publishing you might consider licensing the full package.

Eran



And of course there's Palatino, an elegant Roman and italic, designed 
by the great typographer Hermann Zapf. It too comes with old style 
figures and small caps. Wider than the skinny Times, Palatino is very 
readable at 11 pt. LyX has built-in support for Palatino, old style 
figures, small caps, and matching mathematical symbols.


Bruce






Re: Another Point to Consider in Your Writing

2009-07-17 Thread Rich Shepard

On Fri, 17 Jul 2009, Bruce Pourciau wrote:


And of course there's Palatino, an elegant Roman and italic, designed by
the great typographer Hermann Zapf. It too comes with old style figures
and small caps. Wider than the skinny Times, Palatino is very readable at
11 pt. LyX has built-in support for Palatino, old style figures, small
caps, and matching mathematical symbols.


Bruce,

  Palatino and it's math form are my default typefaces. I use 10pt and it is
very easy to read. It is an elegant typeface.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Another Point to Consider in Your Writing

2009-07-17 Thread Steve Litt
On Friday 17 July 2009 03:03:34 pm Bruce Pourciau wrote:
> On Jul 17, 2009, at 11:47 AM, Eran Kaplinsky wrote:
> > Nothing wrong with New Century Schoolbook, but take a look at Minion
> > for
> > book work. It is easy on the eyes, economical, and the LaTeX package
> > support is excellent, with small caps and choice of oldstyle or lining
> > figures, and more. It's already on your computer in OpenType, but for
> > publishing you might consider licensing the full package.
> >
> > Eran
>
> And of course there's Palatino, an elegant Roman and italic, designed
> by the great typographer Hermann Zapf. It too comes with old style
> figures and small caps. Wider than the skinny Times, Palatino is very
> readable at 11 pt. LyX has built-in support for Palatino, old style
> figures, small caps, and matching mathematical symbols.
>
> Bruce

I tried Palatino a long time ago and chose Century Schoolbook instead. In my 
recollection, on my computer, my printer, and my paper, Palatinoo was too 
thin to be strongly readable.

In general, I prioritize readability over all else, including beauty.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Another Point to Consider in Your Writing

2009-07-17 Thread Steve Litt
On Friday 17 July 2009 12:47:48 pm Eran Kaplinsky wrote:
> Nothing wrong with New Century Schoolbook, but take a look at Minion for
> book work. It is easy on the eyes, economical, and the LaTeX package
> support is excellent, with small caps and choice of oldstyle or lining
> figures, and more. It's already on your computer in OpenType, but for
> publishing you might consider licensing the full package.
>
> Eran

Thanks Eran,

Minion isn't one of the choices I get when picking a LyX font, so I guess I'd 
need to "install" it into LaTeX or LyX. Any idea how I'd do that?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: lyx + pstricks -> pdf

2009-07-17 Thread Jeremy
On Friday 10 July 2009, Jeremy wrote:
> I would like to add to my letters a signature created with inkscape from a
> scanned png and converted to a path and saved as a pstricks .tex file.
>
> So in my .lyx file I have
> \begin{document}
> \newsavebox{\mysignature}
> \sbox{\mysignature}{\input{./mysignature.tex}}
> . . .
> \begin{minipage}[pos]{width}
> \closingphrase
>\vspace{.6in} \\
>\begin{textblock*}{2.5in}[0,1](0pt,0pt)
>   \usebox{\mysignature}
>\end{textblock*}
> My Typed Name
> \end{minipage}
>
> The above works just fine with lyx for dvi and ps output.
> But I can't generate pdf.
>
> In order to directly generate pdfs I need to include in my preamble
> \usepackage{auto-pst-pdf}
>
> and convert to pdf using
> pdflatex --shell-escape file.tex
>
> However, lyx does not allow me to change or add options to the pdflatex
> converter.

I finally got this to work.
I added the option --shell-escape to the LaTeX (pdflatex) -> PDF(pdflatex) and 
clicked "modfiy"
but when I clicked on the pdf button to regenerate and view the pdf, the 
pstricks logo was missing, but it was visible in the dvi and ps views.

I then clicked on "View -> PDF(ps2pdf)" and the resulting pdf did show the 
pstricks logo. However, my envelopes were rotated to landscape view.

So I then added the auto-pst-pdf option -dAutoRotatePages=/None
\usepackage[ps2pdf={-dAutoRotatePages=/None}]{auto-pst-pdf}

but the envelopes were still rotated to landscape.

So I then changed the converter for "Postscript -> PDF (ps2pdf)"
Converter: "ps2pdf13 -dAutoRotatePages=/None $$i $$o"

Now I can generate letters+envelopes in pdf format with included pstricks 
logos/signatures.



Re: Citation style

2009-07-17 Thread rgheck

On 07/17/2009 02:57 PM, Maximilian Melcher wrote:

Hello guys,

i have the problem that i cant lyx make my citation look like i want 
them too.
Currently im using dinat 
(http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=dinat) but 
it makes my cites look like normal text.

I want a cite appear as [cite] and not without braces - any way to do it?

I'm not sure, as I don't read German well enough to read the docs. But 
there may be some package option you can use for that.


That said, are you sure you are choosing the right cite style when you 
insert the citation?


rh



Re: Cannot compile PDF with graphics missing, but DVI is fine

2009-07-17 Thread Wolfgang Engelmann
Am Friday 17 July 2009 13:47:58 schrieb nuke:
> I have a doc where I want to hide my graphics for the moment. So I moved my
> eps-files in a folder called 'hide'. In this case compilation of DVI works
> fine, however, when I try to make PDF directly by pressing GUI button it
> fails with the following message:
>
>
> Latex Error: Cannot determine size of graphic in mygraph.eps (no size
> specified...
that usually means the figure is not found. 

Wolfgang


Table of contents with lyx -e

2009-07-17 Thread Guillaume Yziquel

Hello.

I have been trying to generate some .pdf from a .lyx file using lyx -e.

Unfortunately, it seems that the table of contents gets messed up: If 
section X is on page n, the internal link points to page n-1.


Generating the .pdf from the LyX graphical environment works fine, however.

Is it me? Or is it LyX?

All the best,

--
 Guillaume Yziquel
http://yziquel.homelinux.org/