Re: file recovery

2009-07-02 Thread humanengr

Helge, Olivier -- thanks.

On my Mac (10.5.7), the backup preference doesn't seem to work. The 
~ file gets created at the first save and gets updated at 
subsequent saves to reflect the prior save.


The emergency file has appeared on each of the handful of crashes 
I've had the pleasure to witness.


The # files (i.e., filenames of the form #newfile1.lyx#) have 
appeared only a few times -- IIRC shortly after I create a new file 
(presumably at the first save) in lieu of the ~ file.


Does anyone know what role the # are supposed to play?

humanengr


At 3:17 PM +0200 7/1/09, Helge Hafting wrote:

My impression after a quick test: The ~ files are made whenever you
save the document (File-Save) and is simply the previous version of 
the file. This has nothing to do with emergency files, it lets you 
recover if you make some mistake. For example, deleting some 
important text and then savequit.


At 3:39 PM +0200 7/1/09, Olivier Ripoll wrote:
Backup (lyx~) files are the ones saved every N minutes by LyX, where 
N is 5 by default. You can set the backup period in the preferences.


Emergency files are files saved in case of a crash. LyX will look at 
the file dates and can propose you to load the emergency file (or 
the backup file) instead, if they are more recent. If you load the 
emergency file, as long as you don't save it above the old one, you 
have not lost anything and if it's corrupted, you can then try the 
backup file or the original file.


LyX does not touch your original file as long as you don't ask it 
to. I had one crash in 2000 because the X server had crashed, the 
emergency file had everything correct till the last key pressed 
before the crash.
I think I've had another crash since on Windows (probably an alpha 
or beta of 1.6 IIRC), and I think then again, the emergency file was 
fine.


So in fact, backups are more like to go back to an old version 
(well, undo can do that too). Or a second safety belt.


Best regards,

Olivier


Re: defining custom font size and indentation

2009-07-02 Thread Jürgen Spitzmüller
Markus Büchele wrote:

 Have you got a clue what needs to be changed?

Without the sourcefile: no.

Jürgen





Latex error

2009-07-02 Thread solvi . natland
Hi

I'm using the 1.6.2 version of LyX for Windows.

I'm working on a large document, so I have made this masterdocument with a 
lot of child documents included.

I have no problems with runnig the child documents and get pdf's and it 
hasn't been a problem with the masterdocument until today. I keep getting 
the following errors in a pop-up window:

Error:  Missing $ inserted.
Description:\newblock 10.1007/10920527_
135.
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.

Error:  Missing $ inserted.
Description:I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.

Error:  Missing } inserted.
Description:I've inserted something that you may have forgotten.
(See the inserted text above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

Error:  Extra }, or forgotten \endgroup.
Description:I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

I cannot for the best of me figure out where the error is in the document. 
Can someone please help me??



image/jpeg

Re: LyX 163-4-19

2009-07-02 Thread Michael Joyner ᏩᏯ

paul saumane wrote:

You probably need to add additional style sheets in the MikTex setup.
Then tell LyX to reconfigure.
 Thanks for the tip, it is working properly now.
 However and for Windows Seven the MikTex\bin\...exe windows opened
 several times and LyX 1.6.3 has been launched several times before
 being stabilized which was not the case with The Windows XP Pro Side.
 Also, Document style sheets are more extended under the XP Pro side
 than the W7 one.

 Thanks again

 Paul

 --
 From: Michael Joyner ᏩᏯ mjoy...@vbservices.net
 Sent: Thursday, July 02, 2009 1:58 AM
 To: paul saumane snoopys...@free.fr
 Cc: lyx-users@lists.lyx.org
 Subject: Re: LyX  163-4-19





-- 
LyX: http://www.lyx.org/ OpenOffice: http://www.openoffice.org/
Inkscape: http://www.inkscape.org/ Scribus: http://www.scribus.net/
GIMP: http://www.gimp.org/ PDF: http://www.pdfforge.org/




signature.asc
Description: OpenPGP digital signature


Re: Dot Leaders

2009-07-02 Thread Helge Hafting

Tad Marko wrote:
On Wed, Jul 1, 2009 at 8:03 AM, Helge Hafting helge.haft...@hist.no 
mailto:helge.haft...@hist.no wrote:


Tad Marko wrote:

Hopefully this question has a simple answer. I'm working on a
book which has
a table of contents. Is there any way to get the TOC to have dot
leaders
between the chapter names and the page numbers?


Using the document classes like book or book(KOMA-script) does
this for me.


After I posted my question, I noticed that book does it for levels below 
Chapter, but not for Chapter. I'd like the dot leaders on all TOC entries.



Put this in the preamble:
\usepackage{tocloft}
\renewcommand{\cftchapleader}{\cftdotfill{\cftsecdotsep}}

From then on, you have dots in the chapter entries too. Of course you 
need to have the tocloft package installed somewhere.


Helge Hafting


RE: Latex error

2009-07-02 Thread Ingar Pareliussen

Hi Sølvi,

Sadly these things happen and they are also sadly difficult to
find where it goes wrong, when you have complex documents these
things are more likely to happen. Even if I do not know what have
gone wrong it is likely that an environment is not properly ended.
As an example you might have included one of your child-documents
as a title-environment instead of standard-environment. But there are
many possibilities.

You know your child documents work. Start a new Master-document and
add small pieces from your old master-document to you get the error.
I hope it then will be obvious whats wrong. If not try to make
a minimal sample (with the error) and post it to the list.

I'm going on a holiday now, (to Stavanger by coincidence ;)) but
there are many people that can help you on the list.

Ingar



Re: defining custom font size and indentation

2009-07-02 Thread Markus Büchele
Am Thursday 02 July 2009 10:06:57 schrieb Jürgen Spitzmüller:
 Markus Büchele wrote:
  Have you got a clue what needs to be changed?

 Without the sourcefile: no.

 Jürgen

Here is the sourcefile (slightly abridged ;-) and my PDF output - by the way, 
thanks and I'm using Lyx 1.6.2

Markus


Problem Bibliographie.lyx
Description: application/lyx


Problem_Bibliographie.pdf
Description: Adobe PDF document


Endnotes that Contains the References

2009-07-02 Thread Bruce Pourciau

Fellow LyXers,

In a volume to which I am contributing, each article ends with a set  
of Notes in numerical order. When a note cites a reference for the  
first time, it gives the full bibliographic information (what would  
normally be given in the list of references). Ibid and loc cit are  
then used for later citations of that reference in the notes. There is  
no separate list of references, as all the bibliographic information  
is contained in the notes.


How does LyX/LaTeX handle this reference style? Do I have to type in  
the full bibliographic information for every work cited, at least the  
initial time it's cited, or is there there some automagic may of  
handling this? I use BibDesk to store the reference information.


Thanks.

Bruce
LyX/Mac 1.5.6


Re: Endnotes that Contains the References

2009-07-02 Thread BH
On Thu, Jul 2, 2009 at 10:42 AM, Bruce
Pourciaubruce.h.pourc...@lawrence.edu wrote:
 Fellow LyXers,

 In a volume to which I am contributing, each article ends with a set of
 Notes in numerical order. When a note cites a reference for the first
 time, it gives the full bibliographic information (what would normally be
 given in the list of references). Ibid and loc cit are then used for later
 citations of that reference in the notes. There is no separate list of
 references, as all the bibliographic information is contained in the notes.

 How does LyX/LaTeX handle this reference style? Do I have to type in the
 full bibliographic information for every work cited, at least the initial
 time it's cited, or is there there some automagic may of handling this? I
 use BibDesk to store the reference information.

It looks like you should be using biblatex, which you can find here:

http://dante.ctan.org/indexes/macros/latex/exptl/biblatex/

The biblatex documentation is extensive and will explain what you need
to do to get full citations, ibid, and loc cit. (It comes with a
collection of styles, which may be all you need. Others have
contributed biblatex styles; you can find many of these here:

http://dante.ctan.org/tex-archive/macros/latex/exptl/biblatex-contrib/

Although LyX doesn't natively support biblatex, you can get it working
by following instructions on this page:

http://wiki.lyx.org/BibTeX/Biblatex

The only caution with all of this is that biblatex is a work in
progress, but many (including myself) have used it successfully.

Bennett


Re: using hyperref with Hebrew documents

2009-07-02 Thread Ronen Abravanel
Hebrew+hyperref  works well using XeTex and bidi package. Unfortunately,
LyX's stable version dose not support XeTeX.
I could not get any output for Hebrew and hyperref using LaTeX on Tex-Live.

Ronen.

On Mon, Jun 29, 2009 at 10:41 PM, Orgad Shaneh org...@gmail.com wrote:

 Hello,

 When I use hyperref in conjunction with babel, and the document
 language is defined as Hebrew, it doesn't compile.

 I tried both MiKTeX and TeXlive, The message I'm getting is:
 ! pdfTeX error (ext4): pdf_link_stack empty, \pdfendlink used without
 \pdfstart
 link?.
 \atbeg...@output ...ipout \box \AtBeginShipoutBox
  \fi \fi
 l.13 \pagebreak{
}
 !  == Fatal error occurred, no output PDF file produced!

 Here's an example document. Parts of it are in Hebrew, codepage 1255.

 %% LyX 1.6.2 created this file.  For more info, see http://www.lyx.org/.
 %% Do not edit unless you really know what you are doing.
 \documentclass[english,hebrew]{article}
 \usepackage[T1]{fontenc}
 \usepackage[latin9,cp1255]{inputenc}
 \setlength{\parskip}{\medskipamount}
 \setlength{\parindent}{0pt}
 \usepackage{babel}

 \usepackage[unicode=true,
  bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
  breaklinks=true,pdfborder={0 0 1},backref=false,colorlinks=false]
  {hyperref}

 \makeatletter
 %% Textclass specific LaTeX commands.
 \usepackage{theorem}
 \theorembodyfont{\upshape}
 \newtheorem{theorem}{\R{משפט}}[section]
 \atbegindocument{\m...@lr\thetheorem}

 \makeatother

 \begin{document}

 \title{בדיקה}

 \maketitle
 \tableofcontents{}

 \pagebreak{}


 \section{סעיף ראשון}


 \subsection{תת-סעיף ראשון}

 לה לה

 לי לי

 לו לו

 \pagebreak{}


 \section{סעיף שני}


 \subsection{תת-סעיף ראשון}

 לה לה


 \subsection{תת-סעיף שני}

 לי לי
 \end{document}



Consecutive theorems

2009-07-02 Thread Luca Brandolini
I am trying to write two consecutive theorems in my paper. However Lyx
always joints the two theorems into a single enviromes.
The only way seems to insert a non-empty line in between. 
Is there a solution for this?



New from local template (LyX 1.6.3)

2009-07-02 Thread Paul A. Rubin

Hi all,

File - New from Template opens a file chooser dialog pointing at 
LyXDir/Resources/templates.  To get to a template stored in 
UserDir/templates, I apparently have to navigate through the file 
system (which, in Windows, is a whole lot of clicking).  Similarly, to 
change the ui or bind file to a local version seems to require the same 
trip through the Ugly Forest.  IIRC, there used to be buttons to switch 
from the system ui/bind directories to the local ones.  (Don't recall if 
templates had the same type of button.)  Am I missing something here 
(specifically, an easy way to do this)?


Thanks,
Paul



How to add the word Chapter in Table of Contents

2009-07-02 Thread Hesham Kamel
Hello,
Please, I need to show the word chapter in the table of contents, so it will
look like this:
Chapter 1 Chapter Heading. Page
number
Thank you,
Hesham


Re: Endnotes that Contains the References

2009-07-02 Thread Bruce Pourciau


On Jul 2, 2009, at 9:50 AM, BH wrote:


On Thu, Jul 2, 2009 at 10:42 AM, Bruce
Pourciaubruce.h.pourc...@lawrence.edu wrote:

Fellow LyXers,

In a volume to which I am contributing, each article ends with a  
set of
Notes in numerical order. When a note cites a reference for the  
first
time, it gives the full bibliographic information (what would  
normally be
given in the list of references). Ibid and loc cit are then used  
for later
citations of that reference in the notes. There is no separate list  
of
references, as all the bibliographic information is contained in  
the notes.


How does LyX/LaTeX handle this reference style? Do I have to type  
in the
full bibliographic information for every work cited, at least the  
initial
time it's cited, or is there there some automagic may of handling  
this? I

use BibDesk to store the reference information.


It looks like you should be using biblatex, which you can find here:

http://dante.ctan.org/indexes/macros/latex/exptl/biblatex/

The biblatex documentation is extensive and will explain what you need
to do to get full citations, ibid, and loc cit. (It comes with a
collection of styles, which may be all you need. Others have
contributed biblatex styles; you can find many of these here:

http://dante.ctan.org/tex-archive/macros/latex/exptl/biblatex-contrib/

Although LyX doesn't natively support biblatex, you can get it working
by following instructions on this page:

http://wiki.lyx.org/BibTeX/Biblatex

The only caution with all of this is that biblatex is a work in
progress, but many (including myself) have used it successfully.

Bennett


Thank you, Bennett. I'll take a look at biblatex.

Bruce


Simple way to get TWO fonts

2009-07-02 Thread J Worky
I am new to this whole LyX/LaTeX thing, but I am loving it! I am
creating a book that looks pretty good in Palatino font, but I want to
spice it up a little. I would at least like to be able to have one font
for headings (sans serif) and one font for everything else (serif). I am
happy with the display font all being the same, I just want the printed
version to have two. I have read A Not So Short Guide to LaTeX and the
Customization manual for LyX. I have tried putting simple commands
into the document preamble, but I'm not sure what the class already has
defined so I don't know what to put in to have the spacing and
everything stay the same and just the font change. What is the simplest
route to get my two fonts in? 

Here's my system: 
Lightly powered COMPAQ
Ubuntu 9.04
LyX 1.6.2
XeTeXk 3.141592-2.2-0.996-patch2 (Web2C 7.5.6)

Thanks

-Jacqueline



Re: Consecutive theorems

2009-07-02 Thread Ignacio García
Luca Brandolini wrote:

 I am trying to write two consecutive theorems in my paper. However Lyx
 always joints the two theorems into a single enviromes.
 The only way seems to insert a non-empty line in between.
 Is there a solution for this?

Yes, increase the nesting depth of the consecutive theorems

Regards


Re: Consecutive theorems

2009-07-02 Thread John McCabe-Dansted
On Thu, Jul 2, 2009 at 11:55 PM, Luca
Brandoliniluca.brandol...@unibg.it wrote:
 I am trying to write two consecutive theorems in my paper. However Lyx
 always joints the two theorems into a single enviromes.
 The only way seems to insert a non-empty line in between.
 Is there a solution for this?

Yes. Put a non-empty line inbetween. Its what I do :)

I put a line inbetween and either put a empty ERT in, or put an empty
note (Alt I-N-N) in to produce a non-empty line

Another trick I use is to insert a Branch. I have a branch called
All which I always leave enabled. Then, if I want to e.g. have a
enumerate environment within a proof, I insert a Branch All and put
the enumerate within the Branch. That said, for this purpose,
increasing the environment depth as suggested by Ignacio García seems
more convenient.


Re: Consecutive theorems

2009-07-02 Thread rgheck

Ignacio García wrote:

Luca Brandolini wrote:

  

I am trying to write two consecutive theorems in my paper. However Lyx
always joints the two theorems into a single enviromes.
The only way seems to insert a non-empty line in between.
Is there a solution for this?



Yes, increase the nesting depth of the consecutive theorems

  
The other solution, probably preferable, is to use the Separator 
environment between the theorems. This does nothing but separate the 
environments, so that LyX will treat them as distinct.


rh



Re: Simple way to get TWO fonts

2009-07-02 Thread rgheck

J Worky wrote:

I am new to this whole LyX/LaTeX thing, but I am loving it! I am
creating a book that looks pretty good in Palatino font, but I want to
spice it up a little. I would at least like to be able to have one font
for headings (sans serif) and one font for everything else (serif). I am
happy with the display font all being the same, I just want the printed
version to have two. I have read A Not So Short Guide to LaTeX and the
Customization manual for LyX. I have tried putting simple commands
into the document preamble, but I'm not sure what the class already has
defined so I don't know what to put in to have the spacing and
everything stay the same and just the font change. What is the simplest
route to get my two fonts in? 

  
The first question is what document class you are using. Many classes do 
use different fonts for the headings and body text, so you might just 
try switching from whatever you are using (book?) to something else, 
such as book (koma-script). One advantage to the koma-script styles is 
that they are extremely customizable. (This is also the main 
disadvantage to the koma-script styles. ;-) ) Have a look at the 
koma-script manual, which you will find in scrguien.pdf wherever your 
TeX docs are. On my system (Fedora), it's at 
/usr/share/texmf/doc/latex/koma-script/scrguien.pdf.


Richard



Re: file recovery

2009-07-02 Thread John McCabe-Dansted
On Thu, Jul 2, 2009 at 2:11 PM, humanengrhumane...@gmail.com wrote:
 Does anyone know what role the # are supposed to play?

These appear to be autosaves.

Also there is yet another type of file you can recover from. If you
have done a view DVI etc, there is also likely to be a .tex file
sitting somewhere in your tmp directory. You can then import that .tex
file back into LyX. This saved me from retyping a couple of paragraphs
of math once.

-- 
John C. McCabe-Dansted
PhD Student
University of Western Australia


Problems with svn and Vista

2009-07-02 Thread James Mansion

Hi,

I'm using lyx 1.6.2 on Vista 32 bit.

I have svn 1.6 installed (sliksvn release) and it works fine, with the 
programs running OK from the standard command prompt.


I have tried using File / Version Control / Register on files in 
directories that are already in svn (and also not).


But, it pops up:

Some problem occured while running the command:
'ci -q -t-(no initial description) mydoc.lyx'.

I don't even have an RCS port on this machine!

The documentation isn't very extensive - what do I need to do?

James



Re: Simple way to get TWO fonts

2009-07-02 Thread Marcelo Acuña

 I am new to this whole LyX/LaTeX
 thing, but I am loving it! I am
 creating a book that looks pretty good in Palatino font,
 but I want to
 spice it up a little. I would at least like to be able to
 have one font
 for headings (sans serif) and one font for everything else
 (serif). I am
 happy with the display font all being the same, I just want
 the printed
 version to have two. I have read A Not So Short Guide to
 LaTeX and the
 Customization manual for LyX. I have tried putting simple
 commands
 into the document preamble, but I'm not sure what the class
 already has
 defined so I don't know what to put in to have the spacing
 and
 everything stay the same and just the font change. What is
 the simplest
 route to get my two fonts in? 
 

 titlesec package provides to you all options for fix fonts and formats for 
titles.
 See titlesec doc.
Regards
Marcelo


  

¡Viví la mejor experiencia en la web!
Descargá gratis el nuevo Internet Explorer 8
http://downloads.yahoo.com/ieak8/?l=ar


lyx doesn't split footnotes

2009-07-02 Thread Jan David Hauck
dear all,

I'm trying to format my MA thesis for publication and am stuck with a problem:
I can't get lyx/latex to split all of my footnotes.
It's not that no footnote gets split but a whole bunch of very large
footnotes (some more than 20 lines) just don't split at all and are
causing some half a page white space or ugly ragged bottoms or (if I
flexibilize the parskip command with plus and minus) huge spaces
between paragraphs.
I tried everything but it doesn't work. I have in the latex preamble:

\interfootnotelinepenalty=0
\flushbottom

One solution that worked more or less was to put widow- and orphanpenalty down
right now it's:
\widowpenalty=1
\clubpenalty=1

but even a value of 9000 would produce a whole bunch of unnecessary
widows (no orphans though) that could have easily been solved with
splitting footnotes. It seems that Lyx (or Latex) just doesn't like
split footnotes even with that penalty 0 and the widow 1.

Any help how I can oblige the program to split my footnotes??

Thanks a lot

jan


Re: lyx doesn't split footnotes

2009-07-02 Thread Marcelo Acuña

 dear all,
 
 I'm trying to format my MA thesis for publication and am
 stuck with a problem:
 I can't get lyx/latex to split all of my footnotes.
 It's not that no footnote gets split but a whole bunch of
 very large
 footnotes (some more than 20 lines) just don't split at all
 and are
 causing some half a page white space or ugly ragged bottoms
 or (if I
 flexibilize the parskip command with plus and minus) huge
 spaces
 between paragraphs.
 I tried everything but it doesn't work. I have in the latex
 preamble:
 
 \interfootnotelinepenalty=0
 \flushbottom
 
 One solution that worked more or less was to put widow- and
 orphanpenalty down
 right now it's:
 \widowpenalty=1
 \clubpenalty=1
 
 but even a value of 9000 would produce a whole bunch of
 unnecessary
 widows (no orphans though) that could have easily been
 solved with
 splitting footnotes. It seems that Lyx (or Latex) just
 doesn't like
 split footnotes even with that penalty 0 and the widow
 1.
 
 Any help how I can oblige the program to split my
 footnotes??
 
 Thanks a lot
 
 jan
 

 I can get footnote splited with bigfoot package, but with this I have 
pagination problems.
 Please, if you try with bigfoot, tell me how work.
 Regards
Marcelo



  

¡Viví la mejor experiencia en la web!
Descargá gratis el nuevo Internet Explorer 8
http://downloads.yahoo.com/ieak8/?l=ar


Re: lyx doesn't split footnotes

2009-07-02 Thread Jan David Hauck
hi marcelo,
thank you so much for your suggestion
loading bigfoot indeed  helped a lot, the final output is much better
I didn't know of that package before

nevertheless I'm getting Latex Errors that haven't been there before
for example:
Paragraph ended before \...@subsection was complete.
Extra }, or forgotten \endgroup.
and some similar errors

right now I'm reading some documentation of the bigfoot package that I
got on the internet,

do you have any other suggestion how to get rid of the errors/ what
could cause them?



2009/7/2 Marcelo Acuña mv...@yahoo.com.ar:

 dear all,

 I'm trying to format my MA thesis for publication and am
 stuck with a problem:
 I can't get lyx/latex to split all of my footnotes.
 It's not that no footnote gets split but a whole bunch of
 very large
 footnotes (some more than 20 lines) just don't split at all
 and are
 causing some half a page white space or ugly ragged bottoms
 or (if I
 flexibilize the parskip command with plus and minus) huge
 spaces
 between paragraphs.
 I tried everything but it doesn't work. I have in the latex
 preamble:

 \interfootnotelinepenalty=0
 \flushbottom

 One solution that worked more or less was to put widow- and
 orphanpenalty down
 right now it's:
 \widowpenalty=1
 \clubpenalty=1

 but even a value of 9000 would produce a whole bunch of
 unnecessary
 widows (no orphans though) that could have easily been
 solved with
 splitting footnotes. It seems that Lyx (or Latex) just
 doesn't like
 split footnotes even with that penalty 0 and the widow
 1.

 Any help how I can oblige the program to split my
 footnotes??

 Thanks a lot

 jan


  I can get footnote splited with bigfoot package, but with this I have 
 pagination problems.
  Please, if you try with bigfoot, tell me how work.
  Regards
 Marcelo



  
 
 ¡Viví la mejor experiencia en la web!
 Descargá gratis el nuevo Internet Explorer 8
 http://downloads.yahoo.com/ieak8/?l=ar



Re: lyx doesn't split footnotes

2009-07-02 Thread Jan David Hauck
update:

bigfoot messed my cross references up
for example the cross reference that says on page 102 actually
points to a label which is to be found on page 100
pretty much always 2 pages difference

any help?




2009/7/2 Jan David Hauck jdh...@gmail.com:
 hi marcelo,
 thank you so much for your suggestion
 loading bigfoot indeed  helped a lot, the final output is much better
 I didn't know of that package before

 nevertheless I'm getting Latex Errors that haven't been there before
 for example:
 Paragraph ended before \...@subsection was complete.
 Extra }, or forgotten \endgroup.
 and some similar errors

 right now I'm reading some documentation of the bigfoot package that I
 got on the internet,

 do you have any other suggestion how to get rid of the errors/ what
 could cause them?



 2009/7/2 Marcelo Acuña mv...@yahoo.com.ar:

 dear all,

 I'm trying to format my MA thesis for publication and am
 stuck with a problem:
 I can't get lyx/latex to split all of my footnotes.
 It's not that no footnote gets split but a whole bunch of
 very large
 footnotes (some more than 20 lines) just don't split at all
 and are
 causing some half a page white space or ugly ragged bottoms
 or (if I
 flexibilize the parskip command with plus and minus) huge
 spaces
 between paragraphs.
 I tried everything but it doesn't work. I have in the latex
 preamble:

 \interfootnotelinepenalty=0
 \flushbottom

 One solution that worked more or less was to put widow- and
 orphanpenalty down
 right now it's:
 \widowpenalty=1
 \clubpenalty=1

 but even a value of 9000 would produce a whole bunch of
 unnecessary
 widows (no orphans though) that could have easily been
 solved with
 splitting footnotes. It seems that Lyx (or Latex) just
 doesn't like
 split footnotes even with that penalty 0 and the widow
 1.

 Any help how I can oblige the program to split my
 footnotes??

 Thanks a lot

 jan


  I can get footnote splited with bigfoot package, but with this I have 
 pagination problems.
  Please, if you try with bigfoot, tell me how work.
  Regards
 Marcelo



  
 
 ¡Viví la mejor experiencia en la web!
 Descargá gratis el nuevo Internet Explorer 8
 http://downloads.yahoo.com/ieak8/?l=ar




Re: Simple way to get TWO fonts

2009-07-02 Thread J Worky

rgheck wrote: 
 The first question is what document class you are using. 
 Many classes do use different fonts for the headings and 
 body text, so you might just try switching from whatever 
 you are using (book?) to something else, such as 
 book (koma-script). 

You're a lifesaver! The KOMA-Script really helped. I just changed from
book (more font sizes) to book (KOMA-Script) and it automatically
gave me serif fonts on the body and sans fonts for most of the headings.
Then I asked it to use one of the fonts I installed myself by adding the
following to my Preamble: 
  \usepackage{fontspec}
  \usepackage{xunicode}
  \usepackag{xltxtra}
  \setsansfont{A.D. MONO}
and it actually did it! I'm so excited! Thanks for all your help, I'm
sure I'll have more questions later on..

-- 
-Jacqueline



newbie questions - URLs in PDF, graphical diff

2009-07-02 Thread Andrew Daviel


I haven't used Lyx or LaTeX for some time, so things have changed, if I 
ever knew..


1)  If I create a document with blank style, or from the 
letter template, when I add a URL link it does not work, either in xdvi 
or PDF.


If I add the following preamble (stolen from the
UserGuide source) in Document/Settings, it works:
\usepackage{ifpdf}
\ifpdf % if pdflatex
  \usepackage[pdftex]{hyperref}
  \hypersetup{ pdftitle = {Test}, pdfauthor = {My Name}, pdfsubject = {Example}}
\else % if dvi or ps is produced
  \usepackage[ps2pdf]{hyperref}
\fi

- figured this out on the fly while composing this message

Naively, I would expect links to work if I create them using the GUI and 
check generate hyperlink.


2) Is there a graphical diff utility - if a document is updated, either 
using Lyx version control, or externally using SVN, is there a way to 
generate graphical differences, e.g. mark up document in red/blue for 
added/deleted sections as in tkdiff ?


3) Is there an HTML output filter ? latex2html is too old and fails 
miserably on Lyx exported latex.


4) Is it possible to choose which PDF output filter to use on the command 
line ? lyx -e pdf uses dvips, which gives me Bad bounding box 
in Type 3 glyph in xpdf and does not create the PDF metadata (title, 
author etc - nice for search engines)


On Scientific Lunix 5.3 (=~ CENTOS =~ RHEL) I have
lyx-1.5.6
tetex-3.0-33
tetex-latex-3.0-33
tetex-xdvi-3.0-33
ghostscript-8.15.2
xpdf 3.02
acroread 9.1.0



--
Andrew Daviel, TRIUMF, Canada


Re: file recovery

2009-07-02 Thread humanengr
John -- yes, the # files appear to be autosaves. And thanks for the 
fallback DVI, etc., suggestion.


After testing, I see that:

emergency files are created if there is a crash.
~ files are archive backups of the last saved version. (These 
appear beginning with the second save.)
# are autosave backups; they get updated if the file changes 
before the backup interval (set in preferences) expires. These files 
are deleted by a save operation. So, if a # exists, it is more 
recent than a ~ file.


So, the time ordering of the files would be, beginning with most 
recent (and assuming they exist):

emergency files
# files
~ files

humanengr



On Thu, Jul 2, 2009 at 2:11 PM, humanengrhumane...@gmail.com wrote:
  Does anyone know what role the # are supposed to play?

These appear to be autosaves.

Also there is yet another type of file you can recover from. If you
have done a view DVI etc, there is also likely to be a .tex file
sitting somewhere in your tmp directory. You can then import that .tex
file back into LyX. This saved me from retyping a couple of paragraphs
of math once.

--
John C. McCabe-Dansted
PhD Student

University of Western Australia

Re: Problems with svn and Vista

2009-07-02 Thread James Mansion

Paul A. Rubin wrote:

James Mansion wrote:
I have tried using File / Version Control / Register on files in 
directories that are already in svn (and also not).


See section 6.2.4.1 of the Additional Features manual.  The Register 
menu option appears only if the document is not already under version 
control.  In order to register it with Subversion, though, the 
*directory* in which it sits needs to be under version control (and 
that needs to be done outside LyX).  So first use sliksvn (or 
something else) to check the directory into a repository (or checkout 
files from a repository into the directory), then try again.
That is exactly what I thought I'd tried. :-(  Stupid error in that I 
started with the sandpit area and added it, but it needed a checkout to 
make it into a workspace.  Doh!


James



Re: file recovery

2009-07-02 Thread humanengr

Helge, Olivier -- thanks.

On my Mac (10.5.7), the backup preference doesn't seem to work. The 
~ file gets created at the first save and gets updated at 
subsequent saves to reflect the prior save.


The emergency file has appeared on each of the handful of crashes 
I've had the pleasure to witness.


The # files (i.e., filenames of the form #newfile1.lyx#) have 
appeared only a few times -- IIRC shortly after I create a new file 
(presumably at the first save) in lieu of the ~ file.


Does anyone know what role the # are supposed to play?

humanengr


At 3:17 PM +0200 7/1/09, Helge Hafting wrote:

My impression after a quick test: The ~ files are made whenever you
save the document (File-Save) and is simply the previous version of 
the file. This has nothing to do with emergency files, it lets you 
recover if you make some mistake. For example, deleting some 
important text and then savequit.


At 3:39 PM +0200 7/1/09, Olivier Ripoll wrote:
Backup (lyx~) files are the ones saved every N minutes by LyX, where 
N is 5 by default. You can set the backup period in the preferences.


Emergency files are files saved in case of a crash. LyX will look at 
the file dates and can propose you to load the emergency file (or 
the backup file) instead, if they are more recent. If you load the 
emergency file, as long as you don't save it above the old one, you 
have not lost anything and if it's corrupted, you can then try the 
backup file or the original file.


LyX does not touch your original file as long as you don't ask it 
to. I had one crash in 2000 because the X server had crashed, the 
emergency file had everything correct till the last key pressed 
before the crash.
I think I've had another crash since on Windows (probably an alpha 
or beta of 1.6 IIRC), and I think then again, the emergency file was 
fine.


So in fact, backups are more like to go back to an old version 
(well, undo can do that too). Or a second safety belt.


Best regards,

Olivier


Re: defining custom font size and indentation

2009-07-02 Thread Jürgen Spitzmüller
Markus Büchele wrote:

 Have you got a clue what needs to be changed?

Without the sourcefile: no.

Jürgen





Latex error

2009-07-02 Thread solvi . natland
Hi

I'm using the 1.6.2 version of LyX for Windows.

I'm working on a large document, so I have made this masterdocument with a 
lot of child documents included.

I have no problems with runnig the child documents and get pdf's and it 
hasn't been a problem with the masterdocument until today. I keep getting 
the following errors in a pop-up window:

Error:  Missing $ inserted.
Description:\newblock 10.1007/10920527_
135.
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.

Error:  Missing $ inserted.
Description:I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.

Error:  Missing } inserted.
Description:I've inserted something that you may have forgotten.
(See the inserted text above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

Error:  Extra }, or forgotten \endgroup.
Description:I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

I cannot for the best of me figure out where the error is in the document. 
Can someone please help me??



image/jpeg

Re: LyX 163-4-19

2009-07-02 Thread Michael Joyner ᏩᏯ

paul saumane wrote:

You probably need to add additional style sheets in the MikTex setup.
Then tell LyX to reconfigure.
 Thanks for the tip, it is working properly now.
 However and for Windows Seven the MikTex\bin\...exe windows opened
 several times and LyX 1.6.3 has been launched several times before
 being stabilized which was not the case with The Windows XP Pro Side.
 Also, Document style sheets are more extended under the XP Pro side
 than the W7 one.

 Thanks again

 Paul

 --
 From: Michael Joyner ᏩᏯ mjoy...@vbservices.net
 Sent: Thursday, July 02, 2009 1:58 AM
 To: paul saumane snoopys...@free.fr
 Cc: lyx-users@lists.lyx.org
 Subject: Re: LyX  163-4-19





-- 
LyX: http://www.lyx.org/ OpenOffice: http://www.openoffice.org/
Inkscape: http://www.inkscape.org/ Scribus: http://www.scribus.net/
GIMP: http://www.gimp.org/ PDF: http://www.pdfforge.org/




signature.asc
Description: OpenPGP digital signature


Re: Dot Leaders

2009-07-02 Thread Helge Hafting

Tad Marko wrote:
On Wed, Jul 1, 2009 at 8:03 AM, Helge Hafting helge.haft...@hist.no 
mailto:helge.haft...@hist.no wrote:


Tad Marko wrote:

Hopefully this question has a simple answer. I'm working on a
book which has
a table of contents. Is there any way to get the TOC to have dot
leaders
between the chapter names and the page numbers?


Using the document classes like book or book(KOMA-script) does
this for me.


After I posted my question, I noticed that book does it for levels below 
Chapter, but not for Chapter. I'd like the dot leaders on all TOC entries.



Put this in the preamble:
\usepackage{tocloft}
\renewcommand{\cftchapleader}{\cftdotfill{\cftsecdotsep}}

From then on, you have dots in the chapter entries too. Of course you 
need to have the tocloft package installed somewhere.


Helge Hafting


RE: Latex error

2009-07-02 Thread Ingar Pareliussen

Hi Sølvi,

Sadly these things happen and they are also sadly difficult to
find where it goes wrong, when you have complex documents these
things are more likely to happen. Even if I do not know what have
gone wrong it is likely that an environment is not properly ended.
As an example you might have included one of your child-documents
as a title-environment instead of standard-environment. But there are
many possibilities.

You know your child documents work. Start a new Master-document and
add small pieces from your old master-document to you get the error.
I hope it then will be obvious whats wrong. If not try to make
a minimal sample (with the error) and post it to the list.

I'm going on a holiday now, (to Stavanger by coincidence ;)) but
there are many people that can help you on the list.

Ingar



Re: defining custom font size and indentation

2009-07-02 Thread Markus Büchele
Am Thursday 02 July 2009 10:06:57 schrieb Jürgen Spitzmüller:
 Markus Büchele wrote:
  Have you got a clue what needs to be changed?

 Without the sourcefile: no.

 Jürgen

Here is the sourcefile (slightly abridged ;-) and my PDF output - by the way, 
thanks and I'm using Lyx 1.6.2

Markus


Problem Bibliographie.lyx
Description: application/lyx


Problem_Bibliographie.pdf
Description: Adobe PDF document


Endnotes that Contains the References

2009-07-02 Thread Bruce Pourciau

Fellow LyXers,

In a volume to which I am contributing, each article ends with a set  
of Notes in numerical order. When a note cites a reference for the  
first time, it gives the full bibliographic information (what would  
normally be given in the list of references). Ibid and loc cit are  
then used for later citations of that reference in the notes. There is  
no separate list of references, as all the bibliographic information  
is contained in the notes.


How does LyX/LaTeX handle this reference style? Do I have to type in  
the full bibliographic information for every work cited, at least the  
initial time it's cited, or is there there some automagic may of  
handling this? I use BibDesk to store the reference information.


Thanks.

Bruce
LyX/Mac 1.5.6


Re: Endnotes that Contains the References

2009-07-02 Thread BH
On Thu, Jul 2, 2009 at 10:42 AM, Bruce
Pourciaubruce.h.pourc...@lawrence.edu wrote:
 Fellow LyXers,

 In a volume to which I am contributing, each article ends with a set of
 Notes in numerical order. When a note cites a reference for the first
 time, it gives the full bibliographic information (what would normally be
 given in the list of references). Ibid and loc cit are then used for later
 citations of that reference in the notes. There is no separate list of
 references, as all the bibliographic information is contained in the notes.

 How does LyX/LaTeX handle this reference style? Do I have to type in the
 full bibliographic information for every work cited, at least the initial
 time it's cited, or is there there some automagic may of handling this? I
 use BibDesk to store the reference information.

It looks like you should be using biblatex, which you can find here:

http://dante.ctan.org/indexes/macros/latex/exptl/biblatex/

The biblatex documentation is extensive and will explain what you need
to do to get full citations, ibid, and loc cit. (It comes with a
collection of styles, which may be all you need. Others have
contributed biblatex styles; you can find many of these here:

http://dante.ctan.org/tex-archive/macros/latex/exptl/biblatex-contrib/

Although LyX doesn't natively support biblatex, you can get it working
by following instructions on this page:

http://wiki.lyx.org/BibTeX/Biblatex

The only caution with all of this is that biblatex is a work in
progress, but many (including myself) have used it successfully.

Bennett


Re: using hyperref with Hebrew documents

2009-07-02 Thread Ronen Abravanel
Hebrew+hyperref  works well using XeTex and bidi package. Unfortunately,
LyX's stable version dose not support XeTeX.
I could not get any output for Hebrew and hyperref using LaTeX on Tex-Live.

Ronen.

On Mon, Jun 29, 2009 at 10:41 PM, Orgad Shaneh org...@gmail.com wrote:

 Hello,

 When I use hyperref in conjunction with babel, and the document
 language is defined as Hebrew, it doesn't compile.

 I tried both MiKTeX and TeXlive, The message I'm getting is:
 ! pdfTeX error (ext4): pdf_link_stack empty, \pdfendlink used without
 \pdfstart
 link?.
 \atbeg...@output ...ipout \box \AtBeginShipoutBox
  \fi \fi
 l.13 \pagebreak{
}
 !  == Fatal error occurred, no output PDF file produced!

 Here's an example document. Parts of it are in Hebrew, codepage 1255.

 %% LyX 1.6.2 created this file.  For more info, see http://www.lyx.org/.
 %% Do not edit unless you really know what you are doing.
 \documentclass[english,hebrew]{article}
 \usepackage[T1]{fontenc}
 \usepackage[latin9,cp1255]{inputenc}
 \setlength{\parskip}{\medskipamount}
 \setlength{\parindent}{0pt}
 \usepackage{babel}

 \usepackage[unicode=true,
  bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
  breaklinks=true,pdfborder={0 0 1},backref=false,colorlinks=false]
  {hyperref}

 \makeatletter
 %% Textclass specific LaTeX commands.
 \usepackage{theorem}
 \theorembodyfont{\upshape}
 \newtheorem{theorem}{\R{משפט}}[section]
 \atbegindocument{\m...@lr\thetheorem}

 \makeatother

 \begin{document}

 \title{בדיקה}

 \maketitle
 \tableofcontents{}

 \pagebreak{}


 \section{סעיף ראשון}


 \subsection{תת-סעיף ראשון}

 לה לה

 לי לי

 לו לו

 \pagebreak{}


 \section{סעיף שני}


 \subsection{תת-סעיף ראשון}

 לה לה


 \subsection{תת-סעיף שני}

 לי לי
 \end{document}



Consecutive theorems

2009-07-02 Thread Luca Brandolini
I am trying to write two consecutive theorems in my paper. However Lyx
always joints the two theorems into a single enviromes.
The only way seems to insert a non-empty line in between. 
Is there a solution for this?



New from local template (LyX 1.6.3)

2009-07-02 Thread Paul A. Rubin

Hi all,

File - New from Template opens a file chooser dialog pointing at 
LyXDir/Resources/templates.  To get to a template stored in 
UserDir/templates, I apparently have to navigate through the file 
system (which, in Windows, is a whole lot of clicking).  Similarly, to 
change the ui or bind file to a local version seems to require the same 
trip through the Ugly Forest.  IIRC, there used to be buttons to switch 
from the system ui/bind directories to the local ones.  (Don't recall if 
templates had the same type of button.)  Am I missing something here 
(specifically, an easy way to do this)?


Thanks,
Paul



How to add the word Chapter in Table of Contents

2009-07-02 Thread Hesham Kamel
Hello,
Please, I need to show the word chapter in the table of contents, so it will
look like this:
Chapter 1 Chapter Heading. Page
number
Thank you,
Hesham


Re: Endnotes that Contains the References

2009-07-02 Thread Bruce Pourciau


On Jul 2, 2009, at 9:50 AM, BH wrote:


On Thu, Jul 2, 2009 at 10:42 AM, Bruce
Pourciaubruce.h.pourc...@lawrence.edu wrote:

Fellow LyXers,

In a volume to which I am contributing, each article ends with a  
set of
Notes in numerical order. When a note cites a reference for the  
first
time, it gives the full bibliographic information (what would  
normally be
given in the list of references). Ibid and loc cit are then used  
for later
citations of that reference in the notes. There is no separate list  
of
references, as all the bibliographic information is contained in  
the notes.


How does LyX/LaTeX handle this reference style? Do I have to type  
in the
full bibliographic information for every work cited, at least the  
initial
time it's cited, or is there there some automagic may of handling  
this? I

use BibDesk to store the reference information.


It looks like you should be using biblatex, which you can find here:

http://dante.ctan.org/indexes/macros/latex/exptl/biblatex/

The biblatex documentation is extensive and will explain what you need
to do to get full citations, ibid, and loc cit. (It comes with a
collection of styles, which may be all you need. Others have
contributed biblatex styles; you can find many of these here:

http://dante.ctan.org/tex-archive/macros/latex/exptl/biblatex-contrib/

Although LyX doesn't natively support biblatex, you can get it working
by following instructions on this page:

http://wiki.lyx.org/BibTeX/Biblatex

The only caution with all of this is that biblatex is a work in
progress, but many (including myself) have used it successfully.

Bennett


Thank you, Bennett. I'll take a look at biblatex.

Bruce


Simple way to get TWO fonts

2009-07-02 Thread J Worky
I am new to this whole LyX/LaTeX thing, but I am loving it! I am
creating a book that looks pretty good in Palatino font, but I want to
spice it up a little. I would at least like to be able to have one font
for headings (sans serif) and one font for everything else (serif). I am
happy with the display font all being the same, I just want the printed
version to have two. I have read A Not So Short Guide to LaTeX and the
Customization manual for LyX. I have tried putting simple commands
into the document preamble, but I'm not sure what the class already has
defined so I don't know what to put in to have the spacing and
everything stay the same and just the font change. What is the simplest
route to get my two fonts in? 

Here's my system: 
Lightly powered COMPAQ
Ubuntu 9.04
LyX 1.6.2
XeTeXk 3.141592-2.2-0.996-patch2 (Web2C 7.5.6)

Thanks

-Jacqueline



Re: Consecutive theorems

2009-07-02 Thread Ignacio García
Luca Brandolini wrote:

 I am trying to write two consecutive theorems in my paper. However Lyx
 always joints the two theorems into a single enviromes.
 The only way seems to insert a non-empty line in between.
 Is there a solution for this?

Yes, increase the nesting depth of the consecutive theorems

Regards


Re: Consecutive theorems

2009-07-02 Thread John McCabe-Dansted
On Thu, Jul 2, 2009 at 11:55 PM, Luca
Brandoliniluca.brandol...@unibg.it wrote:
 I am trying to write two consecutive theorems in my paper. However Lyx
 always joints the two theorems into a single enviromes.
 The only way seems to insert a non-empty line in between.
 Is there a solution for this?

Yes. Put a non-empty line inbetween. Its what I do :)

I put a line inbetween and either put a empty ERT in, or put an empty
note (Alt I-N-N) in to produce a non-empty line

Another trick I use is to insert a Branch. I have a branch called
All which I always leave enabled. Then, if I want to e.g. have a
enumerate environment within a proof, I insert a Branch All and put
the enumerate within the Branch. That said, for this purpose,
increasing the environment depth as suggested by Ignacio García seems
more convenient.


Re: Consecutive theorems

2009-07-02 Thread rgheck

Ignacio García wrote:

Luca Brandolini wrote:

  

I am trying to write two consecutive theorems in my paper. However Lyx
always joints the two theorems into a single enviromes.
The only way seems to insert a non-empty line in between.
Is there a solution for this?



Yes, increase the nesting depth of the consecutive theorems

  
The other solution, probably preferable, is to use the Separator 
environment between the theorems. This does nothing but separate the 
environments, so that LyX will treat them as distinct.


rh



Re: Simple way to get TWO fonts

2009-07-02 Thread rgheck

J Worky wrote:

I am new to this whole LyX/LaTeX thing, but I am loving it! I am
creating a book that looks pretty good in Palatino font, but I want to
spice it up a little. I would at least like to be able to have one font
for headings (sans serif) and one font for everything else (serif). I am
happy with the display font all being the same, I just want the printed
version to have two. I have read A Not So Short Guide to LaTeX and the
Customization manual for LyX. I have tried putting simple commands
into the document preamble, but I'm not sure what the class already has
defined so I don't know what to put in to have the spacing and
everything stay the same and just the font change. What is the simplest
route to get my two fonts in? 

  
The first question is what document class you are using. Many classes do 
use different fonts for the headings and body text, so you might just 
try switching from whatever you are using (book?) to something else, 
such as book (koma-script). One advantage to the koma-script styles is 
that they are extremely customizable. (This is also the main 
disadvantage to the koma-script styles. ;-) ) Have a look at the 
koma-script manual, which you will find in scrguien.pdf wherever your 
TeX docs are. On my system (Fedora), it's at 
/usr/share/texmf/doc/latex/koma-script/scrguien.pdf.


Richard



Re: file recovery

2009-07-02 Thread John McCabe-Dansted
On Thu, Jul 2, 2009 at 2:11 PM, humanengrhumane...@gmail.com wrote:
 Does anyone know what role the # are supposed to play?

These appear to be autosaves.

Also there is yet another type of file you can recover from. If you
have done a view DVI etc, there is also likely to be a .tex file
sitting somewhere in your tmp directory. You can then import that .tex
file back into LyX. This saved me from retyping a couple of paragraphs
of math once.

-- 
John C. McCabe-Dansted
PhD Student
University of Western Australia


Problems with svn and Vista

2009-07-02 Thread James Mansion

Hi,

I'm using lyx 1.6.2 on Vista 32 bit.

I have svn 1.6 installed (sliksvn release) and it works fine, with the 
programs running OK from the standard command prompt.


I have tried using File / Version Control / Register on files in 
directories that are already in svn (and also not).


But, it pops up:

Some problem occured while running the command:
'ci -q -t-(no initial description) mydoc.lyx'.

I don't even have an RCS port on this machine!

The documentation isn't very extensive - what do I need to do?

James



Re: Simple way to get TWO fonts

2009-07-02 Thread Marcelo Acuña

 I am new to this whole LyX/LaTeX
 thing, but I am loving it! I am
 creating a book that looks pretty good in Palatino font,
 but I want to
 spice it up a little. I would at least like to be able to
 have one font
 for headings (sans serif) and one font for everything else
 (serif). I am
 happy with the display font all being the same, I just want
 the printed
 version to have two. I have read A Not So Short Guide to
 LaTeX and the
 Customization manual for LyX. I have tried putting simple
 commands
 into the document preamble, but I'm not sure what the class
 already has
 defined so I don't know what to put in to have the spacing
 and
 everything stay the same and just the font change. What is
 the simplest
 route to get my two fonts in? 
 

 titlesec package provides to you all options for fix fonts and formats for 
titles.
 See titlesec doc.
Regards
Marcelo


  

¡Viví la mejor experiencia en la web!
Descargá gratis el nuevo Internet Explorer 8
http://downloads.yahoo.com/ieak8/?l=ar


lyx doesn't split footnotes

2009-07-02 Thread Jan David Hauck
dear all,

I'm trying to format my MA thesis for publication and am stuck with a problem:
I can't get lyx/latex to split all of my footnotes.
It's not that no footnote gets split but a whole bunch of very large
footnotes (some more than 20 lines) just don't split at all and are
causing some half a page white space or ugly ragged bottoms or (if I
flexibilize the parskip command with plus and minus) huge spaces
between paragraphs.
I tried everything but it doesn't work. I have in the latex preamble:

\interfootnotelinepenalty=0
\flushbottom

One solution that worked more or less was to put widow- and orphanpenalty down
right now it's:
\widowpenalty=1
\clubpenalty=1

but even a value of 9000 would produce a whole bunch of unnecessary
widows (no orphans though) that could have easily been solved with
splitting footnotes. It seems that Lyx (or Latex) just doesn't like
split footnotes even with that penalty 0 and the widow 1.

Any help how I can oblige the program to split my footnotes??

Thanks a lot

jan


Re: lyx doesn't split footnotes

2009-07-02 Thread Marcelo Acuña

 dear all,
 
 I'm trying to format my MA thesis for publication and am
 stuck with a problem:
 I can't get lyx/latex to split all of my footnotes.
 It's not that no footnote gets split but a whole bunch of
 very large
 footnotes (some more than 20 lines) just don't split at all
 and are
 causing some half a page white space or ugly ragged bottoms
 or (if I
 flexibilize the parskip command with plus and minus) huge
 spaces
 between paragraphs.
 I tried everything but it doesn't work. I have in the latex
 preamble:
 
 \interfootnotelinepenalty=0
 \flushbottom
 
 One solution that worked more or less was to put widow- and
 orphanpenalty down
 right now it's:
 \widowpenalty=1
 \clubpenalty=1
 
 but even a value of 9000 would produce a whole bunch of
 unnecessary
 widows (no orphans though) that could have easily been
 solved with
 splitting footnotes. It seems that Lyx (or Latex) just
 doesn't like
 split footnotes even with that penalty 0 and the widow
 1.
 
 Any help how I can oblige the program to split my
 footnotes??
 
 Thanks a lot
 
 jan
 

 I can get footnote splited with bigfoot package, but with this I have 
pagination problems.
 Please, if you try with bigfoot, tell me how work.
 Regards
Marcelo



  

¡Viví la mejor experiencia en la web!
Descargá gratis el nuevo Internet Explorer 8
http://downloads.yahoo.com/ieak8/?l=ar


Re: lyx doesn't split footnotes

2009-07-02 Thread Jan David Hauck
hi marcelo,
thank you so much for your suggestion
loading bigfoot indeed  helped a lot, the final output is much better
I didn't know of that package before

nevertheless I'm getting Latex Errors that haven't been there before
for example:
Paragraph ended before \...@subsection was complete.
Extra }, or forgotten \endgroup.
and some similar errors

right now I'm reading some documentation of the bigfoot package that I
got on the internet,

do you have any other suggestion how to get rid of the errors/ what
could cause them?



2009/7/2 Marcelo Acuña mv...@yahoo.com.ar:

 dear all,

 I'm trying to format my MA thesis for publication and am
 stuck with a problem:
 I can't get lyx/latex to split all of my footnotes.
 It's not that no footnote gets split but a whole bunch of
 very large
 footnotes (some more than 20 lines) just don't split at all
 and are
 causing some half a page white space or ugly ragged bottoms
 or (if I
 flexibilize the parskip command with plus and minus) huge
 spaces
 between paragraphs.
 I tried everything but it doesn't work. I have in the latex
 preamble:

 \interfootnotelinepenalty=0
 \flushbottom

 One solution that worked more or less was to put widow- and
 orphanpenalty down
 right now it's:
 \widowpenalty=1
 \clubpenalty=1

 but even a value of 9000 would produce a whole bunch of
 unnecessary
 widows (no orphans though) that could have easily been
 solved with
 splitting footnotes. It seems that Lyx (or Latex) just
 doesn't like
 split footnotes even with that penalty 0 and the widow
 1.

 Any help how I can oblige the program to split my
 footnotes??

 Thanks a lot

 jan


  I can get footnote splited with bigfoot package, but with this I have 
 pagination problems.
  Please, if you try with bigfoot, tell me how work.
  Regards
 Marcelo



  
 
 ¡Viví la mejor experiencia en la web!
 Descargá gratis el nuevo Internet Explorer 8
 http://downloads.yahoo.com/ieak8/?l=ar



Re: lyx doesn't split footnotes

2009-07-02 Thread Jan David Hauck
update:

bigfoot messed my cross references up
for example the cross reference that says on page 102 actually
points to a label which is to be found on page 100
pretty much always 2 pages difference

any help?




2009/7/2 Jan David Hauck jdh...@gmail.com:
 hi marcelo,
 thank you so much for your suggestion
 loading bigfoot indeed  helped a lot, the final output is much better
 I didn't know of that package before

 nevertheless I'm getting Latex Errors that haven't been there before
 for example:
 Paragraph ended before \...@subsection was complete.
 Extra }, or forgotten \endgroup.
 and some similar errors

 right now I'm reading some documentation of the bigfoot package that I
 got on the internet,

 do you have any other suggestion how to get rid of the errors/ what
 could cause them?



 2009/7/2 Marcelo Acuña mv...@yahoo.com.ar:

 dear all,

 I'm trying to format my MA thesis for publication and am
 stuck with a problem:
 I can't get lyx/latex to split all of my footnotes.
 It's not that no footnote gets split but a whole bunch of
 very large
 footnotes (some more than 20 lines) just don't split at all
 and are
 causing some half a page white space or ugly ragged bottoms
 or (if I
 flexibilize the parskip command with plus and minus) huge
 spaces
 between paragraphs.
 I tried everything but it doesn't work. I have in the latex
 preamble:

 \interfootnotelinepenalty=0
 \flushbottom

 One solution that worked more or less was to put widow- and
 orphanpenalty down
 right now it's:
 \widowpenalty=1
 \clubpenalty=1

 but even a value of 9000 would produce a whole bunch of
 unnecessary
 widows (no orphans though) that could have easily been
 solved with
 splitting footnotes. It seems that Lyx (or Latex) just
 doesn't like
 split footnotes even with that penalty 0 and the widow
 1.

 Any help how I can oblige the program to split my
 footnotes??

 Thanks a lot

 jan


  I can get footnote splited with bigfoot package, but with this I have 
 pagination problems.
  Please, if you try with bigfoot, tell me how work.
  Regards
 Marcelo



  
 
 ¡Viví la mejor experiencia en la web!
 Descargá gratis el nuevo Internet Explorer 8
 http://downloads.yahoo.com/ieak8/?l=ar




Re: Simple way to get TWO fonts

2009-07-02 Thread J Worky

rgheck wrote: 
 The first question is what document class you are using. 
 Many classes do use different fonts for the headings and 
 body text, so you might just try switching from whatever 
 you are using (book?) to something else, such as 
 book (koma-script). 

You're a lifesaver! The KOMA-Script really helped. I just changed from
book (more font sizes) to book (KOMA-Script) and it automatically
gave me serif fonts on the body and sans fonts for most of the headings.
Then I asked it to use one of the fonts I installed myself by adding the
following to my Preamble: 
  \usepackage{fontspec}
  \usepackage{xunicode}
  \usepackag{xltxtra}
  \setsansfont{A.D. MONO}
and it actually did it! I'm so excited! Thanks for all your help, I'm
sure I'll have more questions later on..

-- 
-Jacqueline



newbie questions - URLs in PDF, graphical diff

2009-07-02 Thread Andrew Daviel


I haven't used Lyx or LaTeX for some time, so things have changed, if I 
ever knew..


1)  If I create a document with blank style, or from the 
letter template, when I add a URL link it does not work, either in xdvi 
or PDF.


If I add the following preamble (stolen from the
UserGuide source) in Document/Settings, it works:
\usepackage{ifpdf}
\ifpdf % if pdflatex
  \usepackage[pdftex]{hyperref}
  \hypersetup{ pdftitle = {Test}, pdfauthor = {My Name}, pdfsubject = {Example}}
\else % if dvi or ps is produced
  \usepackage[ps2pdf]{hyperref}
\fi

- figured this out on the fly while composing this message

Naively, I would expect links to work if I create them using the GUI and 
check generate hyperlink.


2) Is there a graphical diff utility - if a document is updated, either 
using Lyx version control, or externally using SVN, is there a way to 
generate graphical differences, e.g. mark up document in red/blue for 
added/deleted sections as in tkdiff ?


3) Is there an HTML output filter ? latex2html is too old and fails 
miserably on Lyx exported latex.


4) Is it possible to choose which PDF output filter to use on the command 
line ? lyx -e pdf uses dvips, which gives me Bad bounding box 
in Type 3 glyph in xpdf and does not create the PDF metadata (title, 
author etc - nice for search engines)


On Scientific Lunix 5.3 (=~ CENTOS =~ RHEL) I have
lyx-1.5.6
tetex-3.0-33
tetex-latex-3.0-33
tetex-xdvi-3.0-33
ghostscript-8.15.2
xpdf 3.02
acroread 9.1.0



--
Andrew Daviel, TRIUMF, Canada


Re: file recovery

2009-07-02 Thread humanengr
John -- yes, the # files appear to be autosaves. And thanks for the 
fallback DVI, etc., suggestion.


After testing, I see that:

emergency files are created if there is a crash.
~ files are archive backups of the last saved version. (These 
appear beginning with the second save.)
# are autosave backups; they get updated if the file changes 
before the backup interval (set in preferences) expires. These files 
are deleted by a save operation. So, if a # exists, it is more 
recent than a ~ file.


So, the time ordering of the files would be, beginning with most 
recent (and assuming they exist):

emergency files
# files
~ files

humanengr



On Thu, Jul 2, 2009 at 2:11 PM, humanengrhumane...@gmail.com wrote:
  Does anyone know what role the # are supposed to play?

These appear to be autosaves.

Also there is yet another type of file you can recover from. If you
have done a view DVI etc, there is also likely to be a .tex file
sitting somewhere in your tmp directory. You can then import that .tex
file back into LyX. This saved me from retyping a couple of paragraphs
of math once.

--
John C. McCabe-Dansted
PhD Student

University of Western Australia

Re: Problems with svn and Vista

2009-07-02 Thread James Mansion

Paul A. Rubin wrote:

James Mansion wrote:
I have tried using File / Version Control / Register on files in 
directories that are already in svn (and also not).


See section 6.2.4.1 of the Additional Features manual.  The Register 
menu option appears only if the document is not already under version 
control.  In order to register it with Subversion, though, the 
*directory* in which it sits needs to be under version control (and 
that needs to be done outside LyX).  So first use sliksvn (or 
something else) to check the directory into a repository (or checkout 
files from a repository into the directory), then try again.
That is exactly what I thought I'd tried. :-(  Stupid error in that I 
started with the sandpit area and added it, but it needed a checkout to 
make it into a workspace.  Doh!


James



Re: file recovery

2009-07-02 Thread humanengr

Helge, Olivier -- thanks.

On my Mac (10.5.7), the backup preference doesn't seem to work. The 
"~" file gets created at the first "save" and gets updated at 
subsequent saves to reflect the prior save.


The emergency file has appeared on each of the handful of crashes 
I've had the pleasure to witness.


The "#" files (i.e., filenames of the form "#newfile1.lyx#") have 
appeared only a few times -- IIRC shortly after I create a new file 
(presumably at the first save) in lieu of the "~" file.


Does anyone know what role the "#" are supposed to play?

humanengr


At 3:17 PM +0200 7/1/09, Helge Hafting wrote:

My impression after a quick test: The "~" files are made whenever you
save the document (File->Save) and is simply the previous version of 
the file. This has nothing to do with emergency files, it lets you 
recover if you make some mistake. For example, deleting some 
important text and then save


At 3:39 PM +0200 7/1/09, Olivier Ripoll wrote:
Backup (lyx~) files are the ones saved every N minutes by LyX, where 
N is 5 by default. You can set the backup period in the preferences.


Emergency files are files saved in case of a crash. LyX will look at 
the file dates and can propose you to load the emergency file (or 
the backup file) instead, if they are more recent. If you load the 
emergency file, as long as you don't save it above the old one, you 
have not lost anything and if it's corrupted, you can then try the 
backup file or the original file.


LyX does not touch your original file as long as you don't ask it 
to. I had one crash in 2000 because the X server had crashed, the 
emergency file had everything correct till the last key pressed 
before the crash.
I think I've had another crash since on Windows (probably an alpha 
or beta of 1.6 IIRC), and I think then again, the emergency file was 
fine.


So in fact, backups are more like to go back to an old version 
(well, undo can do that too). Or a second safety belt.


Best regards,

Olivier


Re: defining custom font size and indentation

2009-07-02 Thread Jürgen Spitzmüller
Markus Büchele wrote:

> Have you got a clue what needs to be changed?

Without the sourcefile: no.

Jürgen





Latex error

2009-07-02 Thread solvi . natland
Hi

I'm using the 1.6.2 version of LyX for Windows.

I'm working on a large document, so I have made this masterdocument with a 
lot of child documents included.

I have no problems with runnig the child documents and get pdf's and it 
hasn't been a problem with the masterdocument until today. I keep getting 
the following errors in a pop-up window:

Error:  Missing $ inserted.
Description:\newblock 10.1007/10920527_
135.
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.

Error:  Missing $ inserted.
Description:I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.

Error:  Missing } inserted.
Description:I've inserted something that you may have forgotten.
(See the  above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

Error:  Extra }, or forgotten \endgroup.
Description:I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.

I cannot for the best of me figure out where the error is in the document. 
Can someone please help me??



<>

Re: LyX 163-4-19

2009-07-02 Thread Michael Joyner ᏩᏯ

paul saumane wrote:

You probably need to add additional style sheets in the MikTex setup.
Then tell LyX to reconfigure.
> Thanks for the tip, it is working properly now.
> However and for Windows Seven the MikTex\bin\...exe windows opened
> several times and LyX 1.6.3 has been launched several times before
> being stabilized which was not the case with The Windows XP Pro Side.
> Also, Document style sheets are more extended under the XP Pro side
> than the W7 one.
>
> Thanks again
>
> Paul
>
> --
> From: "Michael Joyner ᏩᏯ" 
> Sent: Thursday, July 02, 2009 1:58 AM
> To: "paul saumane" 
> Cc: 
> Subject: Re: LyX  163-4-19
>
>
>


-- 
LyX: http://www.lyx.org/ OpenOffice: http://www.openoffice.org/
Inkscape: http://www.inkscape.org/ Scribus: http://www.scribus.net/
GIMP: http://www.gimp.org/ PDF: http://www.pdfforge.org/




signature.asc
Description: OpenPGP digital signature


Re: Dot Leaders

2009-07-02 Thread Helge Hafting

Tad Marko wrote:
On Wed, Jul 1, 2009 at 8:03 AM, Helge Hafting > wrote:


Tad Marko wrote:

Hopefully this question has a simple answer. I'm working on a
book which has
a table of contents. Is there any way to get the TOC to have dot
leaders
between the chapter names and the page numbers?


Using the document classes like "book" or "book(KOMA-script)" does
this for me.


After I posted my question, I noticed that book does it for levels below 
Chapter, but not for Chapter. I'd like the dot leaders on all TOC entries.



Put this in the preamble:
\usepackage{tocloft}
\renewcommand{\cftchapleader}{\cftdotfill{\cftsecdotsep}}

From then on, you have dots in the chapter entries too. Of course you 
need to have the tocloft package installed somewhere.


Helge Hafting


RE: Latex error

2009-07-02 Thread Ingar Pareliussen

Hi Sølvi,

Sadly these things happen and they are also sadly difficult to
find where it goes wrong, when you have complex documents these
things are more likely to happen. Even if I do not know what have
gone wrong it is likely that an environment is not properly ended.
As an example you might have included one of your child-documents
as a title-environment instead of standard-environment. But there are
many possibilities.

You know your child documents work. Start a new Master-document and
add small pieces from your old master-document to you get the error.
I hope it then will be obvious whats wrong. If not try to make
a minimal sample (with the error) and post it to the list.

I'm going on a holiday now, (to Stavanger by coincidence ;)) but
there are many people that can help you on the list.

Ingar



Re: defining custom font size and indentation

2009-07-02 Thread Markus Büchele
Am Thursday 02 July 2009 10:06:57 schrieb Jürgen Spitzmüller:
> Markus Büchele wrote:
> > Have you got a clue what needs to be changed?
>
> Without the sourcefile: no.
>
> Jürgen

Here is the sourcefile (slightly abridged ;-) and my PDF output - by the way, 
thanks and I'm using Lyx 1.6.2

Markus


Problem Bibliographie.lyx
Description: application/lyx


Problem_Bibliographie.pdf
Description: Adobe PDF document


Endnotes that Contains the References

2009-07-02 Thread Bruce Pourciau

Fellow LyXers,

In a volume to which I am contributing, each article ends with a set  
of "Notes" in numerical order. When a note cites a reference for the  
first time, it gives the full bibliographic information (what would  
normally be given in the list of references). Ibid and loc cit are  
then used for later citations of that reference in the notes. There is  
no separate list of references, as all the bibliographic information  
is contained in the notes.


How does LyX/LaTeX handle this reference style? Do I have to type in  
the full bibliographic information for every work cited, at least the  
initial time it's cited, or is there there some automagic may of  
handling this? I use BibDesk to store the reference information.


Thanks.

Bruce
LyX/Mac 1.5.6


Re: Endnotes that Contains the References

2009-07-02 Thread BH
On Thu, Jul 2, 2009 at 10:42 AM, Bruce
Pourciau wrote:
> Fellow LyXers,
>
> In a volume to which I am contributing, each article ends with a set of
> "Notes" in numerical order. When a note cites a reference for the first
> time, it gives the full bibliographic information (what would normally be
> given in the list of references). Ibid and loc cit are then used for later
> citations of that reference in the notes. There is no separate list of
> references, as all the bibliographic information is contained in the notes.
>
> How does LyX/LaTeX handle this reference style? Do I have to type in the
> full bibliographic information for every work cited, at least the initial
> time it's cited, or is there there some automagic may of handling this? I
> use BibDesk to store the reference information.

It looks like you should be using biblatex, which you can find here:

http://dante.ctan.org/indexes/macros/latex/exptl/biblatex/

The biblatex documentation is extensive and will explain what you need
to do to get full citations, ibid, and loc cit. (It comes with a
collection of styles, which may be all you need. Others have
contributed biblatex styles; you can find many of these here:

http://dante.ctan.org/tex-archive/macros/latex/exptl/biblatex-contrib/

Although LyX doesn't natively support biblatex, you can get it working
by following instructions on this page:

http://wiki.lyx.org/BibTeX/Biblatex

The only caution with all of this is that biblatex is a work in
progress, but many (including myself) have used it successfully.

Bennett


Re: using hyperref with Hebrew documents

2009-07-02 Thread Ronen Abravanel
Hebrew+hyperref  works well using XeTex and "bidi" package. Unfortunately,
LyX's stable version dose not support XeTeX.
I could not get any output for Hebrew and hyperref using LaTeX on Tex-Live.

Ronen.

On Mon, Jun 29, 2009 at 10:41 PM, Orgad Shaneh  wrote:

> Hello,
>
> When I use hyperref in conjunction with babel, and the document
> language is defined as Hebrew, it doesn't compile.
>
> I tried both MiKTeX and TeXlive, The message I'm getting is:
> ! pdfTeX error (ext4): pdf_link_stack empty, \pdfendlink used without
> \pdfstart
> link?.
> \atbeg...@output ...ipout \box \AtBeginShipoutBox
>  \fi \fi
> l.13 \pagebreak{
>}
> !  ==> Fatal error occurred, no output PDF file produced!
>
> Here's an example document. Parts of it are in Hebrew, codepage 1255.
>
> %% LyX 1.6.2 created this file.  For more info, see http://www.lyx.org/.
> %% Do not edit unless you really know what you are doing.
> \documentclass[english,hebrew]{article}
> \usepackage[T1]{fontenc}
> \usepackage[latin9,cp1255]{inputenc}
> \setlength{\parskip}{\medskipamount}
> \setlength{\parindent}{0pt}
> \usepackage{babel}
>
> \usepackage[unicode=true,
>  bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
>  breaklinks=true,pdfborder={0 0 1},backref=false,colorlinks=false]
>  {hyperref}
>
> \makeatletter
> %% Textclass specific LaTeX commands.
> \usepackage{theorem}
> \theorembodyfont{\upshape}
> \newtheorem{theorem}{\R{משפט}}[section]
> \atbegindocument{\m...@lr\thetheorem}
>
> \makeatother
>
> \begin{document}
>
> \title{בדיקה}
>
> \maketitle
> \tableofcontents{}
>
> \pagebreak{}
>
>
> \section{סעיף ראשון}
>
>
> \subsection{תת-סעיף ראשון}
>
> לה לה
>
> לי לי
>
> לו לו
>
> \pagebreak{}
>
>
> \section{סעיף שני}
>
>
> \subsection{תת-סעיף ראשון}
>
> לה לה
>
>
> \subsection{תת-סעיף שני}
>
> לי לי
> \end{document}
>


Consecutive theorems

2009-07-02 Thread Luca Brandolini
I am trying to write two consecutive theorems in my paper. However Lyx
always joints the two theorems into a single enviromes.
The only way seems to insert a non-empty line in between. 
Is there a solution for this?



New from local template (LyX 1.6.3)

2009-07-02 Thread Paul A. Rubin

Hi all,

File -> New from Template opens a file chooser dialog pointing at 
/Resources/templates.  To get to a template stored in 
/templates, I apparently have to navigate through the file 
system (which, in Windows, is a whole lot of clicking).  Similarly, to 
change the ui or bind file to a local version seems to require the same 
trip through the Ugly Forest.  IIRC, there used to be buttons to switch 
from the system ui/bind directories to the local ones.  (Don't recall if 
templates had the same type of button.)  Am I missing something here 
(specifically, an easy way to do this)?


Thanks,
Paul



How to add the word "Chapter" in Table of Contents

2009-07-02 Thread Hesham Kamel
Hello,
Please, I need to show the word chapter in the table of contents, so it will
look like this:
Chapter 1 Chapter Heading. Page
number
Thank you,
Hesham


Re: Endnotes that Contains the References

2009-07-02 Thread Bruce Pourciau


On Jul 2, 2009, at 9:50 AM, BH wrote:


On Thu, Jul 2, 2009 at 10:42 AM, Bruce
Pourciau wrote:

Fellow LyXers,

In a volume to which I am contributing, each article ends with a  
set of
"Notes" in numerical order. When a note cites a reference for the  
first
time, it gives the full bibliographic information (what would  
normally be
given in the list of references). Ibid and loc cit are then used  
for later
citations of that reference in the notes. There is no separate list  
of
references, as all the bibliographic information is contained in  
the notes.


How does LyX/LaTeX handle this reference style? Do I have to type  
in the
full bibliographic information for every work cited, at least the  
initial
time it's cited, or is there there some automagic may of handling  
this? I

use BibDesk to store the reference information.


It looks like you should be using biblatex, which you can find here:

http://dante.ctan.org/indexes/macros/latex/exptl/biblatex/

The biblatex documentation is extensive and will explain what you need
to do to get full citations, ibid, and loc cit. (It comes with a
collection of styles, which may be all you need. Others have
contributed biblatex styles; you can find many of these here:

http://dante.ctan.org/tex-archive/macros/latex/exptl/biblatex-contrib/

Although LyX doesn't natively support biblatex, you can get it working
by following instructions on this page:

http://wiki.lyx.org/BibTeX/Biblatex

The only caution with all of this is that biblatex is a work in
progress, but many (including myself) have used it successfully.

Bennett


Thank you, Bennett. I'll take a look at biblatex.

Bruce


Simple way to get TWO fonts

2009-07-02 Thread J Worky
I am new to this whole LyX/LaTeX thing, but I am loving it! I am
creating a book that looks pretty good in Palatino font, but I want to
spice it up a little. I would at least like to be able to have one font
for headings (sans serif) and one font for everything else (serif). I am
happy with the display font all being the same, I just want the printed
version to have two. I have read "A Not So Short Guide to LaTeX" and the
"Customization" manual for LyX. I have tried putting simple commands
into the document preamble, but I'm not sure what the class already has
defined so I don't know what to put in to have the spacing and
everything stay the same and just the font change. What is the simplest
route to get my two fonts in? 

Here's my system: 
Lightly powered COMPAQ
Ubuntu 9.04
LyX 1.6.2
XeTeXk 3.141592-2.2-0.996-patch2 (Web2C 7.5.6)

Thanks

-Jacqueline



Re: Consecutive theorems

2009-07-02 Thread Ignacio García
Luca Brandolini wrote:

> I am trying to write two consecutive theorems in my paper. However Lyx
> always joints the two theorems into a single enviromes.
> The only way seems to insert a non-empty line in between.
> Is there a solution for this?

Yes, increase the nesting depth of the consecutive theorems

Regards


Re: Consecutive theorems

2009-07-02 Thread John McCabe-Dansted
On Thu, Jul 2, 2009 at 11:55 PM, Luca
Brandolini wrote:
> I am trying to write two consecutive theorems in my paper. However Lyx
> always joints the two theorems into a single enviromes.
> The only way seems to insert a non-empty line in between.
> Is there a solution for this?

Yes. Put a non-empty line inbetween. Its what I do :)

I put a line inbetween and either put a empty ERT in, or put an empty
note (Alt I-N-N) in to produce a "non-empty" line

Another trick I use is to insert a "Branch". I have a branch called
"All" which I always leave enabled. Then, if I want to e.g. have a
enumerate environment within a proof, I insert a "Branch All" and put
the enumerate within the Branch. That said, for this purpose,
increasing the environment depth as suggested by Ignacio García seems
more convenient.


Re: Consecutive theorems

2009-07-02 Thread rgheck

Ignacio García wrote:

Luca Brandolini wrote:

  

I am trying to write two consecutive theorems in my paper. However Lyx
always joints the two theorems into a single enviromes.
The only way seems to insert a non-empty line in between.
Is there a solution for this?



Yes, increase the nesting depth of the consecutive theorems

  
The other solution, probably preferable, is to use the "Separator" 
environment between the theorems. This does nothing but separate the 
environments, so that LyX will treat them as distinct.


rh



Re: Simple way to get TWO fonts

2009-07-02 Thread rgheck

J Worky wrote:

I am new to this whole LyX/LaTeX thing, but I am loving it! I am
creating a book that looks pretty good in Palatino font, but I want to
spice it up a little. I would at least like to be able to have one font
for headings (sans serif) and one font for everything else (serif). I am
happy with the display font all being the same, I just want the printed
version to have two. I have read "A Not So Short Guide to LaTeX" and the
"Customization" manual for LyX. I have tried putting simple commands
into the document preamble, but I'm not sure what the class already has
defined so I don't know what to put in to have the spacing and
everything stay the same and just the font change. What is the simplest
route to get my two fonts in? 

  
The first question is what document class you are using. Many classes do 
use different fonts for the headings and body text, so you might just 
try switching from whatever you are using (book?) to something else, 
such as book (koma-script). One advantage to the koma-script styles is 
that they are extremely customizable. (This is also the main 
disadvantage to the koma-script styles. ;-) ) Have a look at the 
koma-script manual, which you will find in scrguien.pdf wherever your 
TeX docs are. On my system (Fedora), it's at 
/usr/share/texmf/doc/latex/koma-script/scrguien.pdf.


Richard



Re: file recovery

2009-07-02 Thread John McCabe-Dansted
On Thu, Jul 2, 2009 at 2:11 PM, humanengr wrote:
> Does anyone know what role the "#" are supposed to play?

These appear to be autosaves.

Also there is yet another type of file you can recover from. If you
have done a view DVI etc, there is also likely to be a .tex file
sitting somewhere in your tmp directory. You can then import that .tex
file back into LyX. This saved me from retyping a couple of paragraphs
of math once.

-- 
John C. McCabe-Dansted
PhD Student
University of Western Australia


Problems with svn and Vista

2009-07-02 Thread James Mansion

Hi,

I'm using lyx 1.6.2 on Vista 32 bit.

I have svn 1.6 installed (sliksvn release) and it works fine, with the 
programs running OK from the standard command prompt.


I have tried using File / Version Control / Register on files in 
directories that are already in svn (and also not).


But, it pops up:

Some problem occured while running the command:
'ci -q -t-"(no initial description)" "mydoc.lyx"'.

I don't even have an RCS port on this machine!

The documentation isn't very extensive - what do I need to do?

James



Re: Simple way to get TWO fonts

2009-07-02 Thread Marcelo Acuña

> I am new to this whole LyX/LaTeX
> thing, but I am loving it! I am
> creating a book that looks pretty good in Palatino font,
> but I want to
> spice it up a little. I would at least like to be able to
> have one font
> for headings (sans serif) and one font for everything else
> (serif). I am
> happy with the display font all being the same, I just want
> the printed
> version to have two. I have read "A Not So Short Guide to
> LaTeX" and the
> "Customization" manual for LyX. I have tried putting simple
> commands
> into the document preamble, but I'm not sure what the class
> already has
> defined so I don't know what to put in to have the spacing
> and
> everything stay the same and just the font change. What is
> the simplest
> route to get my two fonts in? 
> 

 titlesec package provides to you all options for fix fonts and formats for 
titles.
 See titlesec doc.
Regards
Marcelo


  

¡Viví la mejor experiencia en la web!
Descargá gratis el nuevo Internet Explorer 8
http://downloads.yahoo.com/ieak8/?l=ar


lyx doesn't split footnotes

2009-07-02 Thread Jan David Hauck
dear all,

I'm trying to format my MA thesis for publication and am stuck with a problem:
I can't get lyx/latex to split all of my footnotes.
It's not that no footnote gets split but a whole bunch of very large
footnotes (some more than 20 lines) just don't split at all and are
causing some half a page white space or ugly ragged bottoms or (if I
flexibilize the parskip command with plus and minus) huge spaces
between paragraphs.
I tried everything but it doesn't work. I have in the latex preamble:

\interfootnotelinepenalty=0
\flushbottom

One solution that worked more or less was to put widow- and orphanpenalty down
right now it's:
\widowpenalty=1
\clubpenalty=1

but even a value of 9000 would produce a whole bunch of unnecessary
widows (no orphans though) that could have easily been solved with
splitting footnotes. It seems that Lyx (or Latex) just doesn't like
split footnotes even with that penalty 0 and the widow 1.

Any help how I can oblige the program to split my footnotes??

Thanks a lot

jan


Re: lyx doesn't split footnotes

2009-07-02 Thread Marcelo Acuña

> dear all,
> 
> I'm trying to format my MA thesis for publication and am
> stuck with a problem:
> I can't get lyx/latex to split all of my footnotes.
> It's not that no footnote gets split but a whole bunch of
> very large
> footnotes (some more than 20 lines) just don't split at all
> and are
> causing some half a page white space or ugly ragged bottoms
> or (if I
> flexibilize the parskip command with plus and minus) huge
> spaces
> between paragraphs.
> I tried everything but it doesn't work. I have in the latex
> preamble:
> 
> \interfootnotelinepenalty=0
> \flushbottom
> 
> One solution that worked more or less was to put widow- and
> orphanpenalty down
> right now it's:
> \widowpenalty=1
> \clubpenalty=1
> 
> but even a value of 9000 would produce a whole bunch of
> unnecessary
> widows (no orphans though) that could have easily been
> solved with
> splitting footnotes. It seems that Lyx (or Latex) just
> doesn't like
> split footnotes even with that penalty 0 and the widow
> 1.
> 
> Any help how I can oblige the program to split my
> footnotes??
> 
> Thanks a lot
> 
> jan
> 

 I can get footnote splited with bigfoot package, but with this I have 
pagination problems.
 Please, if you try with bigfoot, tell me how work.
 Regards
Marcelo



  

¡Viví la mejor experiencia en la web!
Descargá gratis el nuevo Internet Explorer 8
http://downloads.yahoo.com/ieak8/?l=ar


Re: lyx doesn't split footnotes

2009-07-02 Thread Jan David Hauck
hi marcelo,
thank you so much for your suggestion
loading bigfoot indeed  helped a lot, the final output is much better
I didn't know of that package before

nevertheless I'm getting Latex Errors that haven't been there before
for example:
"Paragraph ended before \...@subsection was complete."
"Extra }, or forgotten \endgroup."
and some similar errors

right now I'm reading some documentation of the bigfoot package that I
got on the internet,

do you have any other suggestion how to get rid of the errors/ what
could cause them?



2009/7/2 Marcelo Acuña :
>
>> dear all,
>>
>> I'm trying to format my MA thesis for publication and am
>> stuck with a problem:
>> I can't get lyx/latex to split all of my footnotes.
>> It's not that no footnote gets split but a whole bunch of
>> very large
>> footnotes (some more than 20 lines) just don't split at all
>> and are
>> causing some half a page white space or ugly ragged bottoms
>> or (if I
>> flexibilize the parskip command with plus and minus) huge
>> spaces
>> between paragraphs.
>> I tried everything but it doesn't work. I have in the latex
>> preamble:
>>
>> \interfootnotelinepenalty=0
>> \flushbottom
>>
>> One solution that worked more or less was to put widow- and
>> orphanpenalty down
>> right now it's:
>> \widowpenalty=1
>> \clubpenalty=1
>>
>> but even a value of 9000 would produce a whole bunch of
>> unnecessary
>> widows (no orphans though) that could have easily been
>> solved with
>> splitting footnotes. It seems that Lyx (or Latex) just
>> doesn't like
>> split footnotes even with that penalty 0 and the widow
>> 1.
>>
>> Any help how I can oblige the program to split my
>> footnotes??
>>
>> Thanks a lot
>>
>> jan
>>
>
>  I can get footnote splited with bigfoot package, but with this I have 
> pagination problems.
>  Please, if you try with bigfoot, tell me how work.
>  Regards
> Marcelo
>
>
>
>  
> 
> ¡Viví la mejor experiencia en la web!
> Descargá gratis el nuevo Internet Explorer 8
> http://downloads.yahoo.com/ieak8/?l=ar
>


Re: lyx doesn't split footnotes

2009-07-02 Thread Jan David Hauck
update:

bigfoot messed my cross references up
for example the cross reference that says "on page 102" actually
points to a label which is to be found on page 100
pretty much always 2 pages difference

any help?




2009/7/2 Jan David Hauck :
> hi marcelo,
> thank you so much for your suggestion
> loading bigfoot indeed  helped a lot, the final output is much better
> I didn't know of that package before
>
> nevertheless I'm getting Latex Errors that haven't been there before
> for example:
> "Paragraph ended before \...@subsection was complete."
> "Extra }, or forgotten \endgroup."
> and some similar errors
>
> right now I'm reading some documentation of the bigfoot package that I
> got on the internet,
>
> do you have any other suggestion how to get rid of the errors/ what
> could cause them?
>
>
>
> 2009/7/2 Marcelo Acuña :
>>
>>> dear all,
>>>
>>> I'm trying to format my MA thesis for publication and am
>>> stuck with a problem:
>>> I can't get lyx/latex to split all of my footnotes.
>>> It's not that no footnote gets split but a whole bunch of
>>> very large
>>> footnotes (some more than 20 lines) just don't split at all
>>> and are
>>> causing some half a page white space or ugly ragged bottoms
>>> or (if I
>>> flexibilize the parskip command with plus and minus) huge
>>> spaces
>>> between paragraphs.
>>> I tried everything but it doesn't work. I have in the latex
>>> preamble:
>>>
>>> \interfootnotelinepenalty=0
>>> \flushbottom
>>>
>>> One solution that worked more or less was to put widow- and
>>> orphanpenalty down
>>> right now it's:
>>> \widowpenalty=1
>>> \clubpenalty=1
>>>
>>> but even a value of 9000 would produce a whole bunch of
>>> unnecessary
>>> widows (no orphans though) that could have easily been
>>> solved with
>>> splitting footnotes. It seems that Lyx (or Latex) just
>>> doesn't like
>>> split footnotes even with that penalty 0 and the widow
>>> 1.
>>>
>>> Any help how I can oblige the program to split my
>>> footnotes??
>>>
>>> Thanks a lot
>>>
>>> jan
>>>
>>
>>  I can get footnote splited with bigfoot package, but with this I have 
>> pagination problems.
>>  Please, if you try with bigfoot, tell me how work.
>>  Regards
>> Marcelo
>>
>>
>>
>>  
>> 
>> ¡Viví la mejor experiencia en la web!
>> Descargá gratis el nuevo Internet Explorer 8
>> http://downloads.yahoo.com/ieak8/?l=ar
>>
>


Re: Simple way to get TWO fonts

2009-07-02 Thread J Worky

rgheck wrote: 
> The first question is what document class you are using. 
> Many classes do use different fonts for the headings and 
> body text, so you might just try switching from whatever 
> you are using (book?) to something else, such as 
> book (koma-script). 

You're a lifesaver! The KOMA-Script really helped. I just changed from
"book (more font sizes)" to "book (KOMA-Script)" and it automatically
gave me serif fonts on the body and sans fonts for most of the headings.
Then I asked it to use one of the fonts I installed myself by adding the
following to my Preamble: 
  \usepackage{fontspec}
  \usepackage{xunicode}
  \usepackag{xltxtra}
  \setsansfont{A.D. MONO}
and it actually did it! I'm so excited! Thanks for all your help, I'm
sure I'll have more questions later on..

-- 
-Jacqueline



newbie questions - URLs in PDF, graphical diff

2009-07-02 Thread Andrew Daviel


I haven't used Lyx or LaTeX for some time, so things have changed, if I 
ever knew..


1)  If I create a document with blank style, or from the 
letter template, when I add a URL link it does not work, either in xdvi 
or PDF.


If I add the following preamble (stolen from the
UserGuide source) in Document/Settings, it works:
\usepackage{ifpdf}
\ifpdf % if pdflatex
  \usepackage[pdftex]{hyperref}
  \hypersetup{ pdftitle = {Test}, pdfauthor = {My Name}, pdfsubject = {Example}}
\else % if dvi or ps is produced
  \usepackage[ps2pdf]{hyperref}
\fi

- figured this out on the fly while composing this message

Naively, I would expect links to work if I create them using the GUI and 
check "generate hyperlink".


2) Is there a graphical "diff" utility - if a document is updated, either 
using Lyx version control, or externally using SVN, is there a way to 
generate graphical differences, e.g. mark up document in red/blue for 
added/deleted sections as in tkdiff ?


3) Is there an HTML output filter ? latex2html is too old and fails 
miserably on Lyx exported latex.


4) Is it possible to choose which PDF output filter to use on the command 
line ? "lyx -e pdf" uses dvips, which gives me "Bad bounding box 
in Type 3 glyph" in xpdf and does not create the PDF metadata (title, 
author etc - nice for search engines)


On Scientific Lunix 5.3 (=~ CENTOS =~ RHEL) I have
lyx-1.5.6
tetex-3.0-33
tetex-latex-3.0-33
tetex-xdvi-3.0-33
ghostscript-8.15.2
xpdf 3.02
acroread 9.1.0



--
Andrew Daviel, TRIUMF, Canada


Re: file recovery

2009-07-02 Thread humanengr
John -- yes, the "#" files appear to be autosaves. And thanks for the 
fallback DVI, etc., suggestion.


After testing, I see that:

"emergency" files are created if there is a crash.
"~" files are "archive" backups of the last "saved" version. (These 
appear beginning with the second "save".)
"#" are "autosave" backups; they get updated if the file changes 
before the backup interval (set in preferences) expires. These files 
are deleted by a "save" operation. So, if a "#" exists, it is more 
recent than a "~" file.


So, the time ordering of the files would be, beginning with most 
recent (and assuming they exist):

"emergency" files
"#" files
"~" files

humanengr



On Thu, Jul 2, 2009 at 2:11 PM, humanengr wrote:
 > Does anyone know what role the "#" are supposed to play?

These appear to be autosaves.

Also there is yet another type of file you can recover from. If you
have done a view DVI etc, there is also likely to be a .tex file
sitting somewhere in your tmp directory. You can then import that .tex
file back into LyX. This saved me from retyping a couple of paragraphs
of math once.

--
John C. McCabe-Dansted
PhD Student

University of Western Australia

Re: Problems with svn and Vista

2009-07-02 Thread James Mansion

Paul A. Rubin wrote:

James Mansion wrote:
I have tried using File / Version Control / Register on files in 
directories that are already in svn (and also not).


See section 6.2.4.1 of the Additional Features manual.  The Register 
menu option appears only if the document is not already under version 
control.  In order to register it with Subversion, though, the 
*directory* in which it sits needs to be under version control (and 
that needs to be done outside LyX).  So first use sliksvn (or 
something else) to check the directory into a repository (or checkout 
files from a repository into the directory), then try again.
That is exactly what I thought I'd tried. :-(  Stupid error in that I 
started with the sandpit area and added it, but it needed a checkout to 
make it into a workspace.  Doh!


James