Re: How do I avoid luatex defaults?

2011-04-04 Thread Jürgen Spitzmüller
Anthony Campbell wrote:
 I haven't used LyX for some time and when I did so today I found that it
 was using luatex as the default for exporting pdf files. This produced
 errors. I evntually found how to return to the previous choice
 (pdflatex) but is there any way to configure LyX to use the previous
 representation of choices fir File - Export? I couldn't find anything
 in Preferences.

How did you export? Via the command line?

Jürgen


Re: How do I avoid luatex defaults?

2011-04-04 Thread Anthony Campbell
On 04 Apr 2011, Jürgen Spitzmüller wrote:
 Anthony Campbell wrote:
  I haven't used LyX for some time and when I did so today I found that it
  was using luatex as the default for exporting pdf files. This produced
  errors. I evntually found how to return to the previous choice
  (pdflatex) but is there any way to configure LyX to use the previous
  representation of choices fir File - Export? I couldn't find anything
  in Preferences.
 
 How did you export? Via the command line?
 
 Jürgen

Via the menu (File  Export). This initially offers me pdf(luatex).
I now have to go to More Options to find pdf(ps2pdf). Not a major
problem, of course, but I preferred the previous arrangement.


Anthony

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: How do I avoid luatex defaults?

2011-04-04 Thread Jürgen Spitzmüller
Anthony Campbell wrote:
 Via the menu (File  Export). This initially offers me pdf(luatex).
 I now have to go to More Options to find pdf(ps2pdf). Not a major
 problem, of course, but I preferred the previous arrangement.

This isn't supposed to be so. Do you have any special settings for this 
document, e.g. Use non_TeX fonts?

Or do you have customized file format preferences? Try if temporarily renaming 
the files preferences and/or lyxrc.defaults helps. 

Jürgen


Re: Translations of Math environments in LyX output - last call for LyX 2.0

2011-04-04 Thread Vincent van Ravesteijn

On 31-3-2011 10:07, Pavel Sanda wrote:

Dear Pavel,

I've translated the Dutch list. I'm not sure if they are all correct since I'm 
no mathematician, and the math that I do do is usually in English, but I hope 
it helps.

I believe Vincent have seen some Dutch math text and can check it?

I'm Dutch, and I read mathematical texts, but I never read a 
mathematical text in Dutch since the first year's course on math some 14 
years ago.



Kind regards,
Rick Blok

Translation nl
 Acknowledgement Erkenning
 Algorithm Algoritme
 Assumption Aanname
 Axiom Axioma
 Case Casus
 Chart Grafiek
 Claim Claim
 Conclusion Conclusie
 Condition Conditie
 Conjecture Conjectuur
 Corollary Corollary
 Criterion Criterium
 Definition Definitie
 Example Voorbeeld
 Exercise Oefening
 Fact Feit
 Figure Figuur
 Graph Grafiek
 Lemma Lemma
 List of Algorithms Lijst van Algorithmen

Algorithmen - Algoritmen.


 List of Charts Lijst van Grafieken
 List of Figures Lijst van Figuren
 List of Graphs Lijst van Grafieken
 List of Schemes List van Schema's

List - Lijst.

For some of the others, I never have seen them in English, so I think 
any translation will be ok with me.


Vincent


Re: How do I avoid luatex defaults?

2011-04-04 Thread Anthony Campbell
On 04 Apr 2011, Jürgen Spitzmüller wrote:
 Anthony Campbell wrote:
  Via the menu (File  Export). This initially offers me pdf(luatex).
  I now have to go to More Options to find pdf(ps2pdf). Not a major
  problem, of course, but I preferred the previous arrangement.
 
 This isn't supposed to be so. Do you have any special settings for this 
 document, e.g. Use non_TeX fonts?
 
 Or do you have customized file format preferences? Try if temporarily 
 renaming 
 the files preferences and/or lyxrc.defaults helps. 
 
 Jürgen

Thanks for your help.

Yes, moving Preferences aside makes things work correctly. I can't see
anything in the file that is relevant. One odd thing: whether
Preferences is there or not, the following error lines occur:


arcadia:$ LyX: Unknown tag `-lpf' [around line 13 of file ~/.lyx/lyxrc.defaults 
current token: '-lpf' context: '']
LyX: Unknown tag `$$i' [around line 13 of file ~/.lyx/lyxrc.defaults current 
token: '$$i' context: '']
LyX: Unknown tag `-mode' [around line 13 of file ~/.lyx/lyxrc.defaults current 
token: '-mode' context: '']
LyX: Unknown tag `EditPosition' [around line 14 of file ~/.lyx/lyxrc.defaults 
current token: 'EditPosition' context: '']


The relevant lines in lyxrc.defaults are:


\Format diadia DIA auto auto  vector
\Format agragr Grace   auto auto  vector
\editor_alternatives fen xboard -lpf $$i -mode EditPosition

Not sure what that means or whether it natters.

Anthony

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: How do I avoid luatex defaults?

2011-04-04 Thread Jürgen Spitzmüller
Anthony Campbell wrote:
 Thanks for your help.
 
 Yes, moving Preferences aside makes things work correctly. I can't see
 anything in the file that is relevant. 

I suppose the following note from the 2.0 RELEASE_NOTES is relevant:

We have introduced a new flag to decide whether or not a given document
format shall be listed in the File  Export menu. This was necessary since
this menu got too large. If the flag menu=export is not explicitly set,
the formats are not included in the menu. This means that you might need
to click Show in export menu in Preferences  File Formats for your
customized file formats if you want them to appear in the menu.
Note, though, that you still can export to any possible format via
File  Export  More Formats and Options ...

 One odd thing: whether
 Preferences is there or not, the following error lines occur:
 
 
 arcadia:$ LyX: Unknown tag `-lpf' [around line 13 of file
 ~/.lyx/lyxrc.defaults current token: '-lpf' context: ''] LyX: Unknown tag
 `$$i' [around line 13 of file ~/.lyx/lyxrc.defaults current token: '$$i'
 context: ''] LyX: Unknown tag `-mode' [around line 13 of file
 ~/.lyx/lyxrc.defaults current token: '-mode' context: ''] LyX: Unknown tag
 `EditPosition' [around line 14 of file ~/.lyx/lyxrc.defaults current
 token: 'EditPosition' context: '']
 
 
 The relevant lines in lyxrc.defaults are:
 
 
 \Format diadia DIA
 auto auto  vector \Format
 agragr Grace   auto auto  vector
 \editor_alternatives fen xboard -lpf $$i -mode EditPosition
 
 Not sure what that means or whether it natters.

I believe the problem is that xboard -lpf $$i -mode EditPosition is not 
enquoted. I'll have a look.

Jürgen


Re: How do I avoid luatex defaults?

2011-04-04 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:
  One odd thing: whether
 
  Preferences is there or not, the following error lines occur:
  
  
 
  arcadia:$ LyX: Unknown tag `-lpf' [around line 13 of file
  ~/.lyx/lyxrc.defaults current token: '-lpf' context: ''] LyX: Unknown tag
  `$$i' [around line 13 of file ~/.lyx/lyxrc.defaults current token: '$$i'
  context: ''] LyX: Unknown tag `-mode' [around line 13 of file
  ~/.lyx/lyxrc.defaults current token: '-mode' context: ''] LyX: Unknown
  tag `EditPosition' [around line 14 of file ~/.lyx/lyxrc.defaults current
  token: 'EditPosition' context: '']
 
  
  
 
  The relevant lines in lyxrc.defaults are:
  
  
 
  \Format diadia DIA
  auto auto  vector \Format
  agragr Grace   auto auto  vector
  \editor_alternatives fen xboard -lpf $$i -mode EditPosition
 
  
 
  Not sure what that means or whether it natters.
 
 I believe the problem is that xboard -lpf $$i -mode EditPosition is not 
 enquoted. I'll have a look.

An error in the parser. This will be fixed in the next release.

Jürgen


Re: How do I avoid luatex defaults?

2011-04-04 Thread Anthony Campbell
On 04 Apr 2011, Jürgen Spitzmüller wrote:
 Anthony Campbell wrote:
  Thanks for your help.
  
  Yes, moving Preferences aside makes things work correctly. I can't see
  anything in the file that is relevant. 
 
 I suppose the following note from the 2.0 RELEASE_NOTES is relevant:
 
 We have introduced a new flag to decide whether or not a given document
 format shall be listed in the File  Export menu. This was necessary since
 this menu got too large. If the flag menu=export is not explicitly set,
 the formats are not included in the menu. This means that you might need
 to click Show in export menu in Preferences  File Formats for your
 customized file formats if you want them to appear in the menu.
 Note, though, that you still can export to any possible format via
 File  Export  More Formats and Options ...
 
  One odd thing: whether
  Preferences is there or not, the following error lines occur:
  
  
  arcadia:$ LyX: Unknown tag `-lpf' [around line 13 of file
  ~/.lyx/lyxrc.defaults current token: '-lpf' context: ''] LyX: Unknown tag
  `$$i' [around line 13 of file ~/.lyx/lyxrc.defaults current token: '$$i'
  context: ''] LyX: Unknown tag `-mode' [around line 13 of file
  ~/.lyx/lyxrc.defaults current token: '-mode' context: ''] LyX: Unknown tag
  `EditPosition' [around line 14 of file ~/.lyx/lyxrc.defaults current
  token: 'EditPosition' context: '']
  
  
  The relevant lines in lyxrc.defaults are:
  
  
  \Format diadia DIA
  auto auto  vector \Format
  agragr Grace   auto auto  vector
  \editor_alternatives fen xboard -lpf $$i -mode EditPosition
  
  Not sure what that means or whether it natters.
 
 I believe the problem is that xboard -lpf $$i -mode EditPosition is not 
 enquoted. I'll have a look.
 
 Jürgen

Many thanks.

Anthony

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: Translations of Math environments in LyX output - last call for LyX 2.0

2011-04-04 Thread Richard Heck

On 04/04/2011 04:27 AM, Vincent van Ravesteijn wrote:

On 31-3-2011 10:07, Pavel Sanda wrote:

Dear Pavel,

I've translated the Dutch list. I'm not sure if they are all correct 
since I'm no mathematician, and the math that I do do is usually in 
English, but I hope it helps.

I believe Vincent have seen some Dutch math text and can check it?

I'm Dutch, and I read mathematical texts, but I never read a 
mathematical text in Dutch since the first year's course on math some 
14 years ago.


If we need help with this, I know someone in Utrecht who would probably 
be happy to look at these.


Richard




Translation nl
 Acknowledgement Erkenning
 Algorithm Algoritme
 Assumption Aanname
 Axiom Axioma
 Case Casus
 Chart Grafiek
 Claim Claim
 Conclusion Conclusie
 Condition Conditie
 Conjecture Conjectuur
 Corollary Corollary
 Criterion Criterium
 Definition Definitie
 Example Voorbeeld
 Exercise Oefening
 Fact Feit
 Figure Figuur
 Graph Grafiek
 Lemma Lemma
 List of Algorithms Lijst van Algorithmen

Algorithmen - Algoritmen.


 List of Charts Lijst van Grafieken
 List of Figures Lijst van Figuren
 List of Graphs Lijst van Grafieken
 List of Schemes List van Schema's

List - Lijst.




How to disable automativally loaded packages iin lyx?

2011-04-04 Thread Csikos Bela
Dear lyx users:

I would like to prevent loading or disable loaded package in lyx 1.6.9, linux 
version.

My problem is:

I want to use floatrow package, and I inserted \usepackage{floatrow} in the 
preamble. When I insert a float with setting place it here definitely lyx 
automatically loads the float. This leads to error messages during pdf 
creation.
I do not need float package as I use the floatrow package.

Is there a way to disable the float package or prevent its loading?

Thanks,

bcsikos425




Re: How to disable automativally loaded packages iin lyx?

2011-04-04 Thread Richard Heck

On 04/04/2011 01:43 PM, Csikos Bela wrote:

Dear lyx users:

I would like to prevent loading or disable loaded package in lyx 1.6.9, linux 
version.

My problem is:

I want to use floatrow package, and I inserted \usepackage{floatrow} in the preamble. When I insert 
a float with setting place it here definitely lyx automatically loads the 
float. This leads to error messages during pdf creation.
I do not need float package as I use the floatrow package.

Is there a way to disable the float package or prevent its loading?


Probably it will work to add a line like:
Provides float 1
to some layout file you are using.

Richard



Re: Probem compiling to pdf

2011-04-04 Thread stephen's mailinglist account
On 4 April 2011 09:02, Sam faye.sam...@gmail.com wrote:
 It happens to all my files I created previously on my mac. It is OK for with
 the files I created on the PC.

 There is no any strange thing happening or showing any error. It just
 freezes when I try to compile it.

So the files open.
Can you edit them without compiling?
Is there a difference between the TeX versions used on windows and mac
and the packages needed for your files?
Which version of lyx did you use on mac?

-- 
Stephen


Forward search w/ okular (KDE).

2011-04-04 Thread Rudi Gaelzer
Reverse/Forward search works well with lyx2.0rc2 and texlive 2010.
I've only found a small glitch with Forward search.  On Tools - Preferences -
 Output, I set the DVI/PDF command: okular --unique file:$$o#src:$$n $$t
Now, everytime I execute a forward search, a new okular window opens, at the 
correct position.
Removing the --unique option has no effect.

Is this the expected behaviour?
Thaks.
-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


Re: LyX2.0RC2--Outline window stuck under menubar

2011-04-04 Thread David J. Bursik
Try going into Spaces and locating the workspace that contains the LyX windows. 
If the Outline window is visible on top of the main LyX window, then use the 
mouse to click and drag to move it further down on the screen.

If the LyX window obscures the Outline window, try moving the LyX window down 
until the Outline window is visible and then grab and move the Outline window.

When you're done, just click (and release) on the workspace containing LyX and 
reposition the windows as desired (in the normal way).

 Hi,
 
 The Outline window is stuck under my menubar. Quitting / Restarting LyX does 
 not fix. The Outline opens stuck again.
 
 Any ideas.
 
 Thanks!
 ~greg
 
 (Mac 10.5, LyX2.0RC2)

David J. Bursik
bur...@cs.virginia.edu






LaTeX question w.r.t \input@path

2011-04-04 Thread Hellmut Weber
Hi list,
recently in another post I found the internal LaTeX macro

  \input@path

mentioned. Putting this (surrounded by \makeatletter and \makeatother)
in an ERT eventually gives me the correct path to my LyX document as
string in the document.

S many thanks to the poster of that other message (soem days ago) !

Here is now my question to the LaTeX gurus:
How can I define a LaTeX macro which gives me the END of the string
delivered by \input@path?
To give a concrete example: When I open document test-01.lyx with LyX in
the directory

   /home/leo/leo/Tests/Lyx-Tests/Inputpath/blam

and compile my document it shows the correct path

   /home/leo/leo/Tests/Lyx-Tests/Inputpath/blam/

Fine.

What I would like to derive from this string is
   /.../Lyx-Tests/Inputpath/blam/ ;-)
See what I mean?

My LaTeX experience told me the need for \makeat...,
but this transformation I'm not able to do in LaTeX.


Any help appreciated


Cheers

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: LaTeX question w.r.t \input@path

2011-04-04 Thread Julien Rioux

On 04/04/2011 3:47 PM, Hellmut Weber wrote:

Hi list,
recently in another post I found the internal LaTeX macro

   \input@path

mentioned. Putting this (surrounded by \makeatletter and \makeatother)
in an ERT eventually gives me the correct path to my LyX document as
string in the document.

S many thanks to the poster of that other message (soem days ago) !

Here is now my question to the LaTeX gurus:
How can I define a LaTeX macro which gives me the END of the string
delivered by \input@path?
To give a concrete example: When I open document test-01.lyx with LyX in
the directory

/home/leo/leo/Tests/Lyx-Tests/Inputpath/blam

and compile my document it shows the correct path

/home/leo/leo/Tests/Lyx-Tests/Inputpath/blam/

Fine.

What I would like to derive from this string is
/.../Lyx-Tests/Inputpath/blam/ ;-)
See what I mean?

My LaTeX experience told me the need for \makeat...,
but this transformation I'm not able to do in LaTeX.


Any help appreciated


Cheers

Hellmut




kludge solution, if you know how deep your paths are:

\def\removeprefixx/#1/#2/#3/#4/#5{Your path is /.../#5}
\def\removeprefix#1{\expandafter\removeprefixx#1}

\removeprefix{\input@path}

--
Julien



Re: LyX2.0RC2--Outline window stuck under menubar

2011-04-04 Thread Greg Kise

Thanks again for your help!

Uninstalling and reinstalling LyX resolved the problem. The Outline  
window is now functioning like a (mostly) normal window now.


Cheers!
~g


Re: LaTeX question w.r.t \input@path

2011-04-04 Thread Julien Rioux

On 04/04/2011 5:32 PM, Julien Rioux wrote:

On 04/04/2011 3:47 PM, Hellmut Weber wrote:

Hi list,
recently in another post I found the internal LaTeX macro

\input@path

mentioned. Putting this (surrounded by \makeatletter and \makeatother)
in an ERT eventually gives me the correct path to my LyX document as
string in the document.

S many thanks to the poster of that other message (soem days
ago) !

Here is now my question to the LaTeX gurus:
How can I define a LaTeX macro which gives me the END of the string
delivered by \input@path?
To give a concrete example: When I open document test-01.lyx with LyX in
the directory

/home/leo/leo/Tests/Lyx-Tests/Inputpath/blam

and compile my document it shows the correct path

/home/leo/leo/Tests/Lyx-Tests/Inputpath/blam/

Fine.

What I would like to derive from this string is
/.../Lyx-Tests/Inputpath/blam/ ;-)
See what I mean?

My LaTeX experience told me the need for \makeat...,
but this transformation I'm not able to do in LaTeX.


Any help appreciated


Cheers

Hellmut




kludge solution, if you know how deep your paths are:

\def\removeprefixx/#1/#2/#3/#4/#5{Your path is /.../#5}
\def\removeprefix#1{\expandafter\removeprefixx#1}

\removeprefix{\input@path}



(...will not work with windows-style paths.
If you need that remove the leading / after removeprefixx)

--
Julien



Re: LaTeX question w.r.t \input@path

2011-04-04 Thread Richard Heck

On 04/04/2011 05:32 PM, Julien Rioux wrote:


kludge solution, if you know how deep your paths are:

\def\removeprefixx/#1/#2/#3/#4/#5{Your path is /.../#5}
\def\removeprefix#1{\expandafter\removeprefixx#1}

Can you explain the point of the \expandafter? I see this often, but 
don't understand it.


rh



Re: Translations of Math environments in LyX output - last call for LyX 2.0

2011-04-04 Thread Pavel Sanda
Rudi Gaelzer wrote:
 Dear Pavel.
 Concerning the translation to brazilian portuguese, your structure works with 
 your template file (localization_test_1.lyx), which employs the Theorems 
 (AMS) 
 and Theorems (AMS-Extended ) modules.
 However, when I try the numbered by type modules, I detect the same problems 
 I 
 already mentioned in my previous threads:
 
 http://marc.info/?l=lyx-usersm=129906928518220w=2
 http://marc.info/?l=lyx-develm=129908385103894w=2
 
 Several environments are not translated neither at the GUI nor at the PDF 
 output.
 
 I've modified your template to pt_br and replaced the standard AMS modules by 
 the numbered AMS modules and attached both the lyx and the pdf files, so that 
 you can compare your output with mine.

you attached wrong document, because its identical to the previous one...
anyway i can reproduce your problem. it seems that our mechanism is not working
for all AMS modules. Georg?


 Moreover, I would like to suggest some different translations that should 
 sound better in brazilian portuguese (in fact, they don't even appear in 
 modern dictionaries of pt_br):
 
 Assumption = Suposiç?o
 Fact = Fato

this is some speculative translation or clear case? (i really can't judge this 
:)

pavel


Re: LaTeX question w.r.t \input@path

2011-04-04 Thread Julien Rioux

On 04/04/2011 5:54 PM, Richard Heck wrote:

On 04/04/2011 05:32 PM, Julien Rioux wrote:


kludge solution, if you know how deep your paths are:

\def\removeprefixx/#1/#2/#3/#4/#5{Your path is /.../#5}
\def\removeprefix#1{\expandafter\removeprefixx#1}


Can you explain the point of the \expandafter? I see this often, but
don't understand it.

rh



\expandafter\foo\bar tells TeX to expand \bar before expanding \foo

in this case:

first,
expand \input@path to /home/leo/leo/Tests/Lyx-Tests/Inputpath/blam

second,
parse /home/leo/leo/Tests/Lyx-Tests/Inputpath/blam using /#1/#2/#3/#4/#5



plug: Linux Journal post

2011-04-04 Thread Michael Reed
I managed to give RC2 a quick mention on the LJ site. Can't wait to get stuck 
into some proper reviews on release.  Keep up the good work devs.

http://www.linuxjournal.com/content/lyx-devs-release-first-20-release-candidate

-- 
http://www.unmusic.co.uk/ Michael Reed -- technology, gender and geek culture 
freelance writer. 




Re: How do I avoid luatex defaults?

2011-04-04 Thread Jürgen Spitzmüller
Anthony Campbell wrote:
 I haven't used LyX for some time and when I did so today I found that it
 was using luatex as the default for exporting pdf files. This produced
 errors. I evntually found how to return to the previous choice
 (pdflatex) but is there any way to configure LyX to use the previous
 representation of choices fir File - Export? I couldn't find anything
 in Preferences.

How did you export? Via the command line?

Jürgen


Re: How do I avoid luatex defaults?

2011-04-04 Thread Anthony Campbell
On 04 Apr 2011, Jürgen Spitzmüller wrote:
 Anthony Campbell wrote:
  I haven't used LyX for some time and when I did so today I found that it
  was using luatex as the default for exporting pdf files. This produced
  errors. I evntually found how to return to the previous choice
  (pdflatex) but is there any way to configure LyX to use the previous
  representation of choices fir File - Export? I couldn't find anything
  in Preferences.
 
 How did you export? Via the command line?
 
 Jürgen

Via the menu (File  Export). This initially offers me pdf(luatex).
I now have to go to More Options to find pdf(ps2pdf). Not a major
problem, of course, but I preferred the previous arrangement.


Anthony

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: How do I avoid luatex defaults?

2011-04-04 Thread Jürgen Spitzmüller
Anthony Campbell wrote:
 Via the menu (File  Export). This initially offers me pdf(luatex).
 I now have to go to More Options to find pdf(ps2pdf). Not a major
 problem, of course, but I preferred the previous arrangement.

This isn't supposed to be so. Do you have any special settings for this 
document, e.g. Use non_TeX fonts?

Or do you have customized file format preferences? Try if temporarily renaming 
the files preferences and/or lyxrc.defaults helps. 

Jürgen


Re: Translations of Math environments in LyX output - last call for LyX 2.0

2011-04-04 Thread Vincent van Ravesteijn

On 31-3-2011 10:07, Pavel Sanda wrote:

Dear Pavel,

I've translated the Dutch list. I'm not sure if they are all correct since I'm 
no mathematician, and the math that I do do is usually in English, but I hope 
it helps.

I believe Vincent have seen some Dutch math text and can check it?

I'm Dutch, and I read mathematical texts, but I never read a 
mathematical text in Dutch since the first year's course on math some 14 
years ago.



Kind regards,
Rick Blok

Translation nl
 Acknowledgement Erkenning
 Algorithm Algoritme
 Assumption Aanname
 Axiom Axioma
 Case Casus
 Chart Grafiek
 Claim Claim
 Conclusion Conclusie
 Condition Conditie
 Conjecture Conjectuur
 Corollary Corollary
 Criterion Criterium
 Definition Definitie
 Example Voorbeeld
 Exercise Oefening
 Fact Feit
 Figure Figuur
 Graph Grafiek
 Lemma Lemma
 List of Algorithms Lijst van Algorithmen

Algorithmen - Algoritmen.


 List of Charts Lijst van Grafieken
 List of Figures Lijst van Figuren
 List of Graphs Lijst van Grafieken
 List of Schemes List van Schema's

List - Lijst.

For some of the others, I never have seen them in English, so I think 
any translation will be ok with me.


Vincent


Re: How do I avoid luatex defaults?

2011-04-04 Thread Anthony Campbell
On 04 Apr 2011, Jürgen Spitzmüller wrote:
 Anthony Campbell wrote:
  Via the menu (File  Export). This initially offers me pdf(luatex).
  I now have to go to More Options to find pdf(ps2pdf). Not a major
  problem, of course, but I preferred the previous arrangement.
 
 This isn't supposed to be so. Do you have any special settings for this 
 document, e.g. Use non_TeX fonts?
 
 Or do you have customized file format preferences? Try if temporarily 
 renaming 
 the files preferences and/or lyxrc.defaults helps. 
 
 Jürgen

Thanks for your help.

Yes, moving Preferences aside makes things work correctly. I can't see
anything in the file that is relevant. One odd thing: whether
Preferences is there or not, the following error lines occur:


arcadia:$ LyX: Unknown tag `-lpf' [around line 13 of file ~/.lyx/lyxrc.defaults 
current token: '-lpf' context: '']
LyX: Unknown tag `$$i' [around line 13 of file ~/.lyx/lyxrc.defaults current 
token: '$$i' context: '']
LyX: Unknown tag `-mode' [around line 13 of file ~/.lyx/lyxrc.defaults current 
token: '-mode' context: '']
LyX: Unknown tag `EditPosition' [around line 14 of file ~/.lyx/lyxrc.defaults 
current token: 'EditPosition' context: '']


The relevant lines in lyxrc.defaults are:


\Format diadia DIA auto auto  vector
\Format agragr Grace   auto auto  vector
\editor_alternatives fen xboard -lpf $$i -mode EditPosition

Not sure what that means or whether it natters.

Anthony

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: How do I avoid luatex defaults?

2011-04-04 Thread Jürgen Spitzmüller
Anthony Campbell wrote:
 Thanks for your help.
 
 Yes, moving Preferences aside makes things work correctly. I can't see
 anything in the file that is relevant. 

I suppose the following note from the 2.0 RELEASE_NOTES is relevant:

We have introduced a new flag to decide whether or not a given document
format shall be listed in the File  Export menu. This was necessary since
this menu got too large. If the flag menu=export is not explicitly set,
the formats are not included in the menu. This means that you might need
to click Show in export menu in Preferences  File Formats for your
customized file formats if you want them to appear in the menu.
Note, though, that you still can export to any possible format via
File  Export  More Formats and Options ...

 One odd thing: whether
 Preferences is there or not, the following error lines occur:
 
 
 arcadia:$ LyX: Unknown tag `-lpf' [around line 13 of file
 ~/.lyx/lyxrc.defaults current token: '-lpf' context: ''] LyX: Unknown tag
 `$$i' [around line 13 of file ~/.lyx/lyxrc.defaults current token: '$$i'
 context: ''] LyX: Unknown tag `-mode' [around line 13 of file
 ~/.lyx/lyxrc.defaults current token: '-mode' context: ''] LyX: Unknown tag
 `EditPosition' [around line 14 of file ~/.lyx/lyxrc.defaults current
 token: 'EditPosition' context: '']
 
 
 The relevant lines in lyxrc.defaults are:
 
 
 \Format diadia DIA
 auto auto  vector \Format
 agragr Grace   auto auto  vector
 \editor_alternatives fen xboard -lpf $$i -mode EditPosition
 
 Not sure what that means or whether it natters.

I believe the problem is that xboard -lpf $$i -mode EditPosition is not 
enquoted. I'll have a look.

Jürgen


Re: How do I avoid luatex defaults?

2011-04-04 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:
  One odd thing: whether
 
  Preferences is there or not, the following error lines occur:
  
  
 
  arcadia:$ LyX: Unknown tag `-lpf' [around line 13 of file
  ~/.lyx/lyxrc.defaults current token: '-lpf' context: ''] LyX: Unknown tag
  `$$i' [around line 13 of file ~/.lyx/lyxrc.defaults current token: '$$i'
  context: ''] LyX: Unknown tag `-mode' [around line 13 of file
  ~/.lyx/lyxrc.defaults current token: '-mode' context: ''] LyX: Unknown
  tag `EditPosition' [around line 14 of file ~/.lyx/lyxrc.defaults current
  token: 'EditPosition' context: '']
 
  
  
 
  The relevant lines in lyxrc.defaults are:
  
  
 
  \Format diadia DIA
  auto auto  vector \Format
  agragr Grace   auto auto  vector
  \editor_alternatives fen xboard -lpf $$i -mode EditPosition
 
  
 
  Not sure what that means or whether it natters.
 
 I believe the problem is that xboard -lpf $$i -mode EditPosition is not 
 enquoted. I'll have a look.

An error in the parser. This will be fixed in the next release.

Jürgen


Re: How do I avoid luatex defaults?

2011-04-04 Thread Anthony Campbell
On 04 Apr 2011, Jürgen Spitzmüller wrote:
 Anthony Campbell wrote:
  Thanks for your help.
  
  Yes, moving Preferences aside makes things work correctly. I can't see
  anything in the file that is relevant. 
 
 I suppose the following note from the 2.0 RELEASE_NOTES is relevant:
 
 We have introduced a new flag to decide whether or not a given document
 format shall be listed in the File  Export menu. This was necessary since
 this menu got too large. If the flag menu=export is not explicitly set,
 the formats are not included in the menu. This means that you might need
 to click Show in export menu in Preferences  File Formats for your
 customized file formats if you want them to appear in the menu.
 Note, though, that you still can export to any possible format via
 File  Export  More Formats and Options ...
 
  One odd thing: whether
  Preferences is there or not, the following error lines occur:
  
  
  arcadia:$ LyX: Unknown tag `-lpf' [around line 13 of file
  ~/.lyx/lyxrc.defaults current token: '-lpf' context: ''] LyX: Unknown tag
  `$$i' [around line 13 of file ~/.lyx/lyxrc.defaults current token: '$$i'
  context: ''] LyX: Unknown tag `-mode' [around line 13 of file
  ~/.lyx/lyxrc.defaults current token: '-mode' context: ''] LyX: Unknown tag
  `EditPosition' [around line 14 of file ~/.lyx/lyxrc.defaults current
  token: 'EditPosition' context: '']
  
  
  The relevant lines in lyxrc.defaults are:
  
  
  \Format diadia DIA
  auto auto  vector \Format
  agragr Grace   auto auto  vector
  \editor_alternatives fen xboard -lpf $$i -mode EditPosition
  
  Not sure what that means or whether it natters.
 
 I believe the problem is that xboard -lpf $$i -mode EditPosition is not 
 enquoted. I'll have a look.
 
 Jürgen

Many thanks.

Anthony

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: Translations of Math environments in LyX output - last call for LyX 2.0

2011-04-04 Thread Richard Heck

On 04/04/2011 04:27 AM, Vincent van Ravesteijn wrote:

On 31-3-2011 10:07, Pavel Sanda wrote:

Dear Pavel,

I've translated the Dutch list. I'm not sure if they are all correct 
since I'm no mathematician, and the math that I do do is usually in 
English, but I hope it helps.

I believe Vincent have seen some Dutch math text and can check it?

I'm Dutch, and I read mathematical texts, but I never read a 
mathematical text in Dutch since the first year's course on math some 
14 years ago.


If we need help with this, I know someone in Utrecht who would probably 
be happy to look at these.


Richard




Translation nl
 Acknowledgement Erkenning
 Algorithm Algoritme
 Assumption Aanname
 Axiom Axioma
 Case Casus
 Chart Grafiek
 Claim Claim
 Conclusion Conclusie
 Condition Conditie
 Conjecture Conjectuur
 Corollary Corollary
 Criterion Criterium
 Definition Definitie
 Example Voorbeeld
 Exercise Oefening
 Fact Feit
 Figure Figuur
 Graph Grafiek
 Lemma Lemma
 List of Algorithms Lijst van Algorithmen

Algorithmen - Algoritmen.


 List of Charts Lijst van Grafieken
 List of Figures Lijst van Figuren
 List of Graphs Lijst van Grafieken
 List of Schemes List van Schema's

List - Lijst.




How to disable automativally loaded packages iin lyx?

2011-04-04 Thread Csikos Bela
Dear lyx users:

I would like to prevent loading or disable loaded package in lyx 1.6.9, linux 
version.

My problem is:

I want to use floatrow package, and I inserted \usepackage{floatrow} in the 
preamble. When I insert a float with setting place it here definitely lyx 
automatically loads the float. This leads to error messages during pdf 
creation.
I do not need float package as I use the floatrow package.

Is there a way to disable the float package or prevent its loading?

Thanks,

bcsikos425




Re: How to disable automativally loaded packages iin lyx?

2011-04-04 Thread Richard Heck

On 04/04/2011 01:43 PM, Csikos Bela wrote:

Dear lyx users:

I would like to prevent loading or disable loaded package in lyx 1.6.9, linux 
version.

My problem is:

I want to use floatrow package, and I inserted \usepackage{floatrow} in the preamble. When I insert 
a float with setting place it here definitely lyx automatically loads the 
float. This leads to error messages during pdf creation.
I do not need float package as I use the floatrow package.

Is there a way to disable the float package or prevent its loading?


Probably it will work to add a line like:
Provides float 1
to some layout file you are using.

Richard



Re: Probem compiling to pdf

2011-04-04 Thread stephen's mailinglist account
On 4 April 2011 09:02, Sam faye.sam...@gmail.com wrote:
 It happens to all my files I created previously on my mac. It is OK for with
 the files I created on the PC.

 There is no any strange thing happening or showing any error. It just
 freezes when I try to compile it.

So the files open.
Can you edit them without compiling?
Is there a difference between the TeX versions used on windows and mac
and the packages needed for your files?
Which version of lyx did you use on mac?

-- 
Stephen


Forward search w/ okular (KDE).

2011-04-04 Thread Rudi Gaelzer
Reverse/Forward search works well with lyx2.0rc2 and texlive 2010.
I've only found a small glitch with Forward search.  On Tools - Preferences -
 Output, I set the DVI/PDF command: okular --unique file:$$o#src:$$n $$t
Now, everytime I execute a forward search, a new okular window opens, at the 
correct position.
Removing the --unique option has no effect.

Is this the expected behaviour?
Thaks.
-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


Re: LyX2.0RC2--Outline window stuck under menubar

2011-04-04 Thread David J. Bursik
Try going into Spaces and locating the workspace that contains the LyX windows. 
If the Outline window is visible on top of the main LyX window, then use the 
mouse to click and drag to move it further down on the screen.

If the LyX window obscures the Outline window, try moving the LyX window down 
until the Outline window is visible and then grab and move the Outline window.

When you're done, just click (and release) on the workspace containing LyX and 
reposition the windows as desired (in the normal way).

 Hi,
 
 The Outline window is stuck under my menubar. Quitting / Restarting LyX does 
 not fix. The Outline opens stuck again.
 
 Any ideas.
 
 Thanks!
 ~greg
 
 (Mac 10.5, LyX2.0RC2)

David J. Bursik
bur...@cs.virginia.edu






LaTeX question w.r.t \input@path

2011-04-04 Thread Hellmut Weber
Hi list,
recently in another post I found the internal LaTeX macro

  \input@path

mentioned. Putting this (surrounded by \makeatletter and \makeatother)
in an ERT eventually gives me the correct path to my LyX document as
string in the document.

S many thanks to the poster of that other message (soem days ago) !

Here is now my question to the LaTeX gurus:
How can I define a LaTeX macro which gives me the END of the string
delivered by \input@path?
To give a concrete example: When I open document test-01.lyx with LyX in
the directory

   /home/leo/leo/Tests/Lyx-Tests/Inputpath/blam

and compile my document it shows the correct path

   /home/leo/leo/Tests/Lyx-Tests/Inputpath/blam/

Fine.

What I would like to derive from this string is
   /.../Lyx-Tests/Inputpath/blam/ ;-)
See what I mean?

My LaTeX experience told me the need for \makeat...,
but this transformation I'm not able to do in LaTeX.


Any help appreciated


Cheers

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: LaTeX question w.r.t \input@path

2011-04-04 Thread Julien Rioux

On 04/04/2011 3:47 PM, Hellmut Weber wrote:

Hi list,
recently in another post I found the internal LaTeX macro

   \input@path

mentioned. Putting this (surrounded by \makeatletter and \makeatother)
in an ERT eventually gives me the correct path to my LyX document as
string in the document.

S many thanks to the poster of that other message (soem days ago) !

Here is now my question to the LaTeX gurus:
How can I define a LaTeX macro which gives me the END of the string
delivered by \input@path?
To give a concrete example: When I open document test-01.lyx with LyX in
the directory

/home/leo/leo/Tests/Lyx-Tests/Inputpath/blam

and compile my document it shows the correct path

/home/leo/leo/Tests/Lyx-Tests/Inputpath/blam/

Fine.

What I would like to derive from this string is
/.../Lyx-Tests/Inputpath/blam/ ;-)
See what I mean?

My LaTeX experience told me the need for \makeat...,
but this transformation I'm not able to do in LaTeX.


Any help appreciated


Cheers

Hellmut




kludge solution, if you know how deep your paths are:

\def\removeprefixx/#1/#2/#3/#4/#5{Your path is /.../#5}
\def\removeprefix#1{\expandafter\removeprefixx#1}

\removeprefix{\input@path}

--
Julien



Re: LyX2.0RC2--Outline window stuck under menubar

2011-04-04 Thread Greg Kise

Thanks again for your help!

Uninstalling and reinstalling LyX resolved the problem. The Outline  
window is now functioning like a (mostly) normal window now.


Cheers!
~g


Re: LaTeX question w.r.t \input@path

2011-04-04 Thread Julien Rioux

On 04/04/2011 5:32 PM, Julien Rioux wrote:

On 04/04/2011 3:47 PM, Hellmut Weber wrote:

Hi list,
recently in another post I found the internal LaTeX macro

\input@path

mentioned. Putting this (surrounded by \makeatletter and \makeatother)
in an ERT eventually gives me the correct path to my LyX document as
string in the document.

S many thanks to the poster of that other message (soem days
ago) !

Here is now my question to the LaTeX gurus:
How can I define a LaTeX macro which gives me the END of the string
delivered by \input@path?
To give a concrete example: When I open document test-01.lyx with LyX in
the directory

/home/leo/leo/Tests/Lyx-Tests/Inputpath/blam

and compile my document it shows the correct path

/home/leo/leo/Tests/Lyx-Tests/Inputpath/blam/

Fine.

What I would like to derive from this string is
/.../Lyx-Tests/Inputpath/blam/ ;-)
See what I mean?

My LaTeX experience told me the need for \makeat...,
but this transformation I'm not able to do in LaTeX.


Any help appreciated


Cheers

Hellmut




kludge solution, if you know how deep your paths are:

\def\removeprefixx/#1/#2/#3/#4/#5{Your path is /.../#5}
\def\removeprefix#1{\expandafter\removeprefixx#1}

\removeprefix{\input@path}



(...will not work with windows-style paths.
If you need that remove the leading / after removeprefixx)

--
Julien



Re: LaTeX question w.r.t \input@path

2011-04-04 Thread Richard Heck

On 04/04/2011 05:32 PM, Julien Rioux wrote:


kludge solution, if you know how deep your paths are:

\def\removeprefixx/#1/#2/#3/#4/#5{Your path is /.../#5}
\def\removeprefix#1{\expandafter\removeprefixx#1}

Can you explain the point of the \expandafter? I see this often, but 
don't understand it.


rh



Re: Translations of Math environments in LyX output - last call for LyX 2.0

2011-04-04 Thread Pavel Sanda
Rudi Gaelzer wrote:
 Dear Pavel.
 Concerning the translation to brazilian portuguese, your structure works with 
 your template file (localization_test_1.lyx), which employs the Theorems 
 (AMS) 
 and Theorems (AMS-Extended ) modules.
 However, when I try the numbered by type modules, I detect the same problems 
 I 
 already mentioned in my previous threads:
 
 http://marc.info/?l=lyx-usersm=129906928518220w=2
 http://marc.info/?l=lyx-develm=129908385103894w=2
 
 Several environments are not translated neither at the GUI nor at the PDF 
 output.
 
 I've modified your template to pt_br and replaced the standard AMS modules by 
 the numbered AMS modules and attached both the lyx and the pdf files, so that 
 you can compare your output with mine.

you attached wrong document, because its identical to the previous one...
anyway i can reproduce your problem. it seems that our mechanism is not working
for all AMS modules. Georg?


 Moreover, I would like to suggest some different translations that should 
 sound better in brazilian portuguese (in fact, they don't even appear in 
 modern dictionaries of pt_br):
 
 Assumption = Suposiç?o
 Fact = Fato

this is some speculative translation or clear case? (i really can't judge this 
:)

pavel


Re: LaTeX question w.r.t \input@path

2011-04-04 Thread Julien Rioux

On 04/04/2011 5:54 PM, Richard Heck wrote:

On 04/04/2011 05:32 PM, Julien Rioux wrote:


kludge solution, if you know how deep your paths are:

\def\removeprefixx/#1/#2/#3/#4/#5{Your path is /.../#5}
\def\removeprefix#1{\expandafter\removeprefixx#1}


Can you explain the point of the \expandafter? I see this often, but
don't understand it.

rh



\expandafter\foo\bar tells TeX to expand \bar before expanding \foo

in this case:

first,
expand \input@path to /home/leo/leo/Tests/Lyx-Tests/Inputpath/blam

second,
parse /home/leo/leo/Tests/Lyx-Tests/Inputpath/blam using /#1/#2/#3/#4/#5



plug: Linux Journal post

2011-04-04 Thread Michael Reed
I managed to give RC2 a quick mention on the LJ site. Can't wait to get stuck 
into some proper reviews on release.  Keep up the good work devs.

http://www.linuxjournal.com/content/lyx-devs-release-first-20-release-candidate

-- 
http://www.unmusic.co.uk/ Michael Reed -- technology, gender and geek culture 
freelance writer. 




Re: How do I avoid luatex defaults?

2011-04-04 Thread Jürgen Spitzmüller
Anthony Campbell wrote:
> I haven't used LyX for some time and when I did so today I found that it
> was using luatex as the default for exporting pdf files. This produced
> errors. I evntually found how to return to the previous choice
> (pdflatex) but is there any way to configure LyX to use the previous
> representation of choices fir File -> Export? I couldn't find anything
> in Preferences.

How did you export? Via the command line?

Jürgen


Re: How do I avoid luatex defaults?

2011-04-04 Thread Anthony Campbell
On 04 Apr 2011, Jürgen Spitzmüller wrote:
> Anthony Campbell wrote:
> > I haven't used LyX for some time and when I did so today I found that it
> > was using luatex as the default for exporting pdf files. This produced
> > errors. I evntually found how to return to the previous choice
> > (pdflatex) but is there any way to configure LyX to use the previous
> > representation of choices fir File -> Export? I couldn't find anything
> > in Preferences.
> 
> How did you export? Via the command line?
> 
> Jürgen

Via the menu (File > Export). This initially offers me pdf(luatex).
I now have to go to More Options to find pdf(ps2pdf). Not a major
problem, of course, but I preferred the previous arrangement.


Anthony

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: How do I avoid luatex defaults?

2011-04-04 Thread Jürgen Spitzmüller
Anthony Campbell wrote:
> Via the menu (File > Export). This initially offers me pdf(luatex).
> I now have to go to More Options to find pdf(ps2pdf). Not a major
> problem, of course, but I preferred the previous arrangement.

This isn't supposed to be so. Do you have any special settings for this 
document, e.g. "Use non_TeX fonts"?

Or do you have customized file format preferences? Try if temporarily renaming 
the files "preferences" and/or "lyxrc.defaults" helps. 

Jürgen


Re: Translations of Math environments in LyX output - last call for LyX 2.0

2011-04-04 Thread Vincent van Ravesteijn

On 31-3-2011 10:07, Pavel Sanda wrote:

Dear Pavel,

I've translated the Dutch list. I'm not sure if they are all correct since I'm 
no mathematician, and the math that I do do is usually in English, but I hope 
it helps.

I believe Vincent have seen some Dutch math text and can check it?

I'm Dutch, and I read mathematical texts, but I never read a 
mathematical text in Dutch since the first year's course on math some 14 
years ago.



Kind regards,
Rick Blok

Translation nl
 "Acknowledgement" "Erkenning"
 "Algorithm" "Algoritme"
 "Assumption" "Aanname"
 "Axiom" "Axioma"
 "Case" "Casus"
 "Chart" "Grafiek"
 "Claim" "Claim"
 "Conclusion" "Conclusie"
 "Condition" "Conditie"
 "Conjecture" "Conjectuur"
 "Corollary" "Corollary"
 "Criterion" "Criterium"
 "Definition" "Definitie"
 "Example" "Voorbeeld"
 "Exercise" "Oefening"
 "Fact" "Feit"
 "Figure" "Figuur"
 "Graph" "Grafiek"
 "Lemma" "Lemma"
 "List of Algorithms" "Lijst van Algorithmen"

Algorithmen -> Algoritmen.


 "List of Charts" "Lijst van Grafieken"
 "List of Figures" "Lijst van Figuren"
 "List of Graphs" "Lijst van Grafieken"
 "List of Schemes" "List van Schema's"

List -> Lijst.

For some of the others, I never have seen them in English, so I think 
any translation will be ok with me.


Vincent


Re: How do I avoid luatex defaults?

2011-04-04 Thread Anthony Campbell
On 04 Apr 2011, Jürgen Spitzmüller wrote:
> Anthony Campbell wrote:
> > Via the menu (File > Export). This initially offers me pdf(luatex).
> > I now have to go to More Options to find pdf(ps2pdf). Not a major
> > problem, of course, but I preferred the previous arrangement.
> 
> This isn't supposed to be so. Do you have any special settings for this 
> document, e.g. "Use non_TeX fonts"?
> 
> Or do you have customized file format preferences? Try if temporarily 
> renaming 
> the files "preferences" and/or "lyxrc.defaults" helps. 
> 
> Jürgen

Thanks for your help.

Yes, moving Preferences aside makes things work correctly. I can't see
anything in the file that is relevant. One odd thing: whether
Preferences is there or not, the following error lines occur:


arcadia:$ LyX: Unknown tag `-lpf' [around line 13 of file ~/.lyx/lyxrc.defaults 
current token: '-lpf' context: '']
LyX: Unknown tag `$$i' [around line 13 of file ~/.lyx/lyxrc.defaults current 
token: '$$i' context: '']
LyX: Unknown tag `-mode' [around line 13 of file ~/.lyx/lyxrc.defaults current 
token: '-mode' context: '']
LyX: Unknown tag `EditPosition' [around line 14 of file ~/.lyx/lyxrc.defaults 
current token: 'EditPosition' context: '']


The relevant lines in lyxrc.defaults are:


\Format diadia DIA"" "auto" "auto"  "vector"
\Format agragr Grace  "" "auto" "auto"  "vector"
\editor_alternatives fen xboard -lpf $$i -mode EditPosition

Not sure what that means or whether it natters.

Anthony

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: How do I avoid luatex defaults?

2011-04-04 Thread Jürgen Spitzmüller
Anthony Campbell wrote:
> Thanks for your help.
> 
> Yes, moving Preferences aside makes things work correctly. I can't see
> anything in the file that is relevant. 

I suppose the following note from the 2.0 RELEASE_NOTES is relevant:

"We have introduced a new flag to decide whether or not a given "document"
format shall be listed in the File > Export menu. This was necessary since
this menu got too large. If the flag "menu=export" is not explicitly set,
the formats are not included in the menu. This means that you might need
to click "Show in export menu" in Preferences > File Formats for your
customized file formats if you want them to appear in the menu.
Note, though, that you still can export to any possible format via
File > Export > More Formats and Options ..."

> One odd thing: whether
> Preferences is there or not, the following error lines occur:
> 
> 
> arcadia:$ LyX: Unknown tag `-lpf' [around line 13 of file
> ~/.lyx/lyxrc.defaults current token: '-lpf' context: ''] LyX: Unknown tag
> `$$i' [around line 13 of file ~/.lyx/lyxrc.defaults current token: '$$i'
> context: ''] LyX: Unknown tag `-mode' [around line 13 of file
> ~/.lyx/lyxrc.defaults current token: '-mode' context: ''] LyX: Unknown tag
> `EditPosition' [around line 14 of file ~/.lyx/lyxrc.defaults current
> token: 'EditPosition' context: '']
> 
> 
> The relevant lines in lyxrc.defaults are:
> 
> 
> \Format diadia DIA""
> "auto" "auto"  "vector" \Format
> agragr Grace  "" "auto" "auto"  "vector"
> \editor_alternatives fen xboard -lpf $$i -mode EditPosition
> 
> Not sure what that means or whether it natters.

I believe the problem is that "xboard -lpf $$i -mode EditPosition" is not 
enquoted. I'll have a look.

Jürgen


Re: How do I avoid luatex defaults?

2011-04-04 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:
> > One odd thing: whether
> >
> > Preferences is there or not, the following error lines occur:
> > 
> > 
> >
> > arcadia:$ LyX: Unknown tag `-lpf' [around line 13 of file
> > ~/.lyx/lyxrc.defaults current token: '-lpf' context: ''] LyX: Unknown tag
> > `$$i' [around line 13 of file ~/.lyx/lyxrc.defaults current token: '$$i'
> > context: ''] LyX: Unknown tag `-mode' [around line 13 of file
> > ~/.lyx/lyxrc.defaults current token: '-mode' context: ''] LyX: Unknown
> > tag `EditPosition' [around line 14 of file ~/.lyx/lyxrc.defaults current
> > token: 'EditPosition' context: '']
> >
> > 
> > 
> >
> > The relevant lines in lyxrc.defaults are:
> > 
> > 
> >
> > \Format diadia DIA""
> > "auto" "auto"  "vector" \Format
> > agragr Grace  "" "auto" "auto"  "vector"
> > \editor_alternatives fen xboard -lpf $$i -mode EditPosition
> >
> > 
> >
> > Not sure what that means or whether it natters.
> 
> I believe the problem is that "xboard -lpf $$i -mode EditPosition" is not 
> enquoted. I'll have a look.

An error in the parser. This will be fixed in the next release.

Jürgen


Re: How do I avoid luatex defaults?

2011-04-04 Thread Anthony Campbell
On 04 Apr 2011, Jürgen Spitzmüller wrote:
> Anthony Campbell wrote:
> > Thanks for your help.
> > 
> > Yes, moving Preferences aside makes things work correctly. I can't see
> > anything in the file that is relevant. 
> 
> I suppose the following note from the 2.0 RELEASE_NOTES is relevant:
> 
> "We have introduced a new flag to decide whether or not a given "document"
> format shall be listed in the File > Export menu. This was necessary since
> this menu got too large. If the flag "menu=export" is not explicitly set,
> the formats are not included in the menu. This means that you might need
> to click "Show in export menu" in Preferences > File Formats for your
> customized file formats if you want them to appear in the menu.
> Note, though, that you still can export to any possible format via
> File > Export > More Formats and Options ..."
> 
> > One odd thing: whether
> > Preferences is there or not, the following error lines occur:
> > 
> > 
> > arcadia:$ LyX: Unknown tag `-lpf' [around line 13 of file
> > ~/.lyx/lyxrc.defaults current token: '-lpf' context: ''] LyX: Unknown tag
> > `$$i' [around line 13 of file ~/.lyx/lyxrc.defaults current token: '$$i'
> > context: ''] LyX: Unknown tag `-mode' [around line 13 of file
> > ~/.lyx/lyxrc.defaults current token: '-mode' context: ''] LyX: Unknown tag
> > `EditPosition' [around line 14 of file ~/.lyx/lyxrc.defaults current
> > token: 'EditPosition' context: '']
> > 
> > 
> > The relevant lines in lyxrc.defaults are:
> > 
> > 
> > \Format diadia DIA""
> > "auto" "auto"  "vector" \Format
> > agragr Grace  "" "auto" "auto"  "vector"
> > \editor_alternatives fen xboard -lpf $$i -mode EditPosition
> > 
> > Not sure what that means or whether it natters.
> 
> I believe the problem is that "xboard -lpf $$i -mode EditPosition" is not 
> enquoted. I'll have a look.
> 
> Jürgen

Many thanks.

Anthony

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: Translations of Math environments in LyX output - last call for LyX 2.0

2011-04-04 Thread Richard Heck

On 04/04/2011 04:27 AM, Vincent van Ravesteijn wrote:

On 31-3-2011 10:07, Pavel Sanda wrote:

Dear Pavel,

I've translated the Dutch list. I'm not sure if they are all correct 
since I'm no mathematician, and the math that I do do is usually in 
English, but I hope it helps.

I believe Vincent have seen some Dutch math text and can check it?

I'm Dutch, and I read mathematical texts, but I never read a 
mathematical text in Dutch since the first year's course on math some 
14 years ago.


If we need help with this, I know someone in Utrecht who would probably 
be happy to look at these.


Richard




Translation nl
 "Acknowledgement" "Erkenning"
 "Algorithm" "Algoritme"
 "Assumption" "Aanname"
 "Axiom" "Axioma"
 "Case" "Casus"
 "Chart" "Grafiek"
 "Claim" "Claim"
 "Conclusion" "Conclusie"
 "Condition" "Conditie"
 "Conjecture" "Conjectuur"
 "Corollary" "Corollary"
 "Criterion" "Criterium"
 "Definition" "Definitie"
 "Example" "Voorbeeld"
 "Exercise" "Oefening"
 "Fact" "Feit"
 "Figure" "Figuur"
 "Graph" "Grafiek"
 "Lemma" "Lemma"
 "List of Algorithms" "Lijst van Algorithmen"

Algorithmen -> Algoritmen.


 "List of Charts" "Lijst van Grafieken"
 "List of Figures" "Lijst van Figuren"
 "List of Graphs" "Lijst van Grafieken"
 "List of Schemes" "List van Schema's"

List -> Lijst.




How to disable automativally loaded packages iin lyx?

2011-04-04 Thread Csikos Bela
Dear lyx users:

I would like to prevent loading or disable loaded package in lyx 1.6.9, linux 
version.

My problem is:

I want to use floatrow package, and I inserted \usepackage{floatrow} in the 
preamble. When I insert a float with setting "place it here definitely" lyx 
automatically loads the "float". This leads to error messages during pdf 
creation.
I do not need float package as I use the floatrow package.

Is there a way to disable the float package or prevent its loading?

Thanks,

bcsikos425




Re: How to disable automativally loaded packages iin lyx?

2011-04-04 Thread Richard Heck

On 04/04/2011 01:43 PM, Csikos Bela wrote:

Dear lyx users:

I would like to prevent loading or disable loaded package in lyx 1.6.9, linux 
version.

My problem is:

I want to use floatrow package, and I inserted \usepackage{floatrow} in the preamble. When I insert 
a float with setting "place it here definitely" lyx automatically loads the 
"float". This leads to error messages during pdf creation.
I do not need float package as I use the floatrow package.

Is there a way to disable the float package or prevent its loading?


Probably it will work to add a line like:
Provides float 1
to some layout file you are using.

Richard



Re: Probem compiling to pdf

2011-04-04 Thread stephen's mailinglist account
On 4 April 2011 09:02, Sam  wrote:
> It happens to all my files I created previously on my mac. It is OK for with
> the files I created on the PC.
>
> There is no any strange thing happening or showing any error. It just
> freezes when I try to compile it.
>
So the files open.
Can you edit them without compiling?
Is there a difference between the TeX versions used on windows and mac
and the packages needed for your files?
Which version of lyx did you use on mac?

-- 
Stephen


Forward search w/ okular (KDE).

2011-04-04 Thread Rudi Gaelzer
Reverse/Forward search works well with lyx2.0rc2 and texlive 2010.
I've only found a small glitch with Forward search.  On Tools -> Preferences -
> Output, I set the DVI/PDF command: okular --unique "file:$$o#src:$$n $$t"
Now, everytime I execute a forward search, a new okular window opens, at the 
correct position.
Removing the --unique option has no effect.

Is this the expected behaviour?
Thaks.
-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


Re: LyX2.0RC2--Outline window stuck under menubar

2011-04-04 Thread David J. Bursik
Try going into Spaces and locating the workspace that contains the LyX windows. 
If the Outline window is visible on top of the main LyX window, then use the 
mouse to click and drag to move it further down on the screen.

If the LyX window obscures the Outline window, try moving the LyX window down 
until the Outline window is visible and then grab and move the Outline window.

When you're done, just click (and release) on the workspace containing LyX and 
reposition the windows as desired (in the normal way).

> Hi,
> 
> The Outline window is stuck under my menubar. Quitting / Restarting LyX does 
> not fix. The Outline opens stuck again.
> 
> Any ideas.
> 
> Thanks!
> ~greg
> 
> (Mac 10.5, LyX2.0RC2)

David J. Bursik
bur...@cs.virginia.edu






LaTeX question w.r.t \input@path

2011-04-04 Thread Hellmut Weber
Hi list,
recently in another post I found the internal LaTeX macro

  \input@path

mentioned. Putting this (surrounded by \makeatletter and \makeatother)
in an ERT eventually gives me the correct path to my LyX document as
string in the document.

S many thanks to the poster of that other message (soem days ago) !

Here is now my question to the LaTeX gurus:
How can I define a LaTeX macro which gives me the END of the string
delivered by \input@path?
To give a concrete example: When I open document test-01.lyx with LyX in
the directory

   /home/leo/leo/Tests/Lyx-Tests/Inputpath/blam

and compile my document it shows the correct path

   /home/leo/leo/Tests/Lyx-Tests/Inputpath/blam/

Fine.

What I would like to derive from this string is
   /.../Lyx-Tests/Inputpath/blam/ ;-)
See what I mean?

My LaTeX experience told me the need for \makeat...,
but this transformation I'm not able to do in LaTeX.


Any help appreciated


Cheers

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: LaTeX question w.r.t \input@path

2011-04-04 Thread Julien Rioux

On 04/04/2011 3:47 PM, Hellmut Weber wrote:

Hi list,
recently in another post I found the internal LaTeX macro

   \input@path

mentioned. Putting this (surrounded by \makeatletter and \makeatother)
in an ERT eventually gives me the correct path to my LyX document as
string in the document.

S many thanks to the poster of that other message (soem days ago) !

Here is now my question to the LaTeX gurus:
How can I define a LaTeX macro which gives me the END of the string
delivered by \input@path?
To give a concrete example: When I open document test-01.lyx with LyX in
the directory

/home/leo/leo/Tests/Lyx-Tests/Inputpath/blam

and compile my document it shows the correct path

/home/leo/leo/Tests/Lyx-Tests/Inputpath/blam/

Fine.

What I would like to derive from this string is
/.../Lyx-Tests/Inputpath/blam/ ;-)
See what I mean?

My LaTeX experience told me the need for \makeat...,
but this transformation I'm not able to do in LaTeX.


Any help appreciated


Cheers

Hellmut




kludge solution, if you know how deep your paths are:

\def\removeprefixx/#1/#2/#3/#4/#5{Your path is /.../#5}
\def\removeprefix#1{\expandafter\removeprefixx#1}

\removeprefix{\input@path}

--
Julien



Re: LyX2.0RC2--Outline window stuck under menubar

2011-04-04 Thread Greg Kise

Thanks again for your help!

Uninstalling and reinstalling LyX resolved the problem. The Outline  
window is now functioning like a (mostly) normal window now.


Cheers!
~g


Re: LaTeX question w.r.t \input@path

2011-04-04 Thread Julien Rioux

On 04/04/2011 5:32 PM, Julien Rioux wrote:

On 04/04/2011 3:47 PM, Hellmut Weber wrote:

Hi list,
recently in another post I found the internal LaTeX macro

\input@path

mentioned. Putting this (surrounded by \makeatletter and \makeatother)
in an ERT eventually gives me the correct path to my LyX document as
string in the document.

S many thanks to the poster of that other message (soem days
ago) !

Here is now my question to the LaTeX gurus:
How can I define a LaTeX macro which gives me the END of the string
delivered by \input@path?
To give a concrete example: When I open document test-01.lyx with LyX in
the directory

/home/leo/leo/Tests/Lyx-Tests/Inputpath/blam

and compile my document it shows the correct path

/home/leo/leo/Tests/Lyx-Tests/Inputpath/blam/

Fine.

What I would like to derive from this string is
/.../Lyx-Tests/Inputpath/blam/ ;-)
See what I mean?

My LaTeX experience told me the need for \makeat...,
but this transformation I'm not able to do in LaTeX.


Any help appreciated


Cheers

Hellmut




kludge solution, if you know how deep your paths are:

\def\removeprefixx/#1/#2/#3/#4/#5{Your path is /.../#5}
\def\removeprefix#1{\expandafter\removeprefixx#1}

\removeprefix{\input@path}



(...will not work with windows-style paths.
If you need that remove the leading / after removeprefixx)

--
Julien



Re: LaTeX question w.r.t \input@path

2011-04-04 Thread Richard Heck

On 04/04/2011 05:32 PM, Julien Rioux wrote:


kludge solution, if you know how deep your paths are:

\def\removeprefixx/#1/#2/#3/#4/#5{Your path is /.../#5}
\def\removeprefix#1{\expandafter\removeprefixx#1}

Can you explain the point of the \expandafter? I see this often, but 
don't understand it.


rh



Re: Translations of Math environments in LyX output - last call for LyX 2.0

2011-04-04 Thread Pavel Sanda
Rudi Gaelzer wrote:
> Dear Pavel.
> Concerning the translation to brazilian portuguese, your structure works with 
> your template file (localization_test_1.lyx), which employs the Theorems 
> (AMS) 
> and Theorems (AMS-Extended ) modules.
> However, when I try the numbered by type modules, I detect the same problems 
> I 
> already mentioned in my previous threads:
> 
> http://marc.info/?l=lyx-users=129906928518220=2
> http://marc.info/?l=lyx-devel=129908385103894=2
> 
> Several environments are not translated neither at the GUI nor at the PDF 
> output.
> 
> I've modified your template to pt_br and replaced the standard AMS modules by 
> the numbered AMS modules and attached both the lyx and the pdf files, so that 
> you can compare your output with mine.

you attached wrong document, because its identical to the previous one...
anyway i can reproduce your problem. it seems that our mechanism is not working
for all AMS modules. Georg?


> Moreover, I would like to suggest some different translations that should 
> sound better in brazilian portuguese (in fact, they don't even appear in 
> modern dictionaries of pt_br):
> 
> Assumption => Suposiç?o
> Fact => Fato

this is some speculative translation or clear case? (i really can't judge this 
:)

pavel


Re: LaTeX question w.r.t \input@path

2011-04-04 Thread Julien Rioux

On 04/04/2011 5:54 PM, Richard Heck wrote:

On 04/04/2011 05:32 PM, Julien Rioux wrote:


kludge solution, if you know how deep your paths are:

\def\removeprefixx/#1/#2/#3/#4/#5{Your path is /.../#5}
\def\removeprefix#1{\expandafter\removeprefixx#1}


Can you explain the point of the \expandafter? I see this often, but
don't understand it.

rh



\expandafter\foo\bar tells TeX to expand \bar before expanding \foo

in this case:

first,
expand \input@path to /home/leo/leo/Tests/Lyx-Tests/Inputpath/blam

second,
parse /home/leo/leo/Tests/Lyx-Tests/Inputpath/blam using /#1/#2/#3/#4/#5



plug: Linux Journal post

2011-04-04 Thread Michael Reed
I managed to give RC2 a quick mention on the LJ site. Can't wait to get stuck 
into some proper reviews on release.  Keep up the good work devs.

http://www.linuxjournal.com/content/lyx-devs-release-first-20-release-candidate

-- 
http://www.unmusic.co.uk/ Michael Reed -- technology, gender and geek culture 
freelance writer.