Re: hyperref support and babel-spanish commands conflict

2009-03-08 Thread Ignacio García
2009/3/7, Uwe Stöhr uwesto...@web.de:
 Ignacio García schrieb:

 When I check the hyperref support in LyX document setting, the
 spanish.ldf user options don't work. babel is loaded before.

 However, if I insert manually hyperref in the LyX latex preamble,
 spanish user commands work now. babel is loaded after.

 This doesn't work for me, see below. Can you send me please an example LyX
 file?

You are right. Here it compiles because there was my stupid error: I
have loaded hyperref but I had not used it in the document. Inserting
a simple hyperlink, KO. (But this method works in 1.5.5)

 The problem is that hyperref has to be loaded _after_ babel. Unfortunately
 Spanish support is a bit
 different that any other babel language support.

Oh yes, I know very well! :-)

 I think I read recently that the Spanish babel
 maintainer will change this or perhaps has already changed it in the latest
 babel release.

I have the last version... As the author has just opened a new forum,
there I shall raise this issue.


 Here is the relevant latex output in both cases:

 Hyperref loaded in LyX document setting:

  \documentclass[spanish]{article}
  \usepackage[T1]{fontenc}
  \usepackage[latin9]{inputenc}
  \usepackage{babel}

  \usepackage[unicode=true, pdfusetitle,
   bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
   breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false]
   {hyperref}

  %% User specified LaTeX commands.
  \def\spanishoptions{es-minimal}

  \begin{document}

 Hmm, that woks/compiles here.

 Hyperref loaded in LyX latex preamble:

Yes, it works/compiles for me too, but {es-minimal} doesn't work. (see
sample please)


  \documentclass[spanish]{article}
  \usepackage[T1]{fontenc}
  \usepackage[latin9]{inputenc}

  %% User specified LaTeX commands.
  \def\spanishoptions{es-minimal}
  \usepackage[unicode=true, pdfusetitle,
   bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
   breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false]
   {hyperref}

  \usepackage{babel}

  \begin{document}

 This doesn't compile here, because babel must be loaded _before_
 \def\spanishoptions{es-minimal},
 because otherwise \spanishoptions is not defined.

Is that related with the order in tex file? See you please sample.lyx file.

Thanks a lot!
Regards
 Ignacio


Re: hyperref support and babel-spanish commands conflict

2009-03-08 Thread Ignacio García
2009/3/8, Ignacio García ignacio.gmora...@gmail.com:

 See you please sample.lyx file.

Where is it!?
Sorry
Regards
Ignacio


sample.lyx
Description: application/lyx


Cyrillic formatted text in mathmode

2009-03-08 Thread neGODnick
Hi!

We have mathtext package to write russian in math mode. By default russian 
letters are upright, but we can say:

\DeclareSymbolFont{T2Aletters}{T2A}{cmr}{m}{it}

аnd make them italic (or slanted etc.). That is very important possibility, but 
in LyX it doesn't work! No effect! I think, the occasion is in LyX code, which 
programm adds into document:

\declarerobustcommand{\lyxmathsym}[1]{\ifmmode\begingroup\de...@ld{bold}
  \def\rmorbf##1{\ifx\m...@version\b@ld\textbf{##1}\else\textrm{##1}\fi}
  \mathchoice{\hbox{\rmorbf{#1}}}{\hbox{\rmorbf{#1}}}
  {\hbox{\smaller[2]\rmorbf{#1}}}{\hbox{\smaller[3]\rmorbf{#1}}}
  \endgroup\else#1\fi}

but I don't know, how to resolve this problem. Russian text in formulae LyX 
writes as $\lyxmathsym{«Эптнц»}$. Could you help me to fix it?

Best regards, neGODnick



Re: Can't preview using pdflatex

2009-03-08 Thread Paul A. Rubin

Cy. T. wrote:

After I clicked Reconfigure under Tools, I can no longer use the
PDF preview function.

The error message is simply

Auto-view file C:/(filename) failed.

Any hint?


You didn't specify an OS, but it appears to be Windows.  I don't know 
what clobbered auto viewing mode when you reconfigured, but you can 
try the following fix:


1.  Take a look in the LyX bin directory and make sure that pdfview.exe, 
pdfopen.exe and pdfclose.exe are present.  (LyX should have installed them.)


2.  Go to Tools  Preferences...  File Handling  File formats, select 
each of the PDF variants you use, change the Viewer: field to 'pdfview' 
(without the quotes), and save the changes.


/Paul



Re: Can't preview using pdflatex

2009-03-08 Thread Paul A. Rubin
Sorry, cut that last reply a bit short.  I'm not sure if pdfview works 
with PDF readers other than Acrobat.  If you're using a non-Adobe 
reader, you should put the command for that reader into the Viewer: 
field, and add the path to the reader to Tools  Preferences...  Paths 
 PATH prefix (unless the reader's directory is already on the system 
command path).  You only need pdfview if you're using Acrobat Reader.


/Paul



Re: Very frequent crashes in 1.6.1 (with loss of work)

2009-03-08 Thread Pavel Sanda
Van Damme Michael wrote:
 since I like lyx I will invest time to try to find out which package is the 
 cause.

please do then. it could help in the similar cases too...
pavel


Re: Very frequent crashes in 1.6.1 (with loss of work)

2009-03-08 Thread James Mansion

Van Damme Michael wrote:

I have downloaded version 1.6.2svn (from the svn server) and tried it, but the 
problem remains.
  
Is is quick enough to reproduce (or you comuputer fast enough) to run 
Lyx under valgrind until you hit the problem?


James



re:Re: Very frequent crashes in 1.6.1 (with loss of work)

2009-03-08 Thread Van Damme Michael
 I have downloaded version 1.6.2svn (from the svn server) and tried it, but 
 the problem remains.
   
Is is quick enough to reproduce (or you comuputer fast enough) to run 
Lyx under valgrind until you hit the problem?

James

I've never used valgrind, but it is quick to reproduce. When my thesis is 
finished I'll look into it.

Michael





Re: Very frequent crashes in 1.6.1 (with loss of work)

2009-03-08 Thread rgheck

Van Damme Michael wrote:

I have downloaded version 1.6.2svn (from the svn server) and tried it, but the 
problem remains.
  
  
Is is quick enough to reproduce (or you comuputer fast enough) to run 
Lyx under valgrind until you hit the problem?


James



I've never used valgrind, but it is quick to reproduce. When my thesis is 
finished I'll look into it.

  

I'll have a look at this under one of my Fedora 10 machines.

rh



Chapter with no numbering

2009-03-08 Thread Mehrdad
 

Hallo all thank you very much for all the help to my previous questions. I
have a new one again: 

 

 I use report style, and I want to add multiple appendices to my text so: 

 

Appendix A, B, etc.

 

SO I used to Chapter* option for them, but when I add a figure, formula or
anything else with caption, it uses the numbering of the previous numbered
chapter! How can I go around this problem? 

 

Thanks



Re: Very frequent crashes in 1.6.1 (with loss of work)

2009-03-08 Thread Steve Litt
On Sunday 08 March 2009 11:48:57 am James Mansion wrote:
 Van Damme Michael wrote:
  I have downloaded version 1.6.2svn (from the svn server) and tried it,
  but the problem remains.

 Is is quick enough to reproduce (or you comuputer fast enough) to run
 Lyx under valgrind until you hit the problem?

I should have thought of that!

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US



Error message

2009-03-08 Thread Marco Sommella
Hi,

I'm new J.

I'm using Lyx 1.6.1 on windows vista and have installed Highlight 2.7 for
external source code following the wiki.

 

During pdflatex creation i obtain this error:

 

...std{opt\ }\hlsym{/}\hlstd{proc}\Righttorque

\\

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.

 

I don't understand this error what meens and how to fix this !!!

Someone can plz help ?

Tnx

 

-- 

Marco Sommella

 



Re: Cyrillic formatted text in mathmode

2009-03-08 Thread Uwe Stöhr

neGODnick schrieb:

We have mathtext package to write russian in math mode. By default russian 
letters are upright, but we can say:


\DeclareSymbolFont{T2Aletters}{T2A}{cmr}{m}{it}


Can you send a small example LyX file, because when I use this command, I get a LaTeX error that T2A 
is unknown. Do you have some special Cyrillic packages installed that makes it available? (I'm 
asking because I can successfully compile LyX's Russian and Ukrainian documentation files.)


аnd make them italic (or slanted etc.). That is very important possibility, but 
in LyX it doesn't work! No effect! I think, the occasion is in LyX code, which 
programm adds into document:


\declarerobustcommand{\lyxmathsym}[1]{\ifmmode\begingroup\de...@ld{bold}
  \def\rmorbf##1{\ifx\m...@version\b@ld\textbf{##1}\else\textrm{##1}\fi}
  \mathchoice{\hbox{\rmorbf{#1}}}{\hbox{\rmorbf{#1}}}
  {\hbox{\smaller[2]\rmorbf{#1}}}{\hbox{\smaller[3]\rmorbf{#1}}}
  \endgroup\else#1\fi}

but I don't know, how to resolve this problem. Russian text in formulae LyX 
writes as $\lyxmathsym{«Эптнц»}$. Could you help me to fix it?


It should work when you add the Cyrillic characters to math text (shortcut Alt+M M) like in the 
attached example. Because without  being in math text you would get LaTeX errors because math in 
LaTeX was not designed to have a certain language and use characters that are not math characters.


regards Uwe


newfile2.lyx
Description: application/lyx


lyx2lyx script failed... lyx 1.6.1 lyx 1.5.6

2009-03-08 Thread Joe(theWordy)Philbrook

Hello. I happen to like lyx. for lots of things. But I need to be able
to access my documents via more than one computer. Not all of which
are easy to upgrade to newer software versions.

One of my computers is running lyx 1.6.1 on which I recently wrote a
couple of documents. Then I had occasion to modify one of the .lyx files 
on a different linux box.  But the available version of lyx was only
1.5.6 and when I tried to open the document I was informed that it had
been created by a different version of lyx. And that the lyx2lyx script
had failed. sigh

I'm reasonably certain I hadn't used any new advanced features from
ver 1.6.1 that ver 1.5.6 doesn't have. I started with a short document
that was created on ver 1.5.6 (or earlier)... Which I had opened with
ver 1.6.1 deleted a line. Added text to about 5 existing lines which i
modified the color of. Then inserted a few paragraphs of text. And did
a Save As new name. So I was a bit surprised that version 1.5.6
couldn't open the resulting document.

Is there a way to tell lyx 1.6.1 to save in an older lyx format?

OR is there a conversion script that can convert a (lyx version 1.6.1).lyx  
file into something lyx 1.5.6 can open???


-- 
|  ~^~   ~^~
|  ?   ? Joe (theWordy) Philbrook
|  ^  J(tWdy)P
|\___/ jtw...@ttlc.net



Re: hyperref support and babel-spanish commands conflict

2009-03-08 Thread Ignacio García
2009/3/7, Uwe Stöhr uwesto...@web.de:
 Ignacio García schrieb:

 When I check the hyperref support in LyX document setting, the
 spanish.ldf user options don't work. babel is loaded before.

 However, if I insert manually hyperref in the LyX latex preamble,
 spanish user commands work now. babel is loaded after.

 This doesn't work for me, see below. Can you send me please an example LyX
 file?

You are right. Here it compiles because there was my stupid error: I
have loaded hyperref but I had not used it in the document. Inserting
a simple hyperlink, KO. (But this method works in 1.5.5)

 The problem is that hyperref has to be loaded _after_ babel. Unfortunately
 Spanish support is a bit
 different that any other babel language support.

Oh yes, I know very well! :-)

 I think I read recently that the Spanish babel
 maintainer will change this or perhaps has already changed it in the latest
 babel release.

I have the last version... As the author has just opened a new forum,
there I shall raise this issue.


 Here is the relevant latex output in both cases:

 Hyperref loaded in LyX document setting:

  \documentclass[spanish]{article}
  \usepackage[T1]{fontenc}
  \usepackage[latin9]{inputenc}
  \usepackage{babel}

  \usepackage[unicode=true, pdfusetitle,
   bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
   breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false]
   {hyperref}

  %% User specified LaTeX commands.
  \def\spanishoptions{es-minimal}

  \begin{document}

 Hmm, that woks/compiles here.

 Hyperref loaded in LyX latex preamble:

Yes, it works/compiles for me too, but {es-minimal} doesn't work. (see
sample please)


  \documentclass[spanish]{article}
  \usepackage[T1]{fontenc}
  \usepackage[latin9]{inputenc}

  %% User specified LaTeX commands.
  \def\spanishoptions{es-minimal}
  \usepackage[unicode=true, pdfusetitle,
   bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
   breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false]
   {hyperref}

  \usepackage{babel}

  \begin{document}

 This doesn't compile here, because babel must be loaded _before_
 \def\spanishoptions{es-minimal},
 because otherwise \spanishoptions is not defined.

Is that related with the order in tex file? See you please sample.lyx file.

Thanks a lot!
Regards
 Ignacio


Re: hyperref support and babel-spanish commands conflict

2009-03-08 Thread Ignacio García
2009/3/8, Ignacio García ignacio.gmora...@gmail.com:

 See you please sample.lyx file.

Where is it!?
Sorry
Regards
Ignacio


sample.lyx
Description: application/lyx


Cyrillic formatted text in mathmode

2009-03-08 Thread neGODnick
Hi!

We have mathtext package to write russian in math mode. By default russian 
letters are upright, but we can say:

\DeclareSymbolFont{T2Aletters}{T2A}{cmr}{m}{it}

аnd make them italic (or slanted etc.). That is very important possibility, but 
in LyX it doesn't work! No effect! I think, the occasion is in LyX code, which 
programm adds into document:

\declarerobustcommand{\lyxmathsym}[1]{\ifmmode\begingroup\de...@ld{bold}
  \def\rmorbf##1{\ifx\m...@version\b@ld\textbf{##1}\else\textrm{##1}\fi}
  \mathchoice{\hbox{\rmorbf{#1}}}{\hbox{\rmorbf{#1}}}
  {\hbox{\smaller[2]\rmorbf{#1}}}{\hbox{\smaller[3]\rmorbf{#1}}}
  \endgroup\else#1\fi}

but I don't know, how to resolve this problem. Russian text in formulae LyX 
writes as $\lyxmathsym{«Эптнц»}$. Could you help me to fix it?

Best regards, neGODnick



Re: Can't preview using pdflatex

2009-03-08 Thread Paul A. Rubin

Cy. T. wrote:

After I clicked Reconfigure under Tools, I can no longer use the
PDF preview function.

The error message is simply

Auto-view file C:/(filename) failed.

Any hint?


You didn't specify an OS, but it appears to be Windows.  I don't know 
what clobbered auto viewing mode when you reconfigured, but you can 
try the following fix:


1.  Take a look in the LyX bin directory and make sure that pdfview.exe, 
pdfopen.exe and pdfclose.exe are present.  (LyX should have installed them.)


2.  Go to Tools  Preferences...  File Handling  File formats, select 
each of the PDF variants you use, change the Viewer: field to 'pdfview' 
(without the quotes), and save the changes.


/Paul



Re: Can't preview using pdflatex

2009-03-08 Thread Paul A. Rubin
Sorry, cut that last reply a bit short.  I'm not sure if pdfview works 
with PDF readers other than Acrobat.  If you're using a non-Adobe 
reader, you should put the command for that reader into the Viewer: 
field, and add the path to the reader to Tools  Preferences...  Paths 
 PATH prefix (unless the reader's directory is already on the system 
command path).  You only need pdfview if you're using Acrobat Reader.


/Paul



Re: Very frequent crashes in 1.6.1 (with loss of work)

2009-03-08 Thread Pavel Sanda
Van Damme Michael wrote:
 since I like lyx I will invest time to try to find out which package is the 
 cause.

please do then. it could help in the similar cases too...
pavel


Re: Very frequent crashes in 1.6.1 (with loss of work)

2009-03-08 Thread James Mansion

Van Damme Michael wrote:

I have downloaded version 1.6.2svn (from the svn server) and tried it, but the 
problem remains.
  
Is is quick enough to reproduce (or you comuputer fast enough) to run 
Lyx under valgrind until you hit the problem?


James



re:Re: Very frequent crashes in 1.6.1 (with loss of work)

2009-03-08 Thread Van Damme Michael
 I have downloaded version 1.6.2svn (from the svn server) and tried it, but 
 the problem remains.
   
Is is quick enough to reproduce (or you comuputer fast enough) to run 
Lyx under valgrind until you hit the problem?

James

I've never used valgrind, but it is quick to reproduce. When my thesis is 
finished I'll look into it.

Michael





Re: Very frequent crashes in 1.6.1 (with loss of work)

2009-03-08 Thread rgheck

Van Damme Michael wrote:

I have downloaded version 1.6.2svn (from the svn server) and tried it, but the 
problem remains.
  
  
Is is quick enough to reproduce (or you comuputer fast enough) to run 
Lyx under valgrind until you hit the problem?


James



I've never used valgrind, but it is quick to reproduce. When my thesis is 
finished I'll look into it.

  

I'll have a look at this under one of my Fedora 10 machines.

rh



Chapter with no numbering

2009-03-08 Thread Mehrdad
 

Hallo all thank you very much for all the help to my previous questions. I
have a new one again: 

 

 I use report style, and I want to add multiple appendices to my text so: 

 

Appendix A, B, etc.

 

SO I used to Chapter* option for them, but when I add a figure, formula or
anything else with caption, it uses the numbering of the previous numbered
chapter! How can I go around this problem? 

 

Thanks



Re: Very frequent crashes in 1.6.1 (with loss of work)

2009-03-08 Thread Steve Litt
On Sunday 08 March 2009 11:48:57 am James Mansion wrote:
 Van Damme Michael wrote:
  I have downloaded version 1.6.2svn (from the svn server) and tried it,
  but the problem remains.

 Is is quick enough to reproduce (or you comuputer fast enough) to run
 Lyx under valgrind until you hit the problem?

I should have thought of that!

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US



Error message

2009-03-08 Thread Marco Sommella
Hi,

I'm new J.

I'm using Lyx 1.6.1 on windows vista and have installed Highlight 2.7 for
external source code following the wiki.

 

During pdflatex creation i obtain this error:

 

...std{opt\ }\hlsym{/}\hlstd{proc}\Righttorque

\\

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.

 

I don't understand this error what meens and how to fix this !!!

Someone can plz help ?

Tnx

 

-- 

Marco Sommella

 



Re: Cyrillic formatted text in mathmode

2009-03-08 Thread Uwe Stöhr

neGODnick schrieb:

We have mathtext package to write russian in math mode. By default russian 
letters are upright, but we can say:


\DeclareSymbolFont{T2Aletters}{T2A}{cmr}{m}{it}


Can you send a small example LyX file, because when I use this command, I get a LaTeX error that T2A 
is unknown. Do you have some special Cyrillic packages installed that makes it available? (I'm 
asking because I can successfully compile LyX's Russian and Ukrainian documentation files.)


аnd make them italic (or slanted etc.). That is very important possibility, but 
in LyX it doesn't work! No effect! I think, the occasion is in LyX code, which 
programm adds into document:


\declarerobustcommand{\lyxmathsym}[1]{\ifmmode\begingroup\de...@ld{bold}
  \def\rmorbf##1{\ifx\m...@version\b@ld\textbf{##1}\else\textrm{##1}\fi}
  \mathchoice{\hbox{\rmorbf{#1}}}{\hbox{\rmorbf{#1}}}
  {\hbox{\smaller[2]\rmorbf{#1}}}{\hbox{\smaller[3]\rmorbf{#1}}}
  \endgroup\else#1\fi}

but I don't know, how to resolve this problem. Russian text in formulae LyX 
writes as $\lyxmathsym{«Эптнц»}$. Could you help me to fix it?


It should work when you add the Cyrillic characters to math text (shortcut Alt+M M) like in the 
attached example. Because without  being in math text you would get LaTeX errors because math in 
LaTeX was not designed to have a certain language and use characters that are not math characters.


regards Uwe


newfile2.lyx
Description: application/lyx


lyx2lyx script failed... lyx 1.6.1 lyx 1.5.6

2009-03-08 Thread Joe(theWordy)Philbrook

Hello. I happen to like lyx. for lots of things. But I need to be able
to access my documents via more than one computer. Not all of which
are easy to upgrade to newer software versions.

One of my computers is running lyx 1.6.1 on which I recently wrote a
couple of documents. Then I had occasion to modify one of the .lyx files 
on a different linux box.  But the available version of lyx was only
1.5.6 and when I tried to open the document I was informed that it had
been created by a different version of lyx. And that the lyx2lyx script
had failed. sigh

I'm reasonably certain I hadn't used any new advanced features from
ver 1.6.1 that ver 1.5.6 doesn't have. I started with a short document
that was created on ver 1.5.6 (or earlier)... Which I had opened with
ver 1.6.1 deleted a line. Added text to about 5 existing lines which i
modified the color of. Then inserted a few paragraphs of text. And did
a Save As new name. So I was a bit surprised that version 1.5.6
couldn't open the resulting document.

Is there a way to tell lyx 1.6.1 to save in an older lyx format?

OR is there a conversion script that can convert a (lyx version 1.6.1).lyx  
file into something lyx 1.5.6 can open???


-- 
|  ~^~   ~^~
|  ?   ? Joe (theWordy) Philbrook
|  ^  J(tWdy)P
|\___/ jtw...@ttlc.net



Re: hyperref support and babel-spanish commands conflict

2009-03-08 Thread Ignacio García
2009/3/7, Uwe Stöhr :
> Ignacio García schrieb:
>
>> When I check the hyperref support in LyX document setting, the
>> spanish.ldf user options don't work. babel is loaded before.
>>
>> However, if I insert manually hyperref in the LyX latex preamble,
>> spanish user commands work now. babel is loaded after.
>
> This doesn't work for me, see below. Can you send me please an example LyX
> file?

You are right. Here it compiles because there was my stupid error: I
have loaded hyperref but I had not used it in the document. Inserting
a simple hyperlink, KO. (But this method works in 1.5.5)

> The problem is that hyperref has to be loaded _after_ babel. Unfortunately
> Spanish support is a bit
> different that any other babel language support.

Oh yes, I know very well! :-)

> I think I read recently that the Spanish babel
> maintainer will change this or perhaps has already changed it in the latest
> babel release.

I have the last version... As the author has just opened a new forum,
there I shall raise this issue.

>
>> Here is the relevant latex output in both cases:
>>
>> Hyperref loaded in LyX document setting:
>>
>>  \documentclass[spanish]{article}
>>  \usepackage[T1]{fontenc}
>>  \usepackage[latin9]{inputenc}
>>  \usepackage{babel}
>>
>>  \usepackage[unicode=true, pdfusetitle,
>>   bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
>>   breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false]
>>   {hyperref}
>>
>>  %% User specified LaTeX commands.
>>  \def\spanishoptions{es-minimal}
>>
>>  \begin{document}
>
> Hmm, that woks/compiles here.
>
>> Hyperref loaded in LyX latex preamble:

Yes, it works/compiles for me too, but {es-minimal} doesn't work. (see
sample please)

>>
>>  \documentclass[spanish]{article}
>>  \usepackage[T1]{fontenc}
>>  \usepackage[latin9]{inputenc}
>>
>>  %% User specified LaTeX commands.
>>  \def\spanishoptions{es-minimal}
>>  \usepackage[unicode=true, pdfusetitle,
>>   bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
>>   breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false]
>>   {hyperref}
>>
>>  \usepackage{babel}
>>
>>  \begin{document}
>
> This doesn't compile here, because babel must be loaded _before_
> \def\spanishoptions{es-minimal},
> because otherwise \spanishoptions is not defined.

Is that related with the order in tex file? See you please sample.lyx file.

Thanks a lot!
Regards
 Ignacio


Re: hyperref support and babel-spanish commands conflict

2009-03-08 Thread Ignacio García
2009/3/8, Ignacio García :

> See you please sample.lyx file.

Where is it!?
Sorry
Regards
Ignacio


sample.lyx
Description: application/lyx


Cyrillic formatted text in mathmode

2009-03-08 Thread neGODnick
Hi!

We have mathtext package to write russian in math mode. By default russian 
letters are upright, but we can say:

\DeclareSymbolFont{T2Aletters}{T2A}{cmr}{m}{it}

аnd make them italic (or slanted etc.). That is very important possibility, but 
in LyX it doesn't work! No effect! I think, the occasion is in LyX code, which 
programm adds into document:

\declarerobustcommand{\lyxmathsym}[1]{\ifmmode\begingroup\de...@ld{bold}
  \def\rmorbf##1{\ifx\m...@version\b@ld\textbf{##1}\else\textrm{##1}\fi}
  \mathchoice{\hbox{\rmorbf{#1}}}{\hbox{\rmorbf{#1}}}
  {\hbox{\smaller[2]\rmorbf{#1}}}{\hbox{\smaller[3]\rmorbf{#1}}}
  \endgroup\else#1\fi}

but I don't know, how to resolve this problem. Russian text in formulae LyX 
writes as $\lyxmathsym{«Эптнц»}$. Could you help me to fix it?

Best regards, neGODnick



Re: Can't preview using pdflatex

2009-03-08 Thread Paul A. Rubin

Cy. T. wrote:

After I clicked "Reconfigure" under "Tools", I can no longer use the
PDF preview function.

The error message is simply

"Auto-view file C:/(filename) failed".

Any hint?


You didn't specify an OS, but it appears to be Windows.  I don't know 
what clobbered "auto" viewing mode when you reconfigured, but you can 
try the following fix:


1.  Take a look in the LyX bin directory and make sure that pdfview.exe, 
pdfopen.exe and pdfclose.exe are present.  (LyX should have installed them.)


2.  Go to Tools > Preferences... > File Handling > File formats, select 
each of the PDF variants you use, change the Viewer: field to 'pdfview' 
(without the quotes), and save the changes.


/Paul



Re: Can't preview using pdflatex

2009-03-08 Thread Paul A. Rubin
Sorry, cut that last reply a bit short.  I'm not sure if pdfview works 
with PDF readers other than Acrobat.  If you're using a non-Adobe 
reader, you should put the command for that reader into the Viewer: 
field, and add the path to the reader to Tools > Preferences... > Paths 
> PATH prefix (unless the reader's directory is already on the system 
command path).  You only need pdfview if you're using Acrobat Reader.


/Paul



Re: Very frequent crashes in 1.6.1 (with loss of work)

2009-03-08 Thread Pavel Sanda
Van Damme Michael wrote:
> since I like lyx I will invest time to try to find out which package is the 
> cause.

please do then. it could help in the similar cases too...
pavel


Re: Very frequent crashes in 1.6.1 (with loss of work)

2009-03-08 Thread James Mansion

Van Damme Michael wrote:

I have downloaded version 1.6.2svn (from the svn server) and tried it, but the 
problem remains.
  
Is is quick enough to reproduce (or you comuputer fast enough) to run 
Lyx under valgrind until you hit the problem?


James



re:Re: Very frequent crashes in 1.6.1 (with loss of work)

2009-03-08 Thread Van Damme Michael
>> I have downloaded version 1.6.2svn (from the svn server) and tried it, but 
>> the problem remains.
>>   
>Is is quick enough to reproduce (or you comuputer fast enough) to run 
>Lyx under valgrind until you hit the problem?
>
>James

I've never used valgrind, but it is quick to reproduce. When my thesis is 
finished I'll look into it.

Michael





Re: Very frequent crashes in 1.6.1 (with loss of work)

2009-03-08 Thread rgheck

Van Damme Michael wrote:

I have downloaded version 1.6.2svn (from the svn server) and tried it, but the 
problem remains.
  
  
Is is quick enough to reproduce (or you comuputer fast enough) to run 
Lyx under valgrind until you hit the problem?


James



I've never used valgrind, but it is quick to reproduce. When my thesis is 
finished I'll look into it.

  

I'll have a look at this under one of my Fedora 10 machines.

rh



Chapter with no numbering

2009-03-08 Thread Mehrdad
 

Hallo all thank you very much for all the help to my previous questions. I
have a new one again: 

 

 I use report style, and I want to add multiple appendices to my text so: 

 

Appendix A, B, etc.

 

SO I used to Chapter* option for them, but when I add a figure, formula or
anything else with caption, it uses the numbering of the previous numbered
chapter! How can I go around this problem? 

 

Thanks



Re: Very frequent crashes in 1.6.1 (with loss of work)

2009-03-08 Thread Steve Litt
On Sunday 08 March 2009 11:48:57 am James Mansion wrote:
> Van Damme Michael wrote:
> > I have downloaded version 1.6.2svn (from the svn server) and tried it,
> > but the problem remains.
>
> Is is quick enough to reproduce (or you comuputer fast enough) to run
> Lyx under valgrind until you hit the problem?

I should have thought of that!

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US



Error message

2009-03-08 Thread Marco Sommella
Hi,

I'm new J.

I'm using Lyx 1.6.1 on windows vista and have installed Highlight 2.7 for
external source code following the wiki.

 

During pdflatex creation i obtain this error:

 

...std{opt\ }\hlsym{/}\hlstd{proc}\Righttorque

\\

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.

 

I don't understand this error what meens and how to fix this !!!

Someone can plz help ?

Tnx

 

-- 

Marco Sommella

 



Re: Cyrillic formatted text in mathmode

2009-03-08 Thread Uwe Stöhr

neGODnick schrieb:

We have mathtext package to write russian in math mode. By default russian 
letters are upright, but we can say:


\DeclareSymbolFont{T2Aletters}{T2A}{cmr}{m}{it}


Can you send a small example LyX file, because when I use this command, I get a LaTeX error that T2A 
is unknown. Do you have some special Cyrillic packages installed that makes it available? (I'm 
asking because I can successfully compile LyX's Russian and Ukrainian documentation files.)


аnd make them italic (or slanted etc.). That is very important possibility, but 
in LyX it doesn't work! No effect! I think, the occasion is in LyX code, which 
programm adds into document:


\declarerobustcommand{\lyxmathsym}[1]{\ifmmode\begingroup\de...@ld{bold}
  \def\rmorbf##1{\ifx\m...@version\b@ld\textbf{##1}\else\textrm{##1}\fi}
  \mathchoice{\hbox{\rmorbf{#1}}}{\hbox{\rmorbf{#1}}}
  {\hbox{\smaller[2]\rmorbf{#1}}}{\hbox{\smaller[3]\rmorbf{#1}}}
  \endgroup\else#1\fi}

but I don't know, how to resolve this problem. Russian text in formulae LyX 
writes as $\lyxmathsym{«Эптнц»}$. Could you help me to fix it?


It should work when you add the Cyrillic characters to math text (shortcut Alt+M M) like in the 
attached example. Because without  being in math text you would get LaTeX errors because math in 
LaTeX was not designed to have a certain language and use characters that are not math characters.


regards Uwe


newfile2.lyx
Description: application/lyx


lyx2lyx script failed... lyx 1.6.1 >>lyx 1.5.6

2009-03-08 Thread Joe(theWordy)Philbrook

Hello. I happen to like lyx. for lots of things. But I need to be able
to access my documents via more than one computer. Not all of which
are easy to upgrade to newer software versions.

One of my computers is running lyx 1.6.1 on which I recently wrote a
couple of documents. Then I had occasion to modify one of the .lyx files 
on a different linux box.  But the available version of lyx was only
1.5.6 and when I tried to open the document I was informed that it had
been created by a different version of lyx. And that the lyx2lyx script
had failed. 

I'm reasonably certain I hadn't used any new advanced features from
ver 1.6.1 that ver 1.5.6 doesn't have. I started with a short document
that was created on ver 1.5.6 (or earlier)... Which I had opened with
ver 1.6.1 deleted a line. Added text to about 5 existing lines which i
modified the color of. Then inserted a few paragraphs of text. And did
a "Save As" new name. So I was a bit surprised that version 1.5.6
couldn't open the resulting document.

Is there a way to tell lyx 1.6.1 to save in an older lyx format?

OR is there a conversion script that can convert a (lyx version 1.6.1).lyx  
file into something lyx 1.5.6 can open???


-- 
|  ~^~   ~^~
|  Joe (theWordy) Philbrook
|  ^  J(tWdy)P
|\___/ <>