Differences using beamer class in lyx-1.5.2 versus lyx-1.4.x

2007-10-11 Thread Oscar Lopez
Hello lyxers

Yesterday I updated from lyx-1.4.x to lyx-1.5.2 and first of all I would like to
thank to developers for such a great software. 

The first try I did when testing the new version was to load a beamer
presentation I was working on. The first thing I got was a bunch of errors in
the Lyx: latex Errors window, something like this:

Latex Error: \begin{center} on input 211 ended by [EMAIL PROTECTED]
Extra }, or forgotten \endgroup
You can't use '\prevdepth' in horizontal mode
Missing $ Inserted,
Missing number, treated as zero.



I finally managed to compile the document by moving to a new paragraph all lyx
notes and branches that were inlined within the text. What worries me is that I
have many presentations made in the past that I frequently use and I expect that
the same problem can appear. Has anybody experienced the same problem or similar
ones?

Another notorius difference is the new font selection mechanism. In lyx-1.4.x I
selected the fonts of the document to Times. Now the new font selection window
it says Default Family: Default and Roman: Times Roman. The problem is twofold

- the generated pdf embbeds type 3 fonts (bitmapped)
- the look of the fonts is quite different

Why lyx-1.5.2 does not load the previously used by lyx-1.4.x font correctly? And
by the way, when I selected Font: Times in lyx-1.4.x what is the font that I
have to select in lyx-1.5.2 to get the same printable results.

Having said that, I would like to underline that I really appreciate the new
features lyx-1.5.2 has and I am looking forward to working on a daily basis with
such a beautiful creature!

Thanks a lot for all your help
Best wishes




[Fwd: Re: Different page orientations in one document]

2007-10-11 Thread Rudi van der Linde


Hi Roger

Roger Light wrote:

Hi Rudi,

  
I would like to have portrait as well as landscape oriented pages in a 
document I am writing.  I would appreciate any pointers on how to do it.



I do this by adding \usepackage{lscape} to my preamble then surrounding
my landscape pages with ERT:

\begin{landscape}

(page goes here)

\end{landscape}
  

Many thanks!

I gave it a preliminary test and it seems to do what I need.  It seems, 
however, that the headers and footers remain in potrait even though 
the body is in landscape.  Any ideas how I can rotate the whole page?  
(It is what Word does and I want to convert my colleagues to LyX in 
small increments :-)


Regards,

--
Rudi van der Linde
[EMAIL PROTECTED]

Note:
This message (and attachments) is subject to restrictions and a disclaimer. 
Please refer to http://www.ansys.co.za/index.html or [EMAIL PROTECTED] for full 
details.



embedded math formule

2007-10-11 Thread Robert Poser
You are right. With another font the expression it looks fine. But why? I
installed LyX 1.5.1 and MikTex with the Win-Installer, and besides that all
works fine. I would like to continue using the lmodern font...

Rob


Natbib numerical citations with links in PDF

2007-10-11 Thread Christian Liesen

Hi,

does anyone know how to make citations appear as clickable links in the 
pdf output?


I'm using the Natbib numerical style with pdflatex and want something like

... the moon is made of cheese [1] ...

to appear in the body text with the citation [1] being clickable and 
refering to the bibliography entry, say,


[1] Brie 1989: My visit to the moon. Camembert Press.


I tried to find something about this in in the Wiki and this list's 
archives, but to no avail.


Many thanks,
-- Christian




Re: Lyx - Lyx

2007-10-11 Thread Helge Hafting

Humbert Francis wrote:
I am working on a program which corrects math exercises done by my 
students. This program insert error messages (in red) in a Lyx 
document. The input of this program is a Lyx document and the output 
is also a Lyx document. I did not manage to install such a converter. 

Interesting program, but why make it a converter in LyX? The LyX
converters are for converting between different file formats.
Your program doesn't do that, instead it changes a LyX file.
How about just running this from the os command line?
Why do you want to run this program from inside LyX?

Which wiewer should I declare in the preference window ? Would this 
converter replace the current document (it would be the best solution) 
? create a new Lyx view ?
I could create the corrected doc in pdf format, but I prefer avoiding 
my students installing a latex distribution. 

If you're doing this from a script, just run
lyx --export pdf2 file.lyx
in order to produce file.pdf automatically.

Helge Hafting



Re: Lyx 1.5.1 and LyX 1.5.2 Spellchecker Could not be started

2007-10-11 Thread Uwe Stöhr

Rosanna Chan schrieb:


Should I try to contact a developer (how does one do that :)) or should I
report this as a bug?


Before doing this, could you please check if it works this way:

- uninstall LyX 1.5.1 and/or LyX 1.5.2
- uninstall all Aspell dictionaries
- ininstall Aspell itself in case you see it as installed after you uninstalled 
the dictionaries
- reinstall LyX 1.5.2 using this installer:
  http://wiki.lyx.org/Windows/LyXWinInstaller

When this works this installer sets up the system so that your Aspell will be uninstalled together 
with LyX when you upgrade to another LyX version to assure that you'll have a working Aspell version


regards Uwe


Re: [OT] Programmatically Creating a LaTeX Document

2007-10-11 Thread Rich Shepard

On Wed, 10 Oct 2007, Steve Litt wrote:


Rich -- please share whatever your final solution with the list. I think
most of us need to do this exact thing from time to time.


Steve,

  Expediency won: I can do the reports using ReportLab's table layout. Fewer
than two dozen lines of code, and I can fine-tune placement on the page,
have headers that are defined once and printed on each page, and meet our
needs.

  It's not a generic solution, but it fits the application's structure and
works for our purposes.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.| Accelerators(TM)
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Natbib numerical citations with links in PDF

2007-10-11 Thread Richard Heck

Bob Lounsbury wrote:

On 10/11/07, Christian Liesen [EMAIL PROTECTED] wrote:
  

does anyone know how to make citations appear as clickable links in the
pdf output?


The hyperref package is a popular way. Look up the documentation on ctan.
  
It's enough to put \usepackage{hyperref} in the preamble. But there 
are other options you can use to configure the output.


rh

--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: Natbib numerical citations with links in PDF

2007-10-11 Thread Bob Lounsbury
On 10/11/07, Christian Liesen [EMAIL PROTECTED] wrote:
 Hi,

 does anyone know how to make citations appear as clickable links in the
 pdf output?

 I'm using the Natbib numerical style with pdflatex and want something like

 ... the moon is made of cheese [1] ...

 to appear in the body text with the citation [1] being clickable and
 refering to the bibliography entry, say,

 [1] Brie 1989: My visit to the moon. Camembert Press.


 I tried to find something about this in in the Wiki and this list's
 archives, but to no avail.

 Many thanks,
 -- Christian


The hyperref package is a popular way. Look up the documentation on ctan.

Bob


Re: configure default paragraph alignment

2007-10-11 Thread Richard Heck

William Seager wrote:
How do you set the default paragraph alignment to left 
justified (ragged right)? You can change individual paragraphs 
so they display (and print) with left justified paragraphs, 
but I want my documents to default to this. 
 
You can add \raggedright to the beginning of a
document, but that does 
not change the way lyx displays on screen (paragraphs 
appear fully justified but do not print that way). 
  
The alignment in output is set by your document class, so if you want to 
change that, you need to use a different document class, or do something 
to change the one you have. (Some document classes may have options for 
this, as well. Check their documentation.) Changing the display in LyX 
is a matter of editing the layout file, in which alignment is controlled 
by the Align directive. If you're using, say, book.cls, then copy 
book.layout to your local LyX directory (where it is is 
system-dependent), open it, and then add to the end of the file:

Style Standard
Align Left
End
This will override the usual declaration. If you want this also for 
other paragraph types, you'll need to add corresponding declarations for 
the other paragraphs. But again: Changing this in the layout file won't 
change it in the output; these are different beasts.


Richard

--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



comments about documents in Spanish language

2007-10-11 Thread Ignacio García
Hi,

When the document language is Spanish and the LaTeX-package babel
is used (the default), the Spanish Language Definition File (spanish.ldf)
sets some default behaviours that may have unexpected outcomes:

a) It may be that gives latex errors
For example: Since the lowercase Roman numerals are not used in Spanish,
they are redefined to noun style, but the command
\pagenumbering{roman} produces errors in some cases, e.g., pdflatex
don't works if the option plainpages=false for hyperref is used.
This problem is solved, I think. Just I have installed the last version
spanish v5.0a (http://www.texytipografia.com/spanish.html) and the error is out.
Marcelo has reported errors with the package bigfoot
(http://www.mail-archive.com/lyx-users@lists.lyx.org/msg59151.html)
(Trick: change roman to Roman)
Perhaps Marcelo may try the new spanish.ldf -.sty with bigfoot.

b) Changes in certain dialogs in LyX have no effect.
For example, the changes in bullets of itemized lists don't work,
because babel-spanish sets fixed bullets.
Hints: see the documentation of the Spanish-style,
http://www.texytipografia.com/archive/spanish.pdf
for alternate macros and commands to change the bullets.

c) Some words are translated into a different way for both LyX and
babel-spanish,
e.g., table is tabla in LyX and is cuadro in latex output.

Regards
Ignacio García

=

En español:
Si el idioma de un documento es español, el archivo spanish.ldf
(Spanish Language Definition File) incluido en el sistema babel de LaTeX,
(que se carga de forma predeterminada), establece una serie de valores
predefinidos
que puede dar resultados inesperados como:

a) Generar errores en la salida de latex:
Por ejemplo, como en español no se usan los romanos en minúscula,
spanish.ldf los redefine a números en versalitas, pero este cambio
a veces no funciona:  pdflatex no compila el documento si en éste coinciden
el comando \pagenumbering{roman} y el paquete hyperref con la opción
plainpages=false.
(Una solución es cambiar roman por Roman, romanos en mayúscula).
Este problema parece estar resuelto; acabo de probar la versión última de
spanish.ldf -.sty, v5-0a, (http://www.texytipografia.com/spanish.html)
y el error ya no se produce.
Marcelo (http://www.mail-archive.com/lyx-users@lists.lyx.org/msg59151.html)
ha informado también de conflicto entre \pagenumbering{roman} y el
paquete bigfoot.

b) Los cambios de ciertos diálogos en LyX no tienen ningún efecto.
Así, las marcas de las listas enumeración* no cambiarán aunque lo intentes
en el diálogo Marcas correspondiente. Se debe a que  spanish.ldf establece
por defecto unas marcas fijas.
Mediante ciertos comandos disponibles en el estilo spanish se pueden cambiar
las marcas, consulta su documentación en
 http://www.texytipografia.com/archive/spanish.pdf.
(También se pueden hacer algunos trucos en el archivo spanish.ldf
para desactivar estos cambios y que funcione el diálogo de LyX, pero
esta vía no es recomendable)

c) LyX y babel-spanish traducen algunas palabras de forma distinta. Un
ejemplo es table.
En Lyx se traduce por tabla, mientras que en la salida procesada por
babel-spanish se
traduce por cuadro.


Re: Natbib numerical citations with links in PDF

2007-10-11 Thread Christian Liesen

Indeed,

It's enough to put \usepackage{hyperref} in the preamble.

and if you wish to add color, for example:

\usepackage{hyperref}
\hypersetup{colorlinks=true,citecolor=blue}

yields nice results.

I've added something about this to the Wiki: 
http://wiki.lyx.org/BibTeX/Tips#toc6



With many thanks to Richard and Bob,
-- Christian


Re: embedded math formule

2007-10-11 Thread Paul A. Rubin

Robert Poser wrote:

You are right. With another font the expression it looks fine. But why? I
installed LyX 1.5.1 and MikTex with the Win-Installer, and besides that all
works fine. I would like to continue using the lmodern font...



Good question.  I have MikTeX 2.6, with the most up-to-date version of 
the lm package, installed on a PC and a laptop.  On the laptop, I can 
use lm with no trouble, including math insets.  On the PC yesterday, I 
could use lm for plain text, but it would not display math insets 
because it could not find/make the lmmi8 font.  (I think it was 8, but I 
won't swear to that -- might have been 6.)  So I updated formats and 
tried something else (I forget what), and today I get no output at all 
using lm fonts on the PC.  I uninstalled/reinstalled the lm package, 
updated MikTeX's binaries, updated the font maps ... no joy.  I have a 
tech-support (TeX-support?) question in to Christian Schenck.


Best guess is that there's a font-mapping problem on the PC.  It would 
not surprise me if you were also experiencing a font-mapping problem, 
meaning that LaTeX wants to convert the math symbols (italic, possibly 
smaller font size than normal text) from the default cmr fonts to the 
appropriate lm fonts, but can't figure out the right one or can't find 
it.  If I get an answer from Christian, I'll pass it along.


/Paul



Re: Differences using beamer class in lyx-1.5.2 versus lyx-1.4.x

2007-10-11 Thread Paul A. Rubin

Oscar Lopez wrote:

Hello lyxers

Yesterday I updated from lyx-1.4.x to lyx-1.5.2 and first of all I would like to
thank to developers for such a great software. 


The first try I did when testing the new version was to load a beamer
presentation I was working on. The first thing I got was a bunch of errors in
the Lyx: latex Errors window, something like this:

Latex Error: \begin{center} on input 211 ended by [EMAIL PROTECTED]
Extra }, or forgotten \endgroup
You can't use '\prevdepth' in horizontal mode
Missing $ Inserted,
Missing number, treated as zero.



I finally managed to compile the document by moving to a new paragraph all lyx
notes and branches that were inlined within the text. What worries me is that I
have many presentations made in the past that I frequently use and I expect that
the same problem can appear. Has anybody experienced the same problem or similar
ones?


No, I've had no problems opening old beamer presentations (and, like 
you, I have a bunch of them).  The format for LyX document files evolves 
with new releases, and there is a conversion tool included with LyX to 
convert older format LyX files to the current format.  It works pretty 
well but perhaps not perfectly; it may have tripped over something a bit 
unusual in your presentation file.  Whether it will have similar 
problems with other presentations is hard to predict.


Another notorius difference is the new font selection mechanism. In lyx-1.4.x I
selected the fonts of the document to Times. Now the new font selection window
it says Default Family: Default and Roman: Times Roman. The problem is twofold

- the generated pdf embbeds type 3 fonts (bitmapped)
- the look of the fonts is quite different

Why lyx-1.5.2 does not load the previously used by lyx-1.4.x font correctly? And
by the way, when I selected Font: Times in lyx-1.4.x what is the font that I
have to select in lyx-1.5.2 to get the same printable results.


I believe that if you want the Adobe standard fonts, you should select 
Times Roman, Helvetica and Courier for Roman, San Serif and Typewriter 
respectively.  If your imported slide show had the Roman font set to 
Times Roman and you got bitmapped fonts anyway, my guess is that they 
were for special characters (math symbols, san serif fonts, something 
like that).



/Paul



Re: Differences using beamer class in lyx-1.5.2 versus lyx-1.4.x

2007-10-11 Thread Oscar Lopez
Paul A. Rubin [EMAIL PROTECTED] writes:

 
 No, I've had no problems opening old beamer presentations (and, like 
 you, I have a bunch of them).  The format for LyX document files evolves 
 with new releases, and there is a conversion tool included with LyX to 
 convert older format LyX files to the current format.  It works pretty 
 well but perhaps not perfectly; it may have tripped over something a bit 
 unusual in your presentation file.  Whether it will have similar 
 problems with other presentations is hard to predict.

ok. I understand that. I think that the source of the problem could be that I
use a beamer.layout which I do not remember well where I got, and there were
differences with respect the one that the conversion tool covered, but I am not
sure. Anyway, I can live with this.

  
  - the generated pdf embbeds type 3 fonts (bitmapped)
  - the look of the fonts is quite different
  
 
 I believe that if you want the Adobe standard fonts, you should select 
 Times Roman, Helvetica and Courier for Roman, San Serif and Typewriter 
 respectively.  

Yes, that did the trick.

 If your imported slide show had the Roman font set to 
 Times Roman and you got bitmapped fonts anyway, my guess is that they 
 were for special characters (math symbols, san serif fonts, something 
 like that).

The default font of the beamer.layout was San Serif and lyx-1.5.2 selects
Default for the San Serif font and i think that this was the problem. When I
have selected Helvetica for San Serif following your advice everthing looks the
same as before (including Type 1 fonts). 

Thanks a lot for your help Paul.

Best wishes



Re: comments about documents in Spanish language

2007-10-11 Thread Uwe Stöhr

Ignacio García schrieb:


When the document language is Spanish and the LaTeX-package babel
is used (the default), the Spanish Language Definition File (spanish.ldf)
sets some default behaviours that may have unexpected outcomes:


Could you please contact the author of the file spanish.ldf and report him the bullet problem? A 
babel definition file shouldn't prevent to use customized bullets.


Could you please add a section about this to the Spanish UserGuide describing 
these issues?

thanks and regards
Uwe


Important information to: [announce] LyXWinInstaller (with Update installer) for LyX 1.5.2

2007-10-11 Thread Uwe Stöhr

I wrote:

 I uploaded the new version 3.20 of the LyXWinInstaller. This version also 
offers an update
 installer. With this you can easily your LyX 1.5.1 to LyX 1.5.2 without 
uninstalling LyX 1.5.1
 before installing LyX 1.5.2. Only log in as adminstrator on your PC and 
execute the update
 installer. Check it out!

Unfortunately there was a bug in the update installer source code resulting that after the update 
the ImageMagick settings in the registry contain a broken path. (ImageMagick is used by LyX to 
handle images.)
This bug only occurs when Ghostscript and ImageMagick were installed by the LyX installer. The small 
and complete installer versions are not affected.


*** So when you used the Update installer and encounter image handling problems, you must reinstall 
LyX 1.5.2 in order to get it to work again. (Use the small installer version for the 
reinstallation.) ***


I uploaded a fixed version of the update installer. So when you have downloaded the update installer 
but not yet used, please download the update installer again to get a fresh copy.


I'm very sorry for this mistake and the inconvenience.

regards Uwe


configure default paragraph alignment

2007-10-11 Thread William Seager
 add to the end of the file:
 Style Standard
 Align Left
 End

thanks for that; works perfectly (to change the output,
\raggedright in the preamble works)

(Now, about Frege's puzzle  :)  )

thanks again, Bill.
-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


Re: lyx-1.5.1 apa style question

2007-10-11 Thread Mirko Briemle
Thanks for your response. That helped a lot. I installed the apa and the 
apacite package
but I receive a Missing \begin{document} Error when trying to preview the apa
document. What can I do to fix this? (By the way I am using lyx-1.5.2 now too. 
It looks
great.)

Thank you very much.

Mirko



On Wed, 10 Oct 2007 18:51:57 -0400
Paul A. Rubin [EMAIL PROTECTED] wrote:

 Mirko Briemle wrote:
  
  I installed lyx-1.5.1 and it looks great. I however would like to use the 
  apa style class
  function, which is not available for me. Can someone help me on how I can 
  get this
  working?
  
  That would be great. Thank you very much.
  
 
 If Document - Settings... - Document class lists article (APA) as 
 unavailable, it means you do not have the APA class installed in your 
 LaTeX distribution.  How to download and install it is somewhat 
 distribution-specific.  Once it's installed, start LyX, run Tools - 
 Reconfigure, then close and reopen LyX.
 
 /Paul
 


Differences using beamer class in lyx-1.5.2 versus lyx-1.4.x

2007-10-11 Thread Oscar Lopez
Hello lyxers

Yesterday I updated from lyx-1.4.x to lyx-1.5.2 and first of all I would like to
thank to developers for such a great software. 

The first try I did when testing the new version was to load a beamer
presentation I was working on. The first thing I got was a bunch of errors in
the Lyx: latex Errors window, something like this:

Latex Error: \begin{center} on input 211 ended by [EMAIL PROTECTED]
Extra }, or forgotten \endgroup
You can't use '\prevdepth' in horizontal mode
Missing $ Inserted,
Missing number, treated as zero.



I finally managed to compile the document by moving to a new paragraph all lyx
notes and branches that were inlined within the text. What worries me is that I
have many presentations made in the past that I frequently use and I expect that
the same problem can appear. Has anybody experienced the same problem or similar
ones?

Another notorius difference is the new font selection mechanism. In lyx-1.4.x I
selected the fonts of the document to Times. Now the new font selection window
it says Default Family: Default and Roman: Times Roman. The problem is twofold

- the generated pdf embbeds type 3 fonts (bitmapped)
- the look of the fonts is quite different

Why lyx-1.5.2 does not load the previously used by lyx-1.4.x font correctly? And
by the way, when I selected Font: Times in lyx-1.4.x what is the font that I
have to select in lyx-1.5.2 to get the same printable results.

Having said that, I would like to underline that I really appreciate the new
features lyx-1.5.2 has and I am looking forward to working on a daily basis with
such a beautiful creature!

Thanks a lot for all your help
Best wishes




[Fwd: Re: Different page orientations in one document]

2007-10-11 Thread Rudi van der Linde


Hi Roger

Roger Light wrote:

Hi Rudi,

  
I would like to have portrait as well as landscape oriented pages in a 
document I am writing.  I would appreciate any pointers on how to do it.



I do this by adding \usepackage{lscape} to my preamble then surrounding
my landscape pages with ERT:

\begin{landscape}

(page goes here)

\end{landscape}
  

Many thanks!

I gave it a preliminary test and it seems to do what I need.  It seems, 
however, that the headers and footers remain in potrait even though 
the body is in landscape.  Any ideas how I can rotate the whole page?  
(It is what Word does and I want to convert my colleagues to LyX in 
small increments :-)


Regards,

--
Rudi van der Linde
[EMAIL PROTECTED]

Note:
This message (and attachments) is subject to restrictions and a disclaimer. 
Please refer to http://www.ansys.co.za/index.html or [EMAIL PROTECTED] for full 
details.



embedded math formule

2007-10-11 Thread Robert Poser
You are right. With another font the expression it looks fine. But why? I
installed LyX 1.5.1 and MikTex with the Win-Installer, and besides that all
works fine. I would like to continue using the lmodern font...

Rob


Natbib numerical citations with links in PDF

2007-10-11 Thread Christian Liesen

Hi,

does anyone know how to make citations appear as clickable links in the 
pdf output?


I'm using the Natbib numerical style with pdflatex and want something like

... the moon is made of cheese [1] ...

to appear in the body text with the citation [1] being clickable and 
refering to the bibliography entry, say,


[1] Brie 1989: My visit to the moon. Camembert Press.


I tried to find something about this in in the Wiki and this list's 
archives, but to no avail.


Many thanks,
-- Christian




Re: Lyx - Lyx

2007-10-11 Thread Helge Hafting

Humbert Francis wrote:
I am working on a program which corrects math exercises done by my 
students. This program insert error messages (in red) in a Lyx 
document. The input of this program is a Lyx document and the output 
is also a Lyx document. I did not manage to install such a converter. 

Interesting program, but why make it a converter in LyX? The LyX
converters are for converting between different file formats.
Your program doesn't do that, instead it changes a LyX file.
How about just running this from the os command line?
Why do you want to run this program from inside LyX?

Which wiewer should I declare in the preference window ? Would this 
converter replace the current document (it would be the best solution) 
? create a new Lyx view ?
I could create the corrected doc in pdf format, but I prefer avoiding 
my students installing a latex distribution. 

If you're doing this from a script, just run
lyx --export pdf2 file.lyx
in order to produce file.pdf automatically.

Helge Hafting



Re: Lyx 1.5.1 and LyX 1.5.2 Spellchecker Could not be started

2007-10-11 Thread Uwe Stöhr

Rosanna Chan schrieb:


Should I try to contact a developer (how does one do that :)) or should I
report this as a bug?


Before doing this, could you please check if it works this way:

- uninstall LyX 1.5.1 and/or LyX 1.5.2
- uninstall all Aspell dictionaries
- ininstall Aspell itself in case you see it as installed after you uninstalled 
the dictionaries
- reinstall LyX 1.5.2 using this installer:
  http://wiki.lyx.org/Windows/LyXWinInstaller

When this works this installer sets up the system so that your Aspell will be uninstalled together 
with LyX when you upgrade to another LyX version to assure that you'll have a working Aspell version


regards Uwe


Re: [OT] Programmatically Creating a LaTeX Document

2007-10-11 Thread Rich Shepard

On Wed, 10 Oct 2007, Steve Litt wrote:


Rich -- please share whatever your final solution with the list. I think
most of us need to do this exact thing from time to time.


Steve,

  Expediency won: I can do the reports using ReportLab's table layout. Fewer
than two dozen lines of code, and I can fine-tune placement on the page,
have headers that are defined once and printed on each page, and meet our
needs.

  It's not a generic solution, but it fits the application's structure and
works for our purposes.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.| Accelerators(TM)
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Natbib numerical citations with links in PDF

2007-10-11 Thread Richard Heck

Bob Lounsbury wrote:

On 10/11/07, Christian Liesen [EMAIL PROTECTED] wrote:
  

does anyone know how to make citations appear as clickable links in the
pdf output?


The hyperref package is a popular way. Look up the documentation on ctan.
  
It's enough to put \usepackage{hyperref} in the preamble. But there 
are other options you can use to configure the output.


rh

--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: Natbib numerical citations with links in PDF

2007-10-11 Thread Bob Lounsbury
On 10/11/07, Christian Liesen [EMAIL PROTECTED] wrote:
 Hi,

 does anyone know how to make citations appear as clickable links in the
 pdf output?

 I'm using the Natbib numerical style with pdflatex and want something like

 ... the moon is made of cheese [1] ...

 to appear in the body text with the citation [1] being clickable and
 refering to the bibliography entry, say,

 [1] Brie 1989: My visit to the moon. Camembert Press.


 I tried to find something about this in in the Wiki and this list's
 archives, but to no avail.

 Many thanks,
 -- Christian


The hyperref package is a popular way. Look up the documentation on ctan.

Bob


Re: configure default paragraph alignment

2007-10-11 Thread Richard Heck

William Seager wrote:
How do you set the default paragraph alignment to left 
justified (ragged right)? You can change individual paragraphs 
so they display (and print) with left justified paragraphs, 
but I want my documents to default to this. 
 
You can add \raggedright to the beginning of a
document, but that does 
not change the way lyx displays on screen (paragraphs 
appear fully justified but do not print that way). 
  
The alignment in output is set by your document class, so if you want to 
change that, you need to use a different document class, or do something 
to change the one you have. (Some document classes may have options for 
this, as well. Check their documentation.) Changing the display in LyX 
is a matter of editing the layout file, in which alignment is controlled 
by the Align directive. If you're using, say, book.cls, then copy 
book.layout to your local LyX directory (where it is is 
system-dependent), open it, and then add to the end of the file:

Style Standard
Align Left
End
This will override the usual declaration. If you want this also for 
other paragraph types, you'll need to add corresponding declarations for 
the other paragraphs. But again: Changing this in the layout file won't 
change it in the output; these are different beasts.


Richard

--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



comments about documents in Spanish language

2007-10-11 Thread Ignacio García
Hi,

When the document language is Spanish and the LaTeX-package babel
is used (the default), the Spanish Language Definition File (spanish.ldf)
sets some default behaviours that may have unexpected outcomes:

a) It may be that gives latex errors
For example: Since the lowercase Roman numerals are not used in Spanish,
they are redefined to noun style, but the command
\pagenumbering{roman} produces errors in some cases, e.g., pdflatex
don't works if the option plainpages=false for hyperref is used.
This problem is solved, I think. Just I have installed the last version
spanish v5.0a (http://www.texytipografia.com/spanish.html) and the error is out.
Marcelo has reported errors with the package bigfoot
(http://www.mail-archive.com/lyx-users@lists.lyx.org/msg59151.html)
(Trick: change roman to Roman)
Perhaps Marcelo may try the new spanish.ldf -.sty with bigfoot.

b) Changes in certain dialogs in LyX have no effect.
For example, the changes in bullets of itemized lists don't work,
because babel-spanish sets fixed bullets.
Hints: see the documentation of the Spanish-style,
http://www.texytipografia.com/archive/spanish.pdf
for alternate macros and commands to change the bullets.

c) Some words are translated into a different way for both LyX and
babel-spanish,
e.g., table is tabla in LyX and is cuadro in latex output.

Regards
Ignacio García

=

En español:
Si el idioma de un documento es español, el archivo spanish.ldf
(Spanish Language Definition File) incluido en el sistema babel de LaTeX,
(que se carga de forma predeterminada), establece una serie de valores
predefinidos
que puede dar resultados inesperados como:

a) Generar errores en la salida de latex:
Por ejemplo, como en español no se usan los romanos en minúscula,
spanish.ldf los redefine a números en versalitas, pero este cambio
a veces no funciona:  pdflatex no compila el documento si en éste coinciden
el comando \pagenumbering{roman} y el paquete hyperref con la opción
plainpages=false.
(Una solución es cambiar roman por Roman, romanos en mayúscula).
Este problema parece estar resuelto; acabo de probar la versión última de
spanish.ldf -.sty, v5-0a, (http://www.texytipografia.com/spanish.html)
y el error ya no se produce.
Marcelo (http://www.mail-archive.com/lyx-users@lists.lyx.org/msg59151.html)
ha informado también de conflicto entre \pagenumbering{roman} y el
paquete bigfoot.

b) Los cambios de ciertos diálogos en LyX no tienen ningún efecto.
Así, las marcas de las listas enumeración* no cambiarán aunque lo intentes
en el diálogo Marcas correspondiente. Se debe a que  spanish.ldf establece
por defecto unas marcas fijas.
Mediante ciertos comandos disponibles en el estilo spanish se pueden cambiar
las marcas, consulta su documentación en
 http://www.texytipografia.com/archive/spanish.pdf.
(También se pueden hacer algunos trucos en el archivo spanish.ldf
para desactivar estos cambios y que funcione el diálogo de LyX, pero
esta vía no es recomendable)

c) LyX y babel-spanish traducen algunas palabras de forma distinta. Un
ejemplo es table.
En Lyx se traduce por tabla, mientras que en la salida procesada por
babel-spanish se
traduce por cuadro.


Re: Natbib numerical citations with links in PDF

2007-10-11 Thread Christian Liesen

Indeed,

It's enough to put \usepackage{hyperref} in the preamble.

and if you wish to add color, for example:

\usepackage{hyperref}
\hypersetup{colorlinks=true,citecolor=blue}

yields nice results.

I've added something about this to the Wiki: 
http://wiki.lyx.org/BibTeX/Tips#toc6



With many thanks to Richard and Bob,
-- Christian


Re: embedded math formule

2007-10-11 Thread Paul A. Rubin

Robert Poser wrote:

You are right. With another font the expression it looks fine. But why? I
installed LyX 1.5.1 and MikTex with the Win-Installer, and besides that all
works fine. I would like to continue using the lmodern font...



Good question.  I have MikTeX 2.6, with the most up-to-date version of 
the lm package, installed on a PC and a laptop.  On the laptop, I can 
use lm with no trouble, including math insets.  On the PC yesterday, I 
could use lm for plain text, but it would not display math insets 
because it could not find/make the lmmi8 font.  (I think it was 8, but I 
won't swear to that -- might have been 6.)  So I updated formats and 
tried something else (I forget what), and today I get no output at all 
using lm fonts on the PC.  I uninstalled/reinstalled the lm package, 
updated MikTeX's binaries, updated the font maps ... no joy.  I have a 
tech-support (TeX-support?) question in to Christian Schenck.


Best guess is that there's a font-mapping problem on the PC.  It would 
not surprise me if you were also experiencing a font-mapping problem, 
meaning that LaTeX wants to convert the math symbols (italic, possibly 
smaller font size than normal text) from the default cmr fonts to the 
appropriate lm fonts, but can't figure out the right one or can't find 
it.  If I get an answer from Christian, I'll pass it along.


/Paul



Re: Differences using beamer class in lyx-1.5.2 versus lyx-1.4.x

2007-10-11 Thread Paul A. Rubin

Oscar Lopez wrote:

Hello lyxers

Yesterday I updated from lyx-1.4.x to lyx-1.5.2 and first of all I would like to
thank to developers for such a great software. 


The first try I did when testing the new version was to load a beamer
presentation I was working on. The first thing I got was a bunch of errors in
the Lyx: latex Errors window, something like this:

Latex Error: \begin{center} on input 211 ended by [EMAIL PROTECTED]
Extra }, or forgotten \endgroup
You can't use '\prevdepth' in horizontal mode
Missing $ Inserted,
Missing number, treated as zero.



I finally managed to compile the document by moving to a new paragraph all lyx
notes and branches that were inlined within the text. What worries me is that I
have many presentations made in the past that I frequently use and I expect that
the same problem can appear. Has anybody experienced the same problem or similar
ones?


No, I've had no problems opening old beamer presentations (and, like 
you, I have a bunch of them).  The format for LyX document files evolves 
with new releases, and there is a conversion tool included with LyX to 
convert older format LyX files to the current format.  It works pretty 
well but perhaps not perfectly; it may have tripped over something a bit 
unusual in your presentation file.  Whether it will have similar 
problems with other presentations is hard to predict.


Another notorius difference is the new font selection mechanism. In lyx-1.4.x I
selected the fonts of the document to Times. Now the new font selection window
it says Default Family: Default and Roman: Times Roman. The problem is twofold

- the generated pdf embbeds type 3 fonts (bitmapped)
- the look of the fonts is quite different

Why lyx-1.5.2 does not load the previously used by lyx-1.4.x font correctly? And
by the way, when I selected Font: Times in lyx-1.4.x what is the font that I
have to select in lyx-1.5.2 to get the same printable results.


I believe that if you want the Adobe standard fonts, you should select 
Times Roman, Helvetica and Courier for Roman, San Serif and Typewriter 
respectively.  If your imported slide show had the Roman font set to 
Times Roman and you got bitmapped fonts anyway, my guess is that they 
were for special characters (math symbols, san serif fonts, something 
like that).



/Paul



Re: Differences using beamer class in lyx-1.5.2 versus lyx-1.4.x

2007-10-11 Thread Oscar Lopez
Paul A. Rubin [EMAIL PROTECTED] writes:

 
 No, I've had no problems opening old beamer presentations (and, like 
 you, I have a bunch of them).  The format for LyX document files evolves 
 with new releases, and there is a conversion tool included with LyX to 
 convert older format LyX files to the current format.  It works pretty 
 well but perhaps not perfectly; it may have tripped over something a bit 
 unusual in your presentation file.  Whether it will have similar 
 problems with other presentations is hard to predict.

ok. I understand that. I think that the source of the problem could be that I
use a beamer.layout which I do not remember well where I got, and there were
differences with respect the one that the conversion tool covered, but I am not
sure. Anyway, I can live with this.

  
  - the generated pdf embbeds type 3 fonts (bitmapped)
  - the look of the fonts is quite different
  
 
 I believe that if you want the Adobe standard fonts, you should select 
 Times Roman, Helvetica and Courier for Roman, San Serif and Typewriter 
 respectively.  

Yes, that did the trick.

 If your imported slide show had the Roman font set to 
 Times Roman and you got bitmapped fonts anyway, my guess is that they 
 were for special characters (math symbols, san serif fonts, something 
 like that).

The default font of the beamer.layout was San Serif and lyx-1.5.2 selects
Default for the San Serif font and i think that this was the problem. When I
have selected Helvetica for San Serif following your advice everthing looks the
same as before (including Type 1 fonts). 

Thanks a lot for your help Paul.

Best wishes



Re: comments about documents in Spanish language

2007-10-11 Thread Uwe Stöhr

Ignacio García schrieb:


When the document language is Spanish and the LaTeX-package babel
is used (the default), the Spanish Language Definition File (spanish.ldf)
sets some default behaviours that may have unexpected outcomes:


Could you please contact the author of the file spanish.ldf and report him the bullet problem? A 
babel definition file shouldn't prevent to use customized bullets.


Could you please add a section about this to the Spanish UserGuide describing 
these issues?

thanks and regards
Uwe


Important information to: [announce] LyXWinInstaller (with Update installer) for LyX 1.5.2

2007-10-11 Thread Uwe Stöhr

I wrote:

 I uploaded the new version 3.20 of the LyXWinInstaller. This version also 
offers an update
 installer. With this you can easily your LyX 1.5.1 to LyX 1.5.2 without 
uninstalling LyX 1.5.1
 before installing LyX 1.5.2. Only log in as adminstrator on your PC and 
execute the update
 installer. Check it out!

Unfortunately there was a bug in the update installer source code resulting that after the update 
the ImageMagick settings in the registry contain a broken path. (ImageMagick is used by LyX to 
handle images.)
This bug only occurs when Ghostscript and ImageMagick were installed by the LyX installer. The small 
and complete installer versions are not affected.


*** So when you used the Update installer and encounter image handling problems, you must reinstall 
LyX 1.5.2 in order to get it to work again. (Use the small installer version for the 
reinstallation.) ***


I uploaded a fixed version of the update installer. So when you have downloaded the update installer 
but not yet used, please download the update installer again to get a fresh copy.


I'm very sorry for this mistake and the inconvenience.

regards Uwe


configure default paragraph alignment

2007-10-11 Thread William Seager
 add to the end of the file:
 Style Standard
 Align Left
 End

thanks for that; works perfectly (to change the output,
\raggedright in the preamble works)

(Now, about Frege's puzzle  :)  )

thanks again, Bill.
-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


Re: lyx-1.5.1 apa style question

2007-10-11 Thread Mirko Briemle
Thanks for your response. That helped a lot. I installed the apa and the 
apacite package
but I receive a Missing \begin{document} Error when trying to preview the apa
document. What can I do to fix this? (By the way I am using lyx-1.5.2 now too. 
It looks
great.)

Thank you very much.

Mirko



On Wed, 10 Oct 2007 18:51:57 -0400
Paul A. Rubin [EMAIL PROTECTED] wrote:

 Mirko Briemle wrote:
  
  I installed lyx-1.5.1 and it looks great. I however would like to use the 
  apa style class
  function, which is not available for me. Can someone help me on how I can 
  get this
  working?
  
  That would be great. Thank you very much.
  
 
 If Document - Settings... - Document class lists article (APA) as 
 unavailable, it means you do not have the APA class installed in your 
 LaTeX distribution.  How to download and install it is somewhat 
 distribution-specific.  Once it's installed, start LyX, run Tools - 
 Reconfigure, then close and reopen LyX.
 
 /Paul
 


Differences using beamer class in lyx-1.5.2 versus lyx-1.4.x

2007-10-11 Thread Oscar Lopez
Hello lyxers

Yesterday I updated from lyx-1.4.x to lyx-1.5.2 and first of all I would like to
thank to developers for such a great software. 

The first try I did when testing the new version was to load a beamer
presentation I was working on. The first thing I got was a bunch of errors in
the Lyx: latex Errors window, something like this:

Latex Error: \begin{center} on input 211 ended by [EMAIL PROTECTED]
Extra }, or forgotten \endgroup
You can't use '\prevdepth' in horizontal mode
Missing $ Inserted,
Missing number, treated as zero.



I finally managed to compile the document by moving to a new paragraph all lyx
notes and branches that were inlined within the text. What worries me is that I
have many presentations made in the past that I frequently use and I expect that
the same problem can appear. Has anybody experienced the same problem or similar
ones?

Another notorius difference is the new font selection mechanism. In lyx-1.4.x I
selected the fonts of the document to Times. Now the new font selection window
it says Default Family: Default and Roman: Times Roman. The problem is twofold

- the generated pdf embbeds type 3 fonts (bitmapped)
- the look of the fonts is quite different

Why lyx-1.5.2 does not load the previously used by lyx-1.4.x font correctly? And
by the way, when I selected Font: Times in lyx-1.4.x what is the font that I
have to select in lyx-1.5.2 to get the same printable results.

Having said that, I would like to underline that I really appreciate the new
features lyx-1.5.2 has and I am looking forward to working on a daily basis with
such a beautiful creature!

Thanks a lot for all your help
Best wishes




[Fwd: Re: Different page orientations in one document]

2007-10-11 Thread Rudi van der Linde


Hi Roger

Roger Light wrote:

Hi Rudi,

  
I would like to have portrait as well as landscape oriented pages in a 
document I am writing.  I would appreciate any pointers on how to do it.



I do this by adding \usepackage{lscape} to my preamble then surrounding
my landscape pages with ERT:

\begin{landscape}

(page goes here)

\end{landscape}
  

Many thanks!

I gave it a preliminary test and it seems to do what I need.  It seems, 
however, that the headers and footers remain in "potrait" even though 
the "body" is in landscape.  Any ideas how I can rotate the whole page?  
(It is what Word does and I want to convert my colleagues to LyX in 
small increments :-)


Regards,

--
Rudi van der Linde
[EMAIL PROTECTED]

Note:
This message (and attachments) is subject to restrictions and a disclaimer. 
Please refer to http://www.ansys.co.za/index.html or [EMAIL PROTECTED] for full 
details.



embedded math formule

2007-10-11 Thread Robert Poser
You are right. With another font the expression it looks fine. But why? I
installed LyX 1.5.1 and MikTex with the Win-Installer, and besides that all
works fine. I would like to continue using the lmodern font...

Rob


Natbib numerical citations with links in PDF

2007-10-11 Thread Christian Liesen

Hi,

does anyone know how to make citations appear as clickable links in the 
pdf output?


I'm using the Natbib numerical style with pdflatex and want something like

... the moon is made of cheese [1] ...

to appear in the body text with the citation [1] being clickable and 
refering to the bibliography entry, say,


[1] Brie 1989: My visit to the moon. Camembert Press.


I tried to find something about this in in the Wiki and this list's 
archives, but to no avail.


Many thanks,
-- Christian




Re: Lyx -> Lyx

2007-10-11 Thread Helge Hafting

Humbert Francis wrote:
I am working on a program which corrects math exercises done by my 
students. This program insert error messages (in red) in a Lyx 
document. The input of this program is a Lyx document and the output 
is also a Lyx document. I did not manage to install such a converter. 

Interesting program, but why make it a converter in LyX? The LyX
converters are for converting between different file formats.
Your program doesn't do that, instead it changes a LyX file.
How about just running this from the os command line?
Why do you want to run this program from inside LyX?

Which wiewer should I declare in the preference window ? Would this 
converter replace the current document (it would be the best solution) 
? create a new Lyx view ?
I could create the corrected doc in pdf format, but I prefer avoiding 
my students installing a latex distribution. 

If you're doing this from a script, just run
lyx --export pdf2 file.lyx
in order to produce file.pdf automatically.

Helge Hafting



Re: Lyx 1.5.1 and LyX 1.5.2 Spellchecker Could not be started

2007-10-11 Thread Uwe Stöhr

Rosanna Chan schrieb:


Should I try to contact a developer (how does one do that :)) or should I
report this as a bug?


Before doing this, could you please check if it works this way:

- uninstall LyX 1.5.1 and/or LyX 1.5.2
- uninstall all Aspell dictionaries
- ininstall Aspell itself in case you see it as installed after you uninstalled 
the dictionaries
- reinstall LyX 1.5.2 using this installer:
  http://wiki.lyx.org/Windows/LyXWinInstaller

When this works this installer sets up the system so that your Aspell will be uninstalled together 
with LyX when you upgrade to another LyX version to assure that you'll have a working Aspell version


regards Uwe


Re: [OT] Programmatically Creating a LaTeX Document

2007-10-11 Thread Rich Shepard

On Wed, 10 Oct 2007, Steve Litt wrote:


Rich -- please share whatever your final solution with the list. I think
most of us need to do this exact thing from time to time.


Steve,

  Expediency won: I can do the reports using ReportLab's table layout. Fewer
than two dozen lines of code, and I can fine-tune placement on the page,
have headers that are defined once and printed on each page, and meet our
needs.

  It's not a generic solution, but it fits the application's structure and
works for our purposes.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.| Accelerators(TM)
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Natbib numerical citations with links in PDF

2007-10-11 Thread Richard Heck

Bob Lounsbury wrote:

On 10/11/07, Christian Liesen <[EMAIL PROTECTED]> wrote:
  

does anyone know how to make citations appear as clickable links in the
pdf output?


The hyperref package is a popular way. Look up the documentation on ctan.
  
It's enough to put "\usepackage{hyperref}" in the preamble. But there 
are other options you can use to configure the output.


rh

--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: Natbib numerical citations with links in PDF

2007-10-11 Thread Bob Lounsbury
On 10/11/07, Christian Liesen <[EMAIL PROTECTED]> wrote:
> Hi,
>
> does anyone know how to make citations appear as clickable links in the
> pdf output?
>
> I'm using the Natbib numerical style with pdflatex and want something like
>
> ... the moon is made of cheese [1] ...
>
> to appear in the body text with the citation [1] being clickable and
> refering to the bibliography entry, say,
>
> [1] Brie 1989: My visit to the moon. Camembert Press.
>
>
> I tried to find something about this in in the Wiki and this list's
> archives, but to no avail.
>
> Many thanks,
> -- Christian


The hyperref package is a popular way. Look up the documentation on ctan.

Bob


Re: configure default paragraph alignment

2007-10-11 Thread Richard Heck

William Seager wrote:
How do you set the default paragraph alignment to left 
justified (ragged right)? You can change individual paragraphs 
so they display (and print) with left justified paragraphs, 
but I want my documents to default to this. 
 
You can add "\raggedright" to the beginning of a
document, but that does 
not change the way lyx displays on screen (paragraphs 
appear fully justified but do not print that way). 
  
The alignment in output is set by your document class, so if you want to 
change that, you need to use a different document class, or do something 
to change the one you have. (Some document classes may have options for 
this, as well. Check their documentation.) Changing the display in LyX 
is a matter of editing the layout file, in which alignment is controlled 
by the Align directive. If you're using, say, book.cls, then copy 
book.layout to your local LyX directory (where it is is 
system-dependent), open it, and then add to the end of the file:

Style Standard
Align Left
End
This will override the usual declaration. If you want this also for 
other paragraph types, you'll need to add corresponding declarations for 
the other paragraphs. But again: Changing this in the layout file won't 
change it in the output; these are different beasts.


Richard

--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



comments about documents in Spanish language

2007-10-11 Thread Ignacio García
Hi,

When the document language is Spanish and the LaTeX-package babel
is used (the default), the "Spanish Language Definition File" (spanish.ldf)
sets some default behaviours that may have unexpected outcomes:

a) It may be that gives latex errors
For example: Since the lowercase Roman numerals are not used in Spanish,
they are redefined to noun style, but the command
\pagenumbering{roman} produces errors in some cases, e.g., pdflatex
don't works if the option "plainpages=false" for "hyperref" is used.
This problem is solved, I think. Just I have installed the last version
spanish v5.0a (http://www.texytipografia.com/spanish.html) and the error is out.
Marcelo has reported errors with the package "bigfoot"
(http://www.mail-archive.com/lyx-users@lists.lyx.org/msg59151.html)
(Trick: change roman to Roman)
Perhaps Marcelo may try the new spanish.ldf -.sty with bigfoot.

b) Changes in certain dialogs in LyX have no effect.
For example, the changes in "bullets" of itemized lists don't work,
because babel-spanish sets fixed bullets.
Hints: see the documentation of the Spanish-style,
http://www.texytipografia.com/archive/spanish.pdf
for alternate macros and commands to change the bullets.

c) Some words are translated into a different way for both LyX and
babel-spanish,
e.g., "table" is "tabla" in LyX and is "cuadro" in latex output.

Regards
Ignacio García

=

En español:
Si el idioma de un documento es español, el archivo "spanish.ldf"
("Spanish Language Definition File") incluido en el sistema babel de LaTeX,
(que se carga de forma predeterminada), establece una serie de valores
predefinidos
que puede dar resultados inesperados como:

a) Generar errores en la salida de latex:
Por ejemplo, como en español no se usan los romanos en minúscula,
"spanish.ldf" los redefine a números en versalitas, pero este cambio
a veces no funciona:  pdflatex no compila el documento si en éste coinciden
el comando \pagenumbering{roman} y el paquete hyperref con la opción
"plainpages=false".
(Una solución es cambiar roman por Roman, romanos en mayúscula).
Este problema parece estar resuelto; acabo de probar la versión última de
spanish.ldf -.sty, v5-0a, (http://www.texytipografia.com/spanish.html)
y el error ya no se produce.
Marcelo (http://www.mail-archive.com/lyx-users@lists.lyx.org/msg59151.html)
ha informado también de conflicto entre \pagenumbering{roman} y el
paquete bigfoot.

b) Los cambios de ciertos diálogos en LyX no tienen ningún efecto.
Así, las marcas de las listas "enumeración*" no cambiarán aunque lo intentes
en el diálogo "Marcas" correspondiente. Se debe a que  "spanish.ldf" establece
por defecto unas marcas fijas.
Mediante ciertos comandos disponibles en el estilo "spanish" se pueden cambiar
las marcas, consulta su documentación en
 http://www.texytipografia.com/archive/spanish.pdf.
(También se pueden hacer algunos trucos en el archivo "spanish.ldf"
para desactivar estos cambios y que funcione el diálogo de LyX, pero
esta vía no es recomendable)

c) LyX y babel-spanish traducen algunas palabras de forma distinta. Un
ejemplo es "table".
En Lyx se traduce por "tabla", mientras que en la salida procesada por
babel-spanish se
traduce por "cuadro".


Re: Natbib numerical citations with links in PDF

2007-10-11 Thread Christian Liesen

Indeed,

It's enough to put "\usepackage{hyperref}" in the preamble.

and if you wish to add color, for example:

\usepackage{hyperref}
\hypersetup{colorlinks=true,citecolor=blue}

yields nice results.

I've added something about this to the Wiki: 
http://wiki.lyx.org/BibTeX/Tips#toc6



With many thanks to Richard and Bob,
-- Christian


Re: embedded math formule

2007-10-11 Thread Paul A. Rubin

Robert Poser wrote:

You are right. With another font the expression it looks fine. But why? I
installed LyX 1.5.1 and MikTex with the Win-Installer, and besides that all
works fine. I would like to continue using the lmodern font...



Good question.  I have MikTeX 2.6, with the most up-to-date version of 
the lm package, installed on a PC and a laptop.  On the laptop, I can 
use lm with no trouble, including math insets.  On the PC yesterday, I 
could use lm for plain text, but it would not display math insets 
because it could not find/make the lmmi8 font.  (I think it was 8, but I 
won't swear to that -- might have been 6.)  So I updated formats and 
tried something else (I forget what), and today I get no output at all 
using lm fonts on the PC.  I uninstalled/reinstalled the lm package, 
updated MikTeX's binaries, updated the font maps ... no joy.  I have a 
tech-support (TeX-support?) question in to Christian Schenck.


Best guess is that there's a font-mapping problem on the PC.  It would 
not surprise me if you were also experiencing a font-mapping problem, 
meaning that LaTeX wants to convert the math symbols (italic, possibly 
smaller font size than normal text) from the default cmr fonts to the 
appropriate lm fonts, but can't figure out the right one or can't find 
it.  If I get an answer from Christian, I'll pass it along.


/Paul



Re: Differences using beamer class in lyx-1.5.2 versus lyx-1.4.x

2007-10-11 Thread Paul A. Rubin

Oscar Lopez wrote:

Hello lyxers

Yesterday I updated from lyx-1.4.x to lyx-1.5.2 and first of all I would like to
thank to developers for such a great software. 


The first try I did when testing the new version was to load a beamer
presentation I was working on. The first thing I got was a bunch of errors in
the Lyx: latex Errors window, something like this:

Latex Error: \begin{center} on input 211 ended by [EMAIL PROTECTED]
Extra }, or forgotten \endgroup
You can't use '\prevdepth' in horizontal mode
Missing $ Inserted,
Missing number, treated as zero.



I finally managed to compile the document by moving to a new paragraph all lyx
notes and branches that were inlined within the text. What worries me is that I
have many presentations made in the past that I frequently use and I expect that
the same problem can appear. Has anybody experienced the same problem or similar
ones?


No, I've had no problems opening old beamer presentations (and, like 
you, I have a bunch of them).  The format for LyX document files evolves 
with new releases, and there is a conversion tool included with LyX to 
convert older format LyX files to the current format.  It works pretty 
well but perhaps not perfectly; it may have tripped over something a bit 
unusual in your presentation file.  Whether it will have similar 
problems with other presentations is hard to predict.


Another notorius difference is the new font selection mechanism. In lyx-1.4.x I
selected the fonts of the document to Times. Now the new font selection window
it says Default Family: Default and Roman: Times Roman. The problem is twofold

- the generated pdf embbeds type 3 fonts (bitmapped)
- the look of the fonts is quite different

Why lyx-1.5.2 does not load the previously used by lyx-1.4.x font correctly? And
by the way, when I selected Font: Times in lyx-1.4.x what is the font that I
have to select in lyx-1.5.2 to get the same printable results.


I believe that if you want the Adobe standard fonts, you should select 
Times Roman, Helvetica and Courier for Roman, San Serif and Typewriter 
respectively.  If your imported slide show had the Roman font set to 
Times Roman and you got bitmapped fonts anyway, my guess is that they 
were for special characters (math symbols, san serif fonts, something 
like that).



/Paul



Re: Differences using beamer class in lyx-1.5.2 versus lyx-1.4.x

2007-10-11 Thread Oscar Lopez
Paul A. Rubin <[EMAIL PROTECTED]> writes:

> 
> No, I've had no problems opening old beamer presentations (and, like 
> you, I have a bunch of them).  The format for LyX document files evolves 
> with new releases, and there is a conversion tool included with LyX to 
> convert older format LyX files to the current format.  It works pretty 
> well but perhaps not perfectly; it may have tripped over something a bit 
> unusual in your presentation file.  Whether it will have similar 
> problems with other presentations is hard to predict.

ok. I understand that. I think that the source of the problem could be that I
use a beamer.layout which I do not remember well where I got, and there were
differences with respect the one that the conversion tool covered, but I am not
sure. Anyway, I can live with this.

> > 
> > - the generated pdf embbeds type 3 fonts (bitmapped)
> > - the look of the fonts is quite different
> > 
> 
> I believe that if you want the Adobe standard fonts, you should select 
> Times Roman, Helvetica and Courier for Roman, San Serif and Typewriter 
> respectively.  

Yes, that did the trick.

> If your imported slide show had the Roman font set to 
> Times Roman and you got bitmapped fonts anyway, my guess is that they 
> were for special characters (math symbols, san serif fonts, something 
> like that).

The default font of the beamer.layout was San Serif and lyx-1.5.2 selects
"Default" for the San Serif font and i think that this was the problem. When I
have selected Helvetica for San Serif following your advice everthing looks the
same as before (including Type 1 fonts). 

Thanks a lot for your help Paul.

Best wishes



Re: comments about documents in Spanish language

2007-10-11 Thread Uwe Stöhr

Ignacio García schrieb:


When the document language is Spanish and the LaTeX-package babel
is used (the default), the "Spanish Language Definition File" (spanish.ldf)
sets some default behaviours that may have unexpected outcomes:


Could you please contact the author of the file spanish.ldf and report him the bullet problem? A 
babel definition file shouldn't prevent to use customized bullets.


Could you please add a section about this to the Spanish UserGuide describing 
these issues?

thanks and regards
Uwe


Important information to: [announce] LyXWinInstaller (with Update installer) for LyX 1.5.2

2007-10-11 Thread Uwe Stöhr

I wrote:

> I uploaded the new version 3.20 of the LyXWinInstaller. This version also 
offers an update
> installer. With this you can easily your LyX 1.5.1 to LyX 1.5.2 without 
uninstalling LyX 1.5.1
> before installing LyX 1.5.2. Only log in as adminstrator on your PC and 
execute the update
> installer. Check it out!

Unfortunately there was a bug in the update installer source code resulting that after the update 
the ImageMagick settings in the registry contain a broken path. (ImageMagick is used by LyX to 
handle images.)
This bug only occurs when Ghostscript and ImageMagick were installed by the LyX installer. The small 
and complete installer versions are not affected.


*** So when you used the Update installer and encounter image handling problems, you must reinstall 
LyX 1.5.2 in order to get it to work again. (Use the small installer version for the 
reinstallation.) ***


I uploaded a fixed version of the update installer. So when you have downloaded the update installer 
but not yet used, please download the update installer again to get a fresh copy.


I'm very sorry for this mistake and the inconvenience.

regards Uwe


configure default paragraph alignment

2007-10-11 Thread William Seager
> add to the end of the file:
> Style Standard
> Align Left
> End

thanks for that; works perfectly (to change the output,
"\raggedright" in the preamble works)

(Now, about Frege's puzzle  :)  )

thanks again, Bill.
-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


Re: lyx-1.5.1 apa style question

2007-10-11 Thread Mirko Briemle
Thanks for your response. That helped a lot. I installed the apa and the 
apacite package
but I receive a "Missing \begin{document}" Error when trying to preview the apa
document. What can I do to fix this? (By the way I am using lyx-1.5.2 now too. 
It looks
great.)

Thank you very much.

Mirko



On Wed, 10 Oct 2007 18:51:57 -0400
"Paul A. Rubin" <[EMAIL PROTECTED]> wrote:

> Mirko Briemle wrote:
> > 
> > I installed lyx-1.5.1 and it looks great. I however would like to use the 
> > apa style class
> > function, which is not available for me. Can someone help me on how I can 
> > get this
> > working?
> > 
> > That would be great. Thank you very much.
> > 
> 
> If Document -> Settings... -> Document class lists "article (APA)" as 
> unavailable, it means you do not have the APA class installed in your 
> LaTeX distribution.  How to download and install it is somewhat 
> distribution-specific.  Once it's installed, start LyX, run Tools -> 
> Reconfigure, then close and reopen LyX.
> 
> /Paul
>