Re: class svmono

2012-01-11 Thread Leslaw Bieniasz
Steve Litt slitt at troubleshooters.com writes:

  What exactly has to be done, step by step, to put the files
  together to form one complete document that can be viewed without
  errors?
  
  Leslaw
 
 My approach would be to write a document with nothing but Hello 
 World written in standard environment, but make sure its document 
 class is SVMono. If that fails to compile, send it to the list. If it 
 compiles, make Hello World one of the environments from SVMono, and 
 see if it fails. If so, exploit the differences. If not, very slowly 
 add various levels of headings and text, checking each time to make 
 sure it compiles.
 
 You can also go the other direction. Back up your existing document, 
 then keep cutting it in half until you trap the defect in a very small 
 document, at which time the defect will probably be obvious.
 
 SteveT


I am afraid this is not possible, since the svmono class does not contain
one document type, but several kinds of documents, which, when put together, 
should make a book. After dozens of different attempts, it seems to me that
the first problem is that LyX provides templates for some of the svmono
class documents, but not all of them. One of the error messages that I get
is: 

Could not load included file
...path...\svmono_referenc.lyx

and 

Could not load included file
...path...\svmono_solutions.lyx

So, it seems that these files are needed by the other LyX templates for
svmono files, but LyX does not provide the templates for them, so that I am 
not able to create these files with LyX.

If, instead, I import the book.tex template directly from the Springer
svmono class (without making use of LyX templates), and try to view it
in pdf format, I get other errors:

Package inputenc Error: Keyboard character used is undefined

Description:

...phil-DOI} Suleiman, Camelia, Daniel C. O’
  Connell,
You need to provide a definition with \DeclareInputText 
or \DeclareInputMath before using this key.

This seems to indicate that the files with references are read this time,
but cannot be parsed by LyX.

I have to admit that I am beginning to doubt in the supposed advantages of
LaTeX and LyX that are so much advertised. So far I cannot view even a single
document written by the authors of LyX !

Leslaw








Re: Example inside presentation(beamer)-class

2012-01-11 Thread Mike Bonhoff
Hallo, everybody,

I have solved my problem with the examples inside the beamer-class. Some
modules (theorems) were activated and so Lyx didn't know which environment
it should use.

Thanks!
Mike


xetex and theorem

2012-01-11 Thread Torquil Macdonald Sørensen

Hi!

I cannot get PDF (xetex) output from the attached document which uses the 
Theorems module. I'm using LyX 2.0.2 and Debian Sid with texlive-xetex. It works 
fine when not using Theorems.


The error I get is:

! Undefined control sequence.
\definitionname -\inputencoding
 {latin9}Definition
l.43 T
  his is a definition.\end{defn}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


Sorry about the briefness, I'm just starting to type using a Dvorak keyboard, so 
I'm extremely slow at the moment...


Best regards and thanks,
Torquil Sørensen


example.lyx
Description: application/lyx


Re: xetex and theorem

2012-01-11 Thread Jürgen Spitzmüller
Torquil Macdonald Sørensen wrote:
 I cannot get PDF (xetex) output from the attached document which uses the 
 Theorems module. I'm using LyX 2.0.2 and Debian Sid with texlive-xetex. It
 works fine when not using Theorems.
 
 The error I get is:
 
 ! Undefined control sequence.
 \definitionname -\inputencoding
   {latin9}Definition

Yes, that's a known bug:
http://www.lyx.org/trac/ticket/7800

A crude workaround is to put
\providecommand\inputencoding[1]{}
in your preamble.

HTH
Jürgen


Re: xetex and theorem

2012-01-11 Thread Torquil Macdonald Sørensen

On 11/01/12 15:41, Jürgen Spitzmüller wrote:

Torquil Macdonald Sørensen wrote:

I cannot get PDF (xetex) output from the attached document which uses the
Theorems module. I'm using LyX 2.0.2 and Debian Sid with texlive-xetex. It
works fine when not using Theorems.

The error I get is:

! Undefined control sequence.
\definitionname -\inputencoding
   {latin9}Definition


Yes, that's a known bug:
http://www.lyx.org/trac/ticket/7800

A crude workaround is to put
\providecommand\inputencoding[1]{}
in your preamble.


Thank you very much!

Torquil


Default output format and non-tex fonts

2012-01-11 Thread Torquil Macdonald Sørensen

Hi!

My default output format is PDF (xetex) in the LyX preferences, and this 
appears on the View menu with the keyboard shortcut CTRL-R.


However, if I select Use non-Tex fonts (via xetex/luatex) in the Fonts 
section of the Document properties, the View menu changes to have HTML as the 
default output format assigned to CTRL-R, and PDF (xetex) is relegated to 
the View (Other formats) submenu, without a keyboard shortcut.


Is this correct behaviour?

LyX 2.0.2

Best regards
Torquil Sørensen


Re: Tables

2012-01-11 Thread Csikos Bela
Hal Kierstead hal.kierst...@gmail.com írta:
Hello,

Using LyX 2.02, I am trying to make a table with two columns---one 1 inches 
wide and the other 5 inches wide. When I enter this using the table settings 
dialog, every thing looks right in LyX, but when I export it both columns are 5 
inches wide.  What am I doing wrong?  Does it matter that I am using the AMS 
book class?

Hal


Hello:

Export to what? PDF, dvi, plain tex?
I tried to make a table like this and it as expexted when viewed as pdf
using export PDF (pdflatex).
I am attaching the lyx file and the resulted pdf file.

Just for clarity: you have to set the width of the columns individually.
Click in the left column - right click - more - settings - Table settings tab - 
Columns settings: set width 1 inch. Repeat this with the right column, but set 
it to 5 inch.

bcsikos


Table-sample.lyx
Description: Binary data


Table-sample.pdf
Description: Adobe PDF document


Re: Default output format and non-tex fonts

2012-01-11 Thread Jürgen Spitzmüller
Torquil Macdonald Sørensen wrote:
 My default output format is PDF (xetex) in the LyX preferences, and this 
 appears on the View menu with the keyboard shortcut CTRL-R.
 
 However, if I select Use non-Tex fonts (via xetex/luatex) in the Fonts 
 section of the Document properties, the View menu changes to have HTML as
 the  default output format assigned to CTRL-R, and PDF (xetex) is
 relegated to the View (Other formats) submenu, without a keyboard
 shortcut.
 
 Is this correct behaviour?

No, but a (known) missing feature:
http://www.lyx.org/trac/ticket/7871

Jürgen


citation in the list of references

2012-01-11 Thread Anne Widura
Hi,

I am using Lyx with Bibtex and I  cite in the document with the author-year
style using the natbib style. e.g. (Renfrew 1994). I add page numbers
manually which works fine for me.

However when it comes to the list of references I want Lyx to repeat the
short title cited in the document and adding the full titel afterwards.
This should look like this

Renfrew 1994
C. Renfrew, Hypocrite voyant, mon semblable . . . Viewpoint: Is there a
Place for Aesthetics in Archaeology? Cambridge Arch. Journal 4, 2, 1994,
264-169.

or like this

Renfrew 1994: C. Renfrew, Hypocrite voyant, mon semblable . . . Viewpoint:
Is there a Place for Aesthetics in Archaeology?
Cambridge Arch. Journal 4, 2, 1994, 264-169.


How could my plan work? Thanks for any help
anne


Re: svmult.cls layout problem?

2012-01-11 Thread stefano franchi
On Tue, Jan 10, 2012 at 6:52 PM, Julien Rioux
jri...@physics.utoronto.ca wrote:
 On 05/12/2011 1:53 AM, stefano franchi wrote:

 Has anyone used the layout for the svmult.cls class recently? (It is
 the Springer class for edited volume)
 The layout seems to have 2 problems (the class works fine in pure latex):

 It does not recognize the \abstract* environment and it inserts the
 \maketitle command too early (before \author)

 Before I clumsily try to fix the problem, is is this a known problem
 and/or is there anything I should know about it?


 Cheers,

 Stefano




 Which LyX version are you using? There were a number of changes to these
 files recently and the latex classes have also changed.

 --
 Julien


I am using the latest stable lyx (2.0.2) and the latest and updated
texlive version. I haven't look into it again since my original post
(exporting to Latex and compiling from command line is good enough for
me at this point), but it seems to me the problem is with the layout
file. I'll try to fix it when I have a bit more time next week.

Cheers,

Stefano

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas AM University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA


Header in plain page

2012-01-11 Thread Dhriti Sundar Ghosh
Hi all,

The plain page after my title page by default takes the page number and
header. How can I remove this?? In principle, it should be totally blank.
This problem is also there in all plain pages throughout my document e.g a
plain page between chapters if any.

I am using document class: Book
I tried the following command in the preamble :

\fancypagestyle{plain}{

\fancyhead{}

\fancyfoot{}

\renewcommand{\headrulewidth}{0pt}


But this command only removes the header from chapter title pages but not
from plain pages.


Please help me.


Regards

Dhriti


how to instal tex fonts on OS X?

2012-01-11 Thread malte köster
dear all,
I recently installed LyX 2.0 and MacTeX TeXLive-2011-Basic on a Mac OS X
10.7 system.

I noticed that by default fonts look pixelated in pdf output because bitmap
fonts are used (http://wiki.lyx.org/FAQ/PDF).
The FAQ suggests to use the font Latin Modern instead of the default
Computer Modern.

How do I install the font for LaTex on OS X? I found the font on
http://www.gust.org.pl/projects/e-foundry/latin-modern/ but could not find
any straight forward instructions on how to install it on my system.
Can anybody point me to a simple explanation how to install fonts?

Thanks for your help!


Re: Header in plain page

2012-01-11 Thread Marcelo Acuña

The plain page after my title page by default takes the page number and header. 
How can I remove this?? In principle, it should be totally blank. This problem 
is also there in all plain pages throughout my document e.g a plain page 
between chapters if any.

I am using document class: Book
I tried the following command in the preamble :
\fancypagestyle{plain}{
\fancyhead{}
\fancyfoot{}
\renewcommand{\headrulewidth}{0pt}

But this command only removes the header from chapter title pages but not from 
plain pages.


Hi,
 try with a ERT with:

\thispagestyle{empty}

or something else

Marcelo

Spell-checker with Lyx on Ubuntu 11.04

2012-01-11 Thread Simon Cullen
Hello,
The spellchecker in Lyx is marking all strings which end with a
right-quotation marks as spelled incorrectly.  So the string: manifest
 will not get marked as incorrect, but the string: `manifest'  will
be marked incorrect. I have searched everywhere for a fix for this
irritating problem, but to no avail.  Any suggestions will be appreciated.

I'm using Ubuntu 11.04
LyX 2.0
Enchant  aspell


Thank you.


Re: Spell-checker with Lyx on Ubuntu 11.04

2012-01-11 Thread David L. Johnson

On 01/11/2012 05:42 PM, Simon Cullen wrote:

Hello,
The spellchecker in Lyx is marking all strings which end with a 
right-quotation marks as spelled incorrectly.  So the string: manifest 
 will not get marked as incorrect, but the string: `manifest' 
 will be marked incorrect. I have searched everywhere for a fix 
for this irritating problem, but to no avail.  Any suggestions will be 
appreciated.
This also occurs with hyphens; unhyphenated,  2 manifold   is considered 
OK, but   2-manifold   is not.  It would be nice to be able to exclude 
these punctuation marks from the spellchecker.  I use debian testing, 
lyx-2.02.


--

David L. Johnson

And what if you track down these men and kill them, what if you killed
all of us?  From every corner of Europe, hundreds, thousands would
rise up to take our places.  Even Nazis can't kill that fast.
-- Paul Henreid (Casablanca).



Re: Tables

2012-01-11 Thread Hal Kierstead
BCikos -

Thanks for your interest.  Here is a simple lyx document, the exported tex 
document and the pdf it generates.  I created the LyX document just as you 
said, and it looks fine in LyX, but not in the pdf version.  I see you inserted 
your table in a float, but this did not help when I tried it.

Thanks again,

Hal

On Jan 11, 2012, at 8:46 AM, Csikos Bela wrote:

 Hal Kierstead hal.kierst...@gmail.com írta:
 Hello,
 
 Using LyX 2.02, I am trying to make a table with two columns---one 1 inches 
 wide and the other 5 inches wide. When I enter this using the table settings 
 dialog, every thing looks right in LyX, but when I export it both columns are 
 5 inches wide.  What am I doing wrong?  Does it matter that I am using the 
 AMS book class?
 
 Hal
 
 
 Hello:
 
 Export to what? PDF, dvi, plain tex?
 I tried to make a table like this and it as expexted when viewed as pdf
 using export PDF (pdflatex).
 I am attaching the lyx file and the resulted pdf file.
 
 Just for clarity: you have to set the width of the columns individually.
 Click in the left column - right click - more - settings - Table settings tab 
 - Columns settings: set width 1 inch. Repeat this with the right column, but 
 set it to 5 inch.
 
 bcsikos
 Table-sample.lyxTable-sample.pdf




(test).lyx
Description: Binary data


(test).tex
Description: Binary data


(test).pdf
Description: Adobe PDF document




Re: how to instal tex fonts on OS X?

2012-01-11 Thread BH
[Sending this time to the list]

On Wed, Jan 11, 2012 at 7:14 PM, BH bewih...@gmail.com wrote:
 On Wed, Jan 11, 2012 at 3:29 PM, malte köster malte.koes...@gmail.com wrote:
 dear all,
 I recently installed LyX 2.0 and MacTeX TeXLive-2011-Basic on a Mac OS X
 10.7 system.

 I noticed that by default fonts look pixelated in pdf output because bitmap
 fonts are used (http://wiki.lyx.org/FAQ/PDF).
 The FAQ suggests to use the font Latin Modern instead of the default
 Computer Modern.

 How do I install the font for LaTex on OS X? I found the font
 on http://www.gust.org.pl/projects/e-foundry/latin-modern/ but could not
 find any straight forward instructions on how to install it on my system.
 Can anybody point me to a simple explanation how to install fonts?

 Use TeX Live Utility (/Applications/TeX/) to install it. Launch it,
 click on the Packages tab, and do a search for the lm package.
 Select it and choose Actions  Install Selected Packages.

 After doing this (which may take a while, especially with a slow
 internet connection), you'll probably want to reconfigure LyX (LyX 
 Reconfigure) and restart.

 BH


Re: Spell-checker with Lyx on Ubuntu 11.04

2012-01-11 Thread Wolfgang Engelmann
Am Donnerstag, 12. Januar 2012, 00:32:47 schrieb David L. Johnson:
 On 01/11/2012 05:42 PM, Simon Cullen wrote:
  Hello,
  The spellchecker in Lyx is marking all strings which end with a
  right-quotation marks as spelled incorrectly.  So the string: manifest
  
   will not get marked as incorrect, but the string: `manifest'
   will be marked incorrect. I have searched everywhere for a fix
  
  for this irritating problem, but to no avail.  Any suggestions will be
  appreciated.
 
 This also occurs with hyphens; unhyphenated,  2 manifold   is considered
 OK, but   2-manifold   is not.  It would be nice to be able to exclude
 these punctuation marks from the spellchecker.  I use debian testing,
 lyx-2.02.

I found it easier to use the feature where the words unknown to the 
spellchecker are underlined in the text in red, since in my case there are 
many scientific names or dash-combined names. 

Wolfgang


Re: class svmono

2012-01-11 Thread Leslaw Bieniasz
Steve Litt slitt at troubleshooters.com writes:

  What exactly has to be done, step by step, to put the files
  together to form one complete document that can be viewed without
  errors?
  
  Leslaw
 
 My approach would be to write a document with nothing but Hello 
 World written in standard environment, but make sure its document 
 class is SVMono. If that fails to compile, send it to the list. If it 
 compiles, make Hello World one of the environments from SVMono, and 
 see if it fails. If so, exploit the differences. If not, very slowly 
 add various levels of headings and text, checking each time to make 
 sure it compiles.
 
 You can also go the other direction. Back up your existing document, 
 then keep cutting it in half until you trap the defect in a very small 
 document, at which time the defect will probably be obvious.
 
 SteveT


I am afraid this is not possible, since the svmono class does not contain
one document type, but several kinds of documents, which, when put together, 
should make a book. After dozens of different attempts, it seems to me that
the first problem is that LyX provides templates for some of the svmono
class documents, but not all of them. One of the error messages that I get
is: 

Could not load included file
...path...\svmono_referenc.lyx

and 

Could not load included file
...path...\svmono_solutions.lyx

So, it seems that these files are needed by the other LyX templates for
svmono files, but LyX does not provide the templates for them, so that I am 
not able to create these files with LyX.

If, instead, I import the book.tex template directly from the Springer
svmono class (without making use of LyX templates), and try to view it
in pdf format, I get other errors:

Package inputenc Error: Keyboard character used is undefined

Description:

...phil-DOI} Suleiman, Camelia, Daniel C. O’
  Connell,
You need to provide a definition with \DeclareInputText 
or \DeclareInputMath before using this key.

This seems to indicate that the files with references are read this time,
but cannot be parsed by LyX.

I have to admit that I am beginning to doubt in the supposed advantages of
LaTeX and LyX that are so much advertised. So far I cannot view even a single
document written by the authors of LyX !

Leslaw








Re: Example inside presentation(beamer)-class

2012-01-11 Thread Mike Bonhoff
Hallo, everybody,

I have solved my problem with the examples inside the beamer-class. Some
modules (theorems) were activated and so Lyx didn't know which environment
it should use.

Thanks!
Mike


xetex and theorem

2012-01-11 Thread Torquil Macdonald Sørensen

Hi!

I cannot get PDF (xetex) output from the attached document which uses the 
Theorems module. I'm using LyX 2.0.2 and Debian Sid with texlive-xetex. It works 
fine when not using Theorems.


The error I get is:

! Undefined control sequence.
\definitionname -\inputencoding
 {latin9}Definition
l.43 T
  his is a definition.\end{defn}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


Sorry about the briefness, I'm just starting to type using a Dvorak keyboard, so 
I'm extremely slow at the moment...


Best regards and thanks,
Torquil Sørensen


example.lyx
Description: application/lyx


Re: xetex and theorem

2012-01-11 Thread Jürgen Spitzmüller
Torquil Macdonald Sørensen wrote:
 I cannot get PDF (xetex) output from the attached document which uses the 
 Theorems module. I'm using LyX 2.0.2 and Debian Sid with texlive-xetex. It
 works fine when not using Theorems.
 
 The error I get is:
 
 ! Undefined control sequence.
 \definitionname -\inputencoding
   {latin9}Definition

Yes, that's a known bug:
http://www.lyx.org/trac/ticket/7800

A crude workaround is to put
\providecommand\inputencoding[1]{}
in your preamble.

HTH
Jürgen


Re: xetex and theorem

2012-01-11 Thread Torquil Macdonald Sørensen

On 11/01/12 15:41, Jürgen Spitzmüller wrote:

Torquil Macdonald Sørensen wrote:

I cannot get PDF (xetex) output from the attached document which uses the
Theorems module. I'm using LyX 2.0.2 and Debian Sid with texlive-xetex. It
works fine when not using Theorems.

The error I get is:

! Undefined control sequence.
\definitionname -\inputencoding
   {latin9}Definition


Yes, that's a known bug:
http://www.lyx.org/trac/ticket/7800

A crude workaround is to put
\providecommand\inputencoding[1]{}
in your preamble.


Thank you very much!

Torquil


Default output format and non-tex fonts

2012-01-11 Thread Torquil Macdonald Sørensen

Hi!

My default output format is PDF (xetex) in the LyX preferences, and this 
appears on the View menu with the keyboard shortcut CTRL-R.


However, if I select Use non-Tex fonts (via xetex/luatex) in the Fonts 
section of the Document properties, the View menu changes to have HTML as the 
default output format assigned to CTRL-R, and PDF (xetex) is relegated to 
the View (Other formats) submenu, without a keyboard shortcut.


Is this correct behaviour?

LyX 2.0.2

Best regards
Torquil Sørensen


Re: Tables

2012-01-11 Thread Csikos Bela
Hal Kierstead hal.kierst...@gmail.com írta:
Hello,

Using LyX 2.02, I am trying to make a table with two columns---one 1 inches 
wide and the other 5 inches wide. When I enter this using the table settings 
dialog, every thing looks right in LyX, but when I export it both columns are 5 
inches wide.  What am I doing wrong?  Does it matter that I am using the AMS 
book class?

Hal


Hello:

Export to what? PDF, dvi, plain tex?
I tried to make a table like this and it as expexted when viewed as pdf
using export PDF (pdflatex).
I am attaching the lyx file and the resulted pdf file.

Just for clarity: you have to set the width of the columns individually.
Click in the left column - right click - more - settings - Table settings tab - 
Columns settings: set width 1 inch. Repeat this with the right column, but set 
it to 5 inch.

bcsikos


Table-sample.lyx
Description: Binary data


Table-sample.pdf
Description: Adobe PDF document


Re: Default output format and non-tex fonts

2012-01-11 Thread Jürgen Spitzmüller
Torquil Macdonald Sørensen wrote:
 My default output format is PDF (xetex) in the LyX preferences, and this 
 appears on the View menu with the keyboard shortcut CTRL-R.
 
 However, if I select Use non-Tex fonts (via xetex/luatex) in the Fonts 
 section of the Document properties, the View menu changes to have HTML as
 the  default output format assigned to CTRL-R, and PDF (xetex) is
 relegated to the View (Other formats) submenu, without a keyboard
 shortcut.
 
 Is this correct behaviour?

No, but a (known) missing feature:
http://www.lyx.org/trac/ticket/7871

Jürgen


citation in the list of references

2012-01-11 Thread Anne Widura
Hi,

I am using Lyx with Bibtex and I  cite in the document with the author-year
style using the natbib style. e.g. (Renfrew 1994). I add page numbers
manually which works fine for me.

However when it comes to the list of references I want Lyx to repeat the
short title cited in the document and adding the full titel afterwards.
This should look like this

Renfrew 1994
C. Renfrew, Hypocrite voyant, mon semblable . . . Viewpoint: Is there a
Place for Aesthetics in Archaeology? Cambridge Arch. Journal 4, 2, 1994,
264-169.

or like this

Renfrew 1994: C. Renfrew, Hypocrite voyant, mon semblable . . . Viewpoint:
Is there a Place for Aesthetics in Archaeology?
Cambridge Arch. Journal 4, 2, 1994, 264-169.


How could my plan work? Thanks for any help
anne


Re: svmult.cls layout problem?

2012-01-11 Thread stefano franchi
On Tue, Jan 10, 2012 at 6:52 PM, Julien Rioux
jri...@physics.utoronto.ca wrote:
 On 05/12/2011 1:53 AM, stefano franchi wrote:

 Has anyone used the layout for the svmult.cls class recently? (It is
 the Springer class for edited volume)
 The layout seems to have 2 problems (the class works fine in pure latex):

 It does not recognize the \abstract* environment and it inserts the
 \maketitle command too early (before \author)

 Before I clumsily try to fix the problem, is is this a known problem
 and/or is there anything I should know about it?


 Cheers,

 Stefano




 Which LyX version are you using? There were a number of changes to these
 files recently and the latex classes have also changed.

 --
 Julien


I am using the latest stable lyx (2.0.2) and the latest and updated
texlive version. I haven't look into it again since my original post
(exporting to Latex and compiling from command line is good enough for
me at this point), but it seems to me the problem is with the layout
file. I'll try to fix it when I have a bit more time next week.

Cheers,

Stefano

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas AM University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA


Header in plain page

2012-01-11 Thread Dhriti Sundar Ghosh
Hi all,

The plain page after my title page by default takes the page number and
header. How can I remove this?? In principle, it should be totally blank.
This problem is also there in all plain pages throughout my document e.g a
plain page between chapters if any.

I am using document class: Book
I tried the following command in the preamble :

\fancypagestyle{plain}{

\fancyhead{}

\fancyfoot{}

\renewcommand{\headrulewidth}{0pt}


But this command only removes the header from chapter title pages but not
from plain pages.


Please help me.


Regards

Dhriti


how to instal tex fonts on OS X?

2012-01-11 Thread malte köster
dear all,
I recently installed LyX 2.0 and MacTeX TeXLive-2011-Basic on a Mac OS X
10.7 system.

I noticed that by default fonts look pixelated in pdf output because bitmap
fonts are used (http://wiki.lyx.org/FAQ/PDF).
The FAQ suggests to use the font Latin Modern instead of the default
Computer Modern.

How do I install the font for LaTex on OS X? I found the font on
http://www.gust.org.pl/projects/e-foundry/latin-modern/ but could not find
any straight forward instructions on how to install it on my system.
Can anybody point me to a simple explanation how to install fonts?

Thanks for your help!


Re: Header in plain page

2012-01-11 Thread Marcelo Acuña

The plain page after my title page by default takes the page number and header. 
How can I remove this?? In principle, it should be totally blank. This problem 
is also there in all plain pages throughout my document e.g a plain page 
between chapters if any.

I am using document class: Book
I tried the following command in the preamble :
\fancypagestyle{plain}{
\fancyhead{}
\fancyfoot{}
\renewcommand{\headrulewidth}{0pt}

But this command only removes the header from chapter title pages but not from 
plain pages.


Hi,
 try with a ERT with:

\thispagestyle{empty}

or something else

Marcelo

Spell-checker with Lyx on Ubuntu 11.04

2012-01-11 Thread Simon Cullen
Hello,
The spellchecker in Lyx is marking all strings which end with a
right-quotation marks as spelled incorrectly.  So the string: manifest
 will not get marked as incorrect, but the string: `manifest'  will
be marked incorrect. I have searched everywhere for a fix for this
irritating problem, but to no avail.  Any suggestions will be appreciated.

I'm using Ubuntu 11.04
LyX 2.0
Enchant  aspell


Thank you.


Re: Spell-checker with Lyx on Ubuntu 11.04

2012-01-11 Thread David L. Johnson

On 01/11/2012 05:42 PM, Simon Cullen wrote:

Hello,
The spellchecker in Lyx is marking all strings which end with a 
right-quotation marks as spelled incorrectly.  So the string: manifest 
 will not get marked as incorrect, but the string: `manifest' 
 will be marked incorrect. I have searched everywhere for a fix 
for this irritating problem, but to no avail.  Any suggestions will be 
appreciated.
This also occurs with hyphens; unhyphenated,  2 manifold   is considered 
OK, but   2-manifold   is not.  It would be nice to be able to exclude 
these punctuation marks from the spellchecker.  I use debian testing, 
lyx-2.02.


--

David L. Johnson

And what if you track down these men and kill them, what if you killed
all of us?  From every corner of Europe, hundreds, thousands would
rise up to take our places.  Even Nazis can't kill that fast.
-- Paul Henreid (Casablanca).



Re: Tables

2012-01-11 Thread Hal Kierstead
BCikos -

Thanks for your interest.  Here is a simple lyx document, the exported tex 
document and the pdf it generates.  I created the LyX document just as you 
said, and it looks fine in LyX, but not in the pdf version.  I see you inserted 
your table in a float, but this did not help when I tried it.

Thanks again,

Hal

On Jan 11, 2012, at 8:46 AM, Csikos Bela wrote:

 Hal Kierstead hal.kierst...@gmail.com írta:
 Hello,
 
 Using LyX 2.02, I am trying to make a table with two columns---one 1 inches 
 wide and the other 5 inches wide. When I enter this using the table settings 
 dialog, every thing looks right in LyX, but when I export it both columns are 
 5 inches wide.  What am I doing wrong?  Does it matter that I am using the 
 AMS book class?
 
 Hal
 
 
 Hello:
 
 Export to what? PDF, dvi, plain tex?
 I tried to make a table like this and it as expexted when viewed as pdf
 using export PDF (pdflatex).
 I am attaching the lyx file and the resulted pdf file.
 
 Just for clarity: you have to set the width of the columns individually.
 Click in the left column - right click - more - settings - Table settings tab 
 - Columns settings: set width 1 inch. Repeat this with the right column, but 
 set it to 5 inch.
 
 bcsikos
 Table-sample.lyxTable-sample.pdf




(test).lyx
Description: Binary data


(test).tex
Description: Binary data


(test).pdf
Description: Adobe PDF document




Re: how to instal tex fonts on OS X?

2012-01-11 Thread BH
[Sending this time to the list]

On Wed, Jan 11, 2012 at 7:14 PM, BH bewih...@gmail.com wrote:
 On Wed, Jan 11, 2012 at 3:29 PM, malte köster malte.koes...@gmail.com wrote:
 dear all,
 I recently installed LyX 2.0 and MacTeX TeXLive-2011-Basic on a Mac OS X
 10.7 system.

 I noticed that by default fonts look pixelated in pdf output because bitmap
 fonts are used (http://wiki.lyx.org/FAQ/PDF).
 The FAQ suggests to use the font Latin Modern instead of the default
 Computer Modern.

 How do I install the font for LaTex on OS X? I found the font
 on http://www.gust.org.pl/projects/e-foundry/latin-modern/ but could not
 find any straight forward instructions on how to install it on my system.
 Can anybody point me to a simple explanation how to install fonts?

 Use TeX Live Utility (/Applications/TeX/) to install it. Launch it,
 click on the Packages tab, and do a search for the lm package.
 Select it and choose Actions  Install Selected Packages.

 After doing this (which may take a while, especially with a slow
 internet connection), you'll probably want to reconfigure LyX (LyX 
 Reconfigure) and restart.

 BH


Re: Spell-checker with Lyx on Ubuntu 11.04

2012-01-11 Thread Wolfgang Engelmann
Am Donnerstag, 12. Januar 2012, 00:32:47 schrieb David L. Johnson:
 On 01/11/2012 05:42 PM, Simon Cullen wrote:
  Hello,
  The spellchecker in Lyx is marking all strings which end with a
  right-quotation marks as spelled incorrectly.  So the string: manifest
  
   will not get marked as incorrect, but the string: `manifest'
   will be marked incorrect. I have searched everywhere for a fix
  
  for this irritating problem, but to no avail.  Any suggestions will be
  appreciated.
 
 This also occurs with hyphens; unhyphenated,  2 manifold   is considered
 OK, but   2-manifold   is not.  It would be nice to be able to exclude
 these punctuation marks from the spellchecker.  I use debian testing,
 lyx-2.02.

I found it easier to use the feature where the words unknown to the 
spellchecker are underlined in the text in red, since in my case there are 
many scientific names or dash-combined names. 

Wolfgang


Re: class svmono

2012-01-11 Thread Leslaw Bieniasz
Steve Litt  troubleshooters.com> writes:

> > What exactly has to be done, step by step, to put the files
> > together to form one complete document that can be viewed without
> > errors?
> > 
> > Leslaw
> 
> My approach would be to write a document with nothing but "Hello 
> World" written in standard environment, but make sure its document 
> class is SVMono. If that fails to compile, send it to the list. If it 
> compiles, make "Hello World" one of the environments from SVMono, and 
> see if it fails. If so, exploit the differences. If not, very slowly 
> add various levels of headings and text, checking each time to make 
> sure it compiles.
> 
> You can also go the other direction. Back up your existing document, 
> then keep cutting it in half until you trap the defect in a very small 
> document, at which time the defect will probably be obvious.
> 
> SteveT


I am afraid this is not possible, since the svmono class does not contain
one document type, but several kinds of documents, which, when put together, 
should make a book. After dozens of different attempts, it seems to me that
the first problem is that LyX provides templates for some of the svmono
class documents, but not all of them. One of the error messages that I get
is: 

Could not load included file
...path...\svmono_referenc.lyx

and 

Could not load included file
...path...\svmono_solutions.lyx

So, it seems that these files are needed by the other LyX templates for
svmono files, but LyX does not provide the templates for them, so that I am 
not able to create these files with LyX.

If, instead, I import the book.tex template directly from the Springer
svmono class (without making use of LyX templates), and try to view it
in pdf format, I get other errors:

"Package inputenc Error: Keyboard character used is undefined"

Description:

"...phil-DOI} Suleiman, Camelia, Daniel C. O’
  Connell,
You need to provide a definition with \DeclareInputText 
or \DeclareInputMath before using this key."

This seems to indicate that the files with references are read this time,
but cannot be parsed by LyX.

I have to admit that I am beginning to doubt in the supposed advantages of
LaTeX and LyX that are so much advertised. So far I cannot view even a single
document written by the authors of LyX !

Leslaw








Re: Example inside presentation(beamer)-class

2012-01-11 Thread Mike Bonhoff
Hallo, everybody,

I have solved my problem with the examples inside the beamer-class. Some
modules (theorems) were activated and so Lyx didn't know which environment
it should use.

Thanks!
Mike


xetex and theorem

2012-01-11 Thread Torquil Macdonald Sørensen

Hi!

I cannot get "PDF (xetex)" output from the attached document which uses the 
Theorems module. I'm using LyX 2.0.2 and Debian Sid with texlive-xetex. It works 
fine when not using Theorems.


The error I get is:

"! Undefined control sequence.
\definitionname ->\inputencoding
 {latin9}Definition
l.43 T
  his is a definition.\end{defn}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined."


Sorry about the briefness, I'm just starting to type using a Dvorak keyboard, so 
I'm extremely slow at the moment...


Best regards and thanks,
Torquil Sørensen


example.lyx
Description: application/lyx


Re: xetex and theorem

2012-01-11 Thread Jürgen Spitzmüller
Torquil Macdonald Sørensen wrote:
> I cannot get "PDF (xetex)" output from the attached document which uses the 
> Theorems module. I'm using LyX 2.0.2 and Debian Sid with texlive-xetex. It
> works fine when not using Theorems.
> 
> The error I get is:
> 
> "! Undefined control sequence.
> \definitionname ->\inputencoding
>   {latin9}Definition

Yes, that's a known bug:
http://www.lyx.org/trac/ticket/7800

A crude workaround is to put
\providecommand\inputencoding[1]{}
in your preamble.

HTH
Jürgen


Re: xetex and theorem

2012-01-11 Thread Torquil Macdonald Sørensen

On 11/01/12 15:41, Jürgen Spitzmüller wrote:

Torquil Macdonald Sørensen wrote:

I cannot get "PDF (xetex)" output from the attached document which uses the
Theorems module. I'm using LyX 2.0.2 and Debian Sid with texlive-xetex. It
works fine when not using Theorems.

The error I get is:

"! Undefined control sequence.
\definitionname ->\inputencoding
   {latin9}Definition


Yes, that's a known bug:
http://www.lyx.org/trac/ticket/7800

A crude workaround is to put
\providecommand\inputencoding[1]{}
in your preamble.


Thank you very much!

Torquil


Default output format and non-tex fonts

2012-01-11 Thread Torquil Macdonald Sørensen

Hi!

My default output format is "PDF (xetex)" in the LyX preferences, and this 
appears on the View menu with the keyboard shortcut "CTRL-R".


However, if I select "Use non-Tex fonts (via xetex/luatex)" in the "Fonts" 
section of the Document properties, the View menu changes to have HTML as the 
default output format assigned to "CTRL-R", and "PDF (xetex)" is relegated to 
the "View (Other formats)" submenu, without a keyboard shortcut.


Is this correct behaviour?

LyX 2.0.2

Best regards
Torquil Sørensen


Re: Tables

2012-01-11 Thread Csikos Bela
Hal Kierstead  írta:
Hello,

Using LyX 2.02, I am trying to make a table with two columns---one 1 inches 
wide and the other 5 inches wide. When I enter this using the table settings 
dialog, every thing looks right in LyX, but when I export it both columns are 5 
inches wide.  What am I doing wrong?  Does it matter that I am using the AMS 
book class?

Hal


Hello:

Export to what? PDF, dvi, plain tex?
I tried to make a table like this and it as expexted when viewed as pdf
using export PDF (pdflatex).
I am attaching the lyx file and the resulted pdf file.

Just for clarity: you have to set the width of the columns individually.
Click in the left column - right click - more - settings - Table settings tab - 
Columns settings: set width 1 inch. Repeat this with the right column, but set 
it to 5 inch.

bcsikos


Table-sample.lyx
Description: Binary data


Table-sample.pdf
Description: Adobe PDF document


Re: Default output format and non-tex fonts

2012-01-11 Thread Jürgen Spitzmüller
Torquil Macdonald Sørensen wrote:
> My default output format is "PDF (xetex)" in the LyX preferences, and this 
> appears on the View menu with the keyboard shortcut "CTRL-R".
> 
> However, if I select "Use non-Tex fonts (via xetex/luatex)" in the "Fonts" 
> section of the Document properties, the View menu changes to have HTML as
> the  default output format assigned to "CTRL-R", and "PDF (xetex)" is
> relegated to the "View (Other formats)" submenu, without a keyboard
> shortcut.
> 
> Is this correct behaviour?

No, but a (known) missing feature:
http://www.lyx.org/trac/ticket/7871

Jürgen


citation in the list of references

2012-01-11 Thread Anne Widura
Hi,

I am using Lyx with Bibtex and I  cite in the document with the author-year
style using the natbib style. e.g. (Renfrew 1994). I add page numbers
manually which works fine for me.

However when it comes to the list of references I want Lyx to repeat the
short title cited in the document and adding the full titel afterwards.
This should look like this

Renfrew 1994
C. Renfrew, Hypocrite voyant, mon semblable . . . Viewpoint: Is there a
Place for Aesthetics in Archaeology? Cambridge Arch. Journal 4, 2, 1994,
264-169.

or like this

Renfrew 1994: C. Renfrew, Hypocrite voyant, mon semblable . . . Viewpoint:
Is there a Place for Aesthetics in Archaeology?
Cambridge Arch. Journal 4, 2, 1994, 264-169.


How could my plan work? Thanks for any help
anne


Re: svmult.cls layout problem?

2012-01-11 Thread stefano franchi
On Tue, Jan 10, 2012 at 6:52 PM, Julien Rioux
 wrote:
> On 05/12/2011 1:53 AM, stefano franchi wrote:
>>
>> Has anyone used the layout for the svmult.cls class recently? (It is
>> the Springer class for edited volume)
>> The layout seems to have 2 problems (the class works fine in pure latex):
>>
>> It does not recognize the \abstract* environment and it inserts the
>> \maketitle command too early (before \author)
>>
>> Before I clumsily try to fix the problem, is is this a known problem
>> and/or is there anything I should know about it?
>>
>>
>> Cheers,
>>
>> Stefano
>>
>>
>>
>
> Which LyX version are you using? There were a number of changes to these
> files recently and the latex classes have also changed.
>
> --
> Julien
>

I am using the latest stable lyx (2.0.2) and the latest and updated
texlive version. I haven't look into it again since my original post
(exporting to Latex and compiling from command line is good enough for
me at this point), but it seems to me the problem is with the layout
file. I'll try to fix it when I have a bit more time next week.

Cheers,

Stefano

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA


Header in plain page

2012-01-11 Thread Dhriti Sundar Ghosh
Hi all,

The plain page after my title page by default takes the page number and
header. How can I remove this?? In principle, it should be totally blank.
This problem is also there in all plain pages throughout my document e.g a
plain page between chapters if any.

I am using document class: Book
I tried the following command in the preamble :

\fancypagestyle{plain}{

\fancyhead{}

\fancyfoot{}

\renewcommand{\headrulewidth}{0pt}


But this command only removes the header from chapter title pages but not
from plain pages.


Please help me.


Regards

Dhriti


how to instal tex fonts on OS X?

2012-01-11 Thread malte köster
dear all,
I recently installed LyX 2.0 and MacTeX TeXLive-2011-Basic on a Mac OS X
10.7 system.

I noticed that by default fonts look pixelated in pdf output because bitmap
fonts are used (http://wiki.lyx.org/FAQ/PDF).
The FAQ suggests to use the font Latin Modern instead of the default
Computer Modern.

How do I install the font for LaTex on OS X? I found the font on
http://www.gust.org.pl/projects/e-foundry/latin-modern/ but could not find
any straight forward instructions on how to install it on my system.
Can anybody point me to a simple explanation how to install fonts?

Thanks for your help!


Re: Header in plain page

2012-01-11 Thread Marcelo Acuña
>
The plain page after my title page by default takes the page number and header. 
How can I remove this?? In principle, it should be totally blank. This problem 
is also there in all plain pages throughout my document e.g a plain page 
between chapters if any.

I am using document class: Book
I tried the following command in the preamble :
\fancypagestyle{plain}{
\fancyhead{}
\fancyfoot{}
\renewcommand{\headrulewidth}{0pt}

But this command only removes the header from chapter title pages but not from 
plain pages.


Hi,
 try with a ERT with:

\thispagestyle{empty}

or something else

Marcelo

Spell-checker with Lyx on Ubuntu 11.04

2012-01-11 Thread Simon Cullen
Hello,
The spellchecker in Lyx is marking all strings which end with a
right-quotation marks as spelled incorrectly.  So the string: manifest
 will not get marked as incorrect, but the string: `manifest'  will
be marked incorrect. I have searched everywhere for a fix for this
irritating problem, but to no avail.  Any suggestions will be appreciated.

I'm using Ubuntu 11.04
LyX 2.0
Enchant & aspell


Thank you.


Re: Spell-checker with Lyx on Ubuntu 11.04

2012-01-11 Thread David L. Johnson

On 01/11/2012 05:42 PM, Simon Cullen wrote:

Hello,
The spellchecker in Lyx is marking all strings which end with a 
right-quotation marks as spelled incorrectly.  So the string: manifest 
 will not get marked as incorrect, but the string: `manifest' 
 will be marked incorrect. I have searched everywhere for a fix 
for this irritating problem, but to no avail.  Any suggestions will be 
appreciated.
This also occurs with hyphens; unhyphenated,  2 manifold   is considered 
OK, but   2-manifold   is not.  It would be nice to be able to exclude 
these punctuation marks from the spellchecker.  I use debian testing, 
lyx-2.02.


--

David L. Johnson

And what if you track down these men and kill them, what if you killed
all of us?  From every corner of Europe, hundreds, thousands would
rise up to take our places.  Even Nazis can't kill that fast.
-- Paul Henreid (Casablanca).



Re: Tables

2012-01-11 Thread Hal Kierstead
BCikos -

Thanks for your interest.  Here is a simple lyx document, the exported tex 
document and the pdf it generates.  I created the LyX document just as you 
said, and it looks fine in LyX, but not in the pdf version.  I see you inserted 
your table in a float, but this did not help when I tried it.

Thanks again,

Hal

On Jan 11, 2012, at 8:46 AM, Csikos Bela wrote:

> Hal Kierstead  írta:
> Hello,
> 
> Using LyX 2.02, I am trying to make a table with two columns---one 1 inches 
> wide and the other 5 inches wide. When I enter this using the table settings 
> dialog, every thing looks right in LyX, but when I export it both columns are 
> 5 inches wide.  What am I doing wrong?  Does it matter that I am using the 
> AMS book class?
> 
> Hal
> 
> 
> Hello:
> 
> Export to what? PDF, dvi, plain tex?
> I tried to make a table like this and it as expexted when viewed as pdf
> using export PDF (pdflatex).
> I am attaching the lyx file and the resulted pdf file.
> 
> Just for clarity: you have to set the width of the columns individually.
> Click in the left column - right click - more - settings - Table settings tab 
> - Columns settings: set width 1 inch. Repeat this with the right column, but 
> set it to 5 inch.
> 
> bcsikos
> 




(test).lyx
Description: Binary data


(test).tex
Description: Binary data


(test).pdf
Description: Adobe PDF document




Re: how to instal tex fonts on OS X?

2012-01-11 Thread BH
[Sending this time to the list]

On Wed, Jan 11, 2012 at 7:14 PM, BH  wrote:
> On Wed, Jan 11, 2012 at 3:29 PM, malte köster  wrote:
>> dear all,
>> I recently installed LyX 2.0 and MacTeX TeXLive-2011-Basic on a Mac OS X
>> 10.7 system.
>>
>> I noticed that by default fonts look pixelated in pdf output because bitmap
>> fonts are used (http://wiki.lyx.org/FAQ/PDF).
>> The FAQ suggests to use the font Latin Modern instead of the default
>> Computer Modern.
>>
>> How do I install the font for LaTex on OS X? I found the font
>> on http://www.gust.org.pl/projects/e-foundry/latin-modern/ but could not
>> find any straight forward instructions on how to install it on my system.
>> Can anybody point me to a simple explanation how to install fonts?
>
> Use TeX Live Utility (/Applications/TeX/) to install it. Launch it,
> click on the "Packages" tab, and do a search for the "lm" package.
> Select it and choose Actions > Install Selected Packages.
>
> After doing this (which may take a while, especially with a slow
> internet connection), you'll probably want to reconfigure LyX (LyX >
> Reconfigure) and restart.
>
> BH


Re: Spell-checker with Lyx on Ubuntu 11.04

2012-01-11 Thread Wolfgang Engelmann
Am Donnerstag, 12. Januar 2012, 00:32:47 schrieb David L. Johnson:
> On 01/11/2012 05:42 PM, Simon Cullen wrote:
> > Hello,
> > The spellchecker in Lyx is marking all strings which end with a
> > right-quotation marks as spelled incorrectly.  So the string: manifest
> > 
> >  will not get marked as incorrect, but the string: `manifest'
> >  will be marked incorrect. I have searched everywhere for a fix
> > 
> > for this irritating problem, but to no avail.  Any suggestions will be
> > appreciated.
> 
> This also occurs with hyphens; unhyphenated,  2 manifold   is considered
> OK, but   2-manifold   is not.  It would be nice to be able to exclude
> these punctuation marks from the spellchecker.  I use debian testing,
> lyx-2.02.

I found it easier to use the feature where the words unknown to the 
spellchecker are underlined in the text in red, since in my case there are 
many scientific names or dash-combined names. 

Wolfgang