How to type a text over arrow?

2011-05-16 Thread Yegor Yefremov
Hello,

I want to type the formula like in the attached image (formula.jpg).
Haw can I do this with LyX/LaTeX? As for now I'm using LyX 1.6.5.

Regards,
Yegor
attachment: formula.JPG

Could somebody please help? I do have problems with format biblatex-dw and idembib/idembibformat…

2011-05-16 Thread jezZiFeR
I hope, that this post is formally correct, and my english is  
understandable. Please let me know if something is not clear, or if I  
said something, that is not correct. If I could maybe get help  
elsewhere, please let me know, as I have to solve that problem to be  
able to continue my work.


This is my problem with LyX 1.6.9 and  with biblatex-dw and idembib/ 
idembibformat: Although I have entered idembib=true and  
idembibformat=dash, I do not get dashes, but ders., which is the  
male entry in german. How could I solve this? Thanks for your help.


In the document-settings I have entered the following:
\usepackage[natbib=true,style=footnote- 
dw 
,urldate 
=long,abbreviate=true,pageref=true,idembib=true,idembibformat=dash] 
{biblatex}


Thank you in advance
jezZ


Is it possible to distribute long headings on two lines in the text but on only one in the TOC?

2011-05-16 Thread Påvel Nicklasson

Sorry for the enigmatic title, English is not my first language.

What I am trying to do is to make some long headings evenly distributed  
over two lines in the text by using \\ in ERT. It works well with one  
exception: In the TOC the headings are cut in the same place as in the  
text. This looks rather ugly.


I use a two column layout (Koma book) so there is less space for headings  
in the text than in the TOC and manually corrected headings looks much  
better than a heading automatically justified by LyX with just a single  
word on the second line.


Is there a way to distribute headings on two lines in the text and on a  
single line in the TOC?


Best Regards
Påvel


Re: Could somebody please help? I do have problems with format biblatex-dw and idembib/idembibformat…

2011-05-16 Thread Julio Rojas
I think is better if you address that question to the person in charge of
the maintenance of the package, Dominik Waßenhoven:
http://biblatex.dominik-wassenhoven.de/faq.shtml?en

http://biblatex.dominik-wassenhoven.de/faq.shtml?enRegards.
-
Julio Rojas
jcredbe...@gmail.com


On Mon, May 16, 2011 at 10:21 AM, jezZiFeR jezzi...@googlemail.com wrote:

 I hope, that this post is formally correct, and my english is
 understandable. Please let me know if something is not clear, or if I said
 something, that is not correct. If I could maybe get help elsewhere, please
 let me know, as I have to solve that problem to be able to continue my work.

 This is my problem with LyX 1.6.9 and  with biblatex-dw and
 idembib/idembibformat: Although I have entered idembib=true and
 idembibformat=dash, I do not get dashes, but ders., which is the male
 entry in german. How could I solve this? Thanks for your help.

 In the document-settings I have entered the following:

 \usepackage[natbib=true,style=footnote-dw,urldate=long,abbreviate=true,pageref=true,idembib=true,idembibformat=dash]{biblatex}

 Thank you in advance
 jezZ



SV: Is it possible to distribute long headings on two lines in the text but on only one in the TOC?

2011-05-16 Thread Ingar Pareliussen
Hi

There are many ways to do this, but I suggest that you use chapter* and format 
the linebreaks (CTRL+ENTER) where you want them and then i ERT add just after 
chapter* add:
\addcontentsline{toc}{chapter}{This a long text with the name of the Chapter}

HTH
Ingar


Re: Is it possible to distribute long headings on two lines in the text but on only one in the TOC?

2011-05-16 Thread Liviu Andronic
2011/5/16 Påvel Nicklasson pavelnicklas...@bahnhof.se:
 Sorry for the enigmatic title, English is not my first language.

 What I am trying to do is to make some long headings evenly distributed over
 two lines in the text by using \\ in ERT. It works well with one exception:
 In the TOC the headings are cut in the same place as in the text. This looks
 rather ugly.

Have you tried Context menu  Insert short title?
Liviu


 I use a two column layout (Koma book) so there is less space for headings in
 the text than in the TOC and manually corrected headings looks much better
 than a heading automatically justified by LyX with just a single word on the
 second line.

 Is there a way to distribute headings on two lines in the text and on a
 single line in the TOC?

 Best Regards
 Påvel




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: SV: Is it possible to distribute long headings on two lines in the text but on only one in the TOC?

2011-05-16 Thread Påvel Nicklasson

Thank you, Liviu and Ingar!

I have tested the chapter* and addcontentsline solution, but it messes up  
the automatic chapter and section numbering since I can't manage to  
transfer the correct chapter/section number to the TOC for the headings  
that need to be changed and the book is rather long (500 pages), and  
manually number all headings is little too much work.


The Context menu  Insert short title solution seems to work very well for  
my purposes. It is strange how easy solutions in LyX are when you discover  
them!


Thank you both!
Best Regards
Påvel

Den 2011-05-16 11:04:25 skrev Ingar Pareliussen  
ingar.parelius...@dmmh.no:



Hi

There are many ways to do this, but I suggest that you use chapter* and  
format the linebreaks (CTRL+ENTER) where you want them and then i ERT  
add just after chapter* add:
\addcontentsline{toc}{chapter}{This a long text with the name of the  
Chapter}


HTH
Ingar


HTML export from LyX

2011-05-16 Thread Pascal Francq
Hi,
How can I, from the command line, export a given LyX document into a HTML 
document in another directory (in LyX, the document is always exported in the 
same directory).
Thanks.
-- 

Dr. Ir. Pascal Francq
BELGIUM


signature.asc
Description: This is a digitally signed message part.


Re: How to type a text over arrow?

2011-05-16 Thread Diego Queiroz
Try this:

http://lmgtfy.com/?q=text+over+arrow+latexl=1


Take care,
---
Diego Queiroz




On Mon, May 16, 2011 at 4:26 AM, Yegor Yefremov
yegorsli...@googlemail.com wrote:
 Hello,

 I want to type the formula like in the attached image (formula.jpg).
 Haw can I do this with LyX/LaTeX? As for now I'm using LyX 1.6.5.

 Regards,
 Yegor



Undefined control sequence

2011-05-16 Thread Sølvi
 Hi.

Hope someone can help me with this beacuse I'm getting desperate.

I use LYX version 1.6.9 on a XP-platform

I have a Masterdocument with several included files, I worked on this
document only a few weeks ago with no problems, but now I can't view it in
PDF anymore. When I press the view PDF-button i get a long list which says
Undefined control sequence and the following error message:


*\ltx@newglobalif *

* \ifGPT@pagecolor*

*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've also tried to PDF just the smaller, included douments seperatly but get
the same error. I've looked everywhere for a solution and can't figure out
what's wrong, considering the document was fine a few weeks ago. Hope anyone
can help me with this, and please keep in mind that I'm a novise to LYX and
need simple explanations :)


Regards


Solvi


Re: moderncv template error to compile

2011-05-16 Thread Helene
2011/5/14 Uwe Stöhr uwesto...@web.de

 Am 13.05.2011 00:20, schrieb Helene:


  I wish make a cv with moderncv template, but when try generate dvi preview
 get some errors, that the file attachment.


 This file doesn't contain errors, only warnings.

 ModernCV only works correctly with PDF, not with DVI. So view it as PDF and
 it should work.
 If not, please send me your LyX file.

 regards Uwe


I understand. But it no work. I send you my lyx file, it is a template.

Regards

-- 
Nena


modernCV.lyx
Description: Binary data


Re: moderncv template error to compile

2011-05-16 Thread Manolo Martínez
I have a similar problem. There are two crude ways for the document to
compile:

1. I've noticed that changing the style from classic to casual -- in
Document/Configuration/Preamble -- allows it to compile. 
2. commenting out the reference to the email (also in the preamble) does
the trick too.

This is enough for me for the time being; but I realise that it's not
ideal: maybe you prefer the classic style and/or cannot make do without
the e-mail field. I'd very much like to know of better solutions.

I come up with my solution number 2 because pdflatex does compile
a .tex exported by LyX -- after hitting enter a couple of times -- but,
in the e-mail field, shows the e-mail you introduced prefixed with
magenta. That is, in my case: magentaman...@austrohungaro.com. 
A very cool bug :) There must be a semicolon missing somewhere...

Manolo



plotting over graph in Lyx / beamer presentation

2011-05-16 Thread Rainer M Krug
Hi

I want to plot a square / circle over a graph (in pdf format) to
highlight certain sections. I rmember that it is possible, but I do
not remember how.

Thanks,

Rainer

-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:           +27 - (0)83 9479 042
Fax:            +27 - (0)86 516 2782
Fax:            +49 - (0)321 2125 2244
email:          rai...@krugs.de

Skype:          RMkrug
Google:         r.m.k...@gmail.com


Re: Undefined control sequence

2011-05-16 Thread Julio Rojas
Hi Solvi. You should start little by little. Try creating a new document
exactly set up as your problematic document. Add only one paragraph to test
it, and compile. If you have some problem, start removing one line at a
time, the packages included in the preamble. Lets see how that goes before
proceeding.

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


On Mon, May 16, 2011 at 2:00 PM, Sølvi s.n.mi...@gmail.com wrote:

 Hi.

 Hope someone can help me with this beacuse I'm getting desperate.

 I use LYX version 1.6.9 on a XP-platform

 I have a Masterdocument with several included files, I worked on this
 document only a few weeks ago with no problems, but now I can't view it in
 PDF anymore. When I press the view PDF-button i get a long list which says
 Undefined control sequence and the following error message:


 *\ltx@newglobalif *

 * \ifGPT@pagecolor*

 *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've also tried to PDF just the smaller, included douments seperatly but
 get the same error. I've looked everywhere for a solution and can't figure
 out what's wrong, considering the document was fine a few weeks ago. Hope
 anyone can help me with this, and please keep in mind that I'm a novise to
 LYX and need simple explanations :)


 Regards


 Solvi



Re: HTML export from LyX

2011-05-16 Thread Richard Heck
On 05/16/2011 06:35 AM, Pascal Francq wrote:
 Hi,
 How can I, from the command line, export a given LyX document into a HTML 
 document in another directory (in LyX, the document is always exported in the 
 same directory).

There's no support presently in LyX for naming the export directory,
either for XHTML or for any other format. There is a bug about this already.

Richard



Re: Undefined control sequence

2011-05-16 Thread Richard Heck
On 05/16/2011 08:00 AM, Sølvi wrote:
 Hi.

 Hope someone can help me with this beacuse I'm getting desperate.

 I use LYX version 1.6.9 on a XP-platform

 I have a Masterdocument with several included files, I worked on this
 document only a few weeks ago with no problems, but now I can't view
 it in PDF anymore. When I press the view PDF-button i get a long
 list which says Undefined control sequence and the following error
 message:


 *\ltx@newglobalif *

 *\ifGPT@pagecolor*

 *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've also tried to PDF just the smaller, included douments seperatly
 but get the same error. I've looked everywhere for a solution and
 can't figure out what's wrong, considering the document was fine a few
 weeks ago. Hope anyone can help me with this, and please keep in mind
 that I'm a novise to LYX and need simple explanations :)


Can you post the full error log? What we really want is the first of
these errors.

Richard



Re: Subfigures: \subref support?

2011-05-16 Thread Julien Rioux

On 11/05/2011 12:39 PM, Diego Queiroz wrote:

Here is the ticket for this problem.

http://www.lyx.org/trac/ticket/7550

http://www.lyx.org/trac/ticket/7550
---
Diego Queiroz



On Wed, May 11, 2011 at 10:35 AM, Diego Queirozqueiroz.di...@gmail.comwrote:


Yes I'm sure.




Yeah, you are right. But this is a LyX bug. It should use a not-so-obvious
name for the command to prevent a conflict like this.
However, the command \subref is defined by LyX only when you use the
Formatted reference. Since I don't use this type of cross-reference, there
is no problem with my ERT.

I'll create a ticket for this.

Cheers,
---
Diego Queiroz





Thanks

--
Julien



Re: how to separate pdf file?

2011-05-16 Thread Julien Rioux

On 12/05/2011 11:04 AM, Diego Queiroz wrote:

Just curious, will pdftk preserve links between chapters? This seems
rather nontrivial.


Pdftk output is exactly like the original file, so it keeps all links.
All links in the generated file will work if they point to an existent position.
For example, if there is a link for the chapter 10, but the chapter 10
is not in the file, that link will not work (obvious?).



I guess I wasn't precise enough. The PDF format supports links across 
files. The OP looks for a tool which does the split and rewrites the 
metadata so that links happen across the different pdf files. 
Apparently, pdftk is not this tool. But pdftk is based on iText which is 
very powerful, so I can imagine someone could hack at it do get this 
behavior. As I said, it's rather nontrivial, but it's not obvious that 
it cannot be done.


Nevertheless, pdftk is a great tool as it is.

Julien


Re: SV: Is it possible to distribute long headings on two lines in the text but on only one in the TOC?

2011-05-16 Thread Julien Rioux

On 16/05/2011 5:30 AM, Påvel Nicklasson wrote:

Thank you, Liviu and Ingar!

I have tested the chapter* and addcontentsline solution, but it messes
up the automatic chapter and section numbering since I can't manage to
transfer the correct chapter/section number to the TOC for the headings
that need to be changed and the book is rather long (500 pages), and
manually number all headings is little too much work.

The Context menu  Insert short title solution seems to work very well
for my purposes. It is strange how easy solutions in LyX are when you
discover them!

Thank you both!
Best Regards
Påvel

Den 2011-05-16 11:04:25 skrev Ingar Pareliussen
ingar.parelius...@dmmh.no:


Hi

There are many ways to do this, but I suggest that you use chapter*
and format the linebreaks (CTRL+ENTER) where you want them and then i
ERT add just after chapter* add:
\addcontentsline{toc}{chapter}{This a long text with the name of the
Chapter}

HTH
Ingar




Short title is the solution for me too. By the way, you can use 
ctrl+enter to enter a linebreak in lyx (a \\ in latex).


--
Julien



Re: eps graphics fails when displaying in pdf mode if inserted by ERT \includegraphics

2011-05-16 Thread Julien Rioux

On 14/05/2011 2:47 AM, Gunnar wrote:

How can I make LyX work with ERT and pdf? (Yes, I need ERT)



I'm curious what is your use case which requires ERT for includegraphics 
? Since LyX supports inclusion of any graphics format and does the 
conversion for me, I dare not go back to plain latex, unless I need 
really high quality eps and pdf.


--
Julien



Re: How to type a text over arrow?

2011-05-16 Thread Yegor Yefremov
Hi Diego,

thanks. I don't how I searched for this topic, but I found nothing valuable :-)

Yegor

On Mon, May 16, 2011 at 1:55 PM, Diego Queiroz queiroz.di...@gmail.com wrote:
 Try this:

 http://lmgtfy.com/?q=text+over+arrow+latexl=1


 Take care,
 ---
 Diego Queiroz




 On Mon, May 16, 2011 at 4:26 AM, Yegor Yefremov
 yegorsli...@googlemail.com wrote:
 Hello,

 I want to type the formula like in the attached image (formula.jpg).
 Haw can I do this with LyX/LaTeX? As for now I'm using LyX 1.6.5.

 Regards,
 Yegor




Re: How to type a text over arrow?

2011-05-16 Thread Ernesto Posse
The first link from Diego's search shows the LaTeX way to do it.

In LyX, open a math box (e.g. ctrl-M) and type

l \xrightarrow{g,s,r,u} l'





On Mon, May 16, 2011 at 12:46 PM, Yegor Yefremov
yegorsli...@googlemail.com wrote:
 Hi Diego,

 thanks. I don't how I searched for this topic, but I found nothing valuable 
 :-)

 Yegor

 On Mon, May 16, 2011 at 1:55 PM, Diego Queiroz queiroz.di...@gmail.com 
 wrote:
 Try this:

 http://lmgtfy.com/?q=text+over+arrow+latexl=1


 Take care,
 ---
 Diego Queiroz




 On Mon, May 16, 2011 at 4:26 AM, Yegor Yefremov
 yegorsli...@googlemail.com wrote:
 Hello,

 I want to type the formula like in the attached image (formula.jpg).
 Haw can I do this with LyX/LaTeX? As for now I'm using LyX 1.6.5.

 Regards,
 Yegor






-- 
Ernesto Posse

Modelling and Analysis in Software Engineering
School of Computing
Queen's University - Kingston, Ontario, Canada


Re: Undefined control sequence

2011-05-16 Thread Julio Rojas
I know it is hard work, but I suspect it has nothing to do with the text
itself, but with latex installation. This is why I suggested doing not a
totally backtrace on your big file, but a controlled test case on a similar
document. Also, as Richard suggested, send the first error you find in the
log for help from the list.

Regards and good luck.

-
Julio Rojas
jcredbe...@gmail.com


On Mon, May 16, 2011 at 4:04 PM, Sølvi s.n.mi...@gmail.com wrote:

 Well that was helpful. I have been working on this document for over 3
 years now, without any problems so it is a little late trying to
 retrace/recreate what I have done, It is many hundred pages when i compile
 it. And as I said the document worked fine when I last worked on it a couple
 of weeks ago, today it's not working at all.

 S.


 2011/5/16 Julio Rojas jcredbe...@gmail.com

 Hi Solvi. You should start little by little. Try creating a new document
 exactly set up as your problematic document. Add only one paragraph to test
 it, and compile. If you have some problem, start removing one line at a
 time, the packages included in the preamble. Lets see how that goes before
 proceeding.

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



 On Mon, May 16, 2011 at 2:00 PM, Sølvi s.n.mi...@gmail.com wrote:

 Hi.

 Hope someone can help me with this beacuse I'm getting desperate.

 I use LYX version 1.6.9 on a XP-platform

 I have a Masterdocument with several included files, I worked on this
 document only a few weeks ago with no problems, but now I can't view it in
 PDF anymore. When I press the view PDF-button i get a long list which says
 Undefined control sequence and the following error message:


 *\ltx@newglobalif *

 * \ifGPT@pagecolor*

 *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've also tried to PDF just the smaller, included douments seperatly but
 get the same error. I've looked everywhere for a solution and can't figure
 out what's wrong, considering the document was fine a few weeks ago. Hope
 anyone can help me with this, and please keep in mind that I'm a novise to
 LYX and need simple explanations :)


 Regards


 Solvi






Re: plotting over graph in Lyx / beamer presentation

2011-05-16 Thread Liviu Andronic
On Mon, May 16, 2011 at 3:05 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 Hi

 I want to plot a square / circle over a graph (in pdf format) to
 highlight certain sections. I rmember that it is possible, but I do
 not remember how.

Check 
http://wiki.lyx.org/uploads/LyX/tutorials/advanced_features_presentation/en/advanced_features_presentation.pdf
for some pointers. Also
https://sites.google.com/site/tsewiki/resources/latex/LyX_Essentials.pdf?attredirects=0d=1
.
Liviu


 Thanks,

 Rainer

 --
 NEW GERMAN FAX NUMBER!!!

 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
 Biology, UCT), Dipl. Phys. (Germany)

 Centre of Excellence for Invasion Biology
 Natural Sciences Building
 Office Suite 2039
 Stellenbosch University
 Main Campus, Merriman Avenue
 Stellenbosch
 South Africa

 Cell:           +27 - (0)83 9479 042
 Fax:            +27 - (0)86 516 2782
 Fax:            +49 - (0)321 2125 2244
 email:          rai...@krugs.de

 Skype:          RMkrug
 Google:         r.m.k...@gmail.com




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: HTML export from LyX

2011-05-16 Thread Guenter Milde
On 2011-05-16, Richard Heck wrote:
 On 05/16/2011 06:35 AM, Pascal Francq wrote:
 How can I, from the command line, export a given LyX document into
 a HTML document in another directory (in LyX, the document is always
 exported in the same directory).

 There's no support presently in LyX for naming the export directory,
 either for XHTML or for any other format. There is a bug about this
 already.

For the time being, you can use the external elyxer (works even
without a LyX installation):

# elyxer --help

  * Usage: elyxer.py [options] [filein] [fileout]
  * Convert LyX input file filein to HTML file fileout.
  * If filein (or fileout) is not given use standard input (or output).
  * Main program of the eLyXer package (http://elyxer.nongnu.org/).

...


Günter



Re: running cygwin or unix script from within lyx

2011-05-16 Thread Venable
On Sun, May 15, 2011 at 9:06 PM, Richard Heck rgh...@comcast.net wrote:

 On 05/15/2011 08:48 PM, Venable wrote:

 Hi all,

 I have written a couple of cygwin scripts to automate some time-consuming
 repetitive tasks and would like to be able to run these from within LyX, for
 example via a keyboard shortcut or a customized button on a toolbar. Is this
 sort of thing possible? If so, does anyone have advice on how to set it up?

 As an example, I like to use the pdfpages package to include external
 pdfs. However, I often use relative paths (e.g. when collaborating with
 co-authors on Dropbox and the like), and as we know LyX cannot handle this
 because of all the copying to temporary directories and so on that LyX
 prefers. So, I've written a very simple script to export the lyx file to tex
 and then compile using miktex. It would be great if I didn't have to fire up
 CygWin and type in the command and filename - rather, I'd prefer to
 designate a keyboard shortcut or menu option within LyX that would tell
 cygwin to run the script and pass it the current filename.

  The only real way to do this, so far as I know, is to define a converter
 that will call your script. This converter might, for example, replace
 pdflatex as a LaTeX--PDF converter. There are a number of ways to do this,
 so the best way will depend on the details.

 rh


Dear Richard,

Thanks a lot for this comment. What are some of the alternative ways to
define a converter, and what are the sort of details that would be useful to
know in deciding?

This particular task is incredibly simple (export to tex, compile), and I'm
not necessarily wedded to using CygWin, that's just what I happen to be most
comfortable with.


Re: running cygwin or unix script from within lyx

2011-05-16 Thread Richard Heck
On 05/16/2011 04:05 PM, Venable wrote:

 What are some of the alternative ways to define a converter, and what
 are the sort of details that would be useful to know in deciding?

Converters are defined under ToolsPreferencesFile HandingConverters.
See section 3.3 of the Customization manual for the details of the
syntax. Basically, any stupid script can act as a converter. It just
needs to take certain arguments, and you need to tell LyX what they are.
Lots of converters are already defined there, so you can also mimic them.

Richard




Re: running cygwin or unix script from within lyx

2011-05-16 Thread Julien Rioux

On 16/05/2011 5:39 PM, Richard Heck wrote:

On 05/16/2011 04:05 PM, Venable wrote:


What are some of the alternative ways to define a converter, and what
are the sort of details that would be useful to know in deciding?


Converters are defined under ToolsPreferencesFile HandingConverters.
See section 3.3 of the Customization manual for the details of the
syntax. Basically, any stupid script can act as a converter. It just
needs to take certain arguments, and you need to tell LyX what they are.
Lots of converters are already defined there, so you can also mimic them.

Richard





However, the converter is executed in a temporary folder, which is 
precisely what the user wanted to avoid (and the reason to write the 
script in the first place). I miss how you can get around this.


--
Julien



Re: running cygwin or unix script from within lyx

2011-05-16 Thread Richard Heck
On 05/16/2011 05:45 PM, Julien Rioux wrote:
 On 16/05/2011 5:39 PM, Richard Heck wrote:
 On 05/16/2011 04:05 PM, Venable wrote:

 What are some of the alternative ways to define a converter, and what
 are the sort of details that would be useful to know in deciding?

 Converters are defined under ToolsPreferencesFile HandingConverters.
 See section 3.3 of the Customization manual for the details of the
 syntax. Basically, any stupid script can act as a converter. It just
 needs to take certain arguments, and you need to tell LyX what they are.
 Lots of converters are already defined there, so you can also mimic
 them.


 However, the converter is executed in a temporary folder, which is
 precisely what the user wanted to avoid (and the reason to write the
 script in the first place). I miss how you can get around this.

Sorry, I must have missed that part.

Richard



Re: running cygwin or unix script from within lyx

2011-05-16 Thread Julien Rioux

On 16/05/2011 6:11 PM, Richard Heck wrote:

On 05/16/2011 05:45 PM, Julien Rioux wrote:

On 16/05/2011 5:39 PM, Richard Heck wrote:

On 05/16/2011 04:05 PM, Venable wrote:


What are some of the alternative ways to define a converter, and what
are the sort of details that would be useful to know in deciding?


Converters are defined under ToolsPreferencesFile HandingConverters.
See section 3.3 of the Customization manual for the details of the
syntax. Basically, any stupid script can act as a converter. It just
needs to take certain arguments, and you need to tell LyX what they are.
Lots of converters are already defined there, so you can also mimic
them.



However, the converter is executed in a temporary folder, which is
precisely what the user wanted to avoid (and the reason to write the
script in the first place). I miss how you can get around this.


Sorry, I must have missed that part.

Richard



I believe copiers could help here, but I do not understand them/never 
used them.


Cheers,
Julien


Re: running cygwin or unix script from within lyx

2011-05-16 Thread Richard Heck
On 05/16/2011 06:12 PM, Julien Rioux wrote:
 On 16/05/2011 6:11 PM, Richard Heck wrote:
 On 05/16/2011 05:45 PM, Julien Rioux wrote:
 On 16/05/2011 5:39 PM, Richard Heck wrote:
 On 05/16/2011 04:05 PM, Venable wrote:

 What are some of the alternative ways to define a converter, and what
 are the sort of details that would be useful to know in deciding?

 Converters are defined under ToolsPreferencesFile
 HandingConverters.
 See section 3.3 of the Customization manual for the details of the
 syntax. Basically, any stupid script can act as a converter. It just
 needs to take certain arguments, and you need to tell LyX what they
 are.
 Lots of converters are already defined there, so you can also mimic
 them.


 However, the converter is executed in a temporary folder, which is
 precisely what the user wanted to avoid (and the reason to write the
 script in the first place). I miss how you can get around this.

 Sorry, I must have missed that part.


 I believe copiers could help here, but I do not understand them/never
 used them.

Well, I guess we'll see, but on reading this again it looks as if the
problem was supposed to be that certain of his scripts fail because of
the copying to a tempdir. I guess my thought must have been that this
could be done by running the script in the tempdir, but then maybe you
have to know where the original file lives.

Richard



Re: How to type a text over arrow?

2011-05-16 Thread Uwe Stöhr

Am 16.05.2011 09:26, schrieb Yegor Yefremov:


I want to type the formula like in the attached image (formula.jpg).
Haw can I do this with LyX/LaTeX? As for now I'm using LyX 1.6.5.


See sec. 6.1 Horizontal Arrows of the Math manual that you find in LyX's Help 
menu.

regards Uwe


Re: moderncv template error to compile

2011-05-16 Thread Uwe Stöhr

Am 16.05.2011 14:27, schrieb Helene:


I understand. But it no work. I send you my lyx file, it is a template.


It doesn't work because you are using an outdated version of LyX. You need at least LyX 1.6.8 to get 
modernCV working with the latest version of the modernCV LaTeX-package.


I recommend to update to LyX 1.6.10.

regards Uwe

attached is the version of the file that was created with LyX 1.6.8


modernCV.lyx
Description: application/lyx


Re: moderncv template error to compile

2011-05-16 Thread Uwe Stöhr

Am 16.05.2011 14:46, schrieb Manolo Martínez:


I have a similar problem.


Assure that you are using LyX 1.6.8 or newer. If the problem persists with this LyX version, please 
send me your file.


regards Uwe


switching LyX windows in Lyx 2.0 on Mac OS X

2011-05-16 Thread Andrzej Czarnecki
Dear Coleagues,
In LyX 1.6 it was possible to move from one LyX window to another with
Alt-' (alt-apostrophe).  In Lyx 2.0 this still works but modifies the
document in the window to which one switches (the apostrophe appears
in that document).  Is there a way to avoid modifying the document?
Thanks for any advice!
Andrzej


Re: plotting over graph in Lyx / beamer presentation

2011-05-16 Thread Phil
 

 I want to plot a square / circle over a graph (in pdf format) to
 highlight certain sections. I rmember that it is possible, but I do

maybe there is an easier way... but what I usually do is use pstricks with 
powerdot (I assume you can 

use the same technique with beamer) and then after I insert my graphic I add in 
a \psgrid to 

find the coordinates and then I put in a \psframebox or \psellipse where I want 
to highlight.   


How to type a text over arrow?

2011-05-16 Thread Yegor Yefremov
Hello,

I want to type the formula like in the attached image (formula.jpg).
Haw can I do this with LyX/LaTeX? As for now I'm using LyX 1.6.5.

Regards,
Yegor
attachment: formula.JPG

Could somebody please help? I do have problems with format biblatex-dw and idembib/idembibformat…

2011-05-16 Thread jezZiFeR
I hope, that this post is formally correct, and my english is  
understandable. Please let me know if something is not clear, or if I  
said something, that is not correct. If I could maybe get help  
elsewhere, please let me know, as I have to solve that problem to be  
able to continue my work.


This is my problem with LyX 1.6.9 and  with biblatex-dw and idembib/ 
idembibformat: Although I have entered idembib=true and  
idembibformat=dash, I do not get dashes, but ders., which is the  
male entry in german. How could I solve this? Thanks for your help.


In the document-settings I have entered the following:
\usepackage[natbib=true,style=footnote- 
dw 
,urldate 
=long,abbreviate=true,pageref=true,idembib=true,idembibformat=dash] 
{biblatex}


Thank you in advance
jezZ


Is it possible to distribute long headings on two lines in the text but on only one in the TOC?

2011-05-16 Thread Påvel Nicklasson

Sorry for the enigmatic title, English is not my first language.

What I am trying to do is to make some long headings evenly distributed  
over two lines in the text by using \\ in ERT. It works well with one  
exception: In the TOC the headings are cut in the same place as in the  
text. This looks rather ugly.


I use a two column layout (Koma book) so there is less space for headings  
in the text than in the TOC and manually corrected headings looks much  
better than a heading automatically justified by LyX with just a single  
word on the second line.


Is there a way to distribute headings on two lines in the text and on a  
single line in the TOC?


Best Regards
Påvel


Re: Could somebody please help? I do have problems with format biblatex-dw and idembib/idembibformat…

2011-05-16 Thread Julio Rojas
I think is better if you address that question to the person in charge of
the maintenance of the package, Dominik Waßenhoven:
http://biblatex.dominik-wassenhoven.de/faq.shtml?en

http://biblatex.dominik-wassenhoven.de/faq.shtml?enRegards.
-
Julio Rojas
jcredbe...@gmail.com


On Mon, May 16, 2011 at 10:21 AM, jezZiFeR jezzi...@googlemail.com wrote:

 I hope, that this post is formally correct, and my english is
 understandable. Please let me know if something is not clear, or if I said
 something, that is not correct. If I could maybe get help elsewhere, please
 let me know, as I have to solve that problem to be able to continue my work.

 This is my problem with LyX 1.6.9 and  with biblatex-dw and
 idembib/idembibformat: Although I have entered idembib=true and
 idembibformat=dash, I do not get dashes, but ders., which is the male
 entry in german. How could I solve this? Thanks for your help.

 In the document-settings I have entered the following:

 \usepackage[natbib=true,style=footnote-dw,urldate=long,abbreviate=true,pageref=true,idembib=true,idembibformat=dash]{biblatex}

 Thank you in advance
 jezZ



SV: Is it possible to distribute long headings on two lines in the text but on only one in the TOC?

2011-05-16 Thread Ingar Pareliussen
Hi

There are many ways to do this, but I suggest that you use chapter* and format 
the linebreaks (CTRL+ENTER) where you want them and then i ERT add just after 
chapter* add:
\addcontentsline{toc}{chapter}{This a long text with the name of the Chapter}

HTH
Ingar


Re: Is it possible to distribute long headings on two lines in the text but on only one in the TOC?

2011-05-16 Thread Liviu Andronic
2011/5/16 Påvel Nicklasson pavelnicklas...@bahnhof.se:
 Sorry for the enigmatic title, English is not my first language.

 What I am trying to do is to make some long headings evenly distributed over
 two lines in the text by using \\ in ERT. It works well with one exception:
 In the TOC the headings are cut in the same place as in the text. This looks
 rather ugly.

Have you tried Context menu  Insert short title?
Liviu


 I use a two column layout (Koma book) so there is less space for headings in
 the text than in the TOC and manually corrected headings looks much better
 than a heading automatically justified by LyX with just a single word on the
 second line.

 Is there a way to distribute headings on two lines in the text and on a
 single line in the TOC?

 Best Regards
 Påvel




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: SV: Is it possible to distribute long headings on two lines in the text but on only one in the TOC?

2011-05-16 Thread Påvel Nicklasson

Thank you, Liviu and Ingar!

I have tested the chapter* and addcontentsline solution, but it messes up  
the automatic chapter and section numbering since I can't manage to  
transfer the correct chapter/section number to the TOC for the headings  
that need to be changed and the book is rather long (500 pages), and  
manually number all headings is little too much work.


The Context menu  Insert short title solution seems to work very well for  
my purposes. It is strange how easy solutions in LyX are when you discover  
them!


Thank you both!
Best Regards
Påvel

Den 2011-05-16 11:04:25 skrev Ingar Pareliussen  
ingar.parelius...@dmmh.no:



Hi

There are many ways to do this, but I suggest that you use chapter* and  
format the linebreaks (CTRL+ENTER) where you want them and then i ERT  
add just after chapter* add:
\addcontentsline{toc}{chapter}{This a long text with the name of the  
Chapter}


HTH
Ingar


HTML export from LyX

2011-05-16 Thread Pascal Francq
Hi,
How can I, from the command line, export a given LyX document into a HTML 
document in another directory (in LyX, the document is always exported in the 
same directory).
Thanks.
-- 

Dr. Ir. Pascal Francq
BELGIUM


signature.asc
Description: This is a digitally signed message part.


Re: How to type a text over arrow?

2011-05-16 Thread Diego Queiroz
Try this:

http://lmgtfy.com/?q=text+over+arrow+latexl=1


Take care,
---
Diego Queiroz




On Mon, May 16, 2011 at 4:26 AM, Yegor Yefremov
yegorsli...@googlemail.com wrote:
 Hello,

 I want to type the formula like in the attached image (formula.jpg).
 Haw can I do this with LyX/LaTeX? As for now I'm using LyX 1.6.5.

 Regards,
 Yegor



Undefined control sequence

2011-05-16 Thread Sølvi
 Hi.

Hope someone can help me with this beacuse I'm getting desperate.

I use LYX version 1.6.9 on a XP-platform

I have a Masterdocument with several included files, I worked on this
document only a few weeks ago with no problems, but now I can't view it in
PDF anymore. When I press the view PDF-button i get a long list which says
Undefined control sequence and the following error message:


*\ltx@newglobalif *

* \ifGPT@pagecolor*

*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've also tried to PDF just the smaller, included douments seperatly but get
the same error. I've looked everywhere for a solution and can't figure out
what's wrong, considering the document was fine a few weeks ago. Hope anyone
can help me with this, and please keep in mind that I'm a novise to LYX and
need simple explanations :)


Regards


Solvi


Re: moderncv template error to compile

2011-05-16 Thread Helene
2011/5/14 Uwe Stöhr uwesto...@web.de

 Am 13.05.2011 00:20, schrieb Helene:


  I wish make a cv with moderncv template, but when try generate dvi preview
 get some errors, that the file attachment.


 This file doesn't contain errors, only warnings.

 ModernCV only works correctly with PDF, not with DVI. So view it as PDF and
 it should work.
 If not, please send me your LyX file.

 regards Uwe


I understand. But it no work. I send you my lyx file, it is a template.

Regards

-- 
Nena


modernCV.lyx
Description: Binary data


Re: moderncv template error to compile

2011-05-16 Thread Manolo Martínez
I have a similar problem. There are two crude ways for the document to
compile:

1. I've noticed that changing the style from classic to casual -- in
Document/Configuration/Preamble -- allows it to compile. 
2. commenting out the reference to the email (also in the preamble) does
the trick too.

This is enough for me for the time being; but I realise that it's not
ideal: maybe you prefer the classic style and/or cannot make do without
the e-mail field. I'd very much like to know of better solutions.

I come up with my solution number 2 because pdflatex does compile
a .tex exported by LyX -- after hitting enter a couple of times -- but,
in the e-mail field, shows the e-mail you introduced prefixed with
magenta. That is, in my case: magentaman...@austrohungaro.com. 
A very cool bug :) There must be a semicolon missing somewhere...

Manolo



plotting over graph in Lyx / beamer presentation

2011-05-16 Thread Rainer M Krug
Hi

I want to plot a square / circle over a graph (in pdf format) to
highlight certain sections. I rmember that it is possible, but I do
not remember how.

Thanks,

Rainer

-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:           +27 - (0)83 9479 042
Fax:            +27 - (0)86 516 2782
Fax:            +49 - (0)321 2125 2244
email:          rai...@krugs.de

Skype:          RMkrug
Google:         r.m.k...@gmail.com


Re: Undefined control sequence

2011-05-16 Thread Julio Rojas
Hi Solvi. You should start little by little. Try creating a new document
exactly set up as your problematic document. Add only one paragraph to test
it, and compile. If you have some problem, start removing one line at a
time, the packages included in the preamble. Lets see how that goes before
proceeding.

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


On Mon, May 16, 2011 at 2:00 PM, Sølvi s.n.mi...@gmail.com wrote:

 Hi.

 Hope someone can help me with this beacuse I'm getting desperate.

 I use LYX version 1.6.9 on a XP-platform

 I have a Masterdocument with several included files, I worked on this
 document only a few weeks ago with no problems, but now I can't view it in
 PDF anymore. When I press the view PDF-button i get a long list which says
 Undefined control sequence and the following error message:


 *\ltx@newglobalif *

 * \ifGPT@pagecolor*

 *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've also tried to PDF just the smaller, included douments seperatly but
 get the same error. I've looked everywhere for a solution and can't figure
 out what's wrong, considering the document was fine a few weeks ago. Hope
 anyone can help me with this, and please keep in mind that I'm a novise to
 LYX and need simple explanations :)


 Regards


 Solvi



Re: HTML export from LyX

2011-05-16 Thread Richard Heck
On 05/16/2011 06:35 AM, Pascal Francq wrote:
 Hi,
 How can I, from the command line, export a given LyX document into a HTML 
 document in another directory (in LyX, the document is always exported in the 
 same directory).

There's no support presently in LyX for naming the export directory,
either for XHTML or for any other format. There is a bug about this already.

Richard



Re: Undefined control sequence

2011-05-16 Thread Richard Heck
On 05/16/2011 08:00 AM, Sølvi wrote:
 Hi.

 Hope someone can help me with this beacuse I'm getting desperate.

 I use LYX version 1.6.9 on a XP-platform

 I have a Masterdocument with several included files, I worked on this
 document only a few weeks ago with no problems, but now I can't view
 it in PDF anymore. When I press the view PDF-button i get a long
 list which says Undefined control sequence and the following error
 message:


 *\ltx@newglobalif *

 *\ifGPT@pagecolor*

 *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've also tried to PDF just the smaller, included douments seperatly
 but get the same error. I've looked everywhere for a solution and
 can't figure out what's wrong, considering the document was fine a few
 weeks ago. Hope anyone can help me with this, and please keep in mind
 that I'm a novise to LYX and need simple explanations :)


Can you post the full error log? What we really want is the first of
these errors.

Richard



Re: Subfigures: \subref support?

2011-05-16 Thread Julien Rioux

On 11/05/2011 12:39 PM, Diego Queiroz wrote:

Here is the ticket for this problem.

http://www.lyx.org/trac/ticket/7550

http://www.lyx.org/trac/ticket/7550
---
Diego Queiroz



On Wed, May 11, 2011 at 10:35 AM, Diego Queirozqueiroz.di...@gmail.comwrote:


Yes I'm sure.




Yeah, you are right. But this is a LyX bug. It should use a not-so-obvious
name for the command to prevent a conflict like this.
However, the command \subref is defined by LyX only when you use the
Formatted reference. Since I don't use this type of cross-reference, there
is no problem with my ERT.

I'll create a ticket for this.

Cheers,
---
Diego Queiroz





Thanks

--
Julien



Re: how to separate pdf file?

2011-05-16 Thread Julien Rioux

On 12/05/2011 11:04 AM, Diego Queiroz wrote:

Just curious, will pdftk preserve links between chapters? This seems
rather nontrivial.


Pdftk output is exactly like the original file, so it keeps all links.
All links in the generated file will work if they point to an existent position.
For example, if there is a link for the chapter 10, but the chapter 10
is not in the file, that link will not work (obvious?).



I guess I wasn't precise enough. The PDF format supports links across 
files. The OP looks for a tool which does the split and rewrites the 
metadata so that links happen across the different pdf files. 
Apparently, pdftk is not this tool. But pdftk is based on iText which is 
very powerful, so I can imagine someone could hack at it do get this 
behavior. As I said, it's rather nontrivial, but it's not obvious that 
it cannot be done.


Nevertheless, pdftk is a great tool as it is.

Julien


Re: SV: Is it possible to distribute long headings on two lines in the text but on only one in the TOC?

2011-05-16 Thread Julien Rioux

On 16/05/2011 5:30 AM, Påvel Nicklasson wrote:

Thank you, Liviu and Ingar!

I have tested the chapter* and addcontentsline solution, but it messes
up the automatic chapter and section numbering since I can't manage to
transfer the correct chapter/section number to the TOC for the headings
that need to be changed and the book is rather long (500 pages), and
manually number all headings is little too much work.

The Context menu  Insert short title solution seems to work very well
for my purposes. It is strange how easy solutions in LyX are when you
discover them!

Thank you both!
Best Regards
Påvel

Den 2011-05-16 11:04:25 skrev Ingar Pareliussen
ingar.parelius...@dmmh.no:


Hi

There are many ways to do this, but I suggest that you use chapter*
and format the linebreaks (CTRL+ENTER) where you want them and then i
ERT add just after chapter* add:
\addcontentsline{toc}{chapter}{This a long text with the name of the
Chapter}

HTH
Ingar




Short title is the solution for me too. By the way, you can use 
ctrl+enter to enter a linebreak in lyx (a \\ in latex).


--
Julien



Re: eps graphics fails when displaying in pdf mode if inserted by ERT \includegraphics

2011-05-16 Thread Julien Rioux

On 14/05/2011 2:47 AM, Gunnar wrote:

How can I make LyX work with ERT and pdf? (Yes, I need ERT)



I'm curious what is your use case which requires ERT for includegraphics 
? Since LyX supports inclusion of any graphics format and does the 
conversion for me, I dare not go back to plain latex, unless I need 
really high quality eps and pdf.


--
Julien



Re: How to type a text over arrow?

2011-05-16 Thread Yegor Yefremov
Hi Diego,

thanks. I don't how I searched for this topic, but I found nothing valuable :-)

Yegor

On Mon, May 16, 2011 at 1:55 PM, Diego Queiroz queiroz.di...@gmail.com wrote:
 Try this:

 http://lmgtfy.com/?q=text+over+arrow+latexl=1


 Take care,
 ---
 Diego Queiroz




 On Mon, May 16, 2011 at 4:26 AM, Yegor Yefremov
 yegorsli...@googlemail.com wrote:
 Hello,

 I want to type the formula like in the attached image (formula.jpg).
 Haw can I do this with LyX/LaTeX? As for now I'm using LyX 1.6.5.

 Regards,
 Yegor




Re: How to type a text over arrow?

2011-05-16 Thread Ernesto Posse
The first link from Diego's search shows the LaTeX way to do it.

In LyX, open a math box (e.g. ctrl-M) and type

l \xrightarrow{g,s,r,u} l'





On Mon, May 16, 2011 at 12:46 PM, Yegor Yefremov
yegorsli...@googlemail.com wrote:
 Hi Diego,

 thanks. I don't how I searched for this topic, but I found nothing valuable 
 :-)

 Yegor

 On Mon, May 16, 2011 at 1:55 PM, Diego Queiroz queiroz.di...@gmail.com 
 wrote:
 Try this:

 http://lmgtfy.com/?q=text+over+arrow+latexl=1


 Take care,
 ---
 Diego Queiroz




 On Mon, May 16, 2011 at 4:26 AM, Yegor Yefremov
 yegorsli...@googlemail.com wrote:
 Hello,

 I want to type the formula like in the attached image (formula.jpg).
 Haw can I do this with LyX/LaTeX? As for now I'm using LyX 1.6.5.

 Regards,
 Yegor






-- 
Ernesto Posse

Modelling and Analysis in Software Engineering
School of Computing
Queen's University - Kingston, Ontario, Canada


Re: Undefined control sequence

2011-05-16 Thread Julio Rojas
I know it is hard work, but I suspect it has nothing to do with the text
itself, but with latex installation. This is why I suggested doing not a
totally backtrace on your big file, but a controlled test case on a similar
document. Also, as Richard suggested, send the first error you find in the
log for help from the list.

Regards and good luck.

-
Julio Rojas
jcredbe...@gmail.com


On Mon, May 16, 2011 at 4:04 PM, Sølvi s.n.mi...@gmail.com wrote:

 Well that was helpful. I have been working on this document for over 3
 years now, without any problems so it is a little late trying to
 retrace/recreate what I have done, It is many hundred pages when i compile
 it. And as I said the document worked fine when I last worked on it a couple
 of weeks ago, today it's not working at all.

 S.


 2011/5/16 Julio Rojas jcredbe...@gmail.com

 Hi Solvi. You should start little by little. Try creating a new document
 exactly set up as your problematic document. Add only one paragraph to test
 it, and compile. If you have some problem, start removing one line at a
 time, the packages included in the preamble. Lets see how that goes before
 proceeding.

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



 On Mon, May 16, 2011 at 2:00 PM, Sølvi s.n.mi...@gmail.com wrote:

 Hi.

 Hope someone can help me with this beacuse I'm getting desperate.

 I use LYX version 1.6.9 on a XP-platform

 I have a Masterdocument with several included files, I worked on this
 document only a few weeks ago with no problems, but now I can't view it in
 PDF anymore. When I press the view PDF-button i get a long list which says
 Undefined control sequence and the following error message:


 *\ltx@newglobalif *

 * \ifGPT@pagecolor*

 *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've also tried to PDF just the smaller, included douments seperatly but
 get the same error. I've looked everywhere for a solution and can't figure
 out what's wrong, considering the document was fine a few weeks ago. Hope
 anyone can help me with this, and please keep in mind that I'm a novise to
 LYX and need simple explanations :)


 Regards


 Solvi






Re: plotting over graph in Lyx / beamer presentation

2011-05-16 Thread Liviu Andronic
On Mon, May 16, 2011 at 3:05 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 Hi

 I want to plot a square / circle over a graph (in pdf format) to
 highlight certain sections. I rmember that it is possible, but I do
 not remember how.

Check 
http://wiki.lyx.org/uploads/LyX/tutorials/advanced_features_presentation/en/advanced_features_presentation.pdf
for some pointers. Also
https://sites.google.com/site/tsewiki/resources/latex/LyX_Essentials.pdf?attredirects=0d=1
.
Liviu


 Thanks,

 Rainer

 --
 NEW GERMAN FAX NUMBER!!!

 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
 Biology, UCT), Dipl. Phys. (Germany)

 Centre of Excellence for Invasion Biology
 Natural Sciences Building
 Office Suite 2039
 Stellenbosch University
 Main Campus, Merriman Avenue
 Stellenbosch
 South Africa

 Cell:           +27 - (0)83 9479 042
 Fax:            +27 - (0)86 516 2782
 Fax:            +49 - (0)321 2125 2244
 email:          rai...@krugs.de

 Skype:          RMkrug
 Google:         r.m.k...@gmail.com




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: HTML export from LyX

2011-05-16 Thread Guenter Milde
On 2011-05-16, Richard Heck wrote:
 On 05/16/2011 06:35 AM, Pascal Francq wrote:
 How can I, from the command line, export a given LyX document into
 a HTML document in another directory (in LyX, the document is always
 exported in the same directory).

 There's no support presently in LyX for naming the export directory,
 either for XHTML or for any other format. There is a bug about this
 already.

For the time being, you can use the external elyxer (works even
without a LyX installation):

# elyxer --help

  * Usage: elyxer.py [options] [filein] [fileout]
  * Convert LyX input file filein to HTML file fileout.
  * If filein (or fileout) is not given use standard input (or output).
  * Main program of the eLyXer package (http://elyxer.nongnu.org/).

...


Günter



Re: running cygwin or unix script from within lyx

2011-05-16 Thread Venable
On Sun, May 15, 2011 at 9:06 PM, Richard Heck rgh...@comcast.net wrote:

 On 05/15/2011 08:48 PM, Venable wrote:

 Hi all,

 I have written a couple of cygwin scripts to automate some time-consuming
 repetitive tasks and would like to be able to run these from within LyX, for
 example via a keyboard shortcut or a customized button on a toolbar. Is this
 sort of thing possible? If so, does anyone have advice on how to set it up?

 As an example, I like to use the pdfpages package to include external
 pdfs. However, I often use relative paths (e.g. when collaborating with
 co-authors on Dropbox and the like), and as we know LyX cannot handle this
 because of all the copying to temporary directories and so on that LyX
 prefers. So, I've written a very simple script to export the lyx file to tex
 and then compile using miktex. It would be great if I didn't have to fire up
 CygWin and type in the command and filename - rather, I'd prefer to
 designate a keyboard shortcut or menu option within LyX that would tell
 cygwin to run the script and pass it the current filename.

  The only real way to do this, so far as I know, is to define a converter
 that will call your script. This converter might, for example, replace
 pdflatex as a LaTeX--PDF converter. There are a number of ways to do this,
 so the best way will depend on the details.

 rh


Dear Richard,

Thanks a lot for this comment. What are some of the alternative ways to
define a converter, and what are the sort of details that would be useful to
know in deciding?

This particular task is incredibly simple (export to tex, compile), and I'm
not necessarily wedded to using CygWin, that's just what I happen to be most
comfortable with.


Re: running cygwin or unix script from within lyx

2011-05-16 Thread Richard Heck
On 05/16/2011 04:05 PM, Venable wrote:

 What are some of the alternative ways to define a converter, and what
 are the sort of details that would be useful to know in deciding?

Converters are defined under ToolsPreferencesFile HandingConverters.
See section 3.3 of the Customization manual for the details of the
syntax. Basically, any stupid script can act as a converter. It just
needs to take certain arguments, and you need to tell LyX what they are.
Lots of converters are already defined there, so you can also mimic them.

Richard




Re: running cygwin or unix script from within lyx

2011-05-16 Thread Julien Rioux

On 16/05/2011 5:39 PM, Richard Heck wrote:

On 05/16/2011 04:05 PM, Venable wrote:


What are some of the alternative ways to define a converter, and what
are the sort of details that would be useful to know in deciding?


Converters are defined under ToolsPreferencesFile HandingConverters.
See section 3.3 of the Customization manual for the details of the
syntax. Basically, any stupid script can act as a converter. It just
needs to take certain arguments, and you need to tell LyX what they are.
Lots of converters are already defined there, so you can also mimic them.

Richard





However, the converter is executed in a temporary folder, which is 
precisely what the user wanted to avoid (and the reason to write the 
script in the first place). I miss how you can get around this.


--
Julien



Re: running cygwin or unix script from within lyx

2011-05-16 Thread Richard Heck
On 05/16/2011 05:45 PM, Julien Rioux wrote:
 On 16/05/2011 5:39 PM, Richard Heck wrote:
 On 05/16/2011 04:05 PM, Venable wrote:

 What are some of the alternative ways to define a converter, and what
 are the sort of details that would be useful to know in deciding?

 Converters are defined under ToolsPreferencesFile HandingConverters.
 See section 3.3 of the Customization manual for the details of the
 syntax. Basically, any stupid script can act as a converter. It just
 needs to take certain arguments, and you need to tell LyX what they are.
 Lots of converters are already defined there, so you can also mimic
 them.


 However, the converter is executed in a temporary folder, which is
 precisely what the user wanted to avoid (and the reason to write the
 script in the first place). I miss how you can get around this.

Sorry, I must have missed that part.

Richard



Re: running cygwin or unix script from within lyx

2011-05-16 Thread Julien Rioux

On 16/05/2011 6:11 PM, Richard Heck wrote:

On 05/16/2011 05:45 PM, Julien Rioux wrote:

On 16/05/2011 5:39 PM, Richard Heck wrote:

On 05/16/2011 04:05 PM, Venable wrote:


What are some of the alternative ways to define a converter, and what
are the sort of details that would be useful to know in deciding?


Converters are defined under ToolsPreferencesFile HandingConverters.
See section 3.3 of the Customization manual for the details of the
syntax. Basically, any stupid script can act as a converter. It just
needs to take certain arguments, and you need to tell LyX what they are.
Lots of converters are already defined there, so you can also mimic
them.



However, the converter is executed in a temporary folder, which is
precisely what the user wanted to avoid (and the reason to write the
script in the first place). I miss how you can get around this.


Sorry, I must have missed that part.

Richard



I believe copiers could help here, but I do not understand them/never 
used them.


Cheers,
Julien


Re: running cygwin or unix script from within lyx

2011-05-16 Thread Richard Heck
On 05/16/2011 06:12 PM, Julien Rioux wrote:
 On 16/05/2011 6:11 PM, Richard Heck wrote:
 On 05/16/2011 05:45 PM, Julien Rioux wrote:
 On 16/05/2011 5:39 PM, Richard Heck wrote:
 On 05/16/2011 04:05 PM, Venable wrote:

 What are some of the alternative ways to define a converter, and what
 are the sort of details that would be useful to know in deciding?

 Converters are defined under ToolsPreferencesFile
 HandingConverters.
 See section 3.3 of the Customization manual for the details of the
 syntax. Basically, any stupid script can act as a converter. It just
 needs to take certain arguments, and you need to tell LyX what they
 are.
 Lots of converters are already defined there, so you can also mimic
 them.


 However, the converter is executed in a temporary folder, which is
 precisely what the user wanted to avoid (and the reason to write the
 script in the first place). I miss how you can get around this.

 Sorry, I must have missed that part.


 I believe copiers could help here, but I do not understand them/never
 used them.

Well, I guess we'll see, but on reading this again it looks as if the
problem was supposed to be that certain of his scripts fail because of
the copying to a tempdir. I guess my thought must have been that this
could be done by running the script in the tempdir, but then maybe you
have to know where the original file lives.

Richard



Re: How to type a text over arrow?

2011-05-16 Thread Uwe Stöhr

Am 16.05.2011 09:26, schrieb Yegor Yefremov:


I want to type the formula like in the attached image (formula.jpg).
Haw can I do this with LyX/LaTeX? As for now I'm using LyX 1.6.5.


See sec. 6.1 Horizontal Arrows of the Math manual that you find in LyX's Help 
menu.

regards Uwe


Re: moderncv template error to compile

2011-05-16 Thread Uwe Stöhr

Am 16.05.2011 14:27, schrieb Helene:


I understand. But it no work. I send you my lyx file, it is a template.


It doesn't work because you are using an outdated version of LyX. You need at least LyX 1.6.8 to get 
modernCV working with the latest version of the modernCV LaTeX-package.


I recommend to update to LyX 1.6.10.

regards Uwe

attached is the version of the file that was created with LyX 1.6.8


modernCV.lyx
Description: application/lyx


Re: moderncv template error to compile

2011-05-16 Thread Uwe Stöhr

Am 16.05.2011 14:46, schrieb Manolo Martínez:


I have a similar problem.


Assure that you are using LyX 1.6.8 or newer. If the problem persists with this LyX version, please 
send me your file.


regards Uwe


switching LyX windows in Lyx 2.0 on Mac OS X

2011-05-16 Thread Andrzej Czarnecki
Dear Coleagues,
In LyX 1.6 it was possible to move from one LyX window to another with
Alt-' (alt-apostrophe).  In Lyx 2.0 this still works but modifies the
document in the window to which one switches (the apostrophe appears
in that document).  Is there a way to avoid modifying the document?
Thanks for any advice!
Andrzej


Re: plotting over graph in Lyx / beamer presentation

2011-05-16 Thread Phil
 

 I want to plot a square / circle over a graph (in pdf format) to
 highlight certain sections. I rmember that it is possible, but I do

maybe there is an easier way... but what I usually do is use pstricks with 
powerdot (I assume you can 

use the same technique with beamer) and then after I insert my graphic I add in 
a \psgrid to 

find the coordinates and then I put in a \psframebox or \psellipse where I want 
to highlight.   


How to type a text over arrow?

2011-05-16 Thread Yegor Yefremov
Hello,

I want to type the formula like in the attached image (formula.jpg).
Haw can I do this with LyX/LaTeX? As for now I'm using LyX 1.6.5.

Regards,
Yegor
<>

Could somebody please help? I do have problems with format biblatex-dw and idembib/idembibformat…

2011-05-16 Thread jezZiFeR
I hope, that this post is formally correct, and my english is  
understandable. Please let me know if something is not clear, or if I  
said something, that is not correct. If I could maybe get help  
elsewhere, please let me know, as I have to solve that problem to be  
able to continue my work.


This is my problem with LyX 1.6.9 and  with biblatex-dw and idembib/ 
idembibformat: Although I have entered idembib=true and  
idembibformat=dash, I do not get dashes, but "ders.", which is the  
male entry in german. How could I solve this? Thanks for your help.


In the document-settings I have entered the following:
\usepackage[natbib=true,style=footnote- 
dw 
,urldate 
=long,abbreviate=true,pageref=true,idembib=true,idembibformat=dash] 
{biblatex}


Thank you in advance
jezZ


Is it possible to distribute long headings on two lines in the text but on only one in the TOC?

2011-05-16 Thread Påvel Nicklasson

Sorry for the enigmatic title, English is not my first language.

What I am trying to do is to make some long headings evenly distributed  
over two lines in the text by using \\ in ERT. It works well with one  
exception: In the TOC the headings are cut in the same place as in the  
text. This looks rather ugly.


I use a two column layout (Koma book) so there is less space for headings  
in the text than in the TOC and manually corrected headings looks much  
better than a heading automatically justified by LyX with just a single  
word on the second line.


Is there a way to distribute headings on two lines in the text and on a  
single line in the TOC?


Best Regards
Påvel


Re: Could somebody please help? I do have problems with format biblatex-dw and idembib/idembibformat…

2011-05-16 Thread Julio Rojas
I think is better if you address that question to the person in charge of
the maintenance of the package, Dominik Waßenhoven:
http://biblatex.dominik-wassenhoven.de/faq.shtml?en

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


On Mon, May 16, 2011 at 10:21 AM, jezZiFeR  wrote:

> I hope, that this post is formally correct, and my english is
> understandable. Please let me know if something is not clear, or if I said
> something, that is not correct. If I could maybe get help elsewhere, please
> let me know, as I have to solve that problem to be able to continue my work.
>
> This is my problem with LyX 1.6.9 and  with biblatex-dw and
> idembib/idembibformat: Although I have entered idembib=true and
> idembibformat=dash, I do not get dashes, but "ders.", which is the male
> entry in german. How could I solve this? Thanks for your help.
>
> In the document-settings I have entered the following:
>
> \usepackage[natbib=true,style=footnote-dw,urldate=long,abbreviate=true,pageref=true,idembib=true,idembibformat=dash]{biblatex}
>
> Thank you in advance
> jezZ
>


SV: Is it possible to distribute long headings on two lines in the text but on only one in the TOC?

2011-05-16 Thread Ingar Pareliussen
Hi

There are many ways to do this, but I suggest that you use chapter* and format 
the linebreaks (CTRL+ENTER) where you want them and then i ERT add just after 
chapter* add:
\addcontentsline{toc}{chapter}{This a long text with the name of the Chapter}

HTH
Ingar


Re: Is it possible to distribute long headings on two lines in the text but on only one in the TOC?

2011-05-16 Thread Liviu Andronic
2011/5/16 Påvel Nicklasson :
> Sorry for the enigmatic title, English is not my first language.
>
> What I am trying to do is to make some long headings evenly distributed over
> two lines in the text by using \\ in ERT. It works well with one exception:
> In the TOC the headings are cut in the same place as in the text. This looks
> rather ugly.
>
Have you tried Context menu > Insert short title?
Liviu


> I use a two column layout (Koma book) so there is less space for headings in
> the text than in the TOC and manually corrected headings looks much better
> than a heading automatically justified by LyX with just a single word on the
> second line.
>
> Is there a way to distribute headings on two lines in the text and on a
> single line in the TOC?
>
> Best Regards
> Påvel
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: SV: Is it possible to distribute long headings on two lines in the text but on only one in the TOC?

2011-05-16 Thread Påvel Nicklasson

Thank you, Liviu and Ingar!

I have tested the chapter* and addcontentsline solution, but it messes up  
the automatic chapter and section numbering since I can't manage to  
transfer the correct chapter/section number to the TOC for the headings  
that need to be changed and the book is rather long (500 pages), and  
manually number all headings is little too much work.


The Context menu > Insert short title solution seems to work very well for  
my purposes. It is strange how easy solutions in LyX are when you discover  
them!


Thank you both!
Best Regards
Påvel

Den 2011-05-16 11:04:25 skrev Ingar Pareliussen  
:



Hi

There are many ways to do this, but I suggest that you use chapter* and  
format the linebreaks (CTRL+ENTER) where you want them and then i ERT  
add just after chapter* add:
\addcontentsline{toc}{chapter}{This a long text with the name of the  
Chapter}


HTH
Ingar


HTML export from LyX

2011-05-16 Thread Pascal Francq
Hi,
How can I, from the command line, export a given LyX document into a HTML 
document in another directory (in LyX, the document is always exported in the 
same directory).
Thanks.
-- 

Dr. Ir. Pascal Francq
BELGIUM


signature.asc
Description: This is a digitally signed message part.


Re: How to type a text over arrow?

2011-05-16 Thread Diego Queiroz
Try this:

http://lmgtfy.com/?q=text+over+arrow+latex=1


Take care,
---
Diego Queiroz




On Mon, May 16, 2011 at 4:26 AM, Yegor Yefremov
 wrote:
> Hello,
>
> I want to type the formula like in the attached image (formula.jpg).
> Haw can I do this with LyX/LaTeX? As for now I'm using LyX 1.6.5.
>
> Regards,
> Yegor
>


Undefined control sequence

2011-05-16 Thread Sølvi
 Hi.

Hope someone can help me with this beacuse I'm getting desperate.

I use LYX version 1.6.9 on a XP-platform

I have a Masterdocument with several included files, I worked on this
document only a few weeks ago with no problems, but now I can't view it in
PDF anymore. When I press the "view PDF"-button i get a long list which says
"Undefined control sequence" and the following error message:


*\ltx@newglobalif *

* \ifGPT@pagecolor*

*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've also tried to PDF just the smaller, included douments seperatly but get
the same error. I've looked everywhere for a solution and can't figure out
what's wrong, considering the document was fine a few weeks ago. Hope anyone
can help me with this, and please keep in mind that I'm a novise to LYX and
need simple explanations :)


Regards


Solvi


Re: moderncv template error to compile

2011-05-16 Thread Helene
2011/5/14 Uwe Stöhr 

> Am 13.05.2011 00:20, schrieb Helene:
>
>
>  I wish make a cv with moderncv template, but when try generate dvi preview
>> get some errors, that the file attachment.
>>
>
> This file doesn't contain errors, only warnings.
>
> ModernCV only works correctly with PDF, not with DVI. So view it as PDF and
> it should work.
> If not, please send me your LyX file.
>
> regards Uwe
>

I understand. But it no work. I send you my lyx file, it is a template.

Regards

-- 
Nena


modernCV.lyx
Description: Binary data


Re: moderncv template error to compile

2011-05-16 Thread Manolo Martínez
I have a similar problem. There are two crude ways for the document to
compile:

1. I've noticed that changing the style from "classic" to "casual" -- in
Document/Configuration/Preamble -- allows it to compile. 
2. commenting out the reference to the email (also in the preamble) does
the trick too.

This is enough for me for the time being; but I realise that it's not
ideal: maybe you prefer the classic style and/or cannot make do without
the e-mail field. I'd very much like to know of better solutions.

I come up with my "solution" number 2 because pdflatex does compile
a .tex exported by LyX -- after hitting enter a couple of times -- but,
in the e-mail field, shows the e-mail you introduced prefixed with
"magenta". That is, in my case: magentaman...@austrohungaro.com. 
A very cool bug :) There must be a semicolon missing somewhere...

Manolo



plotting over graph in Lyx / beamer presentation

2011-05-16 Thread Rainer M Krug
Hi

I want to plot a square / circle over a graph (in pdf format) to
highlight certain sections. I rmember that it is possible, but I do
not remember how.

Thanks,

Rainer

-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:           +27 - (0)83 9479 042
Fax:            +27 - (0)86 516 2782
Fax:            +49 - (0)321 2125 2244
email:          rai...@krugs.de

Skype:          RMkrug
Google:         r.m.k...@gmail.com


Re: Undefined control sequence

2011-05-16 Thread Julio Rojas
Hi Solvi. You should start little by little. Try creating a new document
exactly set up as your problematic document. Add only one paragraph to test
it, and compile. If you have some problem, start removing one line at a
time, the packages included in the preamble. Lets see how that goes before
proceeding.

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


On Mon, May 16, 2011 at 2:00 PM, Sølvi  wrote:

> Hi.
>
> Hope someone can help me with this beacuse I'm getting desperate.
>
> I use LYX version 1.6.9 on a XP-platform
>
> I have a Masterdocument with several included files, I worked on this
> document only a few weeks ago with no problems, but now I can't view it in
> PDF anymore. When I press the "view PDF"-button i get a long list which says
> "Undefined control sequence" and the following error message:
>
>
> *\ltx@newglobalif *
>
> * \ifGPT@pagecolor*
>
> *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've also tried to PDF just the smaller, included douments seperatly but
> get the same error. I've looked everywhere for a solution and can't figure
> out what's wrong, considering the document was fine a few weeks ago. Hope
> anyone can help me with this, and please keep in mind that I'm a novise to
> LYX and need simple explanations :)
>
>
> Regards
>
>
> Solvi
>


Re: HTML export from LyX

2011-05-16 Thread Richard Heck
On 05/16/2011 06:35 AM, Pascal Francq wrote:
> Hi,
> How can I, from the command line, export a given LyX document into a HTML 
> document in another directory (in LyX, the document is always exported in the 
> same directory).
>
There's no support presently in LyX for naming the export directory,
either for XHTML or for any other format. There is a bug about this already.

Richard



Re: Undefined control sequence

2011-05-16 Thread Richard Heck
On 05/16/2011 08:00 AM, Sølvi wrote:
> Hi.
>
> Hope someone can help me with this beacuse I'm getting desperate.
>
> I use LYX version 1.6.9 on a XP-platform
>
> I have a Masterdocument with several included files, I worked on this
> document only a few weeks ago with no problems, but now I can't view
> it in PDF anymore. When I press the "view PDF"-button i get a long
> list which says "Undefined control sequence" and the following error
> message:
>
>
> *\ltx@newglobalif *
>
> *\ifGPT@pagecolor*
>
> *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've also tried to PDF just the smaller, included douments seperatly
> but get the same error. I've looked everywhere for a solution and
> can't figure out what's wrong, considering the document was fine a few
> weeks ago. Hope anyone can help me with this, and please keep in mind
> that I'm a novise to LYX and need simple explanations :)
>
>
Can you post the full error log? What we really want is the first of
these errors.

Richard



Re: Subfigures: \subref support?

2011-05-16 Thread Julien Rioux

On 11/05/2011 12:39 PM, Diego Queiroz wrote:

Here is the ticket for this problem.

http://www.lyx.org/trac/ticket/7550


---
Diego Queiroz



On Wed, May 11, 2011 at 10:35 AM, Diego Queirozwrote:


Yes I'm sure.




Yeah, you are right. But this is a LyX bug. It should use a not-so-obvious
name for the command to prevent a conflict like this.
However, the command \subref is defined by LyX only when you use the
. Since I don't use this type of cross-reference, there
is no problem with my ERT.

I'll create a ticket for this.

Cheers,
---
Diego Queiroz





Thanks

--
Julien



Re: how to separate pdf file?

2011-05-16 Thread Julien Rioux

On 12/05/2011 11:04 AM, Diego Queiroz wrote:

Just curious, will pdftk preserve links between chapters? This seems
rather nontrivial.


Pdftk output is exactly like the original file, so it keeps all links.
All links in the generated file will work if they point to an existent position.
For example, if there is a link for the chapter 10, but the chapter 10
is not in the file, that link will not work (obvious?).



I guess I wasn't precise enough. The PDF format supports links across 
files. The OP looks for a tool which does the split and rewrites the 
metadata so that links happen across the different pdf files. 
Apparently, pdftk is not this tool. But pdftk is based on iText which is 
very powerful, so I can imagine someone could hack at it do get this 
behavior. As I said, it's rather nontrivial, but it's not obvious that 
it cannot be done.


Nevertheless, pdftk is a great tool as it is.

Julien


Re: SV: Is it possible to distribute long headings on two lines in the text but on only one in the TOC?

2011-05-16 Thread Julien Rioux

On 16/05/2011 5:30 AM, Påvel Nicklasson wrote:

Thank you, Liviu and Ingar!

I have tested the chapter* and addcontentsline solution, but it messes
up the automatic chapter and section numbering since I can't manage to
transfer the correct chapter/section number to the TOC for the headings
that need to be changed and the book is rather long (500 pages), and
manually number all headings is little too much work.

The Context menu > Insert short title solution seems to work very well
for my purposes. It is strange how easy solutions in LyX are when you
discover them!

Thank you both!
Best Regards
Påvel

Den 2011-05-16 11:04:25 skrev Ingar Pareliussen
:


Hi

There are many ways to do this, but I suggest that you use chapter*
and format the linebreaks (CTRL+ENTER) where you want them and then i
ERT add just after chapter* add:
\addcontentsline{toc}{chapter}{This a long text with the name of the
Chapter}

HTH
Ingar




Short title is the solution for me too. By the way, you can use 
ctrl+enter to enter a linebreak in lyx (a \\ in latex).


--
Julien



Re: eps graphics fails when displaying in pdf mode if inserted by ERT \includegraphics

2011-05-16 Thread Julien Rioux

On 14/05/2011 2:47 AM, Gunnar wrote:

How can I make LyX work with ERT and pdf? (Yes, I need ERT)



I'm curious what is your use case which requires ERT for includegraphics 
? Since LyX supports inclusion of any graphics format and does the 
conversion for me, I dare not go back to plain latex, unless I need 
really high quality eps and pdf.


--
Julien



Re: How to type a text over arrow?

2011-05-16 Thread Yegor Yefremov
Hi Diego,

thanks. I don't how I searched for this topic, but I found nothing valuable :-)

Yegor

On Mon, May 16, 2011 at 1:55 PM, Diego Queiroz  wrote:
> Try this:
>
> http://lmgtfy.com/?q=text+over+arrow+latex=1
>
>
> Take care,
> ---
> Diego Queiroz
>
>
>
>
> On Mon, May 16, 2011 at 4:26 AM, Yegor Yefremov
>  wrote:
>> Hello,
>>
>> I want to type the formula like in the attached image (formula.jpg).
>> Haw can I do this with LyX/LaTeX? As for now I'm using LyX 1.6.5.
>>
>> Regards,
>> Yegor
>>
>


Re: How to type a text over arrow?

2011-05-16 Thread Ernesto Posse
The first link from Diego's search shows the LaTeX way to do it.

In LyX, open a math box (e.g. ctrl-M) and type

l \xrightarrow{g,s,r,u} l'





On Mon, May 16, 2011 at 12:46 PM, Yegor Yefremov
 wrote:
> Hi Diego,
>
> thanks. I don't how I searched for this topic, but I found nothing valuable 
> :-)
>
> Yegor
>
> On Mon, May 16, 2011 at 1:55 PM, Diego Queiroz  
> wrote:
>> Try this:
>>
>> http://lmgtfy.com/?q=text+over+arrow+latex=1
>>
>>
>> Take care,
>> ---
>> Diego Queiroz
>>
>>
>>
>>
>> On Mon, May 16, 2011 at 4:26 AM, Yegor Yefremov
>>  wrote:
>>> Hello,
>>>
>>> I want to type the formula like in the attached image (formula.jpg).
>>> Haw can I do this with LyX/LaTeX? As for now I'm using LyX 1.6.5.
>>>
>>> Regards,
>>> Yegor
>>>
>>
>



-- 
Ernesto Posse

Modelling and Analysis in Software Engineering
School of Computing
Queen's University - Kingston, Ontario, Canada


Re: Undefined control sequence

2011-05-16 Thread Julio Rojas
I know it is hard work, but I suspect it has nothing to do with the text
itself, but with latex installation. This is why I suggested doing not a
totally backtrace on your big file, but a controlled test case on a similar
document. Also, as Richard suggested, send the first error you find in the
log for help from the list.

Regards and good luck.

-
Julio Rojas
jcredbe...@gmail.com


On Mon, May 16, 2011 at 4:04 PM, Sølvi  wrote:

> Well that was helpful. I have been working on this document for over 3
> years now, without any problems so it is a little late trying to
> retrace/recreate what I have done, It is many hundred pages when i compile
> it. And as I said the document worked fine when I last worked on it a couple
> of weeks ago, today it's not working at all.
>
> S.
>
>
> 2011/5/16 Julio Rojas 
>
>> Hi Solvi. You should start little by little. Try creating a new document
>> exactly set up as your problematic document. Add only one paragraph to test
>> it, and compile. If you have some problem, start removing one line at a
>> time, the packages included in the preamble. Lets see how that goes before
>> proceeding.
>>
>> Regards.
>> -
>> Julio Rojas
>> jcredbe...@gmail.com
>>
>>
>>
>> On Mon, May 16, 2011 at 2:00 PM, Sølvi  wrote:
>>
>>> Hi.
>>>
>>> Hope someone can help me with this beacuse I'm getting desperate.
>>>
>>> I use LYX version 1.6.9 on a XP-platform
>>>
>>> I have a Masterdocument with several included files, I worked on this
>>> document only a few weeks ago with no problems, but now I can't view it in
>>> PDF anymore. When I press the "view PDF"-button i get a long list which says
>>> "Undefined control sequence" and the following error message:
>>>
>>>
>>> *\ltx@newglobalif *
>>>
>>> * \ifGPT@pagecolor*
>>>
>>> *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've also tried to PDF just the smaller, included douments seperatly but
>>> get the same error. I've looked everywhere for a solution and can't figure
>>> out what's wrong, considering the document was fine a few weeks ago. Hope
>>> anyone can help me with this, and please keep in mind that I'm a novise to
>>> LYX and need simple explanations :)
>>>
>>>
>>> Regards
>>>
>>>
>>> Solvi
>>>
>>
>>
>


Re: plotting over graph in Lyx / beamer presentation

2011-05-16 Thread Liviu Andronic
On Mon, May 16, 2011 at 3:05 PM, Rainer M Krug  wrote:
> Hi
>
> I want to plot a square / circle over a graph (in pdf format) to
> highlight certain sections. I rmember that it is possible, but I do
> not remember how.
>
Check 
http://wiki.lyx.org/uploads/LyX/tutorials/advanced_features_presentation/en/advanced_features_presentation.pdf
for some pointers. Also
https://sites.google.com/site/tsewiki/resources/latex/LyX_Essentials.pdf?attredirects=0=1
.
Liviu


> Thanks,
>
> Rainer
>
> --
> NEW GERMAN FAX NUMBER!!!
>
> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
> Biology, UCT), Dipl. Phys. (Germany)
>
> Centre of Excellence for Invasion Biology
> Natural Sciences Building
> Office Suite 2039
> Stellenbosch University
> Main Campus, Merriman Avenue
> Stellenbosch
> South Africa
>
> Cell:           +27 - (0)83 9479 042
> Fax:            +27 - (0)86 516 2782
> Fax:            +49 - (0)321 2125 2244
> email:          rai...@krugs.de
>
> Skype:          RMkrug
> Google:         r.m.k...@gmail.com
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: HTML export from LyX

2011-05-16 Thread Guenter Milde
On 2011-05-16, Richard Heck wrote:
> On 05/16/2011 06:35 AM, Pascal Francq wrote:
>> How can I, from the command line, export a given LyX document into
>> a HTML document in another directory (in LyX, the document is always
>> exported in the same directory).

> There's no support presently in LyX for naming the export directory,
> either for XHTML or for any other format. There is a bug about this
> already.

For the time being, you can use the external elyxer (works even
without a LyX installation):

#> elyxer --help

  * Usage: elyxer.py [options] [filein] [fileout]
  * Convert LyX input file "filein" to HTML file "fileout".
  * If filein (or fileout) is not given use standard input (or output).
  * Main program of the eLyXer package (http://elyxer.nongnu.org/).

...


Günter



Re: running cygwin or unix script from within lyx

2011-05-16 Thread Venable
On Sun, May 15, 2011 at 9:06 PM, Richard Heck  wrote:

> On 05/15/2011 08:48 PM, Venable wrote:
>
>> Hi all,
>>
>> I have written a couple of cygwin scripts to automate some time-consuming
>> repetitive tasks and would like to be able to run these from within LyX, for
>> example via a keyboard shortcut or a customized button on a toolbar. Is this
>> sort of thing possible? If so, does anyone have advice on how to set it up?
>>
>> As an example, I like to use the pdfpages package to include external
>> pdfs. However, I often use relative paths (e.g. when collaborating with
>> co-authors on Dropbox and the like), and as we know LyX cannot handle this
>> because of all the copying to temporary directories and so on that LyX
>> prefers. So, I've written a very simple script to export the lyx file to tex
>> and then compile using miktex. It would be great if I didn't have to fire up
>> CygWin and type in the command and filename - rather, I'd prefer to
>> designate a keyboard shortcut or menu option within LyX that would tell
>> cygwin to run the script and pass it the current filename.
>>
>>  The only real way to do this, so far as I know, is to define a converter
> that will call your script. This converter might, for example, replace
> pdflatex as a LaTeX-->PDF converter. There are a number of ways to do this,
> so the best way will depend on the details.
>
> rh
>

Dear Richard,

Thanks a lot for this comment. What are some of the alternative ways to
define a converter, and what are the sort of details that would be useful to
know in deciding?

This particular task is incredibly simple (export to tex, compile), and I'm
not necessarily wedded to using CygWin, that's just what I happen to be most
comfortable with.


Re: running cygwin or unix script from within lyx

2011-05-16 Thread Richard Heck
On 05/16/2011 04:05 PM, Venable wrote:
>
> What are some of the alternative ways to define a converter, and what
> are the sort of details that would be useful to know in deciding?
>
Converters are defined under Tools>Preferences>File Handing>Converters.
See section 3.3 of the Customization manual for the details of the
syntax. Basically, any stupid script can act as a converter. It just
needs to take certain arguments, and you need to tell LyX what they are.
Lots of converters are already defined there, so you can also mimic them.

Richard




Re: running cygwin or unix script from within lyx

2011-05-16 Thread Julien Rioux

On 16/05/2011 5:39 PM, Richard Heck wrote:

On 05/16/2011 04:05 PM, Venable wrote:


What are some of the alternative ways to define a converter, and what
are the sort of details that would be useful to know in deciding?


Converters are defined under Tools>Preferences>File Handing>Converters.
See section 3.3 of the Customization manual for the details of the
syntax. Basically, any stupid script can act as a converter. It just
needs to take certain arguments, and you need to tell LyX what they are.
Lots of converters are already defined there, so you can also mimic them.

Richard





However, the converter is executed in a temporary folder, which is 
precisely what the user wanted to avoid (and the reason to write the 
script in the first place). I miss how you can get around this.


--
Julien



  1   2   >