Re: FW: space between single and right double quote marks

2005-10-12 Thread Georg Baum
Daniel Watkins wrote:

> The word was 'foo'\InsetSpace \thinspace{}

This is 1.4. There is no small space in 1.3, you have to use ERT.


Georg



Re: some observations about lyx1.4pre2

2005-10-12 Thread Juergen Spitzmueller
Sanders, Maarten (M.J.L.) wrote:
> 3) I have segmentation faults whenever I touch the Navigate menu item
> with my 'original' documents. New documents seem OK.

Could you provide a sample document?

Jürgen


Re: space between single and right double quote marks

2005-10-12 Thread Helge Hafting

Jim Osborn wrote:


On Tue, Oct 11, 2005 at 10:11:39AM +0200, Helge Hafting wrote:
 


This is easy in lyx-1.4... Correct spacing is added as needed, at
least that happened for me with this sort of quoting style:
«The word was  » he said. 


It is also possible (but cumbersome) in lyx 1.3:
Set quoting style to double qoutes. Write everything, but skip
the single quotes.  Change quoting style to single quotes.
(That won't affect the existing double quotes in there.)
Now type the single quotes.  Then, change the style back if you need.
   



Thanks, Helge,

It does exactly as you say with the
  «The word was  » [I'll call F style]
quoting style, but not with the 
 ``The word was `foo' ''[I'll call E style]

style.

Here's the lyx for my E style example:

  \begin_inset Quotes eld
  \end_inset 
  
  The word was

  \begin_inset Quotes els
  \end_inset 
  
  foo

  \begin_inset Quotes ers
  \end_inset 
  
  \begin_inset Quotes erd
  \end_inset 
  
   he said.


And here's the dvi:
...foo

The lyx for the F style has "fld" in place of "eld" etc., and it does
indeed produce this dvi with LyX 1.3.6:
...foo

So, apparently it's a bug, at least in LyX 1.3.6, with the E style quotes
but not the F style; I didn't test all the other possibilities.

If you have time, could you verify whether the bug exists in LyX 1.4
for the E style quotes?
 


The bug exist in lyx 1.4 too, unfortunately. Things look fine on
screen, but a closing single quote followed by a closing double quote
(i.e. after the word "foo") looks like the opposite (a closing double
followed by a closing single) in the output. Ugly.

The user can work around this by inserting a small space between the
single and double closing quote though.



 


The spacing should be correct too.  If it isn't note that both
lyx 1.3 and lyx 1.4 have "small spaces" in the insert menu.
   



I can't find a "small space" in my LyX 1.3.6 Insert->Special Character
menu.  I have these choices:
 


Sorry, I was wrong. There is no small space in lyx 1.3.  You can
use ERT to insert a \thinspace{} though.

Helge Hafting


Re: converting tex to lyx; layouts

2005-10-12 Thread Mael Hilléreau
I spent hours searching the net, and frankly, I am fed up with fiddling 
around with lyx
all the time to make is more useful. Is there any good web site which I 
can go and rest

my tired mind...?



Did you have a look at LyX documentation (Help>Customization)?

--
Mael Hilléreau



Re: space between single and right double quote marks

2005-10-12 Thread Juergen Spitzmueller
Helge Hafting wrote:
> The bug exist in lyx 1.4 too, unfortunately. Things look fine on
> screen, but a closing single quote followed by a closing double quote
> (i.e. after the word "foo") looks like the opposite (a closing double
> followed by a closing single) in the output. Ugly.

It's an oldtimer:
http://bugzilla.lyx.org/show_bug.cgi?id=253

> The user can work around this by inserting a small space between the
> single and double closing quote though.

The best is to use the csquotes package instead of LyX's single/double 
quotation marks.

Jürgen


Re: FW: space between single and right double quote marks

2005-10-12 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:

Georg> Daniel Watkins wrote:
>> The word was 'foo'\InsetSpace \thinspace{}

Georg> This is 1.4. There is no small space in 1.3, you have to use
Georg> ERT.

And what about a ligature break?

JMarc


Re: jurabib from within lyx

2005-10-12 Thread Juergen Spitzmueller
Lachlan wrote:
> "Paragraph ended before \org@@citex was complete
> I suspect you've forgotten a "}", causing me to apply this control sequence
> to too much text.  How can we recover?  My plan is to forget the whole
> thing and hope for the best."

I think the reason is that the babel package has to be loaded before jurabib.
Try \usepackage{babel} before \usepackage[bibformat=numbered]{jurabib}.

You'll be pleased to hear that the next version of LyX will provide some 
native support for jurabib.

Jürgen


Re: space between single and right double quote marks

2005-10-12 Thread Juergen Spitzmueller
Jim Osborn wrote:
> I can't seem to find a way to typeset the following text correctly:
>
> "The word was `foo,'" he said.

For the time being, the quickest solution is to use \textquotedblright{} in 
ERT instead of the closing double quotation mark.

HTH,
Jürgen


Re: pagebreaks and labeling

2005-10-12 Thread Jose Capco
Ok, I found out that this thing with labeling and
referencing the label may be some lyx bug. I am using
still 1.3.5 (due to compatibility issues with win98, I
cant use 1.3.6 yet) ... When I compile the tex export
of my lyx file, I get the references correctly in my
dvi. But when I allow lyx to produce the dvi, I almost
always get a "??" for the references until maybe I
dont know.. say 10 or more compilation (each
compilation involving quiting lyx and recompiling the
whole document again).

LaTeX does require recompiling every now and then
(since the labeling must be resequenced), and it is
common of LaTeX to produce "??" on references if you
don't recompile.. but after the second compilation the
whole stuff should be alright, which is not the case
for lyx.

Sincerely,
Jose Capco




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


Re: pagebreaks and labeling

2005-10-12 Thread Jose Capco


--- Uwe Stöhr <[EMAIL PROTECTED]> wrote:

> For \newpage you can use the shortcut "Strg-ENTER"
> (or "C-ENTER").
> \pagebreak is actually not supported in LyX, so that
> you have to use ERT 
> for this.
> 
> regards Uwe
> 

Ctrl-Enter (or Strg-Enter ;D ) is actually \newline
and not \pagebreak, at least for me it is (with 1.3.5
Qt port). Any key combo for pagebreak? I know about
the paragraph menu where I can choose it, as I learned
from one of the replies to my post.. but a key combo
wouldbe great too. Is there a place where I can read
more about keyboard shortcuts (I would also like to
use keyboard shortcuts when changing environments)




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


Re: pagebreaks and labeling

2005-10-12 Thread Jose Capco
In the amsmath package, when one starts a new section
environment a pagebreak is not accompanied. This is
sometimes awkward especially in cases when you for
instance have just ended your old section that is
almost in the end of the page (you get a one line
section title that resides in the end of the page
which looks really bad).

--- "Martin A. Hansen" <[EMAIL PROTECTED]>
wrote:

> IMHO one should avoid forced page breaks. latex goes
> to great lengths to do
> page breaking in a typographically pleasing way, and
> i feel that a key-combo
> would only encourage forced page breaks.
> 
> perhaps the need for a forced page break is better
> solved in a different
> way?
> 




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


math messes up with justification

2005-10-12 Thread Jose Capco
Dear list,

Here is another issue I want to resolve which I can
usually solve if I use LaTeX. Somehow LaTeX does not
understand when to put a formula in a new line when
justifying (thus the need of force linebreaks
sometimes).. sometimes I write a formula and half of
the formula resides in the next line or the formula
surpasses the allowed margin, which makes it confusing
to the reader. Fortunately, I can avoid these or at
least be able to solve this when writing pure TeX,
since after compilation I get hbox warnings that tell
me about these stuffs... usually I resolve the problem
by linebreaking where the formula starts and usually
the justification turns alright in TeX. ...

Now Im not sure if this is a LyX thing or a TeX
thing.. but now when I linebreak on formulae, I dont
get the justification and end up having a big gap
between my last line and the right margin and then a
new line with the formula and etc. (I want the formula
to be inline and not display, since its a short
formula). Is there a way to resolve this problem? I
know linebreak is like forcing it, but there is no
other way I know to make my formula appear in one line
and not exceed the margin.

Sincerely,
Jose Capco




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


Re: pdflatex & MacOS X

2005-10-12 Thread Bennett Helm

On Oct 12, 2005, at 2:47 AM, David Philp wrote:


Hi

This is along the lines of the recent "lyx MacOS" thread.  I have the
same problem with the following symptoms:

(1) "View PDF (pdflatex)" does nothing
(nothing means it grinds away a little bit and then does nothing.  Lyx
is responsive.)
(2) "File -> Export -> PDF (pdflatex)" does nothing (produces no file
in appropriate directory)
(3) other methods of viewing do not work because the document uses  
"pdfpages"

but
(4) "File -> Export -> Latex" works, and produces a latex document
that works when compiled in texshop using pdflatex.
and more confusing
(5) other documents that do NOT use "pdfpages" work as expected  
with pdflatex.


So I know that my document isn't broken at any stage, and that my
latex probably isn't broken either...


I can't see yet any reason for a problem from this. Have you looked  
carefully at the latex log files both in LyX and TeXShop to see if  
there is anything unusual? (In doing this, you might want to try a  
maximally simple test document, using "\usepackage{pdfpages}" in the  
preamble and "\includepdf{... path to document ...}" in ERT in the  
main document window.)



I have tried fiddling as in the recent "lyx MacOS" thread (i.e.
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg42267.html )
with no success.


It doesn't sound like your problem is similar: if all other documents  
without pdfpages work fine, then PATH settings and Viewer options are  
not to blame.



I am using the most recent version of Lyx 1.3.6-2, on OS 10.4.  I
originally wrote this file in Lyx a few weeks ago... and it worked
fine then too!


The similar setup for me works just fine, without any problems. Are  
you sure nothing has changed in the meantime? -- You haven't changed  
the file at all? You haven't updated latex?


Bennett


Re: pagebreaks and labeling

2005-10-12 Thread Martin A. Hansen
i understand that you are displeased with such a "son of a bitch"
(typografically a "horeunge" in danish - i am not sure about the english
term), however, you do realize that if you insert or delete text in your
document above the forced page break the layout could be ruined - and you
are back to scratch?

introducing forced page breaks in this way is a word thing. just flipping
though the latex companion, which i have next to me, i see several such
"SOBs". maybe you are looking at your document with "word" eyes and not
latex eyes? and perhaps you should be content with the "SOB"?


martin

On 12/10/05, Jose Capco <[EMAIL PROTECTED]> wrote:
>
> In the amsmath package, when one starts a new section
> environment a pagebreak is not accompanied. This is
> sometimes awkward especially in cases when you for
> instance have just ended your old section that is
> almost in the end of the page (you get a one line
> section title that resides in the end of the page
> which looks really bad).
>
> --- "Martin A. Hansen" <[EMAIL PROTECTED]>
> wrote:
>
> > IMHO one should avoid forced page breaks. latex goes
> > to great lengths to do
> > page breaking in a typographically pleasing way, and
> > i feel that a key-combo
> > would only encourage forced page breaks.
> >
> > perhaps the need for a forced page break is better
> > solved in a different
> > way?
> >
>
>
>
>
> __
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
>


lyxcode inside paragraph

2005-10-12 Thread Jeroen Boydens
Hello,
 how can I enter lyxcode in the middle of a sentence? I want to emphasize
the fact that some words in a sentence are the names of methods, classes,
 I would like to see those names in a nonproportional typeface.

--
Jeroen


Re: lyxcode inside paragraph

2005-10-12 Thread Johan Ingvast

Jeroen Boydens wrote:

Hello,
 how can I enter lyxcode in the middle of a sentence? I want to emphasize
the fact that some words in a sentence are the names of methods, classes,
 I would like to see those names in a nonproportional typeface.
You can not without problems have a paragraph environment inside another 
paragraph. (Maybe possible if you put a minipage into the paragraph)


But why not
select text
Choose Layout->Character->Family->Typewriter

/johan


Presentations using LyX

2005-10-12 Thread Daniel Watkins
I've read quite a lot about using LyX to create presentations, along
with such words as Beamer and FoilTeX being thrown around. I was
wondering if someone would be kind enough to explain how LyX can be used
in such a way, or point me to a website which would do the same?

Cheers,
Dan



Re: Presentations using LyX

2005-10-12 Thread Paul Smith
On 10/12/05, Daniel Watkins <[EMAIL PROTECTED]> wrote:
> I've read quite a lot about using LyX to create presentations, along
> with such words as Beamer and FoilTeX being thrown around. I was
> wondering if someone would be kind enough to explain how LyX can be used
> in such a way, or point me to a website which would do the same?

Daniel,

Beamer is a very nice class for presentations, and it has support for
LyX. Install it and look at its manual, which also illustrates the way
it can be used inside LyX. Furthermore, you have some examples at:

http://wiki.lyx.org/Examples/Beamer

Paul


Re: pagebreaks and labeling

2005-10-12 Thread Uwe Stöhr

Jose Capco wrote:


Ctrl-Enter (or Strg-Enter ;D ) is actually \newline
and not \pagebreak, at least for me it is (with 1.3.5
Qt port).


Oh sorry, you are right: \newpage is inserted via the menu Edit->Paragraph


Any key combo for pagebreak? I know about
the paragraph menu where I can choose it


The paragraph-menu creates always a \newpage.


but a key combo wouldbe great too.


I don't know if this is possible in LyX but better you don't have it 
because \pagebreaks should be used rarely; otherwise they detroy LaTeX's 
 automatic pagebreak mechanism.



Is there a place where I can read
more about keyboard shortcuts


Yes it is described in the LyX's "Customization" manual.
regards Uwe


Re: Presentations using LyX

2005-10-12 Thread Uwe Stöhr

Daniel Watkins wrote:


I've read quite a lot about using LyX to create presentations, along
with such words as Beamer and FoilTeX being thrown around. I was
wondering if someone would be kind enough to explain how LyX can be used
in such a way, or point me to a website which would do the same?


The Manual of "Beamer" explains it very well. The author also offers 
layout files for LyX. Have a look at:


http://www.tug.org/tex-archive/macros/latex/contrib/beamer/

Here you find some customized presentation from me made with Beamer:

http://fkurth.de/uwest/usti/Vortrag/

(If you are interested in compiling/processing my LyX-files, I can tell you)

regards Uwe


Re: Symbol in ERT

2005-10-12 Thread Uwe Stöhr

Raymond Ouellette a écrit:


I'm using beamer class for a pdf presentation of Gimp next week.

> In a slide, I use a block box written using ERT.
> My problem is that I want to insert a right triangle to mimic a right 
arrow.
> The symbol is \triangleright but I dont't know how to insert it 
inside the ERT?


You don't need ERT: Create an empty formula and type in \triangleright 
or choose the symbol from the symbol list that is available when you 
right-click on the formula.


regards Uwe


can't input a single Chinese character

2005-10-12 Thread bxuefeng
Hi Lyx users, 

I am new to lyx and desperate to get it work for Chinese typesetting. 
There version I am using is CJK-lyx 1.3.5 and CJK environment (fonts,
packages) have been installed. 

However, when I launch scim input method to input Chinese, I can't insert a
single character into lyx window. Then just to test the Chinese workability,
I pasted some Chinese into lyx window and some of the characters are
garbled. 

I tried to build div file to view and I got this error:

---
Package inputenc Error: Keyboard character used is undefined

 You need to provide a definition with \DeclareInputText 
 or \DeclareInputMath before using this key.
---

How do I fix this error? Are there any CJK users in the list who have
similar experiences?

regards

bxuef

-- 
dhammapada says:
 
  He who does violence to the peaceful and harmless soon encounters one of
  ten things - He may experience cruel pain, disaster, physical injury,
  severe illness, or insanity, or else trouble with the authorities, grave
  accusation, bereavement, or loss of property, or else destruction of his
  house by fire, and on the death of his body the fool goes to hell. 137,
  138, 139, 140
 


can't input a single Chinese character

2005-10-12 Thread phyrster
Hi Lyx users, 

I am new to lyx and desperate to get it work for Chinese typesetting. 
There version I am using is CJK-lyx 1.3.5 and CJK environment (fonts,
packages) have been installed. 

However, when I launch scim input method to input Chinese, I can't insert a
single character into lyx window. Then just to test the Chinese workability,
I pasted some Chinese into lyx window and some of the characters are
garbled. 

I tried to build div file to view and I got this error:

---
Package inputenc Error: Keyboard character used is undefined

 You need to provide a definition with \DeclareInputText 
 or \DeclareInputMath before using this key.
---

How do I fix this error? Are there any CJK users in the list who have
similar experiences?

regards

bxuef

-- 
dhammapada says:
 
  He who does violence to the peaceful and harmless soon encounters one of
  ten things - He may experience cruel pain, disaster, physical injury,
  severe illness, or insanity, or else trouble with the authorities, grave
  accusation, bereavement, or loss of property, or else destruction of his
  house by fire, and on the death of his body the fool goes to hell. 137,
  138, 139, 140
 


Re: Symbol in ERT

2005-10-12 Thread ray.ouellette
The $trick$ did it !

Thank you both for your answer. As for ERT, I had no choice to use it in the 
beamer class if I want to create a shadowed box containing text.

Raymond




Re: Presentations using LyX

2005-10-12 Thread Rich Shepard

On Wed, 12 Oct 2005, Daniel Watkins wrote:


I've read quite a lot about using LyX to create presentations, along with
such words as Beamer and FoilTeX being thrown around. I was wondering if
someone would be kind enough to explain how LyX can be used in such a way,
or point me to a website which would do the same?


Dan,

  Two other responses told you where to learn about the beamer class, but
they forgot to answer your question.

  Most presentations today use a computer and lcd projector to provide the
visual aids, which we continue to call "slides." In the Microsoft world
speakers seem to be limited to PowerPoint for their slides. In the linux
world there are many choices: the three most common are OpenOffice.org's
Impress, MagicPoint (mgp123), and LaTeX/LyX. The last one, of course, is far
superior to all of the above. :-)

  LyX allows us to prepare the slides as we would preprae an article, report,
or book. Each type of document requires a class that defines the layout of
each page (or slide) as well as the entire document.

  In the LaTeX arena are several classes for slide preparation: seminar,
prosper, foiltex, and beamer. Probably more of which I am unaware. For me,
beamer is the easiest to learn and use and it produces outstanding visuals
with the usualy professional layout design for which we all use LyX/LaTeX.

  The beamer docs instruct us how to install under LyX as well as under
LaTeX. There is a well-documented tutorial and complete instructions. And, of
course, there's this mail list as well as a beamer-specific one.

  I've used beamer to prepare the slides for two public presentations over
the past month. I've inserted tables within a slide frame, created graphics
using tgif (which are included as .eps files) and PSTricks (compiled with
ps4pdf before being inserted into the document), and used the full range of
tools to create sections and sub-sections. The output is a .pdf file and is
displayed using acroread (or the Windoze equivalent). Because the preparation
is done with TeX as the foundation, the output is great and we have control
over almost everything except the reaction of the audience.

HTH,

Rich

--
Dr. Richard B. Shepard, President |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM) |  Impact Assessments Using Fuzzy Logic"
 Voice: 503-667-4517 Fax: 503-667-8863


Re: Presentations using LyX

2005-10-12 Thread Juergen Spitzmueller
Daniel Watkins wrote:
> I've read quite a lot about using LyX to create presentations, along
> with such words as Beamer and FoilTeX being thrown around. I was
> wondering if someone would be kind enough to explain how LyX can be used
> in such a way, or point me to a website which would do the same?

Whilst everyone is recommending beamer (which I'm using myself btw), I just 
want to mention that there is an alternative package, which is told to be (at 
least) as powerful, called powerdot (f.k.a. ha-prosper):

http://stuwww.uvt.nl/~hendri/index.html?/~hendri/Downloads/powerdot.html&mainframeha

It also features a LyX layout file and uses PSTricks.

Jürgen


Re: Presentations using LyX

2005-10-12 Thread Mael Hilléreau

Daniel Watkins a écrit :

I've read quite a lot about using LyX to create presentations, along
with such words as Beamer and FoilTeX being thrown around. I was
wondering if someone would be kind enough to explain how LyX can be used
in such a way, or point me to a website which would do the same?


You should have a look at powerdot new LaTeX class from Hendri Adriaens 
and Christopher Ellison (first release was this summer), which to me is 
very much easier and instinctive to use than beamer and also very 
powerful (interactive table of contents on slides, easy overlays 
creations, powerful template system to easily develop new styles, and 
much more). Additionnaly, powerdot provides LyX support ;)


Here's a link to powerdot main site:

http://stuwww.uvt.nl/~hendri/index.html?/~hendri/Downloads/powerdot.html?mainframeha

It is also available at CTAN:

http://www.ctan.org/tex-archive/macros/latex/contrib/powerdot/

Regards,

Mael.

--
Mael Hilléreau


Sorting the Bibliography

2005-10-12 Thread Walid Maalej
Dear all,

I ve just added my references using the Lyx features. Now I would like to
have theses references alphabetically sorted in the final document. 
Can I do it with Lyx? If No, do you know which LaTeX commands will solve my
problem?
Furthermore, is it possible to sort a list of items (e.g. a Glossary or
definitions) using LyX or LaTeX
Thanks a lot in advance for your help.
Best Regards,
Walid




Problem with table and paranthesis wn Lyx 1.4pre2

2005-10-12 Thread Marius Ionescu
Hi.

I am using Lyx1.4pre2 with the qt frontend on Ubuntu 5.04. It behaves
strange when, in the math mode (display), I want to insert a two-by-two
matrix and then I select it and try to insert parenthesis to the left and
right (a matrix). After I press the insert button (for parenthesis), the
matrix becomes a 1X2 matrix (it erases on row).

Regards,
Marius


Re: Sorting the Bibliography

2005-10-12 Thread hansel
Lyx sorts for printing (including screen dvi, ps or pdf). To print the raw
file, I sporatically ask emacs to "sort buffer." As I recall, other bibtex
tools also sort. But your question was aobut output. That is automatic.

Mark Hansel

On Wed, 12 Oct 2005, Walid Maalej wrote:

> Dear all,
> 
> I ve just added my references using the Lyx features. Now I would like to
> have theses references alphabetically sorted in the final document. 
> Can I do it with Lyx? If No, do you know which LaTeX commands will solve my
> problem?
> Furthermore, is it possible to sort a list of items (e.g. a Glossary or
> definitions) using LyX or LaTeX
> Thanks a lot in advance for your help.
> Best Regards,
> Walid


Re: pagebreaks and labeling

2005-10-12 Thread Martin A. Hansen
IMHO one should avoid forced page breaks. latex goes to great lengths to do
page breaking in a typographically pleasing way, and i feel that a key-combo
would only encourage forced page breaks.

perhaps the need for a forced page break is better solved in a different
way?


martin

On 12/10/05, Jose Capco <[EMAIL PROTECTED]> wrote:
>
>
>
> --- Uwe Stöhr <[EMAIL PROTECTED]> wrote:
>
> > For \newpage you can use the shortcut "Strg-ENTER"
> > (or "C-ENTER").
> > \pagebreak is actually not supported in LyX, so that
> > you have to use ERT
> > for this.
> >
> > regards Uwe
> >
>
> Ctrl-Enter (or Strg-Enter ;D ) is actually \newline
> and not \pagebreak, at least for me it is (with 1.3.5
> Qt port). Any key combo for pagebreak? I know about
> the paragraph menu where I can choose it, as I learned
> from one of the replies to my post.. but a key combo
> wouldbe great too. Is there a place where I can read
> more about keyboard shortcuts (I would also like to
> use keyboard shortcuts when changing environments)
>
>
>
>
> __
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
>


Re: pagebreaks and labeling

2005-10-12 Thread Todd Denniston
Jose Capco wrote:
> 
> In the amsmath package, when one starts a new section
> environment a pagebreak is not accompanied. This is
> sometimes awkward especially in cases when you for
> instance have just ended your old section that is
> almost in the end of the page (you get a one line
> section title that resides in the end of the page
> which looks really bad).
> 

Although I Generally like to force new major sections to start on a new page
too, you can be a little gentler and ask LaTeX not to make widows[1] or
orphans[2] most of the time anyway. The LaTeX way is to make it a penalty to
create such a line, using \clubpenalty and \widowpenalty [3]. 
I always put in my preamble:
\widowpenalty=1
\clubpenalty=1
\raggedbottom

(don't remember why, but the raggedbottom seemed to help the situation I
had.)


[1] http://en.wikipedia.org/wiki/Widow_%28typesetting%29
[2] http://en.wikipedia.org/wiki/Orphan_(typesetting)
[3] http://tug.org/TeXnik/mainFAQ.cgi?file=layouts/widows

Good luck.

> --- "Martin A. Hansen" <[EMAIL PROTECTED]>
> wrote:
> 
> > IMHO one should avoid forced page breaks. latex goes
> > to great lengths to do
> > page breaking in a typographically pleasing way, and
> > i feel that a key-combo
> > would only encourage forced page breaks.
> >
> > perhaps the need for a forced page break is better
> > solved in a different
> > way?
> >
> 
> 
> 
> __
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com

-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter


Re: pdflatex & MacOS X

2005-10-12 Thread David Philp
Thanks for your comments.  I will send a maximally simple broken
example to the people who responded.  Here's the description:

Inside the archives are two short lyx files and associated latex & PDF output.
(1) PDF_to_include is a short file that I created for the purpose of
the test.  I try to include it into the otherfile with the command
\includepdf

(2) File_that_includes_other_file shows the symptoms:
(a) if I load the lyx fil into lyx, and use "View" or "Export" via
pdflatex, I can't get a PDF out of it.
(b) if I export the Latex, it produces the tex file in the archive
(c) if I do pdflatex from the command line or from Texshop, I can
easily produce the PDF you have here --- the PDF I would expect.

I have noticed a new thing: if I comment out the ERT \includepdf
statement, (but still keep pdfpages in the preamble), everything works
as expected.

(Bennett Helm wrote)
> The similar setup for me works just fine, without any problems. Are
> you sure nothing has changed in the meantime? -- You haven't changed
> the file at all? You haven't updated latex?

Sorry, yes, I have updated latex.  I am using the most recent (of a
few days ago) version from fink unstable.  I didn't suspect latex,
because everything works fine from the command line and texshop
but I guess I should, because it's the only thing that has changed.

pdflatex --version tells me:
pdfeTeX 3.141592-1.21a-2.2

fink describe tetex tells me:
tetex-3.0-1

(Geoff Lloyd wrote)
> Otherwise you could run Lyx via a terminal windows and see what
> errors/comments it lists when you do the compile in PDFlatex.

Errmmm... I could, but I'll have to hunt around for some info on how
to do that.  I'll get back.

Thanks.  D


--

==
David J Philp
Postdoctoral Fellow
National Centre for Epidemiology and Population Health
Building 62, cnr Mills Rd & Eggleston Rd
The Australian National University
Canberra ACT 0200 Australia

T: +61 2 6125 8260
F: +61 2 6125 0740
M: 0423 535 397
W: http://nceph.anu.edu.au/

CRICOS Provider #00120C


Re: Presentations using LyX

2005-10-12 Thread Robert Orr
These were really nice.

Is it possible to get a .tar.gz of this directory?

http://fkurth.de/uwest/usti/Vortrag/ 






__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


Re: jurabib from within lyx

2005-10-12 Thread Lachlan

> I think the reason is that the babel package has to be loaded before jurabib.
> Try \usepackage{babel} before \usepackage[bibformat=numbered]{jurabib}.

This worked, thanks.

I now have a few more questions:
1.  Is it possible to get a footnote reference any way other than inserting ERT 
and writing "\footfullcite{REF}"?  (the Insert->Citation menu entry does not 
produce a useful citation reference in the final document)
2.  When I did get it to work using the ERT method above, the footnote 
reference was poorly formatted.  There was no punctuation between the author's 
name and the title.  The reference was far better formatted in the actual 
bibliography.  Is there any way to get the proper formatting in the footnote 
reference?

Thanks, 
Lachlan


Re: pagebreaks and labeling

2005-10-12 Thread Juergen Spitzmueller
Todd Denniston wrote:
> Although I Generally like to force new major sections to start on a new
> page too, you can be a little gentler and ask LaTeX not to make widows[1]
> or orphans[2] most of the time anyway. The LaTeX way is to make it a
> penalty to create such a line, using \clubpenalty and \widowpenalty [3].
> I always put in my preamble:
> \widowpenalty=1
> \clubpenalty=1
> \raggedbottom

This is the preferred way, but sometimes, LaTeX still produces widows. Instead 
of forced page breaks, you can use conditional page breaks in this case, 
which only break pages when a given amount of space is not provided:

% In Preamble
\def\condbreak#1{\vskip 0pt plus #1\pagebreak[3]\vskip 0pt plus -#1\relax}

and in the document, e.g.
\condbreak{2\baselineskip}
inserts a pagebreak when there is less then 2 lines below.

Jürgen


Re: Problem with table and paranthesis wn Lyx 1.4pre2

2005-10-12 Thread Juergen Spitzmueller
Marius Ionescu wrote:
> I am using Lyx1.4pre2 with the qt frontend on Ubuntu 5.04. It behaves
> strange when, in the math mode (display), I want to insert a two-by-two
> matrix and then I select it and try to insert parenthesis to the left and
> right (a matrix). After I press the insert button (for parenthesis), the
> matrix becomes a 1X2 matrix (it erases on row).

Hello Marius,

this is a known bug, a fix has already been proposed. Thanks for reporting.

Jürgen