Re: Language detection [was: offtopic blog]

2010-02-08 Thread Hellmut Weber

Am 08.02.2010 08:26, schrieb Jürgen Spitzmüller:

Guenter Milde wrote:

I think the spellchecker should not do any guessing and switching. As
long as we are using LaTeX, languages simply need be marked properly.


Agreed. However, currently language switching is far too cumbersome:

a) EditText-styleCustom...select from an endless list, or

b) M-x language ... (where you need to know the correct name of the
  desired language)


I could not agree more. Personally, I have defined shortcuts for the languages
I need most frequently.

Would you mind to explain how you use this bindings?
Do you have to mark the relevant paragraph(s) and then use the key binding?
What does a key binding of this kind look like?



I had the following idea for an UI: add a (context) menu item Set language
that lists the currently used languages and an accelerator for the character
dialog. I.e., if your document uses German, English and French, the menu would
look

...
Set Language
English
French
German
More Languages ...
...

Jürgen


Hi Jürgen,
that's quite close to what I'm hoping for ;-)

Greetings from Munich

Hellmut


--
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: Language detection [was: offtopic blog]

2010-02-08 Thread Jürgen Spitzmüller
Hellmut Weber wrote:
 Would you mind to explain how you use this bindings?
 Do you have to mark the relevant paragraph(s) and then use the key binding?
 What does a key binding of this kind look like?

In Tools  Preferences  Edit  Shortcuts, I have defined the following 
bindings:

Alt + L E: language english
Alt + L A: language german
Alt + L D: language ngerman
Alt + L F: language french

You can either change the language of a phrase by marking it and using one of 
the key bindings, or just hit the key binding and type on in the new language.

Jürgen


Re: Off-topic biblatex question

2010-02-08 Thread Julio Rojas
Thx Jurgen. I'll try them and get back latter.
-
Julio Rojas
jcredbe...@gmail.com



On Mon, Feb 8, 2010 at 8:20 AM, Jürgen Spitzmüller sp...@lyx.org wrote:
 Julio Rojas wrote:
 Dear all, I have been using biblatex for my bibliography for the last
 year. Now, for a paper, I need to use some references that I have in
 this bibliography but a problem arises. In some papers that have
 colons in the title, I had to substitute them for \addcolon\addspace
 and when I try to use these records with bibtex an error is presented.
 I would like to be able to define, in the preamble of my lyx document,
 both \addcolon and \addspace to do exactly what they say, so I
 don't have to go back and do a search and replace for them.

 Replacing them with exactly what they do is difficult, since biblatex has a
 smart punctuation tracker.

 The most easy substitute is the following. Maybe this is sufficient.

 \providecommand\addcolon{:}
 \providecommand\addspace{\ }

 Jürgen



Re: Problem with Palatino font

2010-02-08 Thread Marco Stara
Thanks Liviu and Uwe,

At this  moment I have some problem installing packages cause of my
particular internet connection settings.
I will try as soon as possible.

Best regards,

Marco




Help Vampires (fwd)

2010-02-08 Thread Rich Shepard

  Passed on without implications.

Rich

-- Forwarded message --

Help Vampires: A Spotter?s Guide
http://slash7.com/2006/12/22/vampires/


Re: uiucthesis layout help

2010-02-08 Thread Stephen Anthony

rgheck wrote:

On 02/07/2010 02:14 PM, Stephen Anthony wrote:
I am new to LATEX/LYX, and I am interested in trying it out for my 
thesis. I have found the LATEX style and class for my thesis 
(http://physics.illinois.edu/grad/thesis-templates.asp). They appear 
to be appropriately installed, I can see them both in MiKTeX 2.8 and 
they also appear in LYX in Tools:TeX Information.


Where I seem to be running into problems is with the Layout file. I 
have tried following the instructions in Help:Customization regarding 
creating a new layout file, and haven't managed to get it to work. 
When I go to Document:Settings:Document Class, uiucthesis does not 
appear. When I try Local Layout there, it tells me Unable to read 
local layout file. Can someone either generate a layout for me from 
the uiucthesis2009 class/style provided, or help me figure out how to 
do that properly myself?



Can you post the layout file you have so far?

rh


#% Do not delete the line below; configure depends on this

# \DeclareLATEXClass[uiucthesis,book]{uiucthesis}

# UIUC Thesis textclass definition file.

# Author :

# Transposed by

# Heavily modifed and enhanced by serveral developers.

Preamble

\usepackage{uiucthesis}

EndPreamble

Format 11

Input stdclass.inc

Input numreport.inc

Sides 2

PageStyle Headings

NoStyle Abstract

Style Bibliography

TopSep 4

LabelString Bibliography

LabelFont

Series Bold

Size Huge

EndFont

End




Re: uiucthesis layout help

2010-02-08 Thread rgheck

On 02/08/2010 10:26 AM, Stephen Anthony wrote:

rgheck wrote:

On 02/07/2010 02:14 PM, Stephen Anthony wrote:
I am new to LATEX/LYX, and I am interested in trying it out for my 
thesis. I have found the LATEX style and class for my thesis 
(http://physics.illinois.edu/grad/thesis-templates.asp). They appear 
to be appropriately installed, I can see them both in MiKTeX 2.8 and 
they also appear in LYX in Tools:TeX Information.


Where I seem to be running into problems is with the Layout file. I 
have tried following the instructions in Help:Customization 
regarding creating a new layout file, and haven't managed to get it 
to work. When I go to Document:Settings:Document Class, uiucthesis 
does not appear. When I try Local Layout there, it tells me 
Unable to read local layout file. Can someone either generate a 
layout for me from the uiucthesis2009 class/style provided, or help 
me figure out how to do that properly myself?



Can you post the layout file you have so far?


#% Do not delete the line below; configure depends on this

# \DeclareLATEXClass[uiucthesis,book]{uiucthesis}


I'd do just:
# \DeclareLATEXClass[book]{UIUC Thesis Class}
to start. You can add the other back if you need to do so. It may also 
need to be:

# \DeclareLATEXClass[book,uiucthesis]{UIUC Thesis Class}
in that order. I'm not sure.


# UIUC Thesis textclass definition file.

# Author :

# Transposed by

# Heavily modifed and enhanced by serveral developers.

Preamble

\usepackage{uiucthesis}

EndPreamble

Format 11


The format line MUST be the first non-empty, non-comment line.


Input stdclass.inc

Input numreport.inc

Sides 2

PageStyle Headings

NoStyle Abstract

Style Bibliography

TopSep 4

LabelString Bibliography

LabelFont

Series Bold

Size Huge

EndFont

End

The rest looks as if it should be OK. Make sure you have put this in the 
right place, namely, in the layouts/ subdirectory of your user 
directory, whose location you can find in HelpAbout LyX. Then do 
ToolsReconfigure.


Richard



Re: Help Vampires (fwd)

2010-02-08 Thread Paul A. Rubin

Rich Shepard wrote:

  Passed on without implications.



Thanks, Rich.  I haven't seen any significant vampirism here (although a 
few users may be insufficiently appreciative of the extensive 
documentation that comes with LyX), but I read some technical forums 
where there are a few alpha vampires, one or two of whom have been 
rather tiring lately.




switching between two open lyx files

2010-02-08 Thread John White
Is there a way to switch between two open lyx files, without using the 
mouse?


Thx

John



RE: switching between two open lyx files

2010-02-08 Thread Vincent van Ravesteijn - TNW
 

Is there a way to switch between two open lyx files, without using the
mouse?

Thx

John


Ctrl + Tab, Ctrl + PgUp, Ctrl + Shift + F6.. Pick your choice.

If this does not work, type in the command buffer
(View-Toolbars-Command Buffer) buffer-previous and see what appears
in the statusbar as the shortcut.

Vincent



Re: switching between two open lyx files

2010-02-08 Thread John White
Ctrl + Tab works, at least in 1.6.5 running in slackware linux (Vector 
Linux 6.0 standard.  Thanks!  I have been using lyx for years but did 
not know how to do this.  Looks like I would have made a type and 
discovered it on my own.


Thanks again.

John White

Vincent van Ravesteijn - TNW wrote:



   

Is there a way to switch between two open lyx files, without using the
 

mouse?
   

Thx

John

 

Ctrl + Tab, Ctrl + PgUp, Ctrl + Shift + F6.. Pick your choice.

If this does not work, type in the command buffer
(View-Toolbars-Command Buffer) buffer-previous and see what appears
in the statusbar as the shortcut.

Vincent






   


--
EMAIL WARNING.  Though fast and convenient, email is not a secure way to send 
confidential information: (1) any e-mail that is sent to you or by you may be 
copied and held by various computers it passes through as it goes from me to 
you or vice versa, (2) persons not participating in our communication may 
intercept our communications by improperly accessing your computer or my 
computer or even some computer unconnected to either of us through which the 
e-mail has passed. Confidentiality is enhanced if the confidential information 
is contained in an attachment. If you want future communications to be sent in 
a different fashion, please let me know.



Re: switching between two open lyx files

2010-02-08 Thread Rich Shepard

On Mon, 8 Feb 2010, John White wrote:


Ctrl + Tab works, at least in 1.6.5 running in slackware linux (Vector
Linux 6.0 standard. Thanks!  I have been using lyx for years but did not
know how to do this. Looks like I would have made a type and discovered it
on my own.


  I, too, have lyx-1.6.5 on slackware (-12.2). My bindings (emacs based) use
ctrl-pgup for previous buffer and ctrl-pgdn for next buffer. So, for anyone
else reading this thread, don't assume keystrokes. :-)

Rich



inserting external files: templates question

2010-02-08 Thread Richard Brown
Hello.
In the embedded objects manual, and in other places in documentation, I
find it written that I can include files in my lyx document by using
Insert  File External Material and then choosing a template.

But all of the documentation says that available templates are chess,
date, lilypond, raster images, and pdf.

On my installation I don't have a template option for pdf: why would
that be, and how can I remedy it? I get allof the others, but no pdf



Re: LyX Beamer Sweave: makebeamertitle not being defined?

2010-02-08 Thread Daniel E . Weeks
Daniel E. Weeks wee...@... writes:

 
 I am using LyX to make Beamer slides while supporting the use of R  
 statistical commands via the Sweave package.
 
 If I follow the instructions found here
 
   http://ggorjan.blogspot.com/2008/09/using-beamer-with-lyx-sweave.html
 
 LyX/Sweave/Beamer works just fine.  But as soon as I try to put in  
 Title or Author information at the beginning, LyX refuses to typeset  
 the presentation, returning instead this error message:
 
 Undefined control sequence.
 
   \makebeamertitle
 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.
 
 This is mystifying to me, as the 'makebeamertitle' is defined in the  
 included beamer.layout now packaged with LyX.
 
[ Original posting shortened ] 
 LyX Version 1.6.4.1
 Platform: Mac OS X Versoni 10.5.8 on an Intel machine.
 
 


The solution to the LyX Beamer Sweave: makebeamertitle not being defined
problem was to put this:

 \newcommand\makebeamertitle{\frame{\maketitle}}%

in the LaTeX Preamble box, which is accessed via the Document - Settings dialog
box.






Re: Another Lyx Error Detected

2010-02-08 Thread Uwe Stöhr

 Another problem I am having is with too many floating figures. I have a
 large document with anywhere from 3-100 figures within each chapter.
 I keep getting the error regarding too many floats.

This is not a LyX bug but a restriction of LaTeX. LaTeX's floating algorithm works perfectly for a 
few floats but will fail for too many floats. The limit of currently unprocessed floats is therefore 
set to 18. There is a way to increase this limit to 36 floats but this only cures the symptom.


It can be that LaTeX cannot process one particular float and therefore runs into the limit. Fixing 
this is not trivial. The best is to cut parts of your document beginning from the end. After every 
cutting try to compile it as PDF. When it compiles, you know that the problematic float is within 
the recently deleted part of your document.


Either a float setting is not correct (like rotation settings), or there are too many floats for the 
page. In this case adopt the float placement options as described in sec. 3.5 of the EmbededObjects 
manual that you find in LyX's Help menu. If you have many pages without text, you should use the 
page of floats option.


 I worked around this issue by placing /clearpage every so often to make it 
produce a PDF.

If you are using a book document class, you need to use \cleardoublepage.
But you should nevertheless only use clearpage if it is really necessary because the resulting 
whitespace cannot be avoided easily.


Important note: The too many floats error can also occur when having too many margin notes. 
Therefore also check this.


regards Uwe

p.s. Such problems are better reported at the lyx-users mailing list I'm 
forwarding this mail to.


Newbie questions: templates - Document Settings - ?

2010-02-08 Thread Marshall Feldman

Hi,

As a newbie to Lyx, I'm almost there in understanding how to use LyX and 
have a few basic questions. Here's what I think I know:


1. Templates are just LyX documents saved in the place where templates live.

2. Document classes are types of documents (books, articles, etc.)

3. But document classes are not just types of documents. They also can 
come in multiple versions for each document type. (E.g., there can be a 
dozen or more versions of an article.) The distinction between the 
different versions are largely stylistic, although they also can reflect 
content. For example, a Springer article has a Conjecture style, but 
most other article styles do not make conjectures.


4. Modules yet a lower level of granularity, and individual modules may 
correspond to individual styles.


I hope this understanding is correct. Even so, I still can't completely 
connect the dots. Here are two things I still don't understand.


1. I'm writing a conference paper. LyX has a few conference/proceedings 
templates, but none suit my needs. Several document classes could work 
for me, but they're not complete. For example, a conference paper should 
list the conference, location, etc., and most likely this information 
should have a distinct style. How should one handle this? By adding a 
style to the document class? (How?) By manually adjusting the appearance 
of text?


2. I'd like to design a template for a working paper series. The cover 
page would have a few graphics, a title, author, date, institutional 
affiliation, and contact information. The first following right page 
would have a title, abstract, and keywords. The second even page would 
start the actual paper. It would have a title, abstract, and author, 
followed by the text itself. What's the best way to do this?


3. How do the various templates and document classes know when to insert 
a page break? In other words, how do they control front and back matter? 
Can the user customize or override this?


Thanks for your help.

Marsh Feldman






Re: Another Lyx Error Detected

2010-02-08 Thread Florian Rubach

Am 09.02.2010 01:56, schrieb Uwe Stöhr:

 Another problem I am having is with too many floating figures. I have a
 large document with anywhere from 3-100 figures within each chapter.
 I keep getting the error regarding too many floats.

This is not a LyX bug but a restriction of LaTeX. LaTeX's floating 
algorithm works perfectly for a few floats but will fail for too many 
floats. The limit of currently unprocessed floats is therefore set to 18.


Couldn't this be handled by the package placeins, with the command 
\FloatBarrier? Placing that command every now and then?

Just my first thought...


Re: Language detection [was: offtopic blog]

2010-02-08 Thread Hellmut Weber

Am 08.02.2010 08:26, schrieb Jürgen Spitzmüller:

Guenter Milde wrote:

I think the spellchecker should not do any guessing and switching. As
long as we are using LaTeX, languages simply need be marked properly.


Agreed. However, currently language switching is far too cumbersome:

a) EditText-styleCustom...select from an endless list, or

b) M-x language ... (where you need to know the correct name of the
  desired language)


I could not agree more. Personally, I have defined shortcuts for the languages
I need most frequently.

Would you mind to explain how you use this bindings?
Do you have to mark the relevant paragraph(s) and then use the key binding?
What does a key binding of this kind look like?



I had the following idea for an UI: add a (context) menu item Set language
that lists the currently used languages and an accelerator for the character
dialog. I.e., if your document uses German, English and French, the menu would
look

...
Set Language
English
French
German
More Languages ...
...

Jürgen


Hi Jürgen,
that's quite close to what I'm hoping for ;-)

Greetings from Munich

Hellmut


--
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: Language detection [was: offtopic blog]

2010-02-08 Thread Jürgen Spitzmüller
Hellmut Weber wrote:
 Would you mind to explain how you use this bindings?
 Do you have to mark the relevant paragraph(s) and then use the key binding?
 What does a key binding of this kind look like?

In Tools  Preferences  Edit  Shortcuts, I have defined the following 
bindings:

Alt + L E: language english
Alt + L A: language german
Alt + L D: language ngerman
Alt + L F: language french

You can either change the language of a phrase by marking it and using one of 
the key bindings, or just hit the key binding and type on in the new language.

Jürgen


Re: Off-topic biblatex question

2010-02-08 Thread Julio Rojas
Thx Jurgen. I'll try them and get back latter.
-
Julio Rojas
jcredbe...@gmail.com



On Mon, Feb 8, 2010 at 8:20 AM, Jürgen Spitzmüller sp...@lyx.org wrote:
 Julio Rojas wrote:
 Dear all, I have been using biblatex for my bibliography for the last
 year. Now, for a paper, I need to use some references that I have in
 this bibliography but a problem arises. In some papers that have
 colons in the title, I had to substitute them for \addcolon\addspace
 and when I try to use these records with bibtex an error is presented.
 I would like to be able to define, in the preamble of my lyx document,
 both \addcolon and \addspace to do exactly what they say, so I
 don't have to go back and do a search and replace for them.

 Replacing them with exactly what they do is difficult, since biblatex has a
 smart punctuation tracker.

 The most easy substitute is the following. Maybe this is sufficient.

 \providecommand\addcolon{:}
 \providecommand\addspace{\ }

 Jürgen



Re: Problem with Palatino font

2010-02-08 Thread Marco Stara
Thanks Liviu and Uwe,

At this  moment I have some problem installing packages cause of my
particular internet connection settings.
I will try as soon as possible.

Best regards,

Marco




Help Vampires (fwd)

2010-02-08 Thread Rich Shepard

  Passed on without implications.

Rich

-- Forwarded message --

Help Vampires: A Spotter?s Guide
http://slash7.com/2006/12/22/vampires/


Re: uiucthesis layout help

2010-02-08 Thread Stephen Anthony

rgheck wrote:

On 02/07/2010 02:14 PM, Stephen Anthony wrote:
I am new to LATEX/LYX, and I am interested in trying it out for my 
thesis. I have found the LATEX style and class for my thesis 
(http://physics.illinois.edu/grad/thesis-templates.asp). They appear 
to be appropriately installed, I can see them both in MiKTeX 2.8 and 
they also appear in LYX in Tools:TeX Information.


Where I seem to be running into problems is with the Layout file. I 
have tried following the instructions in Help:Customization regarding 
creating a new layout file, and haven't managed to get it to work. 
When I go to Document:Settings:Document Class, uiucthesis does not 
appear. When I try Local Layout there, it tells me Unable to read 
local layout file. Can someone either generate a layout for me from 
the uiucthesis2009 class/style provided, or help me figure out how to 
do that properly myself?



Can you post the layout file you have so far?

rh


#% Do not delete the line below; configure depends on this

# \DeclareLATEXClass[uiucthesis,book]{uiucthesis}

# UIUC Thesis textclass definition file.

# Author :

# Transposed by

# Heavily modifed and enhanced by serveral developers.

Preamble

\usepackage{uiucthesis}

EndPreamble

Format 11

Input stdclass.inc

Input numreport.inc

Sides 2

PageStyle Headings

NoStyle Abstract

Style Bibliography

TopSep 4

LabelString Bibliography

LabelFont

Series Bold

Size Huge

EndFont

End




Re: uiucthesis layout help

2010-02-08 Thread rgheck

On 02/08/2010 10:26 AM, Stephen Anthony wrote:

rgheck wrote:

On 02/07/2010 02:14 PM, Stephen Anthony wrote:
I am new to LATEX/LYX, and I am interested in trying it out for my 
thesis. I have found the LATEX style and class for my thesis 
(http://physics.illinois.edu/grad/thesis-templates.asp). They appear 
to be appropriately installed, I can see them both in MiKTeX 2.8 and 
they also appear in LYX in Tools:TeX Information.


Where I seem to be running into problems is with the Layout file. I 
have tried following the instructions in Help:Customization 
regarding creating a new layout file, and haven't managed to get it 
to work. When I go to Document:Settings:Document Class, uiucthesis 
does not appear. When I try Local Layout there, it tells me 
Unable to read local layout file. Can someone either generate a 
layout for me from the uiucthesis2009 class/style provided, or help 
me figure out how to do that properly myself?



Can you post the layout file you have so far?


#% Do not delete the line below; configure depends on this

# \DeclareLATEXClass[uiucthesis,book]{uiucthesis}


I'd do just:
# \DeclareLATEXClass[book]{UIUC Thesis Class}
to start. You can add the other back if you need to do so. It may also 
need to be:

# \DeclareLATEXClass[book,uiucthesis]{UIUC Thesis Class}
in that order. I'm not sure.


# UIUC Thesis textclass definition file.

# Author :

# Transposed by

# Heavily modifed and enhanced by serveral developers.

Preamble

\usepackage{uiucthesis}

EndPreamble

Format 11


The format line MUST be the first non-empty, non-comment line.


Input stdclass.inc

Input numreport.inc

Sides 2

PageStyle Headings

NoStyle Abstract

Style Bibliography

TopSep 4

LabelString Bibliography

LabelFont

Series Bold

Size Huge

EndFont

End

The rest looks as if it should be OK. Make sure you have put this in the 
right place, namely, in the layouts/ subdirectory of your user 
directory, whose location you can find in HelpAbout LyX. Then do 
ToolsReconfigure.


Richard



Re: Help Vampires (fwd)

2010-02-08 Thread Paul A. Rubin

Rich Shepard wrote:

  Passed on without implications.



Thanks, Rich.  I haven't seen any significant vampirism here (although a 
few users may be insufficiently appreciative of the extensive 
documentation that comes with LyX), but I read some technical forums 
where there are a few alpha vampires, one or two of whom have been 
rather tiring lately.




switching between two open lyx files

2010-02-08 Thread John White
Is there a way to switch between two open lyx files, without using the 
mouse?


Thx

John



RE: switching between two open lyx files

2010-02-08 Thread Vincent van Ravesteijn - TNW
 

Is there a way to switch between two open lyx files, without using the
mouse?

Thx

John


Ctrl + Tab, Ctrl + PgUp, Ctrl + Shift + F6.. Pick your choice.

If this does not work, type in the command buffer
(View-Toolbars-Command Buffer) buffer-previous and see what appears
in the statusbar as the shortcut.

Vincent



Re: switching between two open lyx files

2010-02-08 Thread John White
Ctrl + Tab works, at least in 1.6.5 running in slackware linux (Vector 
Linux 6.0 standard.  Thanks!  I have been using lyx for years but did 
not know how to do this.  Looks like I would have made a type and 
discovered it on my own.


Thanks again.

John White

Vincent van Ravesteijn - TNW wrote:



   

Is there a way to switch between two open lyx files, without using the
 

mouse?
   

Thx

John

 

Ctrl + Tab, Ctrl + PgUp, Ctrl + Shift + F6.. Pick your choice.

If this does not work, type in the command buffer
(View-Toolbars-Command Buffer) buffer-previous and see what appears
in the statusbar as the shortcut.

Vincent






   


--
EMAIL WARNING.  Though fast and convenient, email is not a secure way to send 
confidential information: (1) any e-mail that is sent to you or by you may be 
copied and held by various computers it passes through as it goes from me to 
you or vice versa, (2) persons not participating in our communication may 
intercept our communications by improperly accessing your computer or my 
computer or even some computer unconnected to either of us through which the 
e-mail has passed. Confidentiality is enhanced if the confidential information 
is contained in an attachment. If you want future communications to be sent in 
a different fashion, please let me know.



Re: switching between two open lyx files

2010-02-08 Thread Rich Shepard

On Mon, 8 Feb 2010, John White wrote:


Ctrl + Tab works, at least in 1.6.5 running in slackware linux (Vector
Linux 6.0 standard. Thanks!  I have been using lyx for years but did not
know how to do this. Looks like I would have made a type and discovered it
on my own.


  I, too, have lyx-1.6.5 on slackware (-12.2). My bindings (emacs based) use
ctrl-pgup for previous buffer and ctrl-pgdn for next buffer. So, for anyone
else reading this thread, don't assume keystrokes. :-)

Rich



inserting external files: templates question

2010-02-08 Thread Richard Brown
Hello.
In the embedded objects manual, and in other places in documentation, I
find it written that I can include files in my lyx document by using
Insert  File External Material and then choosing a template.

But all of the documentation says that available templates are chess,
date, lilypond, raster images, and pdf.

On my installation I don't have a template option for pdf: why would
that be, and how can I remedy it? I get allof the others, but no pdf



Re: LyX Beamer Sweave: makebeamertitle not being defined?

2010-02-08 Thread Daniel E . Weeks
Daniel E. Weeks wee...@... writes:

 
 I am using LyX to make Beamer slides while supporting the use of R  
 statistical commands via the Sweave package.
 
 If I follow the instructions found here
 
   http://ggorjan.blogspot.com/2008/09/using-beamer-with-lyx-sweave.html
 
 LyX/Sweave/Beamer works just fine.  But as soon as I try to put in  
 Title or Author information at the beginning, LyX refuses to typeset  
 the presentation, returning instead this error message:
 
 Undefined control sequence.
 
   \makebeamertitle
 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.
 
 This is mystifying to me, as the 'makebeamertitle' is defined in the  
 included beamer.layout now packaged with LyX.
 
[ Original posting shortened ] 
 LyX Version 1.6.4.1
 Platform: Mac OS X Versoni 10.5.8 on an Intel machine.
 
 


The solution to the LyX Beamer Sweave: makebeamertitle not being defined
problem was to put this:

 \newcommand\makebeamertitle{\frame{\maketitle}}%

in the LaTeX Preamble box, which is accessed via the Document - Settings dialog
box.






Re: Another Lyx Error Detected

2010-02-08 Thread Uwe Stöhr

 Another problem I am having is with too many floating figures. I have a
 large document with anywhere from 3-100 figures within each chapter.
 I keep getting the error regarding too many floats.

This is not a LyX bug but a restriction of LaTeX. LaTeX's floating algorithm works perfectly for a 
few floats but will fail for too many floats. The limit of currently unprocessed floats is therefore 
set to 18. There is a way to increase this limit to 36 floats but this only cures the symptom.


It can be that LaTeX cannot process one particular float and therefore runs into the limit. Fixing 
this is not trivial. The best is to cut parts of your document beginning from the end. After every 
cutting try to compile it as PDF. When it compiles, you know that the problematic float is within 
the recently deleted part of your document.


Either a float setting is not correct (like rotation settings), or there are too many floats for the 
page. In this case adopt the float placement options as described in sec. 3.5 of the EmbededObjects 
manual that you find in LyX's Help menu. If you have many pages without text, you should use the 
page of floats option.


 I worked around this issue by placing /clearpage every so often to make it 
produce a PDF.

If you are using a book document class, you need to use \cleardoublepage.
But you should nevertheless only use clearpage if it is really necessary because the resulting 
whitespace cannot be avoided easily.


Important note: The too many floats error can also occur when having too many margin notes. 
Therefore also check this.


regards Uwe

p.s. Such problems are better reported at the lyx-users mailing list I'm 
forwarding this mail to.


Newbie questions: templates - Document Settings - ?

2010-02-08 Thread Marshall Feldman

Hi,

As a newbie to Lyx, I'm almost there in understanding how to use LyX and 
have a few basic questions. Here's what I think I know:


1. Templates are just LyX documents saved in the place where templates live.

2. Document classes are types of documents (books, articles, etc.)

3. But document classes are not just types of documents. They also can 
come in multiple versions for each document type. (E.g., there can be a 
dozen or more versions of an article.) The distinction between the 
different versions are largely stylistic, although they also can reflect 
content. For example, a Springer article has a Conjecture style, but 
most other article styles do not make conjectures.


4. Modules yet a lower level of granularity, and individual modules may 
correspond to individual styles.


I hope this understanding is correct. Even so, I still can't completely 
connect the dots. Here are two things I still don't understand.


1. I'm writing a conference paper. LyX has a few conference/proceedings 
templates, but none suit my needs. Several document classes could work 
for me, but they're not complete. For example, a conference paper should 
list the conference, location, etc., and most likely this information 
should have a distinct style. How should one handle this? By adding a 
style to the document class? (How?) By manually adjusting the appearance 
of text?


2. I'd like to design a template for a working paper series. The cover 
page would have a few graphics, a title, author, date, institutional 
affiliation, and contact information. The first following right page 
would have a title, abstract, and keywords. The second even page would 
start the actual paper. It would have a title, abstract, and author, 
followed by the text itself. What's the best way to do this?


3. How do the various templates and document classes know when to insert 
a page break? In other words, how do they control front and back matter? 
Can the user customize or override this?


Thanks for your help.

Marsh Feldman






Re: Another Lyx Error Detected

2010-02-08 Thread Florian Rubach

Am 09.02.2010 01:56, schrieb Uwe Stöhr:

 Another problem I am having is with too many floating figures. I have a
 large document with anywhere from 3-100 figures within each chapter.
 I keep getting the error regarding too many floats.

This is not a LyX bug but a restriction of LaTeX. LaTeX's floating 
algorithm works perfectly for a few floats but will fail for too many 
floats. The limit of currently unprocessed floats is therefore set to 18.


Couldn't this be handled by the package placeins, with the command 
\FloatBarrier? Placing that command every now and then?

Just my first thought...


Re: Language detection [was: offtopic blog]

2010-02-08 Thread Hellmut Weber

Am 08.02.2010 08:26, schrieb Jürgen Spitzmüller:

Guenter Milde wrote:

I think the spellchecker should not do any guessing and switching. As
long as we are using LaTeX, languages simply need be marked properly.


Agreed. However, currently language switching is far too cumbersome:

a) Edit>Text-style>Custom>...>select from an "endless" list, or

b) M-x language ... (where you need to know the correct name of the
  desired language)


I could not agree more. Personally, I have defined shortcuts for the languages
I need most frequently.

Would you mind to explain how you use this bindings?
Do you have to mark the relevant paragraph(s) and then use the key binding?
What does a key binding of this kind look like?



I had the following idea for an UI: add a (context) menu item "Set language"
that lists the currently used languages and an accelerator for the character
dialog. I.e., if your document uses German, English and French, the menu would
look

...
Set Language>
English
French
German
More Languages ...
...

Jürgen


Hi Jürgen,
that's quite close to what I'm hoping for ;-)

Greetings from Munich

Hellmut


--
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: Language detection [was: offtopic blog]

2010-02-08 Thread Jürgen Spitzmüller
Hellmut Weber wrote:
> Would you mind to explain how you use this bindings?
> Do you have to mark the relevant paragraph(s) and then use the key binding?
> What does a key binding of this kind look like?

In Tools > Preferences > Edit > Shortcuts, I have defined the following 
bindings:

Alt + L E: language english
Alt + L A: language german
Alt + L D: language ngerman
Alt + L F: language french

You can either change the language of a phrase by marking it and using one of 
the key bindings, or just hit the key binding and type on in the new language.

Jürgen


Re: Off-topic biblatex question

2010-02-08 Thread Julio Rojas
Thx Jurgen. I'll try them and get back latter.
-
Julio Rojas
jcredbe...@gmail.com



On Mon, Feb 8, 2010 at 8:20 AM, Jürgen Spitzmüller  wrote:
> Julio Rojas wrote:
>> Dear all, I have been using biblatex for my bibliography for the last
>> year. Now, for a paper, I need to use some references that I have in
>> this bibliography but a problem arises. In some papers that have
>> colons in the title, I had to substitute them for "\addcolon\addspace"
>> and when I try to use these records with bibtex an error is presented.
>> I would like to be able to define, in the preamble of my lyx document,
>> both "\addcolon" and "\addspace" to do exactly what they say, so I
>> don't have to go back and do a search and replace for them.
>
> Replacing them with exactly what they do is difficult, since biblatex has a
> smart punctuation tracker.
>
> The most easy substitute is the following. Maybe this is sufficient.
>
> \providecommand\addcolon{:}
> \providecommand\addspace{\ }
>
> Jürgen
>


Re: Problem with Palatino font

2010-02-08 Thread Marco Stara
Thanks Liviu and Uwe,

At this  moment I have some problem installing packages cause of my
particular internet connection settings.
I will try as soon as possible.

Best regards,

Marco




Help Vampires (fwd)

2010-02-08 Thread Rich Shepard

  Passed on without implications.

Rich

-- Forwarded message --

Help Vampires: A Spotter?s Guide
http://slash7.com/2006/12/22/vampires/


Re: uiucthesis layout help

2010-02-08 Thread Stephen Anthony

rgheck wrote:

On 02/07/2010 02:14 PM, Stephen Anthony wrote:
I am new to LATEX/LYX, and I am interested in trying it out for my 
thesis. I have found the LATEX style and class for my thesis 
(http://physics.illinois.edu/grad/thesis-templates.asp). They appear 
to be appropriately installed, I can see them both in MiKTeX 2.8 and 
they also appear in LYX in Tools:TeX Information.


Where I seem to be running into problems is with the Layout file. I 
have tried following the instructions in Help:Customization regarding 
creating a new layout file, and haven't managed to get it to work. 
When I go to Document:Settings:Document Class, uiucthesis does not 
appear. When I try "Local Layout" there, it tells me "Unable to read 
local layout file". Can someone either generate a layout for me from 
the uiucthesis2009 class/style provided, or help me figure out how to 
do that properly myself?



Can you post the layout file you have so far?

rh


#% Do not delete the line below; configure depends on this

# \DeclareLATEXClass[uiucthesis,book]{uiucthesis}

# UIUC Thesis textclass definition file.

# Author :

# Transposed by

# Heavily modifed and enhanced by serveral developers.

Preamble

\usepackage{uiucthesis}

EndPreamble

Format 11

Input stdclass.inc

Input numreport.inc

Sides 2

PageStyle Headings

NoStyle Abstract

Style Bibliography

TopSep 4

LabelString "Bibliography"

LabelFont

Series Bold

Size Huge

EndFont

End




Re: uiucthesis layout help

2010-02-08 Thread rgheck

On 02/08/2010 10:26 AM, Stephen Anthony wrote:

rgheck wrote:

On 02/07/2010 02:14 PM, Stephen Anthony wrote:
I am new to LATEX/LYX, and I am interested in trying it out for my 
thesis. I have found the LATEX style and class for my thesis 
(http://physics.illinois.edu/grad/thesis-templates.asp). They appear 
to be appropriately installed, I can see them both in MiKTeX 2.8 and 
they also appear in LYX in Tools:TeX Information.


Where I seem to be running into problems is with the Layout file. I 
have tried following the instructions in Help:Customization 
regarding creating a new layout file, and haven't managed to get it 
to work. When I go to Document:Settings:Document Class, uiucthesis 
does not appear. When I try "Local Layout" there, it tells me 
"Unable to read local layout file". Can someone either generate a 
layout for me from the uiucthesis2009 class/style provided, or help 
me figure out how to do that properly myself?



Can you post the layout file you have so far?


#% Do not delete the line below; configure depends on this

# \DeclareLATEXClass[uiucthesis,book]{uiucthesis}


I'd do just:
# \DeclareLATEXClass[book]{UIUC Thesis Class}
to start. You can add the other back if you need to do so. It may also 
need to be:

# \DeclareLATEXClass[book,uiucthesis]{UIUC Thesis Class}
in that order. I'm not sure.


# UIUC Thesis textclass definition file.

# Author :

# Transposed by

# Heavily modifed and enhanced by serveral developers.

Preamble

\usepackage{uiucthesis}

EndPreamble

Format 11


The format line MUST be the first non-empty, non-comment line.


Input stdclass.inc

Input numreport.inc

Sides 2

PageStyle Headings

NoStyle Abstract

Style Bibliography

TopSep 4

LabelString "Bibliography"

LabelFont

Series Bold

Size Huge

EndFont

End

The rest looks as if it should be OK. Make sure you have put this in the 
right place, namely, in the layouts/ subdirectory of your user 
directory, whose location you can find in Help>About LyX. Then do 
Tools>Reconfigure.


Richard



Re: Help Vampires (fwd)

2010-02-08 Thread Paul A. Rubin

Rich Shepard wrote:

  Passed on without implications.



Thanks, Rich.  I haven't seen any significant vampirism here (although a 
few users may be insufficiently appreciative of the extensive 
documentation that comes with LyX), but I read some technical forums 
where there are a few alpha vampires, one or two of whom have been 
rather tiring lately.




switching between two open lyx files

2010-02-08 Thread John White
Is there a way to switch between two open lyx files, without using the 
mouse?


Thx

John



RE: switching between two open lyx files

2010-02-08 Thread Vincent van Ravesteijn - TNW
 

>Is there a way to switch between two open lyx files, without using the
mouse?
>
>Thx
>
>John
>

Ctrl + Tab, Ctrl + PgUp, Ctrl + Shift + F6.. Pick your choice.

If this does not work, type in the command buffer
(View->Toolbars->Command Buffer) "buffer-previous" and see what appears
in the statusbar as the shortcut.

Vincent



Re: switching between two open lyx files

2010-02-08 Thread John White
Ctrl + Tab works, at least in 1.6.5 running in slackware linux (Vector 
Linux 6.0 standard.  Thanks!  I have been using lyx for years but did 
not know how to do this.  Looks like I would have made a type and 
discovered it on my own.


Thanks again.

John White

Vincent van Ravesteijn - TNW wrote:



   

Is there a way to switch between two open lyx files, without using the
 

mouse?
   

Thx

John

 

Ctrl + Tab, Ctrl + PgUp, Ctrl + Shift + F6.. Pick your choice.

If this does not work, type in the command buffer
(View->Toolbars->Command Buffer) "buffer-previous" and see what appears
in the statusbar as the shortcut.

Vincent






   


--
EMAIL WARNING.  Though fast and convenient, email is not a secure way to send 
confidential information: (1) any e-mail that is sent to you or by you may be 
copied and held by various computers it passes through as it goes from me to 
you or vice versa, (2) persons not participating in our communication may 
intercept our communications by improperly accessing your computer or my 
computer or even some computer unconnected to either of us through which the 
e-mail has passed. Confidentiality is enhanced if the confidential information 
is contained in an attachment. If you want future communications to be sent in 
a different fashion, please let me know.



Re: switching between two open lyx files

2010-02-08 Thread Rich Shepard

On Mon, 8 Feb 2010, John White wrote:


Ctrl + Tab works, at least in 1.6.5 running in slackware linux (Vector
Linux 6.0 standard. Thanks!  I have been using lyx for years but did not
know how to do this. Looks like I would have made a type and discovered it
on my own.


  I, too, have lyx-1.6.5 on slackware (-12.2). My bindings (emacs based) use
ctrl-pgup for previous buffer and ctrl-pgdn for next buffer. So, for anyone
else reading this thread, don't assume keystrokes. :-)

Rich



inserting external files: templates question

2010-02-08 Thread Richard Brown
Hello.
In the embedded objects manual, and in other places in documentation, I
find it written that I can include files in my lyx document by using
Insert > File> External Material and then choosing a template.

But all of the documentation says that available templates are chess,
date, lilypond, raster images, and pdf.

On my installation I don't have a template option for pdf: why would
that be, and how can I remedy it? I get allof the others, but no pdf



Re: LyX Beamer Sweave: makebeamertitle not being defined?

2010-02-08 Thread Daniel E . Weeks
Daniel E. Weeks  writes:

> 
> I am using LyX to make Beamer slides while supporting the use of R  
> statistical commands via the Sweave package.
> 
> If I follow the instructions found here
> 
>   http://ggorjan.blogspot.com/2008/09/using-beamer-with-lyx-sweave.html
> 
> LyX/Sweave/Beamer works just fine.  But as soon as I try to put in  
> Title or Author information at the beginning, LyX refuses to typeset  
> the presentation, returning instead this error message:
> 
> Undefined control sequence.
> 
>   \makebeamertitle
> 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.
> 
> This is mystifying to me, as the 'makebeamertitle' is defined in the  
> included beamer.layout now packaged with LyX.
> 
[ Original posting shortened ] 
> LyX Version 1.6.4.1
> Platform: Mac OS X Versoni 10.5.8 on an Intel machine.
> 
> 


The solution to the "LyX Beamer Sweave: makebeamertitle not being defined"
problem was to put this:

 \newcommand\makebeamertitle{\frame{\maketitle}}%

in the LaTeX Preamble box, which is accessed via the Document -> Settings dialog
box.






Re: Another Lyx Error Detected

2010-02-08 Thread Uwe Stöhr

> Another problem I am having is with too many floating figures. I have a
> large document with anywhere from 3-100 figures within each chapter.
> I keep getting the error regarding too many floats.

This is not a LyX bug but a restriction of LaTeX. LaTeX's floating algorithm works perfectly for a 
few floats but will fail for too many floats. The limit of currently unprocessed floats is therefore 
set to 18. There is a way to increase this limit to 36 floats but this only cures the symptom.


It can be that LaTeX cannot process one particular float and therefore runs into the limit. Fixing 
this is not trivial. The best is to cut parts of your document beginning from the end. After every 
cutting try to compile it as PDF. When it compiles, you know that the problematic float is within 
the recently deleted part of your document.


Either a float setting is not correct (like rotation settings), or there are too many floats for the 
page. In this case adopt the float placement options as described in sec. 3.5 of the EmbededObjects 
manual that you find in LyX's Help menu. If you have many pages without text, you should use the 
"page of floats" option.


> I worked around this issue by placing /clearpage every so often to make it 
produce a PDF.

If you are using a book document class, you need to use \cleardoublepage.
But you should nevertheless only use clearpage if it is really necessary because the resulting 
whitespace cannot be avoided easily.


Important note: The "too many floats" error can also occur when having too many margin notes. 
Therefore also check this.


regards Uwe

p.s. Such problems are better reported at the lyx-users mailing list I'm 
forwarding this mail to.


Newbie questions: templates -> Document Settings -> ?

2010-02-08 Thread Marshall Feldman

Hi,

As a newbie to Lyx, I'm almost there in understanding how to use LyX and 
have a few basic questions. Here's what I think I know:


1. Templates are just LyX documents saved in the place where templates live.

2. Document classes are types of documents (books, articles, etc.)

3. But document classes are not just types of documents. They also can 
come in multiple versions for each document type. (E.g., there can be a 
dozen or more versions of an "article.") The distinction between the 
different versions are largely stylistic, although they also can reflect 
content. For example, a Springer article has a "Conjecture" style, but 
most other article styles do not make conjectures.


4. Modules yet a lower level of granularity, and individual modules may 
correspond to individual styles.


I hope this understanding is correct. Even so, I still can't completely 
connect the dots. Here are two things I still don't understand.


1. I'm writing a conference paper. LyX has a few conference/proceedings 
templates, but none suit my needs. Several document classes could work 
for me, but they're not complete. For example, a conference paper should 
list the conference, location, etc., and most likely this information 
should have a distinct style. How should one handle this? By adding a 
style to the document class? (How?) By manually adjusting the appearance 
of text?


2. I'd like to design a template for a working paper series. The cover 
page would have a few graphics, a title, author, date, institutional 
affiliation, and contact information. The first following right page 
would have a title, abstract, and keywords. The second even page would 
start the actual paper. It would have a title, abstract, and author, 
followed by the text itself. What's the best way to do this?


3. How do the various templates and document classes know when to insert 
a page break? In other words, how do they control front and back matter? 
Can the user customize or override this?


Thanks for your help.

Marsh Feldman






Re: Another Lyx Error Detected

2010-02-08 Thread Florian Rubach

Am 09.02.2010 01:56, schrieb Uwe Stöhr:

> Another problem I am having is with too many floating figures. I have a
> large document with anywhere from 3-100 figures within each chapter.
> I keep getting the error regarding too many floats.

This is not a LyX bug but a restriction of LaTeX. LaTeX's floating 
algorithm works perfectly for a few floats but will fail for too many 
floats. The limit of currently unprocessed floats is therefore set to 18.


Couldn't this be handled by the package placeins, with the command 
\FloatBarrier? Placing that command every now and then?

Just my first thought...