Re: [ANNOUNCE] LyX 2.0.1 Released (win installers)

2011-09-07 Thread Olivier Ripoll

On 06.09.2011 21:07, Pavel Sanda wrote:

Olivier Ripoll wrote:

I installed 2.0.1 yesterday on Windows7... Not the official, and not
announced yet, but a from a very reliable  trustable source. You just need
to know where to find it ;-)


If you mean binary produced by Uwe, its not on our ftp because its not 
considered
reliable contrary to what you say. OTOH it might the only one available for
the next weeks...


Note that I did not write that the binary produced by Uwe was reliable 
(I'd need days of testing to know). I wrote that Uwe, the source of the 
binary, is reliable. And I'm pretty sure we do agree on that :-)


I have always found both branches very similar and have used many Uwe 
binaries since 1.6 alpha with very little issues, if any. As with the 
official binaries.


Best regards,

Olivier




Currently we are not organized enough to provide all binaries
at the time of the announcement. As with any volunteer project
the only remedy is that you either join our project to fix it
or patiently wait when the windows branch of developers solve
the situation.

Cheers,
Pavel










Re: [ANNOUNCE] LyX 2.0.1 Released (win installers)

2011-09-07 Thread Pavel Sanda
Olivier Ripoll wrote:
 On 06.09.2011 21:07, Pavel Sanda wrote:
 Olivier Ripoll wrote:
 I installed 2.0.1 yesterday on Windows7... Not the official, and not
 announced yet, but a from a very reliable  trustable source. You just 
 need
 to know where to find it ;-)

 If you mean binary produced by Uwe, its not on our ftp because its not 
 considered
 reliable contrary to what you say. OTOH it might the only one available 
 for
 the next weeks...

 Note that I did not write that the binary produced by Uwe was reliable (I'd 
 need days of testing to know). I wrote that Uwe, the source of the binary, 
 is reliable. And I'm pretty sure we do agree on that :-)

well, you haven't write a single word about Uwe :) you write about reliable
source which leaves open doors for pretty wide interpretations and implications
for binary packge itself. from what i know there are currently problems as far
as unistalling previous lyx versions, issues with some cruft in system registry
etc. so the breakage can be apparent only after you will install some later
version. to announce availability of the packages without these warnings
is somewhat misleading no matter how we interpret what reliable source means...

 I have always found both branches very similar and have used many Uwe 
 binaries since 1.6 alpha with very little issues, if any. As with the 
 official binaries.

great :)
p
 Best regards,

 Olivier


 Currently we are not organized enough to provide all binaries
 at the time of the announcement. As with any volunteer project
 the only remedy is that you either join our project to fix it
 or patiently wait when the windows branch of developers solve
 the situation.

 Cheers,
 Pavel






Re: Broken link on tex.allepaginas.nl

2011-09-07 Thread Stephan Witt
Am 07.09.2011 um 10:22 schrieb Emily:

 Hello ,
 
 I was taking a look at your website and I noticed that one of the links you 
 suggest in http://tex.allepaginas.nl/ isn't working properly. The link in 
 question is this one: http://www.iam.ubc.ca/~newbury/tex/title.html You'll 
 find a similar resources published here: 
 http://www.aprendelo.com.br/rec/latex-from-quick-and-dirty-to-style-and-finesse.html
 
 I know that it takes a lot of time keeping any website up-to-date, and I hope 
 you'll find this helpful.
 
 Regards,
 
 Emily Smithson
 

Hello Emily,

why do you think the Lyx Users Group is responsible for the website 
http://tex.allepaginas.nl?

Regards,
Stephan Witt

Re: Hebrew in utf8

2011-09-07 Thread ExecutorElassus
I've been using Lyx 2.0, and I'm running into problems with hebrew as well.
I'm running gentoo-linux, so for me I installed ivritex, and culmus.
However, I still can't render the document, and get a bunch of undefined
control sequence errors.

I have 
\usepackage{culmus}
\usepackage{hebfont}

in my preamble (which, incidentally, I don't have to do for Greek).

The specific errors look like this:

LaTeX Font Info:Font shape `HE8/cmr/m/n' will be
(Font)  scaled to size 11.7pt on input line 2042.
(/usr/share/texmf/tex/generic/0ivritex/cp1255.def
File: cp1255.def 2001/07/22 v1.1a Hebrew input encoding file
)
! Undefined control sequence.
argument \hebpatah 
 
l.2045 � ��
   �� �, ���-�:  �--�, �� �
�.
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.


Is there something different about how Lyx handles Hebrew typesetting?

Thanks,

EE

--
View this message in context: 
http://lyx.475766.n2.nabble.com/Hebrew-in-utf8-tp478870p6767448.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: indicate page number of floats

2011-09-07 Thread Julien Rioux

On 06/09/2011 8:50 PM, Csikos Bela wrote:

As I see the varioref package is used for this purpose.
I looked at its documentation and found that the package has starred
versions of vref and vpageref commands (vref*, vpageref*) which prevent
insertion of a space before the reference. It seems that currently the starred
commands can not be inserted through lyx, TeX code has to be used
(which is not a problem). But it could be a feature improvement if they
could be inserted through lyx as well in a future release.



So you get extra spaces? Do you have a minimal example file which shows 
your problem?


You can always put the reference right next to the preceding word:
as seen[pageref]
will produce
as seen on this page
in output.

I don't remember if I ever needed to do that and why.


Another issue is that one of my references says 'on this page'  (in the last 
line
of the page) but the table float is placed on the next page.
How can I correct this one?



I never had this. Is your label within the float?


One more question:
The varioref document says that the \reftextbefore etc. commands can be
redefined, but if babel is used it has to be done using babel mechanism.
It gives an example:

\addto\extrasngerman{%
 \renewcommand\reftextfaceafter {auf der n\achsten Seite}%
  ...
   }

What would be the command for magyar (Hungarian) language?
How can I find it out?


I would try replacing ngerman with magyar.

Cheers,
Julien



Re: textgreek and textcyr and polyglossia

2011-09-07 Thread Bernd Kappenberg
Here is a minimal example.

Bernd


 Original-Nachricht 
 Datum: Wed, 07 Sep 2011 07:36:34 +0200
 Von: Jürgen Spitzmüller sp...@lyx.org
 An: Bernd Kappenberg bernd.kappenb...@gmx.de
 CC: Richard Heck rgh...@comcast.net, lyx-users@lists.lyx.org
 Betreff: Re: textgreek and textcyr and polyglossia

 Bernd Kappenberg wrote:
  Yes, I made sure to tick that box, but the makros still show up.
  Could it be a flaw in LyX 2.0?
 
 Could you send a minimal example file showing the problem? I cannot
 reproduce.
 
 Jürgen


-- 
Fragen zum Leben und Arbeiten in der EU?
Der Wegweiserdienst der Europäischen Kommission bietet
kostenlose Beratung per E-Mail:
http://ec.europa.eu/citizensrights/front_end/index_de.htm
-

NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!   
Jetzt informieren: http://www.gmx.net/de/go/freephone


minimum_.lyx
Description: application/lyx


Re: textgreek and textcyr and polyglossia

2011-09-07 Thread Jürgen Spitzmüller
Bernd Kappenberg wrote:
 Here is a minimal example.

OK, you have the language package set to custom in document settings. If you 
set it to Automatic or Default, LyX will load polyglossia and suppress the 
greektext and cyrillictext definitions.

It's probably most sensible to suppress them with custom as well and leave all 
the responsibility to the user.
(Although I do not see why you don't use LyX's native polyglossia support)

Can you file a report on trac, please?

Jürgen


Re: Hebrew in utf8

2011-09-07 Thread Pavel Sanda
ExecutorElassus wrote:
 I've been using Lyx 2.0, and I'm running into problems with hebrew as well.
 I'm running gentoo-linux, so for me I installed ivritex, and culmus.
 However, I still can't render the document, and get a bunch of undefined
 control sequence errors.

warning: i have no actual experience with using hebrew and lyx... however
i will be interested to fix things in gentoo.

1) do you have culmus-latex installed?
2) i thought that ivritex is related to tetex which is dead,
   culmus-latex should be used instead.
   can some experienced hebrew user comment whether this is true?
3) it is possible to use use xetex with lyx 2.0.0.
   have you tried it?

pavel


On Screen Graphics Previews in LyX 2.0 for non eps files

2011-09-07 Thread Geoffrey Ghose
Are eps files the only ones which can viewed as a preview on the screen?

My debugging output from the Mac version displays this for gif and pdf files:

lyx-2.0.1/src/support/InsetGraphics.cpp(145): Token: 'filename'
lyx-2.0.1/src/support/InsetGraphics.cpp(145): Token: 'display'
lyx-2.0.1/src/support/InsetGraphics.cpp(145): Token: 'scale'
lyx-2.0.1/src/support/InsetGraphics.cpp(145): Token: '\end_inset'
lyx-2.0.1/src/support/FileName.cpp(941): Recognised Fileformat: gif
lyx-2.0.1/src/support/FileName.cpp(941): Recognised Fileformat: gif
lyx-2.0.1/src/support/filetools.cpp(990): [readBB_from_PSFile] no(e)ps-format
lyx-2.0.1/src/frontends/qt4/GuiGraphics.cpp(346): [bb_Changed set to true]
lyx-2.0.1/src/frontends/qt4/GuiGraphics.cpp(346): [bb_Changed set to true]
lyx-2.0.1/src/frontends/qt4/GuiGraphics.cpp(346): [bb_Changed set to true]
lyx-2.0.1/src/frontends/qt4/GuiGraphics.cpp(346): [bb_Changed set to true]
lyx-2.0.1/src/support/FileName.cpp(941): Recognised Fileformat: pdf
lyx-2.0.1/src/support/FileName.cpp(941): Recognised Fileformat: pdf
lyx-2.0.1/src/support/filetools.cpp(990): [readBB_from_PSFile] no(e)ps-format
yx-2.0.1/src/insets/InsetGraphicsParams.cpp(266): BB_from_File: 



But the generated PDF looks fine.






Re: textgreek and textcyr and polyglossia

2011-09-07 Thread Bernd Kappenberg
Thanks, that worked!!!

However, when I insert an integral sign, an error message will appear:
LaTeX Error: Command \iint already defined.

Where do you want me to file the report?

Bernd


 Original-Nachricht 
 Datum: Wed, 07 Sep 2011 17:48:46 +0200
 Von: Jürgen Spitzmüller sp...@lyx.org
 An: Bernd Kappenberg bernd.kappenb...@gmx.de
 CC: lyx-users@lists.lyx.org, rgh...@comcast.net
 Betreff: Re: textgreek and textcyr and polyglossia

 Bernd Kappenberg wrote:
  Here is a minimal example.
 
 OK, you have the language package set to custom in document settings. If
 you 
 set it to Automatic or Default, LyX will load polyglossia and suppress
 the 
 greektext and cyrillictext definitions.
 
 It's probably most sensible to suppress them with custom as well and leave
 all 
 the responsibility to the user.
 (Although I do not see why you don't use LyX's native polyglossia support)
 
 Can you file a report on trac, please?
 
 Jürgen

-- 
Fragen zum Leben und Arbeiten in der EU?
Der Wegweiserdienst der Europäischen Kommission bietet
kostenlose Beratung per E-Mail:
http://ec.europa.eu/citizensrights/front_end/index_de.htm
-

NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!   
Jetzt informieren: http://www.gmx.net/de/go/freephone


Re: textgreek and textcyr and polyglossia

2011-09-07 Thread Jürgen Spitzmüller
Bernd Kappenberg wrote:
 Thanks, that worked!!!
 
 However, when I insert an integral sign, an error message will appear:
 LaTeX Error: Command \iint already defined.

A clash of packages. We'd need another minimal example to investigate.

 Where do you want me to file the report?

http://www.lyx.org/trac/wiki/BugTrackerHome

Thanks,
Jürgen



Re: textgreek and textcyr and polyglossia

2011-09-07 Thread Bernd Kappenberg
OK, done.

What do I have to type to get the LyX natural polyglossia support?

Bernd 


 Original-Nachricht 
 Datum: Wed, 07 Sep 2011 18:26:17 +0200
 Von: Jürgen Spitzmüller sp...@lyx.org
 An: Bernd Kappenberg bernd.kappenb...@gmx.de
 CC: rgh...@comcast.net, lyx-users@lists.lyx.org
 Betreff: Re: textgreek and textcyr and polyglossia

 Bernd Kappenberg wrote:
  Thanks, that worked!!!
  
  However, when I insert an integral sign, an error message will appear:
  LaTeX Error: Command \iint already defined.
 
 A clash of packages. We'd need another minimal example to investigate.
 
  Where do you want me to file the report?
 
 http://www.lyx.org/trac/wiki/BugTrackerHome
 
 Thanks,
 Jürgen
 

-- 
Fragen zum Leben und Arbeiten in der EU?
Der Wegweiserdienst der Europäischen Kommission bietet
kostenlose Beratung per E-Mail:
http://ec.europa.eu/citizensrights/front_end/index_de.htm
-

Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


Re: [Lyx to Latex] XY-PIC figures and crossref tag

2011-09-07 Thread Julien Rioux

On 25/08/2011 7:16 AM, Eisa Ayed wrote:

Forgive my ignorance, how can I convert my xymatrix to .eps?

I found the following way:
1.for each xymatrix create a separate lyx file.
2. export each file to .tex
3. run latex fileName
4. run dvips -E -o fileName.eps fileName.dvi

I found this tedious if I have 10 xymatrix figures, is there another/simpler 
way?

Also after inserting the figures, each figure takes the whole page for 
displaying, how can I crop the figure?

Thank you for your patience,
~Eisa



Hi,

Sorry for the late reply. You are right that it can be tedious, but you 
could set up a script to automate it. You can use only one LyX file, in 
fact, by using the latex package called preview. Here's how:


In your document preamble:

\usepackage[active,pdftex,tightpage]{preview}
\PreviewMacro[!]{\xymatrix}

Then when you export to pdf, you get each xymatrix figure on its own 
page. Then use pdftk to extract each page (burst the pdf).


--
Julien


Re: submitting paper in latex (tex) format

2011-09-07 Thread Julien Rioux

On 27/08/2011 12:18 PM, Liviu Andronic wrote:

On Sat, Aug 27, 2011 at 8:58 AM, Jürgen Spitzmüllersp...@lyx.org  wrote:

Waluyo Adi Siswanto wrote:

Why LyX does not write the extension, is this a bug?


No, it's a feature. If no extension is specified, LaTeX (the graphics package,
for that matter) searches for the most suitable format for the given
processor. So if you have \includegraphics{myfile} and two files myfile.eps
and myfile.pdf are available, graphcs will select the eps file for DVI/PS
output and the PDF file for PDF output.

If the EES cannot deal with this, it's probably a bug in the EES.


For such extreme cases, wouldn't it be better if the user could
control which extension is being used? For example, she would need to
force LyX to use the extension of the file originally supplied in the
insert graphic inset ('fig.pdf') and LyX would automatically add this
extension to all included graphics, respectively.
Liviu



So it's a feature that doesn't necessarily fit every workflow. Also see 
this bug report:

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

--
Julien



Re: Problem using Natbib

2011-09-07 Thread Richard Heck
On 09/02/2011 04:16 PM, Alan Greene wrote:
 Certainly. The attached files currently compile, but with Natbib
 chosen, a something is missing error occurs. If an incompatible bst
 is chosen (like humannat), control sequence errors are produced.

It's the
\usepackage[nospace]{cite}
command that you need to remove.

Richard

 On 9/2/11 1:35 PM, Richard Heck wrote:
 On 09/02/2011 12:30 PM, Alan Greene wrote:
 Hi All,

 I'm trying to adapt a University of Chicago LyX dissertation template
 to my particular citation needs and have found that it only compiles
 when all citations are (1) in 'default (numerical)' citation style and
 (2) 'plain' or 'ieeetr' bst (but not 'humannat,' which I'd like to
 use). When I attempt to employ Natbib and/or a bst file such as
 humannat, I receive numerous errors like these:

 ! Paragraph ended before \org@@citex was complete

 and

 ! Paragraph ended before \NAT@@citetp was complete

 Here's the master file preamble for your reference, as I really don't
 know which aspects may be causing the problem. (The 'slave' chapter
 preambles are almost identical except that they lack the bibliographic
 and appendix portions).

 FYI: If these are child documents, then their preambles aren't actually
 used during compilation of the whole document. They'd only be used if
 you try to compile the chapters as standalone documents.

 I first posted this on the latex-community forum, but then realized
 that their LyX thread seems to have very low activity. Thanks in
 advance for your help and expertise!

 I don't really see anything in the preamble that would be likely to
 cause this problem. Could you create a simple test document that
 exhibits this issue?

 Richard





Re: What is the toolbar icon name for math-delim | |

2011-09-07 Thread Julien Rioux

On 10/08/2011 1:55 AM, Jason Rute wrote:

Hello, I added

  Item Insert | | math-delim | |

to my stdtoolbars.inc file.  It works fine, except that I can't figure out
what the corresponding icon file name should be (in
AppData/Roaming/Lyx2.0/images/math).  I think it should be vert_vert.png,
but that doesn't work.  Here is a what I do know---these commands work with
these file names.

  math-delim ( ) lparen_rparen.png
  math-delim [ ] lbrace_rbrace.png
  math-delim vert vert vert_vert.png
  math-delim | vert.png
  math-delim ( ( lparen_lparen.png
  math-delim | | ???

Also, the same correspondences seem to hold if I replace math-delim with
math-insert.

Does anyone know?  Is this a bug?

Also, I know math-delim vert vert is equivalent, but I want the LaTeX to
be \left| \right|.  And I could deal without an icon (and even make the
alt-text be | | so it looks like I want), but am curious/stubborn.

Thanks!



I guess nobody knows! Did you figure it out?

--
Julien



Re: Problem using Natbib

2011-09-07 Thread Alan Greene

Got it. Thanks for your help!!

On 9/7/11 4:10 PM, Richard Heck wrote:

On 09/02/2011 04:16 PM, Alan Greene wrote:

Certainly. The attached files currently compile, but with Natbib
chosen, a something is missing error occurs. If an incompatible bst
is chosen (like humannat), control sequence errors are produced.


It's the
 \usepackage[nospace]{cite}
command that you need to remove.

Richard


On 9/2/11 1:35 PM, Richard Heck wrote:

On 09/02/2011 12:30 PM, Alan Greene wrote:

Hi All,

I'm trying to adapt a University of Chicago LyX dissertation template
to my particular citation needs and have found that it only compiles
when all citations are (1) in 'default (numerical)' citation style and
(2) 'plain' or 'ieeetr' bst (but not 'humannat,' which I'd like to
use). When I attempt to employ Natbib and/or a bst file such as
humannat, I receive numerous errors like these:

! Paragraph ended before \org@@citex was complete

and

! Paragraph ended before \NAT@@citetp was complete

Here's the master file preamble for your reference, as I really don't
know which aspects may be causing the problem. (The 'slave' chapter
preambles are almost identical except that they lack the bibliographic
and appendix portions).


FYI: If these are child documents, then their preambles aren't actually
used during compilation of the whole document. They'd only be used if
you try to compile the chapters as standalone documents.


I first posted this on the latex-community forum, but then realized
that their LyX thread seems to have very low activity. Thanks in
advance for your help and expertise!


I don't really see anything in the preamble that would be likely to
cause this problem. Could you create a simple test document that
exhibits this issue?

Richard








--
Alan Greene
Ph.D. Candidate
Department of Anthropology
University of Chicago


Re: [ANNOUNCE] LyX 2.0.1 Released (win installers)

2011-09-07 Thread Olivier Ripoll

On 06.09.2011 21:07, Pavel Sanda wrote:

Olivier Ripoll wrote:

I installed 2.0.1 yesterday on Windows7... Not the official, and not
announced yet, but a from a very reliable  trustable source. You just need
to know where to find it ;-)


If you mean binary produced by Uwe, its not on our ftp because its not 
considered
reliable contrary to what you say. OTOH it might the only one available for
the next weeks...


Note that I did not write that the binary produced by Uwe was reliable 
(I'd need days of testing to know). I wrote that Uwe, the source of the 
binary, is reliable. And I'm pretty sure we do agree on that :-)


I have always found both branches very similar and have used many Uwe 
binaries since 1.6 alpha with very little issues, if any. As with the 
official binaries.


Best regards,

Olivier




Currently we are not organized enough to provide all binaries
at the time of the announcement. As with any volunteer project
the only remedy is that you either join our project to fix it
or patiently wait when the windows branch of developers solve
the situation.

Cheers,
Pavel










Re: [ANNOUNCE] LyX 2.0.1 Released (win installers)

2011-09-07 Thread Pavel Sanda
Olivier Ripoll wrote:
 On 06.09.2011 21:07, Pavel Sanda wrote:
 Olivier Ripoll wrote:
 I installed 2.0.1 yesterday on Windows7... Not the official, and not
 announced yet, but a from a very reliable  trustable source. You just 
 need
 to know where to find it ;-)

 If you mean binary produced by Uwe, its not on our ftp because its not 
 considered
 reliable contrary to what you say. OTOH it might the only one available 
 for
 the next weeks...

 Note that I did not write that the binary produced by Uwe was reliable (I'd 
 need days of testing to know). I wrote that Uwe, the source of the binary, 
 is reliable. And I'm pretty sure we do agree on that :-)

well, you haven't write a single word about Uwe :) you write about reliable
source which leaves open doors for pretty wide interpretations and implications
for binary packge itself. from what i know there are currently problems as far
as unistalling previous lyx versions, issues with some cruft in system registry
etc. so the breakage can be apparent only after you will install some later
version. to announce availability of the packages without these warnings
is somewhat misleading no matter how we interpret what reliable source means...

 I have always found both branches very similar and have used many Uwe 
 binaries since 1.6 alpha with very little issues, if any. As with the 
 official binaries.

great :)
p
 Best regards,

 Olivier


 Currently we are not organized enough to provide all binaries
 at the time of the announcement. As with any volunteer project
 the only remedy is that you either join our project to fix it
 or patiently wait when the windows branch of developers solve
 the situation.

 Cheers,
 Pavel






Re: Broken link on tex.allepaginas.nl

2011-09-07 Thread Stephan Witt
Am 07.09.2011 um 10:22 schrieb Emily:

 Hello ,
 
 I was taking a look at your website and I noticed that one of the links you 
 suggest in http://tex.allepaginas.nl/ isn't working properly. The link in 
 question is this one: http://www.iam.ubc.ca/~newbury/tex/title.html You'll 
 find a similar resources published here: 
 http://www.aprendelo.com.br/rec/latex-from-quick-and-dirty-to-style-and-finesse.html
 
 I know that it takes a lot of time keeping any website up-to-date, and I hope 
 you'll find this helpful.
 
 Regards,
 
 Emily Smithson
 

Hello Emily,

why do you think the Lyx Users Group is responsible for the website 
http://tex.allepaginas.nl?

Regards,
Stephan Witt

Re: Hebrew in utf8

2011-09-07 Thread ExecutorElassus
I've been using Lyx 2.0, and I'm running into problems with hebrew as well.
I'm running gentoo-linux, so for me I installed ivritex, and culmus.
However, I still can't render the document, and get a bunch of undefined
control sequence errors.

I have 
\usepackage{culmus}
\usepackage{hebfont}

in my preamble (which, incidentally, I don't have to do for Greek).

The specific errors look like this:

LaTeX Font Info:Font shape `HE8/cmr/m/n' will be
(Font)  scaled to size 11.7pt on input line 2042.
(/usr/share/texmf/tex/generic/0ivritex/cp1255.def
File: cp1255.def 2001/07/22 v1.1a Hebrew input encoding file
)
! Undefined control sequence.
argument \hebpatah 
 
l.2045 � ��
   �� �, ���-�:  �--�, �� �
�.
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.


Is there something different about how Lyx handles Hebrew typesetting?

Thanks,

EE

--
View this message in context: 
http://lyx.475766.n2.nabble.com/Hebrew-in-utf8-tp478870p6767448.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: indicate page number of floats

2011-09-07 Thread Julien Rioux

On 06/09/2011 8:50 PM, Csikos Bela wrote:

As I see the varioref package is used for this purpose.
I looked at its documentation and found that the package has starred
versions of vref and vpageref commands (vref*, vpageref*) which prevent
insertion of a space before the reference. It seems that currently the starred
commands can not be inserted through lyx, TeX code has to be used
(which is not a problem). But it could be a feature improvement if they
could be inserted through lyx as well in a future release.



So you get extra spaces? Do you have a minimal example file which shows 
your problem?


You can always put the reference right next to the preceding word:
as seen[pageref]
will produce
as seen on this page
in output.

I don't remember if I ever needed to do that and why.


Another issue is that one of my references says 'on this page'  (in the last 
line
of the page) but the table float is placed on the next page.
How can I correct this one?



I never had this. Is your label within the float?


One more question:
The varioref document says that the \reftextbefore etc. commands can be
redefined, but if babel is used it has to be done using babel mechanism.
It gives an example:

\addto\extrasngerman{%
 \renewcommand\reftextfaceafter {auf der n\achsten Seite}%
  ...
   }

What would be the command for magyar (Hungarian) language?
How can I find it out?


I would try replacing ngerman with magyar.

Cheers,
Julien



Re: textgreek and textcyr and polyglossia

2011-09-07 Thread Bernd Kappenberg
Here is a minimal example.

Bernd


 Original-Nachricht 
 Datum: Wed, 07 Sep 2011 07:36:34 +0200
 Von: Jürgen Spitzmüller sp...@lyx.org
 An: Bernd Kappenberg bernd.kappenb...@gmx.de
 CC: Richard Heck rgh...@comcast.net, lyx-users@lists.lyx.org
 Betreff: Re: textgreek and textcyr and polyglossia

 Bernd Kappenberg wrote:
  Yes, I made sure to tick that box, but the makros still show up.
  Could it be a flaw in LyX 2.0?
 
 Could you send a minimal example file showing the problem? I cannot
 reproduce.
 
 Jürgen


-- 
Fragen zum Leben und Arbeiten in der EU?
Der Wegweiserdienst der Europäischen Kommission bietet
kostenlose Beratung per E-Mail:
http://ec.europa.eu/citizensrights/front_end/index_de.htm
-

NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!   
Jetzt informieren: http://www.gmx.net/de/go/freephone


minimum_.lyx
Description: application/lyx


Re: textgreek and textcyr and polyglossia

2011-09-07 Thread Jürgen Spitzmüller
Bernd Kappenberg wrote:
 Here is a minimal example.

OK, you have the language package set to custom in document settings. If you 
set it to Automatic or Default, LyX will load polyglossia and suppress the 
greektext and cyrillictext definitions.

It's probably most sensible to suppress them with custom as well and leave all 
the responsibility to the user.
(Although I do not see why you don't use LyX's native polyglossia support)

Can you file a report on trac, please?

Jürgen


Re: Hebrew in utf8

2011-09-07 Thread Pavel Sanda
ExecutorElassus wrote:
 I've been using Lyx 2.0, and I'm running into problems with hebrew as well.
 I'm running gentoo-linux, so for me I installed ivritex, and culmus.
 However, I still can't render the document, and get a bunch of undefined
 control sequence errors.

warning: i have no actual experience with using hebrew and lyx... however
i will be interested to fix things in gentoo.

1) do you have culmus-latex installed?
2) i thought that ivritex is related to tetex which is dead,
   culmus-latex should be used instead.
   can some experienced hebrew user comment whether this is true?
3) it is possible to use use xetex with lyx 2.0.0.
   have you tried it?

pavel


On Screen Graphics Previews in LyX 2.0 for non eps files

2011-09-07 Thread Geoffrey Ghose
Are eps files the only ones which can viewed as a preview on the screen?

My debugging output from the Mac version displays this for gif and pdf files:

lyx-2.0.1/src/support/InsetGraphics.cpp(145): Token: 'filename'
lyx-2.0.1/src/support/InsetGraphics.cpp(145): Token: 'display'
lyx-2.0.1/src/support/InsetGraphics.cpp(145): Token: 'scale'
lyx-2.0.1/src/support/InsetGraphics.cpp(145): Token: '\end_inset'
lyx-2.0.1/src/support/FileName.cpp(941): Recognised Fileformat: gif
lyx-2.0.1/src/support/FileName.cpp(941): Recognised Fileformat: gif
lyx-2.0.1/src/support/filetools.cpp(990): [readBB_from_PSFile] no(e)ps-format
lyx-2.0.1/src/frontends/qt4/GuiGraphics.cpp(346): [bb_Changed set to true]
lyx-2.0.1/src/frontends/qt4/GuiGraphics.cpp(346): [bb_Changed set to true]
lyx-2.0.1/src/frontends/qt4/GuiGraphics.cpp(346): [bb_Changed set to true]
lyx-2.0.1/src/frontends/qt4/GuiGraphics.cpp(346): [bb_Changed set to true]
lyx-2.0.1/src/support/FileName.cpp(941): Recognised Fileformat: pdf
lyx-2.0.1/src/support/FileName.cpp(941): Recognised Fileformat: pdf
lyx-2.0.1/src/support/filetools.cpp(990): [readBB_from_PSFile] no(e)ps-format
yx-2.0.1/src/insets/InsetGraphicsParams.cpp(266): BB_from_File: 



But the generated PDF looks fine.






Re: textgreek and textcyr and polyglossia

2011-09-07 Thread Bernd Kappenberg
Thanks, that worked!!!

However, when I insert an integral sign, an error message will appear:
LaTeX Error: Command \iint already defined.

Where do you want me to file the report?

Bernd


 Original-Nachricht 
 Datum: Wed, 07 Sep 2011 17:48:46 +0200
 Von: Jürgen Spitzmüller sp...@lyx.org
 An: Bernd Kappenberg bernd.kappenb...@gmx.de
 CC: lyx-users@lists.lyx.org, rgh...@comcast.net
 Betreff: Re: textgreek and textcyr and polyglossia

 Bernd Kappenberg wrote:
  Here is a minimal example.
 
 OK, you have the language package set to custom in document settings. If
 you 
 set it to Automatic or Default, LyX will load polyglossia and suppress
 the 
 greektext and cyrillictext definitions.
 
 It's probably most sensible to suppress them with custom as well and leave
 all 
 the responsibility to the user.
 (Although I do not see why you don't use LyX's native polyglossia support)
 
 Can you file a report on trac, please?
 
 Jürgen

-- 
Fragen zum Leben und Arbeiten in der EU?
Der Wegweiserdienst der Europäischen Kommission bietet
kostenlose Beratung per E-Mail:
http://ec.europa.eu/citizensrights/front_end/index_de.htm
-

NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!   
Jetzt informieren: http://www.gmx.net/de/go/freephone


Re: textgreek and textcyr and polyglossia

2011-09-07 Thread Jürgen Spitzmüller
Bernd Kappenberg wrote:
 Thanks, that worked!!!
 
 However, when I insert an integral sign, an error message will appear:
 LaTeX Error: Command \iint already defined.

A clash of packages. We'd need another minimal example to investigate.

 Where do you want me to file the report?

http://www.lyx.org/trac/wiki/BugTrackerHome

Thanks,
Jürgen



Re: textgreek and textcyr and polyglossia

2011-09-07 Thread Bernd Kappenberg
OK, done.

What do I have to type to get the LyX natural polyglossia support?

Bernd 


 Original-Nachricht 
 Datum: Wed, 07 Sep 2011 18:26:17 +0200
 Von: Jürgen Spitzmüller sp...@lyx.org
 An: Bernd Kappenberg bernd.kappenb...@gmx.de
 CC: rgh...@comcast.net, lyx-users@lists.lyx.org
 Betreff: Re: textgreek and textcyr and polyglossia

 Bernd Kappenberg wrote:
  Thanks, that worked!!!
  
  However, when I insert an integral sign, an error message will appear:
  LaTeX Error: Command \iint already defined.
 
 A clash of packages. We'd need another minimal example to investigate.
 
  Where do you want me to file the report?
 
 http://www.lyx.org/trac/wiki/BugTrackerHome
 
 Thanks,
 Jürgen
 

-- 
Fragen zum Leben und Arbeiten in der EU?
Der Wegweiserdienst der Europäischen Kommission bietet
kostenlose Beratung per E-Mail:
http://ec.europa.eu/citizensrights/front_end/index_de.htm
-

Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


Re: [Lyx to Latex] XY-PIC figures and crossref tag

2011-09-07 Thread Julien Rioux

On 25/08/2011 7:16 AM, Eisa Ayed wrote:

Forgive my ignorance, how can I convert my xymatrix to .eps?

I found the following way:
1.for each xymatrix create a separate lyx file.
2. export each file to .tex
3. run latex fileName
4. run dvips -E -o fileName.eps fileName.dvi

I found this tedious if I have 10 xymatrix figures, is there another/simpler 
way?

Also after inserting the figures, each figure takes the whole page for 
displaying, how can I crop the figure?

Thank you for your patience,
~Eisa



Hi,

Sorry for the late reply. You are right that it can be tedious, but you 
could set up a script to automate it. You can use only one LyX file, in 
fact, by using the latex package called preview. Here's how:


In your document preamble:

\usepackage[active,pdftex,tightpage]{preview}
\PreviewMacro[!]{\xymatrix}

Then when you export to pdf, you get each xymatrix figure on its own 
page. Then use pdftk to extract each page (burst the pdf).


--
Julien


Re: submitting paper in latex (tex) format

2011-09-07 Thread Julien Rioux

On 27/08/2011 12:18 PM, Liviu Andronic wrote:

On Sat, Aug 27, 2011 at 8:58 AM, Jürgen Spitzmüllersp...@lyx.org  wrote:

Waluyo Adi Siswanto wrote:

Why LyX does not write the extension, is this a bug?


No, it's a feature. If no extension is specified, LaTeX (the graphics package,
for that matter) searches for the most suitable format for the given
processor. So if you have \includegraphics{myfile} and two files myfile.eps
and myfile.pdf are available, graphcs will select the eps file for DVI/PS
output and the PDF file for PDF output.

If the EES cannot deal with this, it's probably a bug in the EES.


For such extreme cases, wouldn't it be better if the user could
control which extension is being used? For example, she would need to
force LyX to use the extension of the file originally supplied in the
insert graphic inset ('fig.pdf') and LyX would automatically add this
extension to all included graphics, respectively.
Liviu



So it's a feature that doesn't necessarily fit every workflow. Also see 
this bug report:

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

--
Julien



Re: Problem using Natbib

2011-09-07 Thread Richard Heck
On 09/02/2011 04:16 PM, Alan Greene wrote:
 Certainly. The attached files currently compile, but with Natbib
 chosen, a something is missing error occurs. If an incompatible bst
 is chosen (like humannat), control sequence errors are produced.

It's the
\usepackage[nospace]{cite}
command that you need to remove.

Richard

 On 9/2/11 1:35 PM, Richard Heck wrote:
 On 09/02/2011 12:30 PM, Alan Greene wrote:
 Hi All,

 I'm trying to adapt a University of Chicago LyX dissertation template
 to my particular citation needs and have found that it only compiles
 when all citations are (1) in 'default (numerical)' citation style and
 (2) 'plain' or 'ieeetr' bst (but not 'humannat,' which I'd like to
 use). When I attempt to employ Natbib and/or a bst file such as
 humannat, I receive numerous errors like these:

 ! Paragraph ended before \org@@citex was complete

 and

 ! Paragraph ended before \NAT@@citetp was complete

 Here's the master file preamble for your reference, as I really don't
 know which aspects may be causing the problem. (The 'slave' chapter
 preambles are almost identical except that they lack the bibliographic
 and appendix portions).

 FYI: If these are child documents, then their preambles aren't actually
 used during compilation of the whole document. They'd only be used if
 you try to compile the chapters as standalone documents.

 I first posted this on the latex-community forum, but then realized
 that their LyX thread seems to have very low activity. Thanks in
 advance for your help and expertise!

 I don't really see anything in the preamble that would be likely to
 cause this problem. Could you create a simple test document that
 exhibits this issue?

 Richard





Re: What is the toolbar icon name for math-delim | |

2011-09-07 Thread Julien Rioux

On 10/08/2011 1:55 AM, Jason Rute wrote:

Hello, I added

  Item Insert | | math-delim | |

to my stdtoolbars.inc file.  It works fine, except that I can't figure out
what the corresponding icon file name should be (in
AppData/Roaming/Lyx2.0/images/math).  I think it should be vert_vert.png,
but that doesn't work.  Here is a what I do know---these commands work with
these file names.

  math-delim ( ) lparen_rparen.png
  math-delim [ ] lbrace_rbrace.png
  math-delim vert vert vert_vert.png
  math-delim | vert.png
  math-delim ( ( lparen_lparen.png
  math-delim | | ???

Also, the same correspondences seem to hold if I replace math-delim with
math-insert.

Does anyone know?  Is this a bug?

Also, I know math-delim vert vert is equivalent, but I want the LaTeX to
be \left| \right|.  And I could deal without an icon (and even make the
alt-text be | | so it looks like I want), but am curious/stubborn.

Thanks!



I guess nobody knows! Did you figure it out?

--
Julien



Re: Problem using Natbib

2011-09-07 Thread Alan Greene

Got it. Thanks for your help!!

On 9/7/11 4:10 PM, Richard Heck wrote:

On 09/02/2011 04:16 PM, Alan Greene wrote:

Certainly. The attached files currently compile, but with Natbib
chosen, a something is missing error occurs. If an incompatible bst
is chosen (like humannat), control sequence errors are produced.


It's the
 \usepackage[nospace]{cite}
command that you need to remove.

Richard


On 9/2/11 1:35 PM, Richard Heck wrote:

On 09/02/2011 12:30 PM, Alan Greene wrote:

Hi All,

I'm trying to adapt a University of Chicago LyX dissertation template
to my particular citation needs and have found that it only compiles
when all citations are (1) in 'default (numerical)' citation style and
(2) 'plain' or 'ieeetr' bst (but not 'humannat,' which I'd like to
use). When I attempt to employ Natbib and/or a bst file such as
humannat, I receive numerous errors like these:

! Paragraph ended before \org@@citex was complete

and

! Paragraph ended before \NAT@@citetp was complete

Here's the master file preamble for your reference, as I really don't
know which aspects may be causing the problem. (The 'slave' chapter
preambles are almost identical except that they lack the bibliographic
and appendix portions).


FYI: If these are child documents, then their preambles aren't actually
used during compilation of the whole document. They'd only be used if
you try to compile the chapters as standalone documents.


I first posted this on the latex-community forum, but then realized
that their LyX thread seems to have very low activity. Thanks in
advance for your help and expertise!


I don't really see anything in the preamble that would be likely to
cause this problem. Could you create a simple test document that
exhibits this issue?

Richard








--
Alan Greene
Ph.D. Candidate
Department of Anthropology
University of Chicago


Re: [ANNOUNCE] LyX 2.0.1 Released (win installers)

2011-09-07 Thread Olivier Ripoll

On 06.09.2011 21:07, Pavel Sanda wrote:

Olivier Ripoll wrote:

I installed 2.0.1 yesterday on Windows7... Not the official, and not
announced yet, but a from a very reliable&  trustable source. You just need
to know where to find it ;-)


If you mean binary produced by Uwe, its not on our ftp because its not 
considered
reliable contrary to what you say. OTOH it might the only one available for
the next weeks...


Note that I did not write that the binary produced by Uwe was reliable 
(I'd need days of testing to know). I wrote that Uwe, the source of the 
binary, is reliable. And I'm pretty sure we do agree on that :-)


I have always found both "branches" very similar and have used many Uwe 
binaries since 1.6 alpha with very little issues, if any. As with the 
official binaries.


Best regards,

Olivier




Currently we are not organized enough to provide all binaries
at the time of the announcement. As with any volunteer project
the only remedy is that you either join our project to fix it
or patiently wait when the windows branch of developers solve
the situation.

Cheers,
Pavel










Re: [ANNOUNCE] LyX 2.0.1 Released (win installers)

2011-09-07 Thread Pavel Sanda
Olivier Ripoll wrote:
> On 06.09.2011 21:07, Pavel Sanda wrote:
>> Olivier Ripoll wrote:
>>> I installed 2.0.1 yesterday on Windows7... Not the official, and not
>>> announced yet, but a from a very reliable&  trustable source. You just 
>>> need
>>> to know where to find it ;-)
>>
>> If you mean binary produced by Uwe, its not on our ftp because its not 
>> considered
>> reliable contrary to what you say. OTOH it might the only one available 
>> for
>> the next weeks...
>
> Note that I did not write that the binary produced by Uwe was reliable (I'd 
> need days of testing to know). I wrote that Uwe, the source of the binary, 
> is reliable. And I'm pretty sure we do agree on that :-)

well, you haven't write a single word about Uwe :) you write about reliable
source which leaves open doors for pretty wide interpretations and implications
for binary packge itself. from what i know there are currently problems as far
as unistalling previous lyx versions, issues with some cruft in system registry
etc. so the breakage can be apparent only after you will install some later
version. to announce availability of the packages without these warnings
is somewhat misleading no matter how we interpret what reliable source means...

> I have always found both "branches" very similar and have used many Uwe 
> binaries since 1.6 alpha with very little issues, if any. As with the 
> official binaries.

great :)
p
> Best regards,
>
> Olivier
>
>>
 Currently we are not organized enough to provide all binaries
 at the time of the announcement. As with any volunteer project
 the only remedy is that you either join our project to fix it
 or patiently wait when the windows branch of developers solve
 the situation.

 Cheers,
 Pavel

>>>
>>
>


Re: Broken link on tex.allepaginas.nl

2011-09-07 Thread Stephan Witt
Am 07.09.2011 um 10:22 schrieb Emily:

> Hello ,
> 
> I was taking a look at your website and I noticed that one of the links you 
> suggest in http://tex.allepaginas.nl/ isn't working properly. The link in 
> question is this one: http://www.iam.ubc.ca/~newbury/tex/title.html You'll 
> find a similar resources published here: 
> http://www.aprendelo.com.br/rec/latex-from-quick-and-dirty-to-style-and-finesse.html
> 
> I know that it takes a lot of time keeping any website up-to-date, and I hope 
> you'll find this helpful.
> 
> Regards,
> 
> Emily Smithson
> 

Hello Emily,

why do you think the Lyx Users Group is responsible for the website 
http://tex.allepaginas.nl?

Regards,
Stephan Witt

Re: Hebrew in utf8

2011-09-07 Thread ExecutorElassus
I've been using Lyx 2.0, and I'm running into problems with hebrew as well.
I'm running gentoo-linux, so for me I installed ivritex, and culmus.
However, I still can't render the document, and get a bunch of "undefined
control sequence" errors.

I have 
\usepackage{culmus}
\usepackage{hebfont}

in my preamble (which, incidentally, I don't have to do for Greek).

The specific errors look like this:

LaTeX Font Info:Font shape `HE8/cmr/m/n' will be
(Font)  scaled to size 11.7pt on input line 2042.
(/usr/share/texmf/tex/generic/0ivritex/cp1255.def
File: cp1255.def 2001/07/22 v1.1a Hebrew input encoding file
)
! Undefined control sequence.
 \hebpatah 
 
l.2045 � ��
   �� �, ���-�:  �--�, �� �
�.
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.


Is there something different about how Lyx handles Hebrew typesetting?

Thanks,

EE

--
View this message in context: 
http://lyx.475766.n2.nabble.com/Hebrew-in-utf8-tp478870p6767448.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: indicate page number of floats

2011-09-07 Thread Julien Rioux

On 06/09/2011 8:50 PM, Csikos Bela wrote:

As I see the varioref package is used for this purpose.
I looked at its documentation and found that the package has starred
versions of vref and vpageref commands (vref*, vpageref*) which prevent
insertion of a space before the reference. It seems that currently the starred
commands can not be inserted through lyx, TeX code has to be used
(which is not a problem). But it could be a feature improvement if they
could be inserted through lyx as well in a future release.



So you get extra spaces? Do you have a minimal example file which shows 
your problem?


You can always put the reference right next to the preceding word:
"as seen[pageref]"
will produce
"as seen on this page"
in output.

I don't remember if I ever needed to do that and why.


Another issue is that one of my references says 'on this page'  (in the last 
line
of the page) but the table float is placed on the next page.
How can I correct this one?



I never had this. Is your label within the float?


One more question:
The varioref document says that the \reftextbefore etc. commands can be
redefined, but if babel is used it has to be done using babel mechanism.
It gives an example:

\addto\extrasngerman{%
 \renewcommand\reftextfaceafter {auf der n\"achsten Seite}%
  ...
   }

What would be the command for magyar (Hungarian) language?
How can I find it out?


I would try replacing ngerman with magyar.

Cheers,
Julien



Re: textgreek and textcyr and polyglossia

2011-09-07 Thread Bernd Kappenberg
Here is a minimal example.

Bernd


 Original-Nachricht 
> Datum: Wed, 07 Sep 2011 07:36:34 +0200
> Von: "Jürgen Spitzmüller" 
> An: Bernd Kappenberg 
> CC: Richard Heck , lyx-users@lists.lyx.org
> Betreff: Re: textgreek and textcyr and polyglossia

> Bernd Kappenberg wrote:
> > Yes, I made sure to tick that box, but the makros still show up.
> > Could it be a flaw in LyX 2.0?
> 
> Could you send a minimal example file showing the problem? I cannot
> reproduce.
> 
> Jürgen


-- 
Fragen zum Leben und Arbeiten in der EU?
Der Wegweiserdienst der Europäischen Kommission bietet
kostenlose Beratung per E-Mail:
http://ec.europa.eu/citizensrights/front_end/index_de.htm
-

NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!   
Jetzt informieren: http://www.gmx.net/de/go/freephone


minimum_.lyx
Description: application/lyx


Re: textgreek and textcyr and polyglossia

2011-09-07 Thread Jürgen Spitzmüller
Bernd Kappenberg wrote:
> Here is a minimal example.

OK, you have the language package set to "custom" in document settings. If you 
set it to "Automatic" or "Default", LyX will load polyglossia and suppress the 
greektext and cyrillictext definitions.

It's probably most sensible to suppress them with custom as well and leave all 
the responsibility to the user.
(Although I do not see why you don't use LyX's native polyglossia support)

Can you file a report on trac, please?

Jürgen


Re: Hebrew in utf8

2011-09-07 Thread Pavel Sanda
ExecutorElassus wrote:
> I've been using Lyx 2.0, and I'm running into problems with hebrew as well.
> I'm running gentoo-linux, so for me I installed ivritex, and culmus.
> However, I still can't render the document, and get a bunch of "undefined
> control sequence" errors.

warning: i have no actual experience with using hebrew and lyx... however
i will be interested to fix things in gentoo.

1) do you have culmus-latex installed?
2) i thought that ivritex is related to tetex which is dead,
   culmus-latex should be used instead.
   can some experienced hebrew user comment whether this is true?
3) it is possible to use use xetex with lyx 2.0.0.
   have you tried it?

pavel


On Screen Graphics Previews in LyX 2.0 for non eps files

2011-09-07 Thread Geoffrey Ghose
Are eps files the only ones which can viewed as a preview on the screen?

My debugging output from the Mac version displays this for gif and pdf files:

lyx-2.0.1/src/support/InsetGraphics.cpp(145): Token: 'filename'
lyx-2.0.1/src/support/InsetGraphics.cpp(145): Token: 'display'
lyx-2.0.1/src/support/InsetGraphics.cpp(145): Token: 'scale'
lyx-2.0.1/src/support/InsetGraphics.cpp(145): Token: '\end_inset'
lyx-2.0.1/src/support/FileName.cpp(941): Recognised Fileformat: gif
lyx-2.0.1/src/support/FileName.cpp(941): Recognised Fileformat: gif
lyx-2.0.1/src/support/filetools.cpp(990): [readBB_from_PSFile] no(e)ps-format
lyx-2.0.1/src/frontends/qt4/GuiGraphics.cpp(346): [bb_Changed set to true]
lyx-2.0.1/src/frontends/qt4/GuiGraphics.cpp(346): [bb_Changed set to true]
lyx-2.0.1/src/frontends/qt4/GuiGraphics.cpp(346): [bb_Changed set to true]
lyx-2.0.1/src/frontends/qt4/GuiGraphics.cpp(346): [bb_Changed set to true]
lyx-2.0.1/src/support/FileName.cpp(941): Recognised Fileformat: pdf
lyx-2.0.1/src/support/FileName.cpp(941): Recognised Fileformat: pdf
lyx-2.0.1/src/support/filetools.cpp(990): [readBB_from_PSFile] no(e)ps-format
yx-2.0.1/src/insets/InsetGraphicsParams.cpp(266): BB_from_File: 



But the generated PDF looks fine.






Re: textgreek and textcyr and polyglossia

2011-09-07 Thread Bernd Kappenberg
Thanks, that worked!!!

However, when I insert an integral sign, an error message will appear:
LaTeX Error: Command \iint already defined.

Where do you want me to file the report?

Bernd


 Original-Nachricht 
> Datum: Wed, 07 Sep 2011 17:48:46 +0200
> Von: "Jürgen Spitzmüller" 
> An: Bernd Kappenberg 
> CC: lyx-users@lists.lyx.org, rgh...@comcast.net
> Betreff: Re: textgreek and textcyr and polyglossia

> Bernd Kappenberg wrote:
> > Here is a minimal example.
> 
> OK, you have the language package set to "custom" in document settings. If
> you 
> set it to "Automatic" or "Default", LyX will load polyglossia and suppress
> the 
> greektext and cyrillictext definitions.
> 
> It's probably most sensible to suppress them with custom as well and leave
> all 
> the responsibility to the user.
> (Although I do not see why you don't use LyX's native polyglossia support)
> 
> Can you file a report on trac, please?
> 
> Jürgen

-- 
Fragen zum Leben und Arbeiten in der EU?
Der Wegweiserdienst der Europäischen Kommission bietet
kostenlose Beratung per E-Mail:
http://ec.europa.eu/citizensrights/front_end/index_de.htm
-

NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!   
Jetzt informieren: http://www.gmx.net/de/go/freephone


Re: textgreek and textcyr and polyglossia

2011-09-07 Thread Jürgen Spitzmüller
Bernd Kappenberg wrote:
> Thanks, that worked!!!
> 
> However, when I insert an integral sign, an error message will appear:
> LaTeX Error: Command \iint already defined.

A clash of packages. We'd need another minimal example to investigate.

> Where do you want me to file the report?

http://www.lyx.org/trac/wiki/BugTrackerHome

Thanks,
Jürgen



Re: textgreek and textcyr and polyglossia

2011-09-07 Thread Bernd Kappenberg
OK, done.

What do I have to type to get the LyX natural polyglossia support?

Bernd 


 Original-Nachricht 
> Datum: Wed, 07 Sep 2011 18:26:17 +0200
> Von: "Jürgen Spitzmüller" 
> An: Bernd Kappenberg 
> CC: rgh...@comcast.net, lyx-users@lists.lyx.org
> Betreff: Re: textgreek and textcyr and polyglossia

> Bernd Kappenberg wrote:
> > Thanks, that worked!!!
> > 
> > However, when I insert an integral sign, an error message will appear:
> > LaTeX Error: Command \iint already defined.
> 
> A clash of packages. We'd need another minimal example to investigate.
> 
> > Where do you want me to file the report?
> 
> http://www.lyx.org/trac/wiki/BugTrackerHome
> 
> Thanks,
> Jürgen
> 

-- 
Fragen zum Leben und Arbeiten in der EU?
Der Wegweiserdienst der Europäischen Kommission bietet
kostenlose Beratung per E-Mail:
http://ec.europa.eu/citizensrights/front_end/index_de.htm
-

Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


Re: [Lyx to Latex] XY-PIC figures and crossref tag

2011-09-07 Thread Julien Rioux

On 25/08/2011 7:16 AM, Eisa Ayed wrote:

Forgive my ignorance, how can I convert my xymatrix to .eps?

I found the following way:
1.for each xymatrix create a separate lyx file.
2. export each file to .tex
3. run latex fileName
4. run dvips -E -o fileName.eps fileName.dvi

I found this tedious if I have 10 xymatrix figures, is there another/simpler 
way?

Also after inserting the figures, each figure takes the whole page for 
displaying, how can I crop the figure?

Thank you for your patience,
~Eisa



Hi,

Sorry for the late reply. You are right that it can be tedious, but you 
could set up a script to automate it. You can use only one LyX file, in 
fact, by using the latex package called preview. Here's how:


In your document preamble:

\usepackage[active,pdftex,tightpage]{preview}
\PreviewMacro[!]{\xymatrix}

Then when you export to pdf, you get each xymatrix figure on its own 
page. Then use pdftk to extract each page (burst the pdf).


--
Julien


Re: submitting paper in latex (tex) format

2011-09-07 Thread Julien Rioux

On 27/08/2011 12:18 PM, Liviu Andronic wrote:

On Sat, Aug 27, 2011 at 8:58 AM, Jürgen Spitzmüller  wrote:

Waluyo Adi Siswanto wrote:

Why LyX does not write the extension, is this a bug?


No, it's a feature. If no extension is specified, LaTeX (the graphics package,
for that matter) searches for the most suitable format for the given
processor. So if you have \includegraphics{myfile} and two files myfile.eps
and myfile.pdf are available, graphcs will select the eps file for DVI/PS
output and the PDF file for PDF output.

If the EES cannot deal with this, it's probably a bug in the EES.


For such extreme cases, wouldn't it be better if the user could
control which extension is being used? For example, she would need to
force LyX to use the extension of the file originally supplied in the
insert graphic inset ('fig.pdf') and LyX would automatically add this
extension to all included graphics, respectively.
Liviu



So it's a feature that doesn't necessarily fit every workflow. Also see 
this bug report:

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

--
Julien



Re: Problem using Natbib

2011-09-07 Thread Richard Heck
On 09/02/2011 04:16 PM, Alan Greene wrote:
> Certainly. The attached files currently compile, but with Natbib
> chosen, a "something is missing" error occurs. If an incompatible bst
> is chosen (like humannat), "control sequence" errors are produced.
>
It's the
\usepackage[nospace]{cite}
command that you need to remove.

Richard

> On 9/2/11 1:35 PM, Richard Heck wrote:
>> On 09/02/2011 12:30 PM, Alan Greene wrote:
>>> Hi All,
>>>
>>> I'm trying to adapt a University of Chicago LyX dissertation template
>>> to my particular citation needs and have found that it only compiles
>>> when all citations are (1) in 'default (numerical)' citation style and
>>> (2) 'plain' or 'ieeetr' bst (but not 'humannat,' which I'd like to
>>> use). When I attempt to employ Natbib and/or a bst file such as
>>> humannat, I receive numerous errors like these:
>>>
>>> ! Paragraph ended before \org@@citex was complete
>>>
>>> and
>>>
>>> ! Paragraph ended before \NAT@@citetp was complete
>>>
>>> Here's the master file preamble for your reference, as I really don't
>>> know which aspects may be causing the problem. (The 'slave' chapter
>>> preambles are almost identical except that they lack the bibliographic
>>> and appendix portions).
>>>
>> FYI: If these are child documents, then their preambles aren't actually
>> used during compilation of the whole document. They'd only be used if
>> you try to compile the chapters as standalone documents.
>>
>>> I first posted this on the latex-community forum, but then realized
>>> that their LyX thread seems to have very low activity. Thanks in
>>> advance for your help and expertise!
>>>
>> I don't really see anything in the preamble that would be likely to
>> cause this problem. Could you create a simple test document that
>> exhibits this issue?
>>
>> Richard
>>
>



Re: What is the toolbar icon name for "math-delim | |"

2011-09-07 Thread Julien Rioux

On 10/08/2011 1:55 AM, Jason Rute wrote:

Hello, I added

  Item "Insert | |" "math-delim | |"

to my stdtoolbars.inc file.  It works fine, except that I can't figure out
what the corresponding icon file name should be (in
AppData/Roaming/Lyx2.0/images/math).  I think it should be vert_vert.png,
but that doesn't work.  Here is a what I do know---these commands work with
these file names.

  "math-delim ( )" lparen_rparen.png
  "math-delim [ ]" lbrace_rbrace.png
  "math-delim vert vert" vert_vert.png
  "math-delim |" vert.png
  "math-delim ( (" lparen_lparen.png
  "math-delim | |" ???

Also, the same correspondences seem to hold if I replace math-delim with
math-insert.

Does anyone know?  Is this a bug?

Also, I know "math-delim vert vert" is equivalent, but I want the LaTeX to
be \left| \right|.  And I could deal without an icon (and even make the
alt-text be "| |" so it looks like I want), but am curious/stubborn.

Thanks!



I guess nobody knows! Did you figure it out?

--
Julien



Re: Problem using Natbib

2011-09-07 Thread Alan Greene

Got it. Thanks for your help!!

On 9/7/11 4:10 PM, Richard Heck wrote:

On 09/02/2011 04:16 PM, Alan Greene wrote:

Certainly. The attached files currently compile, but with Natbib
chosen, a "something is missing" error occurs. If an incompatible bst
is chosen (like humannat), "control sequence" errors are produced.


It's the
 \usepackage[nospace]{cite}
command that you need to remove.

Richard


On 9/2/11 1:35 PM, Richard Heck wrote:

On 09/02/2011 12:30 PM, Alan Greene wrote:

Hi All,

I'm trying to adapt a University of Chicago LyX dissertation template
to my particular citation needs and have found that it only compiles
when all citations are (1) in 'default (numerical)' citation style and
(2) 'plain' or 'ieeetr' bst (but not 'humannat,' which I'd like to
use). When I attempt to employ Natbib and/or a bst file such as
humannat, I receive numerous errors like these:

! Paragraph ended before \org@@citex was complete

and

! Paragraph ended before \NAT@@citetp was complete

Here's the master file preamble for your reference, as I really don't
know which aspects may be causing the problem. (The 'slave' chapter
preambles are almost identical except that they lack the bibliographic
and appendix portions).


FYI: If these are child documents, then their preambles aren't actually
used during compilation of the whole document. They'd only be used if
you try to compile the chapters as standalone documents.


I first posted this on the latex-community forum, but then realized
that their LyX thread seems to have very low activity. Thanks in
advance for your help and expertise!


I don't really see anything in the preamble that would be likely to
cause this problem. Could you create a simple test document that
exhibits this issue?

Richard








--
Alan Greene
Ph.D. Candidate
Department of Anthropology
University of Chicago