Re: Cannot use XeTeX fonts and Theorems (AMS) module under Ubuntu 12.04

2012-04-30 Thread Liviu Andronic
On Mon, Apr 30, 2012 at 2:05 AM, Alfredo Maldonado Guerra
alfred...@gmail.com wrote:
 8. Click the 'eyes' button and you'll get the Undefined control sequence
 error.

It may help us if you sent a minimal example of the LyX file
exhibiting your issue.

Liviu


RE: Line break

2012-04-30 Thread Hannu Vuolasaho




 Date: Sun, 29 Apr 2012 21:30:46 +0100
 From: zl...@zleap.net
 To: ahmedha...@gmx.net; lyx-users@lists.lyx.org
 Subject: Re: Line break

 On 29/04/12 21:21, Ahmed Halil wrote:
  Thanks a lot Paul, but I mean the width of the table.
 
  Ahmed
 
 Ok i wonder if you can alter the page orientation for a single page so
 for the page with the table on make it landscape

 can anyone comment ?

In preamble:


p, li { white-space: pre-wrap; }

\usepackage{lscape} If you want to turn the page on PDF too 
\usepackage{pdflscape} And on page before your float ERT: \begin{landscape} and 
after your float \end{landscape}

Does this help?

Best regards,
Hannu Vuolasaho
  

Re: Jurabib's Bibliography and the use of et al

2012-04-30 Thread Brett Randall
Thanks Julio

Yes I checked the bibtex path is accurate. However I have since changed
from biber to bibtex8 and now it is working. I don't think I necessarily
need the additional features of biber at the moment, so for now this will
suffice!

Appreciate your help

Brett.

On Sat, Apr 28, 2012 at 11:54 PM, Julio Rojas jcredbe...@gmail.com wrote:

 Two cents: Have you checked that the path to the bibtex file is absolute
 and full? Can you leave biber out and try biblatex alone?

 Regards.
 -
 Julio Rojas
 jcredbe...@gmail.com



 On Thu, Apr 26, 2012 at 11:31 PM, stefano franchi 
 stefano.fran...@gmail.com wrote:

 On Wed, Apr 25, 2012 at 10:16 PM, Brett Randall brett.rand...@gmail.com
 wrote:
  On Thu, Apr 26, 2012 at 10:34 AM, stefano franchi
  stefano.fran...@gmail.com wrote:
 
  I am not sure starting to use Jurabib is such a great choice. Jurabib
  is basically a dead project, as far as I know. It would better to
  start with biblatex.
 
 
  Thanks Stefano - I have tried biblatex and just can't get it to work.
 If I
  was still using Linux I'm sure it would be easy, but running LyX 2.0.2
 on
  Windows with MikTeX 2.9, I just can't get bibtex/biber to spit out
 anything.
  I'm having the same result as this person:
 
  http://www.latex-community.org/forum/viewtopic.php?f=19t=11317
 
  (i.e. bold keys in place of citations, and no bibliography printing
 out).

 Brett,

 I'm sorry to hear that biblatex is not working for you. Unfortunately
 I have no idea why that would be the case, except that it seems from
 the log snippet you posted that biber may not be running at all.
 Debugging requires more info on your part, I am afraid. Can you post a
 minimal lyx example, minimal bib file, and the complete latex log.  Or
 send them to me privately. By minimal I really mean minimal: one or
 two lines for the lyx file, one ref for the bib file.
 On the other hand, if you are working against deadline, it may be
 better to keep working on Jurabib and switch to biblatex later. BTW,
 there used to be a jurabib-only mailing list, have you tried it? Or
 you may try comp.text.tex (via the google interface).

 Cheers,

 S.



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

 stef...@tamu.edu
 http://stefano.cleinias.org





Re: Line break

2012-04-30 Thread Guenter Milde
On 2012-04-29, Ahmed Halil wrote:


 I want to create a table as a float, but there's a problem I can't cope. 
 I need to set a line break in a cell, because the table is quite to 
 large for printing the page.

 Can you help me?

In LyX, you cannot set a line-break in normal or variable width cells
easily.

Instead, you should give the collumn with the problematic cell a fixed
width (with the table config dialogue or right-click context menu).
Then, the cells in this column will exhibit automatic line breaking (and
also accept manual line breaks).

Günter



Elster (Einkommenssteuererklärung) unter Linux

2012-04-30 Thread Wolfgang Engelmann
Guten Morgen,

etwas off topic:


Hat jemand Elster (Einkommenssteuererklärung) unter Linux installieren 
können? Die Tübinger Finanzamt-Leute (Elster-Team) können mir nicht 
weiterhelfen. 

Stand: Ich habe eine Elster CD vom Rathaus bekommen, die aber offenbar für 
Linux Benutzer unbrauchbar ist.

Im Internet:

Funktioniert ELSTER auch unter LINUX und Macintosh? 


Antwort: 
ELSTER läuft auch unter Linux und Mac OS X und steht allen Software-
Anbietern kostenlos zur Verfügung, die ELSTER in Ihre Produkte integrieren 
möchten. Die plattformunabhängige ELSTER-Software ist derzeit aber nur für 
die Umsatzsteuer-Voranmeldung, die Lohnsteuer-Anmeldung sowie die 
Lohnsteuerbescheinigungen verfügbar. Für die Jahressteuererklärungen 
(Einkommensteuer, Umsatzsteuer, Gewerbesteuer) ist sie derzeit nur unter 
Windows verfügbar.
Ob auch das von Ihnen eingesetzte Software-Produkt ELSTER unterstützt bzw. 
eine Implementierung geplant ist, können Sie bei dem Hersteller des 
jeweiligen Produkts erfragen.
Neben Programmen wie t@x200x für Linux von Buhl-Data, die ELSTER bereits 
unterstützen, stehen auch WEB-Anwendungen von Collmex, SteuerFuchs sowie 
das Internet-Sparbuch von WISO zur Verfügung, die unabhängig vom 
Betriebssystem, ganz einfach mit einem Browser genutzt werden können. Mit 
diesen Web-Angeboten können auch Linux- und Macintosh-Anwender die 
elektronische Abgabe der Steuererklärung nutzen. Für Macintosh werden 
außerdem von Topix und ProSaldo Produkte angeboten, mit denen die 
elektronische Abgabe möglich ist: weitere Informationen zu dieser Frage »»»
Kann ich meine Steuererklärung auch per E-Mail abgeben? 


Antwort: 
Nein, die Abgabe der Steuererklärung mit ELSTER ist nur in Zusammenhang mit 
Steuer- bzw. Buchhaltungsprogrammen möglich.
=
Fazit:
Da ist es wohl am einfachsten, die alten Papierformulare zu verwenden?
Wolfgang


Re: Newbie needs some help with covington: 'command \example already defined'

2012-04-30 Thread Jürgen Spitzmüller
2012/4/29 Cesko Voeten:
 I really need to use the paper document class (I actually am writing a paper
 and the other classes kind of suck for my purposes), but losing the ability
 to use examples isn't worth it.

Contrary to what the name implies, the paper class is rather exotic. I
would recommend article or even more article (KOMA) for papers. Is
there anything specific in the paper class you cannot find in article?

Jürgen


Re: Newbie needs some help with covington: 'command \example already defined'

2012-04-30 Thread Cesko Voeten
I had tried article already and it didn't have what I needed, but article
(KOMA) does. Thanks, I'm a happy user now! :-)

2012/4/30 Jürgen Spitzmüller sp...@lyx.org

 2012/4/29 Cesko Voeten:
  I really need to use the paper document class (I actually am writing a
 paper
  and the other classes kind of suck for my purposes), but losing the
 ability
  to use examples isn't worth it.

 Contrary to what the name implies, the paper class is rather exotic. I
 would recommend article or even more article (KOMA) for papers. Is
 there anything specific in the paper class you cannot find in article?

 Jürgen



Re: Cannot use XeTeX fonts and Theorems (AMS) module under Ubuntu 12.04

2012-04-30 Thread Liviu Andronic
On Mon, Apr 30, 2012 at 2:16 PM, Alfredo Maldonado Guerra
maldo...@tcd.ie wrote:
 If you open that file in LyX 2.0.2 in Ubuntu 12.04, you get the Undefined
 control sequence error I mentioned before. In previous versions of Ubuntu,
 this doesn't happen.

The file you sent compiles just fine here, under 2.0.3 and Ubuntu
10.04. You may want to try the LyX PPA [1]. Otherwise, the error above
would suggest that the \thm macro is undefined, or in more human terms
it means that you are missing the package that defines it. Perhaps you
are missing the 'amsthm' package? Check if you have installed all teh
necessary texlive packages.

Liviu

[1] https://launchpad.net/~lyx-devel/+archive/release


Re: Citations after changing Bibtex files

2012-04-30 Thread kaplae01
For reasons that are still mysterious to me, I have seen this behavior, 
and cured it by removing the
old call for the bibliographical database and replacing it with a call 
to the new one (the one in the old
place).  If you do not replace the call but simply ADD another bibtex 
file (the same old one but at a
different location), make sure that their ORDER is the one you want, 
namely: the one in the new
location should appear FIRST in the list of bibtex files you see when 
you click on the call for it in

your Lyx file.
HTH--
Ehud Kaplan

On 04/28/2012 12:19 AM, Jane Shevtsov wrote:
I'm making some final changes to my dissertation, written on another 
computer. I have a copy of my Bibtex library file and told Lyx to use 
it for the bibliography, but now all my citations are showing up as 
question marks in the PDF. How can I fix this without manually redoing 
every single citation?


Thanks,
Jane

--
-
Jane Shevtsov
co-founder, www.worldbeyondborders.org http://www.worldbeyondborders.org

In the long run, education intended to produce a molecular 
geneticist, a systems ecologist, or an immunologist is inferior, both 
for the individual and for society, than that intended to produce a 
broadly educated person who has also written a dissertation. --John 
Janovy, Jr., On Becoming a Biologist




--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness/ Professor
*Director*, The laboratory of Visual  Computational Neuroscience
*Director*, Center for Excellence in Computational  Systems Neuroscience
/Friedman Brain Institute/
Departments of Neuroscience, Ophthalmology, Structural  Chemical Biology,
The Mount Sinai School of Medicine
One Gustave Levy Place,
NY, NY, 10029


Getting lyx 2.0.3 for Ubuntu

2012-04-30 Thread kaplae01
Could someone please reminds me where to get the latest Lyx (2.0.3) for 
ubuntu?
Their repositories are shamefully out of date (they offer 2.0.2).  I 
know it exists somewhere,

but cannot find it.  I tried to get it from getdeb but failed.
Thanks,
Ehud Kaplan




RE: Getting lyx 2.0.3 for Ubuntu

2012-04-30 Thread Scott Kostyshak
From: lyx-users@lists.lyx.org [lyx-users@lists.lyx.org] on behalf of kaplae01 
[ehud.kap...@gmail.com]

Could someone please reminds me where to get the latest Lyx (2.0.3) for ubuntu?
Their repositories are shamefully out of date (they offer 2.0.2).  I know it 
exists somewhere,
but cannot find it.  I tried to get it from getdeb but failed.

Liviu maintains a stable PPA here:
https://launchpad.net/~lyx-devel/+archive/release

Scott


Remove parts from a class (e.g; Elsevier)

2012-04-30 Thread El Merehbi, Ibrahim

I'd like to ask if it is possible to remove any embedded parts of a
particular class. For example, in the Document class: article(Elsevier),
the output displays Preprint submitted to Elsevier at the lower left
of the first page.

I wrote two documents using that class, but now I have set my default to
AMS's (still experimenting).

Thanks

-- 
Sincerely Yours,
-Merhebi, Bob

Thunderbird Signature


Re: Boxing eqnarray

2012-04-30 Thread El Merehbi, Ibrahim
Hello Paul,

Thanks for the reply, but I  am afraid I do not know how to do that!

Could you please guide me?

Thanks

On Fri 27 Apr 2012 01:27:00 AM EEST, Paul A. Rubin wrote:
 Merhebi, Bob bobmerhebi at gmail.com writes:


 I am usually use the TeX \boxed to box an equation but I can't seem to
 be able to box an eqnarray. Is it possible?


 Try empheq.sty, part of the mh package.

 Paul

--
Sincerely Yours,
-Merhebi, Bob

Thunderbird Signature



Re: Remove parts from a class (e.g; Elsevier)

2012-04-30 Thread Richard Heck

On 04/30/2012 02:49 PM, El Merehbi, Ibrahim wrote:

I'd like to ask if it is possible to remove any embedded parts of a
particular class. For example, in the Document class: article(Elsevier),
the output displays Preprint submitted to Elsevier at the lower left
of the first page.
Yes, you can do this, but only by editing the document class itself. 
It'll be much easier just to switch the class and fix anything that breaks.


Richard



Re: Cannot use XeTeX fonts and Theorems (AMS) module under Ubuntu 12.04

2012-04-30 Thread Alfredo Maldonado Guerra

Hi Liviu,

Thanks a lot for your help. Adding the LyX PPA you mentioned solved the 
issue. I was able to install the latest version and was able to 
successfully compile the file I posted before.


The issue with the 2.0.2 version was quite strange because compiling 
would fail ONLY if the Use non-TeX fonts (via XeTeX/LuaTeX) checkbox 
was active, and only if I did it under Ubuntu 12.04 (it worked fine on 
another machine with Ubuntu 11.04 and worked fine on the 12.04 machine 
BEFORE I upgraded Ubuntu). If you de-activated that checkbox the file 
would compile just fine. Anyway, it seems that whatever the problem was, 
it was solved by installing the latest version.


Thanks again for your help. Oh, and I would like to take this 
opportunity to remark on how a great piece of software LyX is. It has 
made my work much more productive and I hope to use it for many years to 
come!


Thanks,
Alfredo

On 30/04/12 13:59, Liviu Andronic wrote:

On Mon, Apr 30, 2012 at 2:16 PM, Alfredo Maldonado Guerra
maldo...@tcd.ie  wrote:

If you open that file in LyX 2.0.2 in Ubuntu 12.04, you get the Undefined
control sequence error I mentioned before. In previous versions of Ubuntu,
this doesn't happen.


The file you sent compiles just fine here, under 2.0.3 and Ubuntu
10.04. You may want to try the LyX PPA [1]. Otherwise, the error above
would suggest that the \thm macro is undefined, or in more human terms
it means that you are missing the package that defines it. Perhaps you
are missing the 'amsthm' package? Check if you have installed all teh
necessary texlive packages.

Liviu

[1] https://launchpad.net/~lyx-devel/+archive/release


parameters of listings insets

2012-04-30 Thread Allen Barker


The listings insets (at least in 2.0.3) always seem to
alphabetize their list of More Parameters.  Is there
a way to avoid that?  The Latex listings are sensitive to
the position of their parameters, so you can define, say,
a new language (from a base language) and then selectively
override certain parts.  With alphabetization you can
only override settings earlier in the alphabet.

Making every language definition part of the official
list seems like overkill in simple cases.  Even when a
language like Python is selected on the front settings
page menu, something like keywords={egg,salad} on the
More Parameters list still does not override the
keywords like it does when it occurs after the language
parameter in a Latex ERT such as:

\begin{lstlisting}[language=Python,keywords={egg,salad}]
print hello
if egg == salad:
   pass
\end{lstlisting}

Also, when entering basicstyle in the parameter window
it validates it up to basicstyl and then, when the
word is completed, it says: Unknown listing parameter
name: basicstyle_ with an underscore.  Is there some
reason for that?







Re: parameters of listings insets

2012-04-30 Thread Allen Barker

On 04/30/2012 07:20 PM, Allen Barker wrote:


The listings insets (at least in 2.0.3) always seem to
alphabetize their list of More Parameters. Is there
a way to avoid that? The Latex listings are sensitive to
the position of their parameters, so you can define, say,
a new language (from a base language) and then selectively
override certain parts. With alphabetization you can
only override settings earlier in the alphabet.

Making every language definition part of the official
list seems like overkill in simple cases. Even when a
language like Python is selected on the front settings
page menu, something like keywords={egg,salad} on the
More Parameters list still does not override the
keywords like it does when it occurs after the language
parameter in a Latex ERT such as:

\begin{lstlisting}[language=Python,keywords={egg,salad}]
print hello
if egg == salad:
pass
\end{lstlisting}

Also, when entering basicstyle in the parameter window
it validates it up to basicstyl and then, when the
word is completed, it says: Unknown listing parameter
name: basicstyle_ with an underscore. Is there some
reason for that?


I've narrowed this latter situation down.  It does not
always do that, but it does seem to repeat it if the font
size is selected as small on the menu on the first
settings page and then basicstyle is entered into the
parameter window.  It gives the Unknown message even in
a new buffer with nothing but a single listings inset in
it.






Re: parameters of listings insets

2012-04-30 Thread Richard Heck

On 04/30/2012 07:41 PM, Allen Barker wrote:

On 04/30/2012 07:20 PM, Allen Barker wrote:


The listings insets (at least in 2.0.3) always seem to
alphabetize their list of More Parameters. Is there
a way to avoid that? The Latex listings are sensitive to
the position of their parameters, so you can define, say,
a new language (from a base language) and then selectively
override certain parts. With alphabetization you can
only override settings earlier in the alphabet.

Making every language definition part of the official
list seems like overkill in simple cases. Even when a
language like Python is selected on the front settings
page menu, something like keywords={egg,salad} on the
More Parameters list still does not override the
keywords like it does when it occurs after the language
parameter in a Latex ERT such as:

\begin{lstlisting}[language=Python,keywords={egg,salad}]
print hello
if egg == salad:
pass
\end{lstlisting}

Also, when entering basicstyle in the parameter window
it validates it up to basicstyl and then, when the
word is completed, it says: Unknown listing parameter
name: basicstyle_ with an underscore. Is there some
reason for that?


I've narrowed this latter situation down.  It does not
always do that, but it does seem to repeat it if the font
size is selected as small on the menu on the first
settings page and then basicstyle is entered into the
parameter window.  It gives the Unknown message even in
a new buffer with nothing but a single listings inset in
it.


I'd suggest you report this as a bug on trac. The person who
wrote the listings inset isn't active anymore, so it may take some
time to get this fixed.

Richard




Re: Cannot use XeTeX fonts and Theorems (AMS) module under Ubuntu 12.04

2012-04-30 Thread Liviu Andronic
On Mon, Apr 30, 2012 at 2:05 AM, Alfredo Maldonado Guerra
alfred...@gmail.com wrote:
 8. Click the 'eyes' button and you'll get the Undefined control sequence
 error.

It may help us if you sent a minimal example of the LyX file
exhibiting your issue.

Liviu


RE: Line break

2012-04-30 Thread Hannu Vuolasaho




 Date: Sun, 29 Apr 2012 21:30:46 +0100
 From: zl...@zleap.net
 To: ahmedha...@gmx.net; lyx-users@lists.lyx.org
 Subject: Re: Line break

 On 29/04/12 21:21, Ahmed Halil wrote:
  Thanks a lot Paul, but I mean the width of the table.
 
  Ahmed
 
 Ok i wonder if you can alter the page orientation for a single page so
 for the page with the table on make it landscape

 can anyone comment ?

In preamble:


p, li { white-space: pre-wrap; }

\usepackage{lscape} If you want to turn the page on PDF too 
\usepackage{pdflscape} And on page before your float ERT: \begin{landscape} and 
after your float \end{landscape}

Does this help?

Best regards,
Hannu Vuolasaho
  

Re: Jurabib's Bibliography and the use of et al

2012-04-30 Thread Brett Randall
Thanks Julio

Yes I checked the bibtex path is accurate. However I have since changed
from biber to bibtex8 and now it is working. I don't think I necessarily
need the additional features of biber at the moment, so for now this will
suffice!

Appreciate your help

Brett.

On Sat, Apr 28, 2012 at 11:54 PM, Julio Rojas jcredbe...@gmail.com wrote:

 Two cents: Have you checked that the path to the bibtex file is absolute
 and full? Can you leave biber out and try biblatex alone?

 Regards.
 -
 Julio Rojas
 jcredbe...@gmail.com



 On Thu, Apr 26, 2012 at 11:31 PM, stefano franchi 
 stefano.fran...@gmail.com wrote:

 On Wed, Apr 25, 2012 at 10:16 PM, Brett Randall brett.rand...@gmail.com
 wrote:
  On Thu, Apr 26, 2012 at 10:34 AM, stefano franchi
  stefano.fran...@gmail.com wrote:
 
  I am not sure starting to use Jurabib is such a great choice. Jurabib
  is basically a dead project, as far as I know. It would better to
  start with biblatex.
 
 
  Thanks Stefano - I have tried biblatex and just can't get it to work.
 If I
  was still using Linux I'm sure it would be easy, but running LyX 2.0.2
 on
  Windows with MikTeX 2.9, I just can't get bibtex/biber to spit out
 anything.
  I'm having the same result as this person:
 
  http://www.latex-community.org/forum/viewtopic.php?f=19t=11317
 
  (i.e. bold keys in place of citations, and no bibliography printing
 out).

 Brett,

 I'm sorry to hear that biblatex is not working for you. Unfortunately
 I have no idea why that would be the case, except that it seems from
 the log snippet you posted that biber may not be running at all.
 Debugging requires more info on your part, I am afraid. Can you post a
 minimal lyx example, minimal bib file, and the complete latex log.  Or
 send them to me privately. By minimal I really mean minimal: one or
 two lines for the lyx file, one ref for the bib file.
 On the other hand, if you are working against deadline, it may be
 better to keep working on Jurabib and switch to biblatex later. BTW,
 there used to be a jurabib-only mailing list, have you tried it? Or
 you may try comp.text.tex (via the google interface).

 Cheers,

 S.



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

 stef...@tamu.edu
 http://stefano.cleinias.org





Re: Line break

2012-04-30 Thread Guenter Milde
On 2012-04-29, Ahmed Halil wrote:


 I want to create a table as a float, but there's a problem I can't cope. 
 I need to set a line break in a cell, because the table is quite to 
 large for printing the page.

 Can you help me?

In LyX, you cannot set a line-break in normal or variable width cells
easily.

Instead, you should give the collumn with the problematic cell a fixed
width (with the table config dialogue or right-click context menu).
Then, the cells in this column will exhibit automatic line breaking (and
also accept manual line breaks).

Günter



Elster (Einkommenssteuererklärung) unter Linux

2012-04-30 Thread Wolfgang Engelmann
Guten Morgen,

etwas off topic:


Hat jemand Elster (Einkommenssteuererklärung) unter Linux installieren 
können? Die Tübinger Finanzamt-Leute (Elster-Team) können mir nicht 
weiterhelfen. 

Stand: Ich habe eine Elster CD vom Rathaus bekommen, die aber offenbar für 
Linux Benutzer unbrauchbar ist.

Im Internet:

Funktioniert ELSTER auch unter LINUX und Macintosh? 


Antwort: 
ELSTER läuft auch unter Linux und Mac OS X und steht allen Software-
Anbietern kostenlos zur Verfügung, die ELSTER in Ihre Produkte integrieren 
möchten. Die plattformunabhängige ELSTER-Software ist derzeit aber nur für 
die Umsatzsteuer-Voranmeldung, die Lohnsteuer-Anmeldung sowie die 
Lohnsteuerbescheinigungen verfügbar. Für die Jahressteuererklärungen 
(Einkommensteuer, Umsatzsteuer, Gewerbesteuer) ist sie derzeit nur unter 
Windows verfügbar.
Ob auch das von Ihnen eingesetzte Software-Produkt ELSTER unterstützt bzw. 
eine Implementierung geplant ist, können Sie bei dem Hersteller des 
jeweiligen Produkts erfragen.
Neben Programmen wie t@x200x für Linux von Buhl-Data, die ELSTER bereits 
unterstützen, stehen auch WEB-Anwendungen von Collmex, SteuerFuchs sowie 
das Internet-Sparbuch von WISO zur Verfügung, die unabhängig vom 
Betriebssystem, ganz einfach mit einem Browser genutzt werden können. Mit 
diesen Web-Angeboten können auch Linux- und Macintosh-Anwender die 
elektronische Abgabe der Steuererklärung nutzen. Für Macintosh werden 
außerdem von Topix und ProSaldo Produkte angeboten, mit denen die 
elektronische Abgabe möglich ist: weitere Informationen zu dieser Frage »»»
Kann ich meine Steuererklärung auch per E-Mail abgeben? 


Antwort: 
Nein, die Abgabe der Steuererklärung mit ELSTER ist nur in Zusammenhang mit 
Steuer- bzw. Buchhaltungsprogrammen möglich.
=
Fazit:
Da ist es wohl am einfachsten, die alten Papierformulare zu verwenden?
Wolfgang


Re: Newbie needs some help with covington: 'command \example already defined'

2012-04-30 Thread Jürgen Spitzmüller
2012/4/29 Cesko Voeten:
 I really need to use the paper document class (I actually am writing a paper
 and the other classes kind of suck for my purposes), but losing the ability
 to use examples isn't worth it.

Contrary to what the name implies, the paper class is rather exotic. I
would recommend article or even more article (KOMA) for papers. Is
there anything specific in the paper class you cannot find in article?

Jürgen


Re: Newbie needs some help with covington: 'command \example already defined'

2012-04-30 Thread Cesko Voeten
I had tried article already and it didn't have what I needed, but article
(KOMA) does. Thanks, I'm a happy user now! :-)

2012/4/30 Jürgen Spitzmüller sp...@lyx.org

 2012/4/29 Cesko Voeten:
  I really need to use the paper document class (I actually am writing a
 paper
  and the other classes kind of suck for my purposes), but losing the
 ability
  to use examples isn't worth it.

 Contrary to what the name implies, the paper class is rather exotic. I
 would recommend article or even more article (KOMA) for papers. Is
 there anything specific in the paper class you cannot find in article?

 Jürgen



Re: Cannot use XeTeX fonts and Theorems (AMS) module under Ubuntu 12.04

2012-04-30 Thread Liviu Andronic
On Mon, Apr 30, 2012 at 2:16 PM, Alfredo Maldonado Guerra
maldo...@tcd.ie wrote:
 If you open that file in LyX 2.0.2 in Ubuntu 12.04, you get the Undefined
 control sequence error I mentioned before. In previous versions of Ubuntu,
 this doesn't happen.

The file you sent compiles just fine here, under 2.0.3 and Ubuntu
10.04. You may want to try the LyX PPA [1]. Otherwise, the error above
would suggest that the \thm macro is undefined, or in more human terms
it means that you are missing the package that defines it. Perhaps you
are missing the 'amsthm' package? Check if you have installed all teh
necessary texlive packages.

Liviu

[1] https://launchpad.net/~lyx-devel/+archive/release


Re: Citations after changing Bibtex files

2012-04-30 Thread kaplae01
For reasons that are still mysterious to me, I have seen this behavior, 
and cured it by removing the
old call for the bibliographical database and replacing it with a call 
to the new one (the one in the old
place).  If you do not replace the call but simply ADD another bibtex 
file (the same old one but at a
different location), make sure that their ORDER is the one you want, 
namely: the one in the new
location should appear FIRST in the list of bibtex files you see when 
you click on the call for it in

your Lyx file.
HTH--
Ehud Kaplan

On 04/28/2012 12:19 AM, Jane Shevtsov wrote:
I'm making some final changes to my dissertation, written on another 
computer. I have a copy of my Bibtex library file and told Lyx to use 
it for the bibliography, but now all my citations are showing up as 
question marks in the PDF. How can I fix this without manually redoing 
every single citation?


Thanks,
Jane

--
-
Jane Shevtsov
co-founder, www.worldbeyondborders.org http://www.worldbeyondborders.org

In the long run, education intended to produce a molecular 
geneticist, a systems ecologist, or an immunologist is inferior, both 
for the individual and for society, than that intended to produce a 
broadly educated person who has also written a dissertation. --John 
Janovy, Jr., On Becoming a Biologist




--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness/ Professor
*Director*, The laboratory of Visual  Computational Neuroscience
*Director*, Center for Excellence in Computational  Systems Neuroscience
/Friedman Brain Institute/
Departments of Neuroscience, Ophthalmology, Structural  Chemical Biology,
The Mount Sinai School of Medicine
One Gustave Levy Place,
NY, NY, 10029


Getting lyx 2.0.3 for Ubuntu

2012-04-30 Thread kaplae01
Could someone please reminds me where to get the latest Lyx (2.0.3) for 
ubuntu?
Their repositories are shamefully out of date (they offer 2.0.2).  I 
know it exists somewhere,

but cannot find it.  I tried to get it from getdeb but failed.
Thanks,
Ehud Kaplan




RE: Getting lyx 2.0.3 for Ubuntu

2012-04-30 Thread Scott Kostyshak
From: lyx-users@lists.lyx.org [lyx-users@lists.lyx.org] on behalf of kaplae01 
[ehud.kap...@gmail.com]

Could someone please reminds me where to get the latest Lyx (2.0.3) for ubuntu?
Their repositories are shamefully out of date (they offer 2.0.2).  I know it 
exists somewhere,
but cannot find it.  I tried to get it from getdeb but failed.

Liviu maintains a stable PPA here:
https://launchpad.net/~lyx-devel/+archive/release

Scott


Remove parts from a class (e.g; Elsevier)

2012-04-30 Thread El Merehbi, Ibrahim

I'd like to ask if it is possible to remove any embedded parts of a
particular class. For example, in the Document class: article(Elsevier),
the output displays Preprint submitted to Elsevier at the lower left
of the first page.

I wrote two documents using that class, but now I have set my default to
AMS's (still experimenting).

Thanks

-- 
Sincerely Yours,
-Merhebi, Bob

Thunderbird Signature


Re: Boxing eqnarray

2012-04-30 Thread El Merehbi, Ibrahim
Hello Paul,

Thanks for the reply, but I  am afraid I do not know how to do that!

Could you please guide me?

Thanks

On Fri 27 Apr 2012 01:27:00 AM EEST, Paul A. Rubin wrote:
 Merhebi, Bob bobmerhebi at gmail.com writes:


 I am usually use the TeX \boxed to box an equation but I can't seem to
 be able to box an eqnarray. Is it possible?


 Try empheq.sty, part of the mh package.

 Paul

--
Sincerely Yours,
-Merhebi, Bob

Thunderbird Signature



Re: Remove parts from a class (e.g; Elsevier)

2012-04-30 Thread Richard Heck

On 04/30/2012 02:49 PM, El Merehbi, Ibrahim wrote:

I'd like to ask if it is possible to remove any embedded parts of a
particular class. For example, in the Document class: article(Elsevier),
the output displays Preprint submitted to Elsevier at the lower left
of the first page.
Yes, you can do this, but only by editing the document class itself. 
It'll be much easier just to switch the class and fix anything that breaks.


Richard



Re: Cannot use XeTeX fonts and Theorems (AMS) module under Ubuntu 12.04

2012-04-30 Thread Alfredo Maldonado Guerra

Hi Liviu,

Thanks a lot for your help. Adding the LyX PPA you mentioned solved the 
issue. I was able to install the latest version and was able to 
successfully compile the file I posted before.


The issue with the 2.0.2 version was quite strange because compiling 
would fail ONLY if the Use non-TeX fonts (via XeTeX/LuaTeX) checkbox 
was active, and only if I did it under Ubuntu 12.04 (it worked fine on 
another machine with Ubuntu 11.04 and worked fine on the 12.04 machine 
BEFORE I upgraded Ubuntu). If you de-activated that checkbox the file 
would compile just fine. Anyway, it seems that whatever the problem was, 
it was solved by installing the latest version.


Thanks again for your help. Oh, and I would like to take this 
opportunity to remark on how a great piece of software LyX is. It has 
made my work much more productive and I hope to use it for many years to 
come!


Thanks,
Alfredo

On 30/04/12 13:59, Liviu Andronic wrote:

On Mon, Apr 30, 2012 at 2:16 PM, Alfredo Maldonado Guerra
maldo...@tcd.ie  wrote:

If you open that file in LyX 2.0.2 in Ubuntu 12.04, you get the Undefined
control sequence error I mentioned before. In previous versions of Ubuntu,
this doesn't happen.


The file you sent compiles just fine here, under 2.0.3 and Ubuntu
10.04. You may want to try the LyX PPA [1]. Otherwise, the error above
would suggest that the \thm macro is undefined, or in more human terms
it means that you are missing the package that defines it. Perhaps you
are missing the 'amsthm' package? Check if you have installed all teh
necessary texlive packages.

Liviu

[1] https://launchpad.net/~lyx-devel/+archive/release


parameters of listings insets

2012-04-30 Thread Allen Barker


The listings insets (at least in 2.0.3) always seem to
alphabetize their list of More Parameters.  Is there
a way to avoid that?  The Latex listings are sensitive to
the position of their parameters, so you can define, say,
a new language (from a base language) and then selectively
override certain parts.  With alphabetization you can
only override settings earlier in the alphabet.

Making every language definition part of the official
list seems like overkill in simple cases.  Even when a
language like Python is selected on the front settings
page menu, something like keywords={egg,salad} on the
More Parameters list still does not override the
keywords like it does when it occurs after the language
parameter in a Latex ERT such as:

\begin{lstlisting}[language=Python,keywords={egg,salad}]
print hello
if egg == salad:
   pass
\end{lstlisting}

Also, when entering basicstyle in the parameter window
it validates it up to basicstyl and then, when the
word is completed, it says: Unknown listing parameter
name: basicstyle_ with an underscore.  Is there some
reason for that?







Re: parameters of listings insets

2012-04-30 Thread Allen Barker

On 04/30/2012 07:20 PM, Allen Barker wrote:


The listings insets (at least in 2.0.3) always seem to
alphabetize their list of More Parameters. Is there
a way to avoid that? The Latex listings are sensitive to
the position of their parameters, so you can define, say,
a new language (from a base language) and then selectively
override certain parts. With alphabetization you can
only override settings earlier in the alphabet.

Making every language definition part of the official
list seems like overkill in simple cases. Even when a
language like Python is selected on the front settings
page menu, something like keywords={egg,salad} on the
More Parameters list still does not override the
keywords like it does when it occurs after the language
parameter in a Latex ERT such as:

\begin{lstlisting}[language=Python,keywords={egg,salad}]
print hello
if egg == salad:
pass
\end{lstlisting}

Also, when entering basicstyle in the parameter window
it validates it up to basicstyl and then, when the
word is completed, it says: Unknown listing parameter
name: basicstyle_ with an underscore. Is there some
reason for that?


I've narrowed this latter situation down.  It does not
always do that, but it does seem to repeat it if the font
size is selected as small on the menu on the first
settings page and then basicstyle is entered into the
parameter window.  It gives the Unknown message even in
a new buffer with nothing but a single listings inset in
it.






Re: parameters of listings insets

2012-04-30 Thread Richard Heck

On 04/30/2012 07:41 PM, Allen Barker wrote:

On 04/30/2012 07:20 PM, Allen Barker wrote:


The listings insets (at least in 2.0.3) always seem to
alphabetize their list of More Parameters. Is there
a way to avoid that? The Latex listings are sensitive to
the position of their parameters, so you can define, say,
a new language (from a base language) and then selectively
override certain parts. With alphabetization you can
only override settings earlier in the alphabet.

Making every language definition part of the official
list seems like overkill in simple cases. Even when a
language like Python is selected on the front settings
page menu, something like keywords={egg,salad} on the
More Parameters list still does not override the
keywords like it does when it occurs after the language
parameter in a Latex ERT such as:

\begin{lstlisting}[language=Python,keywords={egg,salad}]
print hello
if egg == salad:
pass
\end{lstlisting}

Also, when entering basicstyle in the parameter window
it validates it up to basicstyl and then, when the
word is completed, it says: Unknown listing parameter
name: basicstyle_ with an underscore. Is there some
reason for that?


I've narrowed this latter situation down.  It does not
always do that, but it does seem to repeat it if the font
size is selected as small on the menu on the first
settings page and then basicstyle is entered into the
parameter window.  It gives the Unknown message even in
a new buffer with nothing but a single listings inset in
it.


I'd suggest you report this as a bug on trac. The person who
wrote the listings inset isn't active anymore, so it may take some
time to get this fixed.

Richard




Re: Cannot use XeTeX fonts and Theorems (AMS) module under Ubuntu 12.04

2012-04-30 Thread Liviu Andronic
On Mon, Apr 30, 2012 at 2:05 AM, Alfredo Maldonado Guerra
 wrote:
> 8. Click the 'eyes' button and you'll get the "Undefined control sequence"
> error.
>
It may help us if you sent a minimal example of the LyX file
exhibiting your issue.

Liviu


RE: Line break

2012-04-30 Thread Hannu Vuolasaho




> Date: Sun, 29 Apr 2012 21:30:46 +0100
> From: zl...@zleap.net
> To: ahmedha...@gmx.net; lyx-users@lists.lyx.org
> Subject: Re: Line break
>
> On 29/04/12 21:21, Ahmed Halil wrote:
> > Thanks a lot Paul, but I mean the width of the table.
> >
> > Ahmed
> >
> Ok i wonder if you can alter the page orientation for a single page so
> for the page with the table on make it landscape
>
> can anyone comment ?

In preamble:


p, li { white-space: pre-wrap; }

\usepackage{lscape} If you want to turn the page on PDF too 
\usepackage{pdflscape} And on page before your float ERT: \begin{landscape} and 
after your float \end{landscape}

Does this help?

Best regards,
Hannu Vuolasaho
  

Re: Jurabib's Bibliography and the use of "et al"

2012-04-30 Thread Brett Randall
Thanks Julio

Yes I checked the bibtex path is accurate. However I have since changed
from biber to bibtex8 and now it is working. I don't think I necessarily
need the additional features of biber at the moment, so for now this will
suffice!

Appreciate your help

Brett.

On Sat, Apr 28, 2012 at 11:54 PM, Julio Rojas  wrote:

> Two cents: Have you checked that the path to the bibtex file is absolute
> and full? Can you leave biber out and try biblatex alone?
>
> Regards.
> -
> Julio Rojas
> jcredbe...@gmail.com
>
>
>
> On Thu, Apr 26, 2012 at 11:31 PM, stefano franchi <
> stefano.fran...@gmail.com> wrote:
>
>> On Wed, Apr 25, 2012 at 10:16 PM, Brett Randall 
>> wrote:
>> > On Thu, Apr 26, 2012 at 10:34 AM, stefano franchi
>> >  wrote:
>> >>
>> >> I am not sure starting to use Jurabib is such a great choice. Jurabib
>> >> is basically a dead project, as far as I know. It would better to
>> >> start with biblatex.
>> >
>> >
>> > Thanks Stefano - I have tried biblatex and just can't get it to work.
>> If I
>> > was still using Linux I'm sure it would be easy, but running LyX 2.0.2
>> on
>> > Windows with MikTeX 2.9, I just can't get bibtex/biber to spit out
>> anything.
>> > I'm having the same result as this person:
>> >
>> > http://www.latex-community.org/forum/viewtopic.php?f=19=11317
>> >
>> > (i.e. bold keys in place of citations, and no bibliography printing
>> out).
>>
>> Brett,
>>
>> I'm sorry to hear that biblatex is not working for you. Unfortunately
>> I have no idea why that would be the case, except that it seems from
>> the log snippet you posted that biber may not be running at all.
>> Debugging requires more info on your part, I am afraid. Can you post a
>> minimal lyx example, minimal bib file, and the complete latex log.  Or
>> send them to me privately. By "minimal" I really mean minimal: one or
>> two lines for the lyx file, one ref for the bib file.
>> On the other hand, if you are working against deadline, it may be
>> better to keep working on Jurabib and switch to biblatex later. BTW,
>> there used to be a jurabib-only mailing list, have you tried it? Or
>> you may try comp.text.tex (via the google interface).
>>
>> Cheers,
>>
>> S.
>>
>>
>>
>> --
>> __
>> Stefano Franchi
>> Associate Research Professor
>> Department of Hispanic StudiesPh:   +1 (979) 845-2125
>> Texas A University  Fax:  +1 (979) 845-6421
>> College Station, Texas, USA
>>
>> stef...@tamu.edu
>> http://stefano.cleinias.org
>>
>
>


Re: Line break

2012-04-30 Thread Guenter Milde
On 2012-04-29, Ahmed Halil wrote:


> I want to create a table as a float, but there's a problem I can't cope. 
> I need to set a line break in a cell, because the table is quite to 
> large for printing the page.

> Can you help me?

In LyX, you cannot set a line-break in "normal" or "variable width" cells
easily.

Instead, you should give the collumn with the "problematic" cell a fixed
width (with the table config dialogue or right-click context menu).
Then, the cells in this column will exhibit automatic line breaking (and
also accept manual line breaks).

Günter



Elster (Einkommenssteuererklärung) unter Linux

2012-04-30 Thread Wolfgang Engelmann
Guten Morgen,

etwas off topic:


Hat jemand Elster (Einkommenssteuererklärung) unter Linux installieren 
können? Die Tübinger Finanzamt-Leute (Elster-Team) können mir nicht 
weiterhelfen. 

Stand: Ich habe eine Elster CD vom Rathaus bekommen, die aber offenbar für 
Linux Benutzer unbrauchbar ist.

Im Internet:

Funktioniert ELSTER auch unter LINUX und Macintosh? 


Antwort: 
ELSTER läuft auch unter Linux und Mac OS X und steht allen Software-
Anbietern kostenlos zur Verfügung, die ELSTER in Ihre Produkte integrieren 
möchten. Die plattformunabhängige ELSTER-Software ist derzeit aber nur für 
die Umsatzsteuer-Voranmeldung, die Lohnsteuer-Anmeldung sowie die 
Lohnsteuerbescheinigungen verfügbar. Für die Jahressteuererklärungen 
(Einkommensteuer, Umsatzsteuer, Gewerbesteuer) ist sie derzeit nur unter 
Windows verfügbar.
Ob auch das von Ihnen eingesetzte Software-Produkt ELSTER unterstützt bzw. 
eine Implementierung geplant ist, können Sie bei dem Hersteller des 
jeweiligen Produkts erfragen.
Neben Programmen wie t@x200x für Linux von Buhl-Data, die ELSTER bereits 
unterstützen, stehen auch WEB-Anwendungen von Collmex, SteuerFuchs sowie 
das Internet-Sparbuch von WISO zur Verfügung, die unabhängig vom 
Betriebssystem, ganz einfach mit einem Browser genutzt werden können. Mit 
diesen Web-Angeboten können auch Linux- und Macintosh-Anwender die 
elektronische Abgabe der Steuererklärung nutzen. Für Macintosh werden 
außerdem von Topix und ProSaldo Produkte angeboten, mit denen die 
elektronische Abgabe möglich ist: weitere Informationen zu dieser Frage »»»
Kann ich meine Steuererklärung auch per E-Mail abgeben? 


Antwort: 
Nein, die Abgabe der Steuererklärung mit ELSTER ist nur in Zusammenhang mit 
Steuer- bzw. Buchhaltungsprogrammen möglich.
=
Fazit:
Da ist es wohl am einfachsten, die alten Papierformulare zu verwenden?
Wolfgang


Re: Newbie needs some help with covington: 'command \example already defined'

2012-04-30 Thread Jürgen Spitzmüller
2012/4/29 Cesko Voeten:
> I really need to use the paper document class (I actually am writing a paper
> and the other classes kind of suck for my purposes), but losing the ability
> to use examples isn't worth it.

Contrary to what the name implies, the paper class is rather exotic. I
would recommend article or even more article (KOMA) for papers. Is
there anything specific in the paper class you cannot find in article?

Jürgen


Re: Newbie needs some help with covington: 'command \example already defined'

2012-04-30 Thread Cesko Voeten
I had tried article already and it didn't have what I needed, but article
(KOMA) does. Thanks, I'm a happy user now! :-)

2012/4/30 Jürgen Spitzmüller 

> 2012/4/29 Cesko Voeten:
> > I really need to use the paper document class (I actually am writing a
> paper
> > and the other classes kind of suck for my purposes), but losing the
> ability
> > to use examples isn't worth it.
>
> Contrary to what the name implies, the paper class is rather exotic. I
> would recommend article or even more article (KOMA) for papers. Is
> there anything specific in the paper class you cannot find in article?
>
> Jürgen
>


Re: Cannot use XeTeX fonts and Theorems (AMS) module under Ubuntu 12.04

2012-04-30 Thread Liviu Andronic
On Mon, Apr 30, 2012 at 2:16 PM, Alfredo Maldonado Guerra
 wrote:
> If you open that file in LyX 2.0.2 in Ubuntu 12.04, you get the "Undefined
> control sequence" error I mentioned before. In previous versions of Ubuntu,
> this doesn't happen.
>
The file you sent compiles just fine here, under 2.0.3 and Ubuntu
10.04. You may want to try the LyX PPA [1]. Otherwise, the error above
would suggest that the \thm macro is undefined, or in more human terms
it means that you are missing the package that defines it. Perhaps you
are missing the 'amsthm' package? Check if you have installed all teh
necessary texlive packages.

Liviu

[1] https://launchpad.net/~lyx-devel/+archive/release


Re: Citations after changing Bibtex files

2012-04-30 Thread kaplae01
For reasons that are still mysterious to me, I have seen this behavior, 
and cured it by removing the
old call for the bibliographical database and replacing it with a call 
to the new one (the one in the old
place).  If you do not replace the call but simply ADD another bibtex 
file (the same old one but at a
different location), make sure that their ORDER is the one you want, 
namely: the one in the new
location should appear FIRST in the list of bibtex files you see when 
you click on the call for it in

your Lyx file.
HTH--
Ehud Kaplan

On 04/28/2012 12:19 AM, Jane Shevtsov wrote:
I'm making some final changes to my dissertation, written on another 
computer. I have a copy of my Bibtex library file and told Lyx to use 
it for the bibliography, but now all my citations are showing up as 
question marks in the PDF. How can I fix this without manually redoing 
every single citation?


Thanks,
Jane

--
-
Jane Shevtsov
co-founder, www.worldbeyondborders.org 

"In the long run, education intended to produce a molecular 
geneticist, a systems ecologist, or an immunologist is inferior, both 
for the individual and for society, than that intended to produce a 
broadly educated person who has also written a dissertation." --John 
Janovy, Jr., "On Becoming a Biologist"




--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness/ Professor
*Director*, The laboratory of Visual & Computational Neuroscience
*Director*, Center for Excellence in Computational & Systems Neuroscience
/Friedman Brain Institute/
Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology,
The Mount Sinai School of Medicine
One Gustave Levy Place,
NY, NY, 10029


Getting lyx 2.0.3 for Ubuntu

2012-04-30 Thread kaplae01
Could someone please reminds me where to get the latest Lyx (2.0.3) for 
ubuntu?
Their repositories are shamefully out of date (they offer 2.0.2).  I 
know it exists somewhere,

but cannot find it.  I tried to get it from getdeb but failed.
Thanks,
Ehud Kaplan




RE: Getting lyx 2.0.3 for Ubuntu

2012-04-30 Thread Scott Kostyshak
From: lyx-users@lists.lyx.org [lyx-users@lists.lyx.org] on behalf of kaplae01 
[ehud.kap...@gmail.com]

>Could someone please reminds me where to get the latest Lyx (2.0.3) for ubuntu?
>Their repositories are shamefully out of date (they offer 2.0.2).  I know it 
>exists somewhere,
>but cannot find it.  I tried to get it from getdeb but failed.

Liviu maintains a stable PPA here:
https://launchpad.net/~lyx-devel/+archive/release

Scott


Remove parts from a class (e.g; Elsevier)

2012-04-30 Thread El Merehbi, Ibrahim

I'd like to ask if it is possible to remove any embedded parts of a
particular class. For example, in the Document class: article(Elsevier),
the output displays "Preprint submitted to Elsevier" at the lower left
of the first page.

I wrote two documents using that class, but now I have set my default to
AMS's (still experimenting).

Thanks

-- 
Sincerely Yours,
-Merhebi, Bob

Thunderbird Signature


Re: Boxing eqnarray

2012-04-30 Thread El Merehbi, Ibrahim
Hello Paul,

Thanks for the reply, but I  am afraid I do not know how to do that!

Could you please guide me?

Thanks

On Fri 27 Apr 2012 01:27:00 AM EEST, Paul A. Rubin wrote:
> Merhebi, Bob  gmail.com> writes:
>
>
>> I am usually use the TeX \boxed to box an equation but I can't seem to
>> be able to box an eqnarray. Is it possible?
>>
>
> Try empheq.sty, part of the mh package.
>
> Paul

--
Sincerely Yours,
-Merhebi, Bob

Thunderbird Signature



Re: Remove parts from a class (e.g; Elsevier)

2012-04-30 Thread Richard Heck

On 04/30/2012 02:49 PM, El Merehbi, Ibrahim wrote:

I'd like to ask if it is possible to remove any embedded parts of a
particular class. For example, in the Document class: article(Elsevier),
the output displays "Preprint submitted to Elsevier" at the lower left
of the first page.
Yes, you can do this, but only by editing the document class itself. 
It'll be much easier just to switch the class and fix anything that breaks.


Richard



Re: Cannot use XeTeX fonts and Theorems (AMS) module under Ubuntu 12.04

2012-04-30 Thread Alfredo Maldonado Guerra

Hi Liviu,

Thanks a lot for your help. Adding the LyX PPA you mentioned solved the 
issue. I was able to install the latest version and was able to 
successfully compile the file I posted before.


The issue with the 2.0.2 version was quite strange because compiling 
would fail ONLY if the "Use non-TeX fonts (via XeTeX/LuaTeX)" checkbox 
was active, and only if I did it under Ubuntu 12.04 (it worked fine on 
another machine with Ubuntu 11.04 and worked fine on the 12.04 machine 
BEFORE I upgraded Ubuntu). If you de-activated that checkbox the file 
would compile just fine. Anyway, it seems that whatever the problem was, 
it was solved by installing the latest version.


Thanks again for your help. Oh, and I would like to take this 
opportunity to remark on how a great piece of software LyX is. It has 
made my work much more productive and I hope to use it for many years to 
come!


Thanks,
Alfredo

On 30/04/12 13:59, Liviu Andronic wrote:

On Mon, Apr 30, 2012 at 2:16 PM, Alfredo Maldonado Guerra
  wrote:

If you open that file in LyX 2.0.2 in Ubuntu 12.04, you get the "Undefined
control sequence" error I mentioned before. In previous versions of Ubuntu,
this doesn't happen.


The file you sent compiles just fine here, under 2.0.3 and Ubuntu
10.04. You may want to try the LyX PPA [1]. Otherwise, the error above
would suggest that the \thm macro is undefined, or in more human terms
it means that you are missing the package that defines it. Perhaps you
are missing the 'amsthm' package? Check if you have installed all teh
necessary texlive packages.

Liviu

[1] https://launchpad.net/~lyx-devel/+archive/release


parameters of listings insets

2012-04-30 Thread Allen Barker


The listings insets (at least in 2.0.3) always seem to
alphabetize their list of "More Parameters."  Is there
a way to avoid that?  The Latex listings are sensitive to
the position of their parameters, so you can define, say,
a new language (from a base language) and then selectively
override certain parts.  With alphabetization you can
only override settings earlier in the alphabet.

Making every language definition part of the "official
list" seems like overkill in simple cases.  Even when a
language like Python is selected on the front "settings"
page menu, something like keywords={egg,salad} on the
"More Parameters" list still does not override the
keywords like it does when it occurs after the language
parameter in a Latex ERT such as:

\begin{lstlisting}[language=Python,keywords={egg,salad}]
print "hello"
if egg == salad:
   pass
\end{lstlisting}

Also, when entering "basicstyle" in the parameter window
it validates it up to "basicstyl" and then, when the
word is completed, it says: "Unknown listing parameter
name: basicstyle_" with an underscore.  Is there some
reason for that?







Re: parameters of listings insets

2012-04-30 Thread Allen Barker

On 04/30/2012 07:20 PM, Allen Barker wrote:


The listings insets (at least in 2.0.3) always seem to
alphabetize their list of "More Parameters." Is there
a way to avoid that? The Latex listings are sensitive to
the position of their parameters, so you can define, say,
a new language (from a base language) and then selectively
override certain parts. With alphabetization you can
only override settings earlier in the alphabet.

Making every language definition part of the "official
list" seems like overkill in simple cases. Even when a
language like Python is selected on the front "settings"
page menu, something like keywords={egg,salad} on the
"More Parameters" list still does not override the
keywords like it does when it occurs after the language
parameter in a Latex ERT such as:

\begin{lstlisting}[language=Python,keywords={egg,salad}]
print "hello"
if egg == salad:
pass
\end{lstlisting}

Also, when entering "basicstyle" in the parameter window
it validates it up to "basicstyl" and then, when the
word is completed, it says: "Unknown listing parameter
name: basicstyle_" with an underscore. Is there some
reason for that?


I've narrowed this latter situation down.  It does not
always do that, but it does seem to repeat it if the font
size is selected as "small" on the menu on the first
"settings" page and then "basicstyle" is entered into the
parameter window.  It gives the "Unknown" message even in
a new buffer with nothing but a single listings inset in
it.






Re: parameters of listings insets

2012-04-30 Thread Richard Heck

On 04/30/2012 07:41 PM, Allen Barker wrote:

On 04/30/2012 07:20 PM, Allen Barker wrote:


The listings insets (at least in 2.0.3) always seem to
alphabetize their list of "More Parameters." Is there
a way to avoid that? The Latex listings are sensitive to
the position of their parameters, so you can define, say,
a new language (from a base language) and then selectively
override certain parts. With alphabetization you can
only override settings earlier in the alphabet.

Making every language definition part of the "official
list" seems like overkill in simple cases. Even when a
language like Python is selected on the front "settings"
page menu, something like keywords={egg,salad} on the
"More Parameters" list still does not override the
keywords like it does when it occurs after the language
parameter in a Latex ERT such as:

\begin{lstlisting}[language=Python,keywords={egg,salad}]
print "hello"
if egg == salad:
pass
\end{lstlisting}

Also, when entering "basicstyle" in the parameter window
it validates it up to "basicstyl" and then, when the
word is completed, it says: "Unknown listing parameter
name: basicstyle_" with an underscore. Is there some
reason for that?


I've narrowed this latter situation down.  It does not
always do that, but it does seem to repeat it if the font
size is selected as "small" on the menu on the first
"settings" page and then "basicstyle" is entered into the
parameter window.  It gives the "Unknown" message even in
a new buffer with nothing but a single listings inset in
it.


I'd suggest you report this as a bug on trac. The person who
wrote the listings inset isn't active anymore, so it may take some
time to get this fixed.

Richard