Re: LyX 2.0 RC2 keeps crashing on Mac OS X 10.6.4

2011-04-02 Thread Murat Yildizoglu
Stephan,
My tests was under 10.6.7.

2011/4/1 Stephan Witt st.w...@gmx.net

 Am 01.04.2011 um 23:10 schrieb Vincent van Ravesteijn:

  On 1-4-2011 23:03, Murat Yildizoglu wrote:
  I have been able to reproduce this problem: I have tried to resize Lyx's
 screen using Divvy and Lyx crashed.
 
  I give below the beginning of the crash report. It seems that
 com.apple.HIToolbox get very excited ;-)
 
  It seems that the problem might have to do with Qt as well (seeing
 QtGui).
 
  Can you try other Qt apps as well ?

 And if possible on a Mac with OS X 10.6.7 - the latest patch release?
 As I said, until I upgraded from 10.6.6 I got the crashes with LyX + divvy
 too and now - with 10.6.7 - it doesn't happen anymore.

 When trying to resize LyX instead of the crash on 10.6.7
 the position is changed and the size is not.

 Stephan




-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: LyX 2.0 RC2 keeps crashing on Mac OS X 10.6.4

2011-04-02 Thread Stephan Witt
Am 02.04.2011 um 10:17 schrieb Murat Yildizoglu:

 Stephan, 
 My tests was under 10.6.7.

Ah... I got the impression you're using 10.6.4 - as you wrote

 I use the same OS (but in French) on a MacbookPro

Am 02.04.2011 um 03:39 schrieb BH:

 On Fri, Apr 1, 2011 at 5:28 PM, Stephan Witt st.w...@gmx.net wrote:
 Am 01.04.2011 um 23:10 schrieb Vincent van Ravesteijn:
 
 On 1-4-2011 23:03, Murat Yildizoglu wrote:
 I have been able to reproduce this problem: I have tried to resize Lyx's 
 screen using Divvy and Lyx crashed.
 
 I give below the beginning of the crash report. It seems that 
 com.apple.HIToolbox get very excited ;-)
 
 It seems that the problem might have to do with Qt as well (seeing QtGui).
 
 Can you try other Qt apps as well ?
 
 And if possible on a Mac with OS X 10.6.7 - the latest patch release?
 As I said, until I upgraded from 10.6.6 I got the crashes with LyX + divvy
 too and now - with 10.6.7 - it doesn't happen anymore.
 
 When trying to resize LyX instead of the crash on 10.6.7
 the position is changed and the size is not.
 
 Another not-so-helpful datapoint here: I don't have any special extra
 applications running that I'd expect would interact with LyX in a way
 that would cause these crashes. Nonetheless, sometime between RC1 and
 RC2, my own builds of LyX was crashing on me fairly regularly, though
 I wasn't able to find any clear pattern to it. Starting just before
 RC2 until R38178 (the most recent I've compiled), things have been
 getting better, and things now seem pretty good. But RC2 was crashing
 all too frequently.

I think the crashes with divvy and cinch have another cause.
The stack trace looks like a recursion which is stopped by memory problems
and starts from the Qt-main look - there is no LyX code passed.
Of course it may be triggered by some LyX call on startup or so - but at
the time of the crash LyX seems to be innocent.

Stephan

Re: How to obtain the path of the lyxfile from tex?

2011-04-02 Thread Jean-Marc Lasgouttes

Le 02/04/11 00:42, Sean Wendt a écrit :

I am writing a preprocessor, to look up words from a custom inset in a
dictionary, write the result to a file and include it at the end of each
page.
I enabled -enable-write18 and tested it at the command line, LyX however
moves the compilation to a temporary directory (on Windows7) from which
I can access my preprocessor script (which I keep together with the lyx
file) only via an absolute path.

Does LyX store the path to the current file somewhere accessible from
Tex code?


\input@path is set to point to the original directory, you may be able 
to use this...


JMarc


Re: LyX 2.0 RC2 keeps crashing on Mac OS X 10.6.4

2011-04-02 Thread Murat Yildizoglu
Oups, sorry, I was referring to SL.

2011/4/2 Stephan Witt st.w...@gmx.net

 Am 02.04.2011 um 10:17 schrieb Murat Yildizoglu:

  Stephan,
  My tests was under 10.6.7.

 Ah... I got the impression you're using 10.6.4 - as you wrote

  I use the same OS (but in French) on a MacbookPro

 Am 02.04.2011 um 03:39 schrieb BH:

  On Fri, Apr 1, 2011 at 5:28 PM, Stephan Witt st.w...@gmx.net wrote:
  Am 01.04.2011 um 23:10 schrieb Vincent van Ravesteijn:
 
  On 1-4-2011 23:03, Murat Yildizoglu wrote:
  I have been able to reproduce this problem: I have tried to resize
 Lyx's screen using Divvy and Lyx crashed.
 
  I give below the beginning of the crash report. It seems that
 com.apple.HIToolbox get very excited ;-)
 
  It seems that the problem might have to do with Qt as well (seeing
 QtGui).
 
  Can you try other Qt apps as well ?
 
  And if possible on a Mac with OS X 10.6.7 - the latest patch release?
  As I said, until I upgraded from 10.6.6 I got the crashes with LyX +
 divvy
  too and now - with 10.6.7 - it doesn't happen anymore.
 
  When trying to resize LyX instead of the crash on 10.6.7
  the position is changed and the size is not.
 
  Another not-so-helpful datapoint here: I don't have any special extra
  applications running that I'd expect would interact with LyX in a way
  that would cause these crashes. Nonetheless, sometime between RC1 and
  RC2, my own builds of LyX was crashing on me fairly regularly, though
  I wasn't able to find any clear pattern to it. Starting just before
  RC2 until R38178 (the most recent I've compiled), things have been
  getting better, and things now seem pretty good. But RC2 was crashing
  all too frequently.

 I think the crashes with divvy and cinch have another cause.
 The stack trace looks like a recursion which is stopped by memory problems
 and starts from the Qt-main look - there is no LyX code passed.
 Of course it may be triggered by some LyX call on startup or so - but at
 the time of the crash LyX seems to be innocent.

 Stephan




-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: How to obtain the path of the lyxfile from tex?

2011-04-02 Thread Sean Wendt
Oddly \currfiledir is empty on MikTeX under Windows.

Also
\immediate\write18{echo \string\gdef\string\pwd{$PWD}  pwd.tex}
\IfFileExists{pwd.tex}{\input pwd}{\gdef\pwd{.}}

and
\newcommand*\pwd{\input{|pwd}\unskip}

obviously don't work under Windows and wouldn't get me the path I want.

Isn't LyX required to pass the location of the original sourcefiles somehow
to TeX , as TeX can't really know anything about the LyX-file?

Sean

On Sat, Apr 2, 2011 at 06:37, Liviu Andronic landronim...@gmail.com wrote:

 On Sat, Apr 2, 2011 at 12:42 AM, Sean Wendt wendt.s...@gmail.com wrote:
  Does LyX store the path to the current file somewhere accessible from Tex
  code?
 
 There is \jobname, but it doesn't give you the path. Maybe the
 currfile package [1]?
 [1] http://tex.stackexchange.com/questions/13233/jobname-of-inputted-file

 Regards
 Liviu




On Sat, Apr 2, 2011 at 06:37, Liviu Andronic landronim...@gmail.com wrote:

 On Sat, Apr 2, 2011 at 12:42 AM, Sean Wendt wendt.s...@gmail.com wrote:
  Does LyX store the path to the current file somewhere accessible from Tex
  code?
 
 There is \jobname, but it doesn't give you the path. Maybe the
 currfile package [1]?
 [1] http://tex.stackexchange.com/questions/13233/jobname-of-inputted-file

 Regards
 Liviu



Re: ANNOUNCE: LyX version 2.0.0 (release candidate 2)

2011-04-02 Thread Pavel Sanda
Richard Heck wrote:
 ALL LyX releases are forward 
 compatible with later releases, in the sense that any file created with 
 ANY LyX release is intended to be openable in ANY later release, with no 
 user intervention.

but thats definition of backward compatibility, no?

pavel


Re: ANNOUNCE: LyX version 2.0.0 (release candidate 2)

2011-04-02 Thread Richard Heck

On 04/02/2011 07:53 AM, Pavel Sanda wrote:

Richard Heck wrote:

ALL LyX releases are forward
compatible with later releases, in the sense that any file created with
ANY LyX release is intended to be openable in ANY later release, with no
user intervention.

but thats definition of backward compatibility, no?


depends where you are standing

rh



Re: export to HTML, math equation quality

2011-04-02 Thread Pavel Sanda
Jong Kook Shin wrote:
 Hi,

 I want to have high resolution images (300ppi?) of math equations when I 
 export my lyx files into html, which will ultimately be converted to MSword 
 file.
 Currently, it seems that the math equations and other figures are converted 
 to 72ppi. For screen display, it works perfect but I need this ultimately 
 for printing. Googling or search the mailing archive did not find a 
 satisfactory solution to address this issue.

couldn't you use math image scaling box in document output prefs?

pavel


Re: export to HTML, math equation quality

2011-04-02 Thread Liviu Andronic
On Fri, Apr 1, 2011 at 4:33 AM, Jong Kook Shin jongkooks...@hotmail.com wrote:
 Hi,

 I want to have high resolution images (300ppi?) of math equations when I
 export my lyx files into html, which will ultimately be converted to MSword
 file.
 Currently, it seems that the math equations and other figures are converted
 to 72ppi. For screen display, it works perfect but I need this ultimately
 for printing. Googling or search the mailing archive did not find a
 satisfactory solution to address this issue.

What about elyxer, have you tried that?
Liviu


 Just FYI, I tried exporting with many other formats - e.g. often recommended
 open office or rtf, etc. But they did not produce satisfactory results.

 I would be much obliged if somebody can provide a hint to this issue.

 Best,
 Jong




-- 
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: How to obtain the path of the lyxfile from tex?

2011-04-02 Thread Sean Wendt
\input@path is set to point to the original directory, you may be able to use 
this...

JMarc

Yes, this is it. How do I strip the extra { } ?

Sean


Re: How to obtain the path of the lyxfile from tex?

2011-04-02 Thread Jean-Marc Lasgouttes

Le 02/04/11 15:47, Sean Wendt a écrit :

\input@path is set to point to the original directory, you may be able to use 
this...

JMarc


Yes, this is it. How do I strip the extra { } ?


I am not sure actually. Note that, starting with 2.0, LyX has a way to 
specify preprocessors for documents (this is used for sweave suport).


JMarc


Editing Process

2011-04-02 Thread Bruce Pourciau
A journal has the tex file I exported from my lyx file. Their editing  
process goes like this: they mark places in that tex file where they  
want revisions, attach it to an email to me, I make the revisions in  
that marked up tex file and send it back to them.


Now I'm comfortable working with LyX, but not at all comfortable  
working with a tex file directly. I'm worried that I'll make errors in  
the editing process and that it will take me much longer to make  
revisions, if I have to work with the tex file directly. I know I can  
import the tex file they send me -- a revision of the original tex  
file generated by my lyx file -- but if I do this, make the changes  
they want in lyx, and then export a tex file, can I be sure that this  
would result in the same tex file that would have resulted from  
working directly on the tex file they sent me?


A second question: this journal does accept Word file submissions, but  
they much prefer tex files (naturally). I imagine that the editing  
process is different for Word submissions, probably more like what I  
would prefer: they tell me what they want changed, I make the changes  
in LyX, and then send them a new tex file exported from my revised lyx  
file, even if that exported tex file is different (due to the import/ 
export process, not just the revisions) from the tex file that would  
have resulted from working on the tex file directly. In this process,  
my lyx document is always the final say on the state of the ms at any  
time, at least until I send them the final tex file at the end of the  
process. I'm tempted to write back to the editors and say that I want  
my manuscript to enjoy the editing process of a Word submission. Do  
you think that's justified?


Bruce


Re: Editing Process

2011-04-02 Thread Liviu Andronic
On Sat, Apr 2, 2011 at 3:55 PM, Bruce Pourciau
bruce.h.pourc...@lawrence.edu wrote:
 A journal has the tex file I exported from my lyx file. Their editing
 process goes like this: they mark places in that tex file where they want
 revisions, attach it to an email to me, I make the revisions in that marked
 up tex file and send it back to them.

 Now I'm comfortable working with LyX, but not at all comfortable working
 with a tex file directly. I'm worried that I'll make errors in the editing
 process and that it will take me much longer to make revisions, if I have to
 work with the tex file directly. I know I can import the tex file they send
 me -- a revision of the original tex file generated by my lyx file -- but if
 I do this, make the changes they want in lyx, and then export a tex file,
 can I be sure that this would result in the same tex file that would have
 resulted from working directly on the tex file they sent me?

If you're sticking to the same LyX version and perform minor
modifications to the document (no new packages used, etc.), then I see
few reasons for the exported, revised tex to be significantly
different from imported tex (that they sent you). You can experiment,
though. Try to import the tex file, perform some small modifications,
then re-export to tex, and then use a diff viewer (say, Meld) and
check what are the differences between the two files. This way you
could sleep with a clear mind.

Alternatively, and this is more cumbersome albeit still an option, you
could choose an editor with good syntax highlighting, open the
original tex file, fire LyX and import the same tex file, perform your
modifications in LyX and when you arrive to a final version, select
View  View source and in the relevant pane select 'complete source',
and then copy/paste the relevant LyX-generated LaTeX code into TeX
editor. When you're done, try to import the final tex file into LyX to
make sure that it compiles (or do so on the command line). Anyways,
this second solution seems like an overkill.


 A second question: this journal does accept Word file submissions, but they
 much prefer tex files (naturally). I imagine that the editing process is
 different for Word submissions, probably more like what I would prefer: they
 tell me what they want changed, I make the changes in LyX, and then send
 them a new tex file exported from my revised lyx file, even if that exported
 tex file is different (due to the import/export process, not just the
 revisions) from the tex file that would have resulted from working on the
 tex file directly. In this process, my lyx document is always the final say
 on the state of the ms at any time, at least until I send them the final tex
 file at the end of the process. I'm tempted to write back to the editors and
 say that I want my manuscript to enjoy the editing process of a Word
 submission. Do you think that's justified?

I'm not sure I follow entirely, but I'd at least first try the LyX
import/export way to see if it works out.

Regards
Liviu


 Bruce




-- 
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: Editing Process

2011-04-02 Thread Bruce Pourciau


On Apr 2, 2011, at 8:55 AM, Bruce Pourciau wrote:

A journal has the tex file I exported from my lyx file. Their  
editing process goes like this: they mark places in that tex file  
where they want revisions, attach it to an email to me, I make the  
revisions in that marked up tex file and send it back to them.


Now I'm comfortable working with LyX, but not at all comfortable  
working with a tex file directly. I'm worried that I'll make errors  
in the editing process and that it will take me much longer to make  
revisions, if I have to work with the tex file directly. I know I  
can import the tex file they send me -- a revision of the original  
tex file generated by my lyx file -- but if I do this, make the  
changes they want in lyx, and then export a tex file, can I be sure  
that this would result in the same tex file that would have resulted  
from working directly on the tex file they sent me?


A second question: this journal does accept Word file submissions,  
but they much prefer tex files (naturally). I imagine that the  
editing process is different for Word submissions, probably more  
like what I would prefer: they tell me what they want changed, I  
make the changes in LyX, and then send them a new tex file exported  
from my revised lyx file, even if that exported tex file is  
different (due to the import/export process, not just the revisions)  
from the tex file that would have resulted from working on the tex  
file directly. In this process, my lyx document is always the final  
say on the state of the ms at any time, at least until I send them  
the final tex file at the end of the process. I'm tempted to write  
back to the editors and say that I want my manuscript to enjoy the  
editing process of a Word submission. Do you think that's justified?


Bruce


Let me add this: The editors don't expect the author of a Word  
submission to conduct the revision process in an unfamiliar file  
format. I'm sure they go back and forth with Word files. But they are  
trying to force me to conduct the editing process in an unfamiliar  
file format, namely tex.


Bruce


Re: Editing Process

2011-04-02 Thread Julien Rioux

On 02/04/2011 9:55 AM, Bruce Pourciau wrote:

A journal has the tex file I exported from my lyx file. Their editing
process goes like this: they mark places in that tex file where they
want revisions, attach it to an email to me, I make the revisions in
that marked up tex file and send it back to them.

Now I'm comfortable working with LyX, but not at all comfortable working
with a tex file directly. I'm worried that I'll make errors in the
editing process and that it will take me much longer to make revisions,
if I have to work with the tex file directly. I know I can import the
tex file they send me -- a revision of the original tex file generated
by my lyx file -- but if I do this, make the changes they want in lyx,
and then export a tex file, can I be sure that this would result in the
same tex file that would have resulted from working directly on the tex
file they sent me?

A second question: this journal does accept Word file submissions, but
they much prefer tex files (naturally). I imagine that the editing
process is different for Word submissions, probably more like what I
would prefer: they tell me what they want changed, I make the changes in
LyX, and then send them a new tex file exported from my revised lyx
file, even if that exported tex file is different (due to the
import/export process, not just the revisions) from the tex file that
would have resulted from working on the tex file directly. In this
process, my lyx document is always the final say on the state of the ms
at any time, at least until I send them the final tex file at the end of
the process. I'm tempted to write back to the editors and say that I
want my manuscript to enjoy the editing process of a Word submission. Do
you think that's justified?

Bruce



Save yourself from the tex - lyx - tex cycle, as it is known to be 
incomplete. So I see two ways forward (not counting the Word alternative)


1) Use your original LyX file. Always only modify the original LyX file, 
and use .tex at the last stage (export). For this method, you will first 
need to figure out what is different, between the .tex file you sent to 
the editors, and the .tex file you received from them. Identify those 
changes and make the same changes in your LyX file. Then identify the 
things they want you to change, and make the changes in your LyX file. 
When done, export to .tex and send the file.


2) Just go with editing the .tex file. At the editing stage, you will 
only be changing a few sentences here and there anyway. If you need to 
modify math formulas and are intimidated by this, fire up LyX with a new 
file, write down how the formula should look like, open the ViewSource 
panel, and copy/paste to your .tex file.


Good luck,
Julien



Re: Editing Process

2011-04-02 Thread stefano franchi


 Save yourself from the tex - lyx - tex cycle, as it is known to be
 incomplete. So I see two ways forward (not counting the Word alternative)

 1) Use your original LyX file. Always only modify the original LyX file,
 and use .tex at the last stage (export). For this method, you will first
 need to figure out what is different, between the .tex file you sent to the
 editors, and the .tex file you received from them. Identify those changes
 and make the same changes in your LyX file. Then identify the things they
 want you to change, and make the changes in your LyX file. When done, export
 to .tex and send the file.


Could not agree more. DO NOT rely on the integrity of the TeX--LyX (I have
been bitten before). My suggestion is to use the comments to the tex file
you get back from the editors as if they were annotations of a pdf file or
comments on a hard-copy version.  Look at them, but edit your LyX file
directly.
Or are the editors editing your text directly on the TeX source? (that would
be strange, though). In that case you would have to use a diff program (like
diff on linux, or the interface to diff in emacs, etc), to find out exactly
what changed between your submitted text and the editors' edited version

Stefano


LyX 2.0.0 release candidate 2 - (Non official Win32 binaries)

2011-04-02 Thread Diego Queiroz
Hello.

For those who want binaries for LyX 2.0 RC2.
I've compiled them again.

Here is the link.
http://www.megaupload.com/?d=ARUDZI5K


Regards.
---
Diego Queiroz


Re: Editing Process

2011-04-02 Thread Dr Eberhard W Lisse
Bruce,

First of all I would use LyX's version control system.

Secondly there are programs around to compare two tex files
and write out the differences, which should help you with
the editing, which I would then continue to do within LyX.

el

On 2011-04-02 15:55 , Bruce Pourciau wrote:
 A journal has the tex file I exported from my lyx file. Their editing
 process goes like this: they mark places in that tex file where they
 want revisions, attach it to an email to me, I make the revisions in
 that marked up tex file and send it back to them.
[...]


Re: Editing Process

2011-04-02 Thread Steve Litt
On Saturday 02 April 2011 11:03:00 Julien Rioux wrote:
 On 02/04/2011 9:55 AM, Bruce Pourciau wrote:
  A journal has the tex file I exported from my lyx file. Their editing
  process goes like this: they mark places in that tex file where they
  want revisions, attach it to an email to me, I make the revisions in
  that marked up tex file and send it back to them.
  
  Now I'm comfortable working with LyX, but not at all comfortable working
  with a tex file directly. I'm worried that I'll make errors in the
  editing process and that it will take me much longer to make revisions,
  if I have to work with the tex file directly. I know I can import the
  tex file they send me -- a revision of the original tex file generated
  by my lyx file -- but if I do this, make the changes they want in lyx,
  and then export a tex file, can I be sure that this would result in the
  same tex file that would have resulted from working directly on the tex
  file they sent me?
  
  A second question: this journal does accept Word file submissions, but
  they much prefer tex files (naturally). I imagine that the editing
  process is different for Word submissions, probably more like what I
  would prefer: they tell me what they want changed, I make the changes in
  LyX, and then send them a new tex file exported from my revised lyx
  file, even if that exported tex file is different (due to the
  import/export process, not just the revisions) from the tex file that
  would have resulted from working on the tex file directly. In this
  process, my lyx document is always the final say on the state of the ms
  at any time, at least until I send them the final tex file at the end of
  the process. I'm tempted to write back to the editors and say that I
  want my manuscript to enjoy the editing process of a Word submission. Do
  you think that's justified?
  
  Bruce
 
 Save yourself from the tex - lyx - tex cycle, as it is known to be
 incomplete. So I see two ways forward (not counting the Word alternative)
 
 1) Use your original LyX file. Always only modify the original LyX file,
 and use .tex at the last stage (export). For this method, you will first
 need to figure out what is different, between the .tex file you sent to
 the editors, and the .tex file you received from them. Identify those
 changes and make the same changes in your LyX file. Then identify the
 things they want you to change, and make the changes in your LyX file.
 When done, export to .tex and send the file.
 
 2) Just go with editing the .tex file. At the editing stage, you will
 only be changing a few sentences here and there anyway. If you need to
 modify math formulas and are intimidated by this, fire up LyX with a new
 file, write down how the formula should look like, open the ViewSource
 panel, and copy/paste to your .tex file.

3) Ask your editors if, just possibly, they might use LyX on their end. Who 
knows, they might like it. For all the reasons you mention, if I were a 
professional editor I'd HATE working directly in LaTeX, and I'd LOVE working 
in LyX, always assuming I could agree with the author on which LyX version.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



** ERROR ** Invalid font: -1 (8)

2011-04-02 Thread Walter
Could someone please enlighten me as to the correct method of resolving this
error?

My LyX file references a number of fonts however I have not been able to
successfully convert to PDF for some time due to various reasons. I have
solved them all bar this one, and am quite stumped.
I don't recall changing any fonts since the last time I successfully output
to PDF (albeit back on 1.6, this is now 2.0rc2).

Other than going in to the LyX file manually and replacing all font
references with a 'known good' one, is there any way to know which line this
error actually references?  As error messages go, this one seems pretty
opaque.

Full output of progress/debug messages follow...

 12:30:55.079: Previewing ...

12:30:55.108: (buffer-view: Ctrl+R)

12:30:55.284: xelatex story.tex

12:30:55.318: This is XeTeX, Version 3.1415926-2.2-0.9997.4 (TeX Live 2010)

12:30:55.319: restricted \write18 enabled.

12:30:55.468: entering extended mode

12:30:55.472: (./story.tex

12:30:55.475: LaTeX2e 2009/09/24

12:30:55.477: Babel v3.8l and hyphenation patterns for english, dumylang,
nohyphenation, pi

12:30:55.478: nyin, ukenglish, usenglishmax, loaded.

12:30:55.480:

12:30:55.934:

12:30:55.936: ** WARNING ** Failed to convert input string to UTF16...

12:30:56.070: ** ERROR ** Invalid font: -1 (8)

12:30:56.072:

12:30:56.073: Output file removed.

12:30:56.082: The process crashed some time after starting successfully.

12:30:56.119: xelatex story.tex

12:30:56.156: This is XeTeX, Version 3.1415926-2.2-0.9997.4 (TeX Live 2010)

12:30:56.161: restricted \write18 enabled.

12:30:56.311: entering extended mode

12:30:56.312: (./story.tex

12:30:56.312: LaTeX2e 2009/09/24

12:30:56.313: Babel v3.8l and hyphenation patterns for english, dumylang,
nohyphenation, pi

12:30:56.313: nyin, ukenglish, usenglishmax, loaded.

12:30:56.314:

12:30:56.774:

12:30:56.775: ** WARNING ** Failed to convert input string to UTF16...

12:30:56.909: ** ERROR ** Invalid font: -1 (8)

12:30:56.910:

12:30:56.910: Output file removed.

12:30:56.920: The process crashed some time after starting
successfully.Error: Cannot view file



File does not exist: /tmp/lyx_tmpdir.M22972/lyx_tmpbuf0/story.pdf

12:30:58.133: Error while previewing format: pdf4


- Walter


Re: Editing Process

2011-04-02 Thread Bruce Pourciau


On Apr 2, 2011, at 2:13 PM, Steve Litt wrote:


On Saturday 02 April 2011 11:03:00 Julien Rioux wrote:

On 02/04/2011 9:55 AM, Bruce Pourciau wrote:
A journal has the tex file I exported from my lyx file. Their  
editing

process goes like this: they mark places in that tex file where they
want revisions, attach it to an email to me, I make the revisions in
that marked up tex file and send it back to them.

Now I'm comfortable working with LyX, but not at all comfortable  
working

with a tex file directly. I'm worried that I'll make errors in the
editing process and that it will take me much longer to make  
revisions,
if I have to work with the tex file directly. I know I can import  
the
tex file they send me -- a revision of the original tex file  
generated
by my lyx file -- but if I do this, make the changes they want in  
lyx,
and then export a tex file, can I be sure that this would result  
in the
same tex file that would have resulted from working directly on  
the tex

file they sent me?

A second question: this journal does accept Word file submissions,  
but

they much prefer tex files (naturally). I imagine that the editing
process is different for Word submissions, probably more like what I
would prefer: they tell me what they want changed, I make the  
changes in

LyX, and then send them a new tex file exported from my revised lyx
file, even if that exported tex file is different (due to the
import/export process, not just the revisions) from the tex file  
that

would have resulted from working on the tex file directly. In this
process, my lyx document is always the final say on the state of  
the ms
at any time, at least until I send them the final tex file at the  
end of

the process. I'm tempted to write back to the editors and say that I
want my manuscript to enjoy the editing process of a Word  
submission. Do

you think that's justified?

Bruce


Save yourself from the tex - lyx - tex cycle, as it is known to be
incomplete. So I see two ways forward (not counting the Word  
alternative)


1) Use your original LyX file. Always only modify the original LyX  
file,
and use .tex at the last stage (export). For this method, you will  
first
need to figure out what is different, between the .tex file you  
sent to

the editors, and the .tex file you received from them. Identify those
changes and make the same changes in your LyX file. Then identify the
things they want you to change, and make the changes in your LyX  
file.

When done, export to .tex and send the file.

2) Just go with editing the .tex file. At the editing stage, you will
only be changing a few sentences here and there anyway. If you need  
to
modify math formulas and are intimidated by this, fire up LyX with  
a new
file, write down how the formula should look like, open the  
ViewSource

panel, and copy/paste to your .tex file.


3) Ask your editors if, just possibly, they might use LyX on their  
end. Who
knows, they might like it. For all the reasons you mention, if I  
were a
professional editor I'd HATE working directly in LaTeX, and I'd LOVE  
working
in LyX, always assuming I could agree with the author on which LyX  
version.


SteveT


Steve, Eberhard, Stefano, Julien, and Liviu,

Thank you for the suggestions! I'll have to ponder. What I'd really  
like is to go old school: Have them mark up the pdf with a pen, send  
it to me, I make the revisions in the lyx file, export tex, send the  
tex file and a pdf to them with the changes. But I'm afraid they'll  
never agree. It's my name that's going to be on the article, so I want  
control. As it is, one editor has already made changes in the tex  
file, replacing italic used for emphasis with roman, which is fine,  
but he also did this for some theorem-like assertions, which is _not_  
fine, and it's hard for me to know that I've spotted all the changes I  
disagree with. His comments are marked with xx, which makes them easy  
to find, but these changes are not so marked. So I feel, even at this  
early stage of the process that I've lost control of my own ms! G.


Bruce


Re: ** ERROR ** Invalid font: -1 (8)

2011-04-02 Thread Guenter Milde
On 2011-04-02, Walter wrote:

 My LyX file references a number of fonts however I have not been able to
 successfully convert to PDF for some time due to various reasons. I have
 solved them all bar this one, and am quite stumped.
 I don't recall changing any fonts since the last time I successfully output
 to PDF (albeit back on 1.6, this is now 2.0rc2).

Did you use XeTeX with 1.6? How?

The error it shows that LyX generates the PDF with the XeTeX engine
using a completely different set of fonts compared to the LyX 1.x default
engine (pdflatex or latex + dvips + ps2pdf)?

 Other than going in to the LyX file manually and replacing all font
 references with a 'known good' one, is there any way to know which line this
 error actually references?  As error messages go, this one seems pretty
 opaque.

If you used pdflatex before, you can reset to using it via un-ticking
use non-TeX fonts under DocumentSettingsFonts.

Otherwise, check for non-utf8 input, languages using other scripts (babel
will try standard TeX fonts then), ...

Maybe it is not a font issue at all:

 12:30:56.775: ** WARNING ** Failed to convert input string to UTF16...


Günter




Re: Editing Process

2011-04-02 Thread Guenter Milde
On 2011-04-02, Bruce Pourciau wrote:

 Let me add this: The editors don't expect the author of a Word  
 submission to conduct the revision process in an unfamiliar file  
 format. I'm sure they go back and forth with Word files. But they are  
 trying to force me to conduct the editing process in an unfamiliar  
 file format, namely tex.

However, I suppose they clearly stated that they accept either LaTeX
or Word *before* you submitted your manuscript.

In both cases, the submission-format is used for the revision process.

I don't think it is fair to expect the editors to be familiar with any of
the many possible formats of some pre-processing state to generate either
of these (OpenOffice, LyX, some HTML2latex or HTML2Word converter,
Abiword, Docutils, ...). (Working with OpenOffice while the other side
uses Word can be a nightmare too.)

Günter



Re: Editing Process

2011-04-02 Thread Bruce Pourciau


On Apr 2, 2011, at 4:05 PM, Guenter Milde wrote:


On 2011-04-02, Bruce Pourciau wrote:


Let me add this: The editors don't expect the author of a Word
submission to conduct the revision process in an unfamiliar file
format. I'm sure they go back and forth with Word files. But they are
trying to force me to conduct the editing process in an unfamiliar
file format, namely tex.


However, I suppose they clearly stated that they accept either LaTeX
or Word *before* you submitted your manuscript.

In both cases, the submission-format is used for the revision process.

I don't think it is fair to expect the editors to be familiar with  
any of
the many possible formats of some pre-processing state to generate  
either

of these (OpenOffice, LyX, some HTML2latex or HTML2Word converter,
Abiword, Docutils, ...). (Working with OpenOffice while the other side
uses Word can be a nightmare too.)

Günter



Very true, but shouldn't they be willing in this special case -- an  
author who submits a tex file, but who is not conversant with tex --  
to go old school?: they mark up the pdf, mail a photocopy or email a  
scanned copy to me, I make the revisions in LyX, then export tex and  
pdf files and send them back. Doesn't seem like too big a deal, and  
the result would be a more error-free article.


Bruce

Re: LyX 2.0.0 release candidate 2 - (Non official Win32 binaries)

2011-04-02 Thread ehud.kap...@gmail.com

Is it for Windows only?
EK

On 4/2/2011 12:02 PM, Diego Queiroz wrote:

Hello.

For those who want binaries for LyX 2.0 RC2.
I've compiled them again.

Here is the link.
http://www.megaupload.com/?d=ARUDZI5K


Regards.
---
Diego Queiroz



--

Ehud Kaplan, Ph.D.

Jules and Doris Stein Research to Prevent BlindnessProfessor

Director, Center of Excellence for Computational  System neuroscience,

The Friedman Brain Institute, MSSM

Director, The laboratory of Visual  Computational Neuroscience

Depts. of Neuroscience, Ophthalmology, Chemical  Structural Biology

The Mount Sinai School of Medicine

One Gustave Levy Place

New York, NY, 10029




Re: LyX 2.0.0 release candidate 2 - (Non official Win32 binaries)

2011-04-02 Thread Diego Queiroz
Yes.

Windows only.
---
Diego Queiroz



2011/4/2 ehud.kap...@gmail.com ehud.kap...@gmail.com

  Is it for Windows only?
 EK


 On 4/2/2011 12:02 PM, Diego Queiroz wrote:

 Hello.

 For those who want binaries for LyX 2.0 RC2.
 I've compiled them again.

 Here is the link.http://www.megaupload.com/?d=ARUDZI5K


 Regards.
 ---
 Diego Queiroz



 --

 Ehud Kaplan, Ph.D.

 Jules and Doris Stein Research to Prevent Blindness Professor

 Director, Center of Excellence for Computational  System neuroscience,

 The Friedman Brain Institute, MSSM

 Director, The laboratory of Visual  Computational Neuroscience

 Depts. of Neuroscience, Ophthalmology, Chemical  Structural Biology

 The Mount Sinai School of Medicine

 One Gustave Levy Place

 New York, NY, 10029







Re: Editing Process

2011-04-02 Thread Liviu Andronic
On Sat, Apr 2, 2011 at 10:03 PM, Bruce Pourciau
bruce.h.pourc...@lawrence.edu wrote:
 Thank you for the suggestions! I'll have to ponder. What I'd really like is
 to go old school: Have them mark up the pdf with a pen, send it to me, I
 make the revisions in the lyx file, export tex, send the tex file and a pdf
 to them with the changes. But I'm afraid they'll never agree. It's my name
 that's going to be on the article, so I want control. As it is, one editor
 has already made changes in the tex file, replacing italic used for emphasis
 with roman, which is fine, but he also did this for some theorem-like
 assertions, which is _not_ fine, and it's hard for me to know that I've
 spotted all the changes I disagree with. His comments are marked with xx,
 which makes them easy to find, but these changes are not so marked.

As it was suggested earlier, it should be easy to track down all the
modifications that the editor performed: use a graphical interface to
dfif (such as Meld [1]) to compare the tex file that you sent
(original) with the tex that you received (modified). Thus you will
find out exactly what changes went into your document.

Knowing this, and as others have suggested, you can take your original
lyx file and implement all the changes (that you accept!) directly
into LyX. Afterwards, you can get on with editing your article
directly in LyX.

Regards
Liviu

[1] http://alternativeto.net/software/meld/


 So I
 feel, even at this early stage of the process that I've lost control of my
 own ms! G.

 Bruce




-- 
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: LyX 2.0 RC2 keeps crashing on Mac OS X 10.6.4

2011-04-02 Thread Murat Yildizoglu
Stephan,
My tests was under 10.6.7.

2011/4/1 Stephan Witt st.w...@gmx.net

 Am 01.04.2011 um 23:10 schrieb Vincent van Ravesteijn:

  On 1-4-2011 23:03, Murat Yildizoglu wrote:
  I have been able to reproduce this problem: I have tried to resize Lyx's
 screen using Divvy and Lyx crashed.
 
  I give below the beginning of the crash report. It seems that
 com.apple.HIToolbox get very excited ;-)
 
  It seems that the problem might have to do with Qt as well (seeing
 QtGui).
 
  Can you try other Qt apps as well ?

 And if possible on a Mac with OS X 10.6.7 - the latest patch release?
 As I said, until I upgraded from 10.6.6 I got the crashes with LyX + divvy
 too and now - with 10.6.7 - it doesn't happen anymore.

 When trying to resize LyX instead of the crash on 10.6.7
 the position is changed and the size is not.

 Stephan




-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: LyX 2.0 RC2 keeps crashing on Mac OS X 10.6.4

2011-04-02 Thread Stephan Witt
Am 02.04.2011 um 10:17 schrieb Murat Yildizoglu:

 Stephan, 
 My tests was under 10.6.7.

Ah... I got the impression you're using 10.6.4 - as you wrote

 I use the same OS (but in French) on a MacbookPro

Am 02.04.2011 um 03:39 schrieb BH:

 On Fri, Apr 1, 2011 at 5:28 PM, Stephan Witt st.w...@gmx.net wrote:
 Am 01.04.2011 um 23:10 schrieb Vincent van Ravesteijn:
 
 On 1-4-2011 23:03, Murat Yildizoglu wrote:
 I have been able to reproduce this problem: I have tried to resize Lyx's 
 screen using Divvy and Lyx crashed.
 
 I give below the beginning of the crash report. It seems that 
 com.apple.HIToolbox get very excited ;-)
 
 It seems that the problem might have to do with Qt as well (seeing QtGui).
 
 Can you try other Qt apps as well ?
 
 And if possible on a Mac with OS X 10.6.7 - the latest patch release?
 As I said, until I upgraded from 10.6.6 I got the crashes with LyX + divvy
 too and now - with 10.6.7 - it doesn't happen anymore.
 
 When trying to resize LyX instead of the crash on 10.6.7
 the position is changed and the size is not.
 
 Another not-so-helpful datapoint here: I don't have any special extra
 applications running that I'd expect would interact with LyX in a way
 that would cause these crashes. Nonetheless, sometime between RC1 and
 RC2, my own builds of LyX was crashing on me fairly regularly, though
 I wasn't able to find any clear pattern to it. Starting just before
 RC2 until R38178 (the most recent I've compiled), things have been
 getting better, and things now seem pretty good. But RC2 was crashing
 all too frequently.

I think the crashes with divvy and cinch have another cause.
The stack trace looks like a recursion which is stopped by memory problems
and starts from the Qt-main look - there is no LyX code passed.
Of course it may be triggered by some LyX call on startup or so - but at
the time of the crash LyX seems to be innocent.

Stephan

Re: How to obtain the path of the lyxfile from tex?

2011-04-02 Thread Jean-Marc Lasgouttes

Le 02/04/11 00:42, Sean Wendt a écrit :

I am writing a preprocessor, to look up words from a custom inset in a
dictionary, write the result to a file and include it at the end of each
page.
I enabled -enable-write18 and tested it at the command line, LyX however
moves the compilation to a temporary directory (on Windows7) from which
I can access my preprocessor script (which I keep together with the lyx
file) only via an absolute path.

Does LyX store the path to the current file somewhere accessible from
Tex code?


\input@path is set to point to the original directory, you may be able 
to use this...


JMarc


Re: LyX 2.0 RC2 keeps crashing on Mac OS X 10.6.4

2011-04-02 Thread Murat Yildizoglu
Oups, sorry, I was referring to SL.

2011/4/2 Stephan Witt st.w...@gmx.net

 Am 02.04.2011 um 10:17 schrieb Murat Yildizoglu:

  Stephan,
  My tests was under 10.6.7.

 Ah... I got the impression you're using 10.6.4 - as you wrote

  I use the same OS (but in French) on a MacbookPro

 Am 02.04.2011 um 03:39 schrieb BH:

  On Fri, Apr 1, 2011 at 5:28 PM, Stephan Witt st.w...@gmx.net wrote:
  Am 01.04.2011 um 23:10 schrieb Vincent van Ravesteijn:
 
  On 1-4-2011 23:03, Murat Yildizoglu wrote:
  I have been able to reproduce this problem: I have tried to resize
 Lyx's screen using Divvy and Lyx crashed.
 
  I give below the beginning of the crash report. It seems that
 com.apple.HIToolbox get very excited ;-)
 
  It seems that the problem might have to do with Qt as well (seeing
 QtGui).
 
  Can you try other Qt apps as well ?
 
  And if possible on a Mac with OS X 10.6.7 - the latest patch release?
  As I said, until I upgraded from 10.6.6 I got the crashes with LyX +
 divvy
  too and now - with 10.6.7 - it doesn't happen anymore.
 
  When trying to resize LyX instead of the crash on 10.6.7
  the position is changed and the size is not.
 
  Another not-so-helpful datapoint here: I don't have any special extra
  applications running that I'd expect would interact with LyX in a way
  that would cause these crashes. Nonetheless, sometime between RC1 and
  RC2, my own builds of LyX was crashing on me fairly regularly, though
  I wasn't able to find any clear pattern to it. Starting just before
  RC2 until R38178 (the most recent I've compiled), things have been
  getting better, and things now seem pretty good. But RC2 was crashing
  all too frequently.

 I think the crashes with divvy and cinch have another cause.
 The stack trace looks like a recursion which is stopped by memory problems
 and starts from the Qt-main look - there is no LyX code passed.
 Of course it may be triggered by some LyX call on startup or so - but at
 the time of the crash LyX seems to be innocent.

 Stephan




-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: How to obtain the path of the lyxfile from tex?

2011-04-02 Thread Sean Wendt
Oddly \currfiledir is empty on MikTeX under Windows.

Also
\immediate\write18{echo \string\gdef\string\pwd{$PWD}  pwd.tex}
\IfFileExists{pwd.tex}{\input pwd}{\gdef\pwd{.}}

and
\newcommand*\pwd{\input{|pwd}\unskip}

obviously don't work under Windows and wouldn't get me the path I want.

Isn't LyX required to pass the location of the original sourcefiles somehow
to TeX , as TeX can't really know anything about the LyX-file?

Sean

On Sat, Apr 2, 2011 at 06:37, Liviu Andronic landronim...@gmail.com wrote:

 On Sat, Apr 2, 2011 at 12:42 AM, Sean Wendt wendt.s...@gmail.com wrote:
  Does LyX store the path to the current file somewhere accessible from Tex
  code?
 
 There is \jobname, but it doesn't give you the path. Maybe the
 currfile package [1]?
 [1] http://tex.stackexchange.com/questions/13233/jobname-of-inputted-file

 Regards
 Liviu




On Sat, Apr 2, 2011 at 06:37, Liviu Andronic landronim...@gmail.com wrote:

 On Sat, Apr 2, 2011 at 12:42 AM, Sean Wendt wendt.s...@gmail.com wrote:
  Does LyX store the path to the current file somewhere accessible from Tex
  code?
 
 There is \jobname, but it doesn't give you the path. Maybe the
 currfile package [1]?
 [1] http://tex.stackexchange.com/questions/13233/jobname-of-inputted-file

 Regards
 Liviu



Re: ANNOUNCE: LyX version 2.0.0 (release candidate 2)

2011-04-02 Thread Pavel Sanda
Richard Heck wrote:
 ALL LyX releases are forward 
 compatible with later releases, in the sense that any file created with 
 ANY LyX release is intended to be openable in ANY later release, with no 
 user intervention.

but thats definition of backward compatibility, no?

pavel


Re: ANNOUNCE: LyX version 2.0.0 (release candidate 2)

2011-04-02 Thread Richard Heck

On 04/02/2011 07:53 AM, Pavel Sanda wrote:

Richard Heck wrote:

ALL LyX releases are forward
compatible with later releases, in the sense that any file created with
ANY LyX release is intended to be openable in ANY later release, with no
user intervention.

but thats definition of backward compatibility, no?


depends where you are standing

rh



Re: export to HTML, math equation quality

2011-04-02 Thread Pavel Sanda
Jong Kook Shin wrote:
 Hi,

 I want to have high resolution images (300ppi?) of math equations when I 
 export my lyx files into html, which will ultimately be converted to MSword 
 file.
 Currently, it seems that the math equations and other figures are converted 
 to 72ppi. For screen display, it works perfect but I need this ultimately 
 for printing. Googling or search the mailing archive did not find a 
 satisfactory solution to address this issue.

couldn't you use math image scaling box in document output prefs?

pavel


Re: export to HTML, math equation quality

2011-04-02 Thread Liviu Andronic
On Fri, Apr 1, 2011 at 4:33 AM, Jong Kook Shin jongkooks...@hotmail.com wrote:
 Hi,

 I want to have high resolution images (300ppi?) of math equations when I
 export my lyx files into html, which will ultimately be converted to MSword
 file.
 Currently, it seems that the math equations and other figures are converted
 to 72ppi. For screen display, it works perfect but I need this ultimately
 for printing. Googling or search the mailing archive did not find a
 satisfactory solution to address this issue.

What about elyxer, have you tried that?
Liviu


 Just FYI, I tried exporting with many other formats - e.g. often recommended
 open office or rtf, etc. But they did not produce satisfactory results.

 I would be much obliged if somebody can provide a hint to this issue.

 Best,
 Jong




-- 
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: How to obtain the path of the lyxfile from tex?

2011-04-02 Thread Sean Wendt
\input@path is set to point to the original directory, you may be able to use 
this...

JMarc

Yes, this is it. How do I strip the extra { } ?

Sean


Re: How to obtain the path of the lyxfile from tex?

2011-04-02 Thread Jean-Marc Lasgouttes

Le 02/04/11 15:47, Sean Wendt a écrit :

\input@path is set to point to the original directory, you may be able to use 
this...

JMarc


Yes, this is it. How do I strip the extra { } ?


I am not sure actually. Note that, starting with 2.0, LyX has a way to 
specify preprocessors for documents (this is used for sweave suport).


JMarc


Editing Process

2011-04-02 Thread Bruce Pourciau
A journal has the tex file I exported from my lyx file. Their editing  
process goes like this: they mark places in that tex file where they  
want revisions, attach it to an email to me, I make the revisions in  
that marked up tex file and send it back to them.


Now I'm comfortable working with LyX, but not at all comfortable  
working with a tex file directly. I'm worried that I'll make errors in  
the editing process and that it will take me much longer to make  
revisions, if I have to work with the tex file directly. I know I can  
import the tex file they send me -- a revision of the original tex  
file generated by my lyx file -- but if I do this, make the changes  
they want in lyx, and then export a tex file, can I be sure that this  
would result in the same tex file that would have resulted from  
working directly on the tex file they sent me?


A second question: this journal does accept Word file submissions, but  
they much prefer tex files (naturally). I imagine that the editing  
process is different for Word submissions, probably more like what I  
would prefer: they tell me what they want changed, I make the changes  
in LyX, and then send them a new tex file exported from my revised lyx  
file, even if that exported tex file is different (due to the import/ 
export process, not just the revisions) from the tex file that would  
have resulted from working on the tex file directly. In this process,  
my lyx document is always the final say on the state of the ms at any  
time, at least until I send them the final tex file at the end of the  
process. I'm tempted to write back to the editors and say that I want  
my manuscript to enjoy the editing process of a Word submission. Do  
you think that's justified?


Bruce


Re: Editing Process

2011-04-02 Thread Liviu Andronic
On Sat, Apr 2, 2011 at 3:55 PM, Bruce Pourciau
bruce.h.pourc...@lawrence.edu wrote:
 A journal has the tex file I exported from my lyx file. Their editing
 process goes like this: they mark places in that tex file where they want
 revisions, attach it to an email to me, I make the revisions in that marked
 up tex file and send it back to them.

 Now I'm comfortable working with LyX, but not at all comfortable working
 with a tex file directly. I'm worried that I'll make errors in the editing
 process and that it will take me much longer to make revisions, if I have to
 work with the tex file directly. I know I can import the tex file they send
 me -- a revision of the original tex file generated by my lyx file -- but if
 I do this, make the changes they want in lyx, and then export a tex file,
 can I be sure that this would result in the same tex file that would have
 resulted from working directly on the tex file they sent me?

If you're sticking to the same LyX version and perform minor
modifications to the document (no new packages used, etc.), then I see
few reasons for the exported, revised tex to be significantly
different from imported tex (that they sent you). You can experiment,
though. Try to import the tex file, perform some small modifications,
then re-export to tex, and then use a diff viewer (say, Meld) and
check what are the differences between the two files. This way you
could sleep with a clear mind.

Alternatively, and this is more cumbersome albeit still an option, you
could choose an editor with good syntax highlighting, open the
original tex file, fire LyX and import the same tex file, perform your
modifications in LyX and when you arrive to a final version, select
View  View source and in the relevant pane select 'complete source',
and then copy/paste the relevant LyX-generated LaTeX code into TeX
editor. When you're done, try to import the final tex file into LyX to
make sure that it compiles (or do so on the command line). Anyways,
this second solution seems like an overkill.


 A second question: this journal does accept Word file submissions, but they
 much prefer tex files (naturally). I imagine that the editing process is
 different for Word submissions, probably more like what I would prefer: they
 tell me what they want changed, I make the changes in LyX, and then send
 them a new tex file exported from my revised lyx file, even if that exported
 tex file is different (due to the import/export process, not just the
 revisions) from the tex file that would have resulted from working on the
 tex file directly. In this process, my lyx document is always the final say
 on the state of the ms at any time, at least until I send them the final tex
 file at the end of the process. I'm tempted to write back to the editors and
 say that I want my manuscript to enjoy the editing process of a Word
 submission. Do you think that's justified?

I'm not sure I follow entirely, but I'd at least first try the LyX
import/export way to see if it works out.

Regards
Liviu


 Bruce




-- 
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: Editing Process

2011-04-02 Thread Bruce Pourciau


On Apr 2, 2011, at 8:55 AM, Bruce Pourciau wrote:

A journal has the tex file I exported from my lyx file. Their  
editing process goes like this: they mark places in that tex file  
where they want revisions, attach it to an email to me, I make the  
revisions in that marked up tex file and send it back to them.


Now I'm comfortable working with LyX, but not at all comfortable  
working with a tex file directly. I'm worried that I'll make errors  
in the editing process and that it will take me much longer to make  
revisions, if I have to work with the tex file directly. I know I  
can import the tex file they send me -- a revision of the original  
tex file generated by my lyx file -- but if I do this, make the  
changes they want in lyx, and then export a tex file, can I be sure  
that this would result in the same tex file that would have resulted  
from working directly on the tex file they sent me?


A second question: this journal does accept Word file submissions,  
but they much prefer tex files (naturally). I imagine that the  
editing process is different for Word submissions, probably more  
like what I would prefer: they tell me what they want changed, I  
make the changes in LyX, and then send them a new tex file exported  
from my revised lyx file, even if that exported tex file is  
different (due to the import/export process, not just the revisions)  
from the tex file that would have resulted from working on the tex  
file directly. In this process, my lyx document is always the final  
say on the state of the ms at any time, at least until I send them  
the final tex file at the end of the process. I'm tempted to write  
back to the editors and say that I want my manuscript to enjoy the  
editing process of a Word submission. Do you think that's justified?


Bruce


Let me add this: The editors don't expect the author of a Word  
submission to conduct the revision process in an unfamiliar file  
format. I'm sure they go back and forth with Word files. But they are  
trying to force me to conduct the editing process in an unfamiliar  
file format, namely tex.


Bruce


Re: Editing Process

2011-04-02 Thread Julien Rioux

On 02/04/2011 9:55 AM, Bruce Pourciau wrote:

A journal has the tex file I exported from my lyx file. Their editing
process goes like this: they mark places in that tex file where they
want revisions, attach it to an email to me, I make the revisions in
that marked up tex file and send it back to them.

Now I'm comfortable working with LyX, but not at all comfortable working
with a tex file directly. I'm worried that I'll make errors in the
editing process and that it will take me much longer to make revisions,
if I have to work with the tex file directly. I know I can import the
tex file they send me -- a revision of the original tex file generated
by my lyx file -- but if I do this, make the changes they want in lyx,
and then export a tex file, can I be sure that this would result in the
same tex file that would have resulted from working directly on the tex
file they sent me?

A second question: this journal does accept Word file submissions, but
they much prefer tex files (naturally). I imagine that the editing
process is different for Word submissions, probably more like what I
would prefer: they tell me what they want changed, I make the changes in
LyX, and then send them a new tex file exported from my revised lyx
file, even if that exported tex file is different (due to the
import/export process, not just the revisions) from the tex file that
would have resulted from working on the tex file directly. In this
process, my lyx document is always the final say on the state of the ms
at any time, at least until I send them the final tex file at the end of
the process. I'm tempted to write back to the editors and say that I
want my manuscript to enjoy the editing process of a Word submission. Do
you think that's justified?

Bruce



Save yourself from the tex - lyx - tex cycle, as it is known to be 
incomplete. So I see two ways forward (not counting the Word alternative)


1) Use your original LyX file. Always only modify the original LyX file, 
and use .tex at the last stage (export). For this method, you will first 
need to figure out what is different, between the .tex file you sent to 
the editors, and the .tex file you received from them. Identify those 
changes and make the same changes in your LyX file. Then identify the 
things they want you to change, and make the changes in your LyX file. 
When done, export to .tex and send the file.


2) Just go with editing the .tex file. At the editing stage, you will 
only be changing a few sentences here and there anyway. If you need to 
modify math formulas and are intimidated by this, fire up LyX with a new 
file, write down how the formula should look like, open the ViewSource 
panel, and copy/paste to your .tex file.


Good luck,
Julien



Re: Editing Process

2011-04-02 Thread stefano franchi


 Save yourself from the tex - lyx - tex cycle, as it is known to be
 incomplete. So I see two ways forward (not counting the Word alternative)

 1) Use your original LyX file. Always only modify the original LyX file,
 and use .tex at the last stage (export). For this method, you will first
 need to figure out what is different, between the .tex file you sent to the
 editors, and the .tex file you received from them. Identify those changes
 and make the same changes in your LyX file. Then identify the things they
 want you to change, and make the changes in your LyX file. When done, export
 to .tex and send the file.


Could not agree more. DO NOT rely on the integrity of the TeX--LyX (I have
been bitten before). My suggestion is to use the comments to the tex file
you get back from the editors as if they were annotations of a pdf file or
comments on a hard-copy version.  Look at them, but edit your LyX file
directly.
Or are the editors editing your text directly on the TeX source? (that would
be strange, though). In that case you would have to use a diff program (like
diff on linux, or the interface to diff in emacs, etc), to find out exactly
what changed between your submitted text and the editors' edited version

Stefano


LyX 2.0.0 release candidate 2 - (Non official Win32 binaries)

2011-04-02 Thread Diego Queiroz
Hello.

For those who want binaries for LyX 2.0 RC2.
I've compiled them again.

Here is the link.
http://www.megaupload.com/?d=ARUDZI5K


Regards.
---
Diego Queiroz


Re: Editing Process

2011-04-02 Thread Dr Eberhard W Lisse
Bruce,

First of all I would use LyX's version control system.

Secondly there are programs around to compare two tex files
and write out the differences, which should help you with
the editing, which I would then continue to do within LyX.

el

On 2011-04-02 15:55 , Bruce Pourciau wrote:
 A journal has the tex file I exported from my lyx file. Their editing
 process goes like this: they mark places in that tex file where they
 want revisions, attach it to an email to me, I make the revisions in
 that marked up tex file and send it back to them.
[...]


Re: Editing Process

2011-04-02 Thread Steve Litt
On Saturday 02 April 2011 11:03:00 Julien Rioux wrote:
 On 02/04/2011 9:55 AM, Bruce Pourciau wrote:
  A journal has the tex file I exported from my lyx file. Their editing
  process goes like this: they mark places in that tex file where they
  want revisions, attach it to an email to me, I make the revisions in
  that marked up tex file and send it back to them.
  
  Now I'm comfortable working with LyX, but not at all comfortable working
  with a tex file directly. I'm worried that I'll make errors in the
  editing process and that it will take me much longer to make revisions,
  if I have to work with the tex file directly. I know I can import the
  tex file they send me -- a revision of the original tex file generated
  by my lyx file -- but if I do this, make the changes they want in lyx,
  and then export a tex file, can I be sure that this would result in the
  same tex file that would have resulted from working directly on the tex
  file they sent me?
  
  A second question: this journal does accept Word file submissions, but
  they much prefer tex files (naturally). I imagine that the editing
  process is different for Word submissions, probably more like what I
  would prefer: they tell me what they want changed, I make the changes in
  LyX, and then send them a new tex file exported from my revised lyx
  file, even if that exported tex file is different (due to the
  import/export process, not just the revisions) from the tex file that
  would have resulted from working on the tex file directly. In this
  process, my lyx document is always the final say on the state of the ms
  at any time, at least until I send them the final tex file at the end of
  the process. I'm tempted to write back to the editors and say that I
  want my manuscript to enjoy the editing process of a Word submission. Do
  you think that's justified?
  
  Bruce
 
 Save yourself from the tex - lyx - tex cycle, as it is known to be
 incomplete. So I see two ways forward (not counting the Word alternative)
 
 1) Use your original LyX file. Always only modify the original LyX file,
 and use .tex at the last stage (export). For this method, you will first
 need to figure out what is different, between the .tex file you sent to
 the editors, and the .tex file you received from them. Identify those
 changes and make the same changes in your LyX file. Then identify the
 things they want you to change, and make the changes in your LyX file.
 When done, export to .tex and send the file.
 
 2) Just go with editing the .tex file. At the editing stage, you will
 only be changing a few sentences here and there anyway. If you need to
 modify math formulas and are intimidated by this, fire up LyX with a new
 file, write down how the formula should look like, open the ViewSource
 panel, and copy/paste to your .tex file.

3) Ask your editors if, just possibly, they might use LyX on their end. Who 
knows, they might like it. For all the reasons you mention, if I were a 
professional editor I'd HATE working directly in LaTeX, and I'd LOVE working 
in LyX, always assuming I could agree with the author on which LyX version.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



** ERROR ** Invalid font: -1 (8)

2011-04-02 Thread Walter
Could someone please enlighten me as to the correct method of resolving this
error?

My LyX file references a number of fonts however I have not been able to
successfully convert to PDF for some time due to various reasons. I have
solved them all bar this one, and am quite stumped.
I don't recall changing any fonts since the last time I successfully output
to PDF (albeit back on 1.6, this is now 2.0rc2).

Other than going in to the LyX file manually and replacing all font
references with a 'known good' one, is there any way to know which line this
error actually references?  As error messages go, this one seems pretty
opaque.

Full output of progress/debug messages follow...

 12:30:55.079: Previewing ...

12:30:55.108: (buffer-view: Ctrl+R)

12:30:55.284: xelatex story.tex

12:30:55.318: This is XeTeX, Version 3.1415926-2.2-0.9997.4 (TeX Live 2010)

12:30:55.319: restricted \write18 enabled.

12:30:55.468: entering extended mode

12:30:55.472: (./story.tex

12:30:55.475: LaTeX2e 2009/09/24

12:30:55.477: Babel v3.8l and hyphenation patterns for english, dumylang,
nohyphenation, pi

12:30:55.478: nyin, ukenglish, usenglishmax, loaded.

12:30:55.480:

12:30:55.934:

12:30:55.936: ** WARNING ** Failed to convert input string to UTF16...

12:30:56.070: ** ERROR ** Invalid font: -1 (8)

12:30:56.072:

12:30:56.073: Output file removed.

12:30:56.082: The process crashed some time after starting successfully.

12:30:56.119: xelatex story.tex

12:30:56.156: This is XeTeX, Version 3.1415926-2.2-0.9997.4 (TeX Live 2010)

12:30:56.161: restricted \write18 enabled.

12:30:56.311: entering extended mode

12:30:56.312: (./story.tex

12:30:56.312: LaTeX2e 2009/09/24

12:30:56.313: Babel v3.8l and hyphenation patterns for english, dumylang,
nohyphenation, pi

12:30:56.313: nyin, ukenglish, usenglishmax, loaded.

12:30:56.314:

12:30:56.774:

12:30:56.775: ** WARNING ** Failed to convert input string to UTF16...

12:30:56.909: ** ERROR ** Invalid font: -1 (8)

12:30:56.910:

12:30:56.910: Output file removed.

12:30:56.920: The process crashed some time after starting
successfully.Error: Cannot view file



File does not exist: /tmp/lyx_tmpdir.M22972/lyx_tmpbuf0/story.pdf

12:30:58.133: Error while previewing format: pdf4


- Walter


Re: Editing Process

2011-04-02 Thread Bruce Pourciau


On Apr 2, 2011, at 2:13 PM, Steve Litt wrote:


On Saturday 02 April 2011 11:03:00 Julien Rioux wrote:

On 02/04/2011 9:55 AM, Bruce Pourciau wrote:
A journal has the tex file I exported from my lyx file. Their  
editing

process goes like this: they mark places in that tex file where they
want revisions, attach it to an email to me, I make the revisions in
that marked up tex file and send it back to them.

Now I'm comfortable working with LyX, but not at all comfortable  
working

with a tex file directly. I'm worried that I'll make errors in the
editing process and that it will take me much longer to make  
revisions,
if I have to work with the tex file directly. I know I can import  
the
tex file they send me -- a revision of the original tex file  
generated
by my lyx file -- but if I do this, make the changes they want in  
lyx,
and then export a tex file, can I be sure that this would result  
in the
same tex file that would have resulted from working directly on  
the tex

file they sent me?

A second question: this journal does accept Word file submissions,  
but

they much prefer tex files (naturally). I imagine that the editing
process is different for Word submissions, probably more like what I
would prefer: they tell me what they want changed, I make the  
changes in

LyX, and then send them a new tex file exported from my revised lyx
file, even if that exported tex file is different (due to the
import/export process, not just the revisions) from the tex file  
that

would have resulted from working on the tex file directly. In this
process, my lyx document is always the final say on the state of  
the ms
at any time, at least until I send them the final tex file at the  
end of

the process. I'm tempted to write back to the editors and say that I
want my manuscript to enjoy the editing process of a Word  
submission. Do

you think that's justified?

Bruce


Save yourself from the tex - lyx - tex cycle, as it is known to be
incomplete. So I see two ways forward (not counting the Word  
alternative)


1) Use your original LyX file. Always only modify the original LyX  
file,
and use .tex at the last stage (export). For this method, you will  
first
need to figure out what is different, between the .tex file you  
sent to

the editors, and the .tex file you received from them. Identify those
changes and make the same changes in your LyX file. Then identify the
things they want you to change, and make the changes in your LyX  
file.

When done, export to .tex and send the file.

2) Just go with editing the .tex file. At the editing stage, you will
only be changing a few sentences here and there anyway. If you need  
to
modify math formulas and are intimidated by this, fire up LyX with  
a new
file, write down how the formula should look like, open the  
ViewSource

panel, and copy/paste to your .tex file.


3) Ask your editors if, just possibly, they might use LyX on their  
end. Who
knows, they might like it. For all the reasons you mention, if I  
were a
professional editor I'd HATE working directly in LaTeX, and I'd LOVE  
working
in LyX, always assuming I could agree with the author on which LyX  
version.


SteveT


Steve, Eberhard, Stefano, Julien, and Liviu,

Thank you for the suggestions! I'll have to ponder. What I'd really  
like is to go old school: Have them mark up the pdf with a pen, send  
it to me, I make the revisions in the lyx file, export tex, send the  
tex file and a pdf to them with the changes. But I'm afraid they'll  
never agree. It's my name that's going to be on the article, so I want  
control. As it is, one editor has already made changes in the tex  
file, replacing italic used for emphasis with roman, which is fine,  
but he also did this for some theorem-like assertions, which is _not_  
fine, and it's hard for me to know that I've spotted all the changes I  
disagree with. His comments are marked with xx, which makes them easy  
to find, but these changes are not so marked. So I feel, even at this  
early stage of the process that I've lost control of my own ms! G.


Bruce


Re: ** ERROR ** Invalid font: -1 (8)

2011-04-02 Thread Guenter Milde
On 2011-04-02, Walter wrote:

 My LyX file references a number of fonts however I have not been able to
 successfully convert to PDF for some time due to various reasons. I have
 solved them all bar this one, and am quite stumped.
 I don't recall changing any fonts since the last time I successfully output
 to PDF (albeit back on 1.6, this is now 2.0rc2).

Did you use XeTeX with 1.6? How?

The error it shows that LyX generates the PDF with the XeTeX engine
using a completely different set of fonts compared to the LyX 1.x default
engine (pdflatex or latex + dvips + ps2pdf)?

 Other than going in to the LyX file manually and replacing all font
 references with a 'known good' one, is there any way to know which line this
 error actually references?  As error messages go, this one seems pretty
 opaque.

If you used pdflatex before, you can reset to using it via un-ticking
use non-TeX fonts under DocumentSettingsFonts.

Otherwise, check for non-utf8 input, languages using other scripts (babel
will try standard TeX fonts then), ...

Maybe it is not a font issue at all:

 12:30:56.775: ** WARNING ** Failed to convert input string to UTF16...


Günter




Re: Editing Process

2011-04-02 Thread Guenter Milde
On 2011-04-02, Bruce Pourciau wrote:

 Let me add this: The editors don't expect the author of a Word  
 submission to conduct the revision process in an unfamiliar file  
 format. I'm sure they go back and forth with Word files. But they are  
 trying to force me to conduct the editing process in an unfamiliar  
 file format, namely tex.

However, I suppose they clearly stated that they accept either LaTeX
or Word *before* you submitted your manuscript.

In both cases, the submission-format is used for the revision process.

I don't think it is fair to expect the editors to be familiar with any of
the many possible formats of some pre-processing state to generate either
of these (OpenOffice, LyX, some HTML2latex or HTML2Word converter,
Abiword, Docutils, ...). (Working with OpenOffice while the other side
uses Word can be a nightmare too.)

Günter



Re: Editing Process

2011-04-02 Thread Bruce Pourciau


On Apr 2, 2011, at 4:05 PM, Guenter Milde wrote:


On 2011-04-02, Bruce Pourciau wrote:


Let me add this: The editors don't expect the author of a Word
submission to conduct the revision process in an unfamiliar file
format. I'm sure they go back and forth with Word files. But they are
trying to force me to conduct the editing process in an unfamiliar
file format, namely tex.


However, I suppose they clearly stated that they accept either LaTeX
or Word *before* you submitted your manuscript.

In both cases, the submission-format is used for the revision process.

I don't think it is fair to expect the editors to be familiar with  
any of
the many possible formats of some pre-processing state to generate  
either

of these (OpenOffice, LyX, some HTML2latex or HTML2Word converter,
Abiword, Docutils, ...). (Working with OpenOffice while the other side
uses Word can be a nightmare too.)

Günter



Very true, but shouldn't they be willing in this special case -- an  
author who submits a tex file, but who is not conversant with tex --  
to go old school?: they mark up the pdf, mail a photocopy or email a  
scanned copy to me, I make the revisions in LyX, then export tex and  
pdf files and send them back. Doesn't seem like too big a deal, and  
the result would be a more error-free article.


Bruce

Re: LyX 2.0.0 release candidate 2 - (Non official Win32 binaries)

2011-04-02 Thread ehud.kap...@gmail.com

Is it for Windows only?
EK

On 4/2/2011 12:02 PM, Diego Queiroz wrote:

Hello.

For those who want binaries for LyX 2.0 RC2.
I've compiled them again.

Here is the link.
http://www.megaupload.com/?d=ARUDZI5K


Regards.
---
Diego Queiroz



--

Ehud Kaplan, Ph.D.

Jules and Doris Stein Research to Prevent BlindnessProfessor

Director, Center of Excellence for Computational  System neuroscience,

The Friedman Brain Institute, MSSM

Director, The laboratory of Visual  Computational Neuroscience

Depts. of Neuroscience, Ophthalmology, Chemical  Structural Biology

The Mount Sinai School of Medicine

One Gustave Levy Place

New York, NY, 10029




Re: LyX 2.0.0 release candidate 2 - (Non official Win32 binaries)

2011-04-02 Thread Diego Queiroz
Yes.

Windows only.
---
Diego Queiroz



2011/4/2 ehud.kap...@gmail.com ehud.kap...@gmail.com

  Is it for Windows only?
 EK


 On 4/2/2011 12:02 PM, Diego Queiroz wrote:

 Hello.

 For those who want binaries for LyX 2.0 RC2.
 I've compiled them again.

 Here is the link.http://www.megaupload.com/?d=ARUDZI5K


 Regards.
 ---
 Diego Queiroz



 --

 Ehud Kaplan, Ph.D.

 Jules and Doris Stein Research to Prevent Blindness Professor

 Director, Center of Excellence for Computational  System neuroscience,

 The Friedman Brain Institute, MSSM

 Director, The laboratory of Visual  Computational Neuroscience

 Depts. of Neuroscience, Ophthalmology, Chemical  Structural Biology

 The Mount Sinai School of Medicine

 One Gustave Levy Place

 New York, NY, 10029







Re: Editing Process

2011-04-02 Thread Liviu Andronic
On Sat, Apr 2, 2011 at 10:03 PM, Bruce Pourciau
bruce.h.pourc...@lawrence.edu wrote:
 Thank you for the suggestions! I'll have to ponder. What I'd really like is
 to go old school: Have them mark up the pdf with a pen, send it to me, I
 make the revisions in the lyx file, export tex, send the tex file and a pdf
 to them with the changes. But I'm afraid they'll never agree. It's my name
 that's going to be on the article, so I want control. As it is, one editor
 has already made changes in the tex file, replacing italic used for emphasis
 with roman, which is fine, but he also did this for some theorem-like
 assertions, which is _not_ fine, and it's hard for me to know that I've
 spotted all the changes I disagree with. His comments are marked with xx,
 which makes them easy to find, but these changes are not so marked.

As it was suggested earlier, it should be easy to track down all the
modifications that the editor performed: use a graphical interface to
dfif (such as Meld [1]) to compare the tex file that you sent
(original) with the tex that you received (modified). Thus you will
find out exactly what changes went into your document.

Knowing this, and as others have suggested, you can take your original
lyx file and implement all the changes (that you accept!) directly
into LyX. Afterwards, you can get on with editing your article
directly in LyX.

Regards
Liviu

[1] http://alternativeto.net/software/meld/


 So I
 feel, even at this early stage of the process that I've lost control of my
 own ms! G.

 Bruce




-- 
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: LyX 2.0 RC2 keeps crashing on Mac OS X 10.6.4

2011-04-02 Thread Murat Yildizoglu
Stephan,
My tests was under 10.6.7.

2011/4/1 Stephan Witt 

> Am 01.04.2011 um 23:10 schrieb Vincent van Ravesteijn:
>
> > On 1-4-2011 23:03, Murat Yildizoglu wrote:
> >> I have been able to reproduce this problem: I have tried to resize Lyx's
> screen using Divvy and Lyx crashed.
> >>
> >> I give below the beginning of the crash report. It seems that
> com.apple.HIToolbox get very excited ;-)
> >
> > It seems that the problem might have to do with Qt as well (seeing
> QtGui).
> >
> > Can you try other Qt apps as well ?
>
> And if possible on a Mac with OS X 10.6.7 - the latest patch release?
> As I said, until I upgraded from 10.6.6 I got the crashes with LyX + divvy
> too and now - with 10.6.7 - it doesn't happen anymore.
>
> When trying to resize LyX instead of the crash on 10.6.7
> the position is changed and the size is not.
>
> Stephan




-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: LyX 2.0 RC2 keeps crashing on Mac OS X 10.6.4

2011-04-02 Thread Stephan Witt
Am 02.04.2011 um 10:17 schrieb Murat Yildizoglu:

> Stephan, 
> My tests was under 10.6.7.

Ah... I got the impression you're using 10.6.4 - as you wrote

> I use the same OS (but in French) on a MacbookPro

Am 02.04.2011 um 03:39 schrieb BH:

> On Fri, Apr 1, 2011 at 5:28 PM, Stephan Witt  wrote:
>> Am 01.04.2011 um 23:10 schrieb Vincent van Ravesteijn:
>> 
>>> On 1-4-2011 23:03, Murat Yildizoglu wrote:
 I have been able to reproduce this problem: I have tried to resize Lyx's 
 screen using Divvy and Lyx crashed.
 
 I give below the beginning of the crash report. It seems that 
 com.apple.HIToolbox get very excited ;-)
>>> 
>>> It seems that the problem might have to do with Qt as well (seeing QtGui).
>>> 
>>> Can you try other Qt apps as well ?
>> 
>> And if possible on a Mac with OS X 10.6.7 - the latest patch release?
>> As I said, until I upgraded from 10.6.6 I got the crashes with LyX + divvy
>> too and now - with 10.6.7 - it doesn't happen anymore.
>> 
>> When trying to resize LyX instead of the crash on 10.6.7
>> the position is changed and the size is not.
> 
> Another not-so-helpful datapoint here: I don't have any special extra
> applications running that I'd expect would interact with LyX in a way
> that would cause these crashes. Nonetheless, sometime between RC1 and
> RC2, my own builds of LyX was crashing on me fairly regularly, though
> I wasn't able to find any clear pattern to it. Starting just before
> RC2 until R38178 (the most recent I've compiled), things have been
> getting better, and things now seem pretty good. But RC2 was crashing
> all too frequently.

I think the crashes with divvy and cinch have another cause.
The stack trace looks like a recursion which is stopped by memory problems
and starts from the Qt-main look - there is no LyX code passed.
Of course it may be triggered by some LyX call on startup or so - but at
the time of the crash LyX seems to be innocent.

Stephan

Re: How to obtain the path of the lyxfile from tex?

2011-04-02 Thread Jean-Marc Lasgouttes

Le 02/04/11 00:42, Sean Wendt a écrit :

I am writing a preprocessor, to look up words from a custom inset in a
dictionary, write the result to a file and include it at the end of each
page.
I enabled -enable-write18 and tested it at the command line, LyX however
moves the compilation to a temporary directory (on Windows7) from which
I can access my preprocessor script (which I keep together with the lyx
file) only via an absolute path.

Does LyX store the path to the current file somewhere accessible from
Tex code?


\input@path is set to point to the original directory, you may be able 
to use this...


JMarc


Re: LyX 2.0 RC2 keeps crashing on Mac OS X 10.6.4

2011-04-02 Thread Murat Yildizoglu
Oups, sorry, I was referring to SL.

2011/4/2 Stephan Witt 

> Am 02.04.2011 um 10:17 schrieb Murat Yildizoglu:
>
> > Stephan,
> > My tests was under 10.6.7.
>
> Ah... I got the impression you're using 10.6.4 - as you wrote
>
> > I use the same OS (but in French) on a MacbookPro
>
> Am 02.04.2011 um 03:39 schrieb BH:
>
> > On Fri, Apr 1, 2011 at 5:28 PM, Stephan Witt  wrote:
> >> Am 01.04.2011 um 23:10 schrieb Vincent van Ravesteijn:
> >>
> >>> On 1-4-2011 23:03, Murat Yildizoglu wrote:
>  I have been able to reproduce this problem: I have tried to resize
> Lyx's screen using Divvy and Lyx crashed.
> 
>  I give below the beginning of the crash report. It seems that
> com.apple.HIToolbox get very excited ;-)
> >>>
> >>> It seems that the problem might have to do with Qt as well (seeing
> QtGui).
> >>>
> >>> Can you try other Qt apps as well ?
> >>
> >> And if possible on a Mac with OS X 10.6.7 - the latest patch release?
> >> As I said, until I upgraded from 10.6.6 I got the crashes with LyX +
> divvy
> >> too and now - with 10.6.7 - it doesn't happen anymore.
> >>
> >> When trying to resize LyX instead of the crash on 10.6.7
> >> the position is changed and the size is not.
> >
> > Another not-so-helpful datapoint here: I don't have any special extra
> > applications running that I'd expect would interact with LyX in a way
> > that would cause these crashes. Nonetheless, sometime between RC1 and
> > RC2, my own builds of LyX was crashing on me fairly regularly, though
> > I wasn't able to find any clear pattern to it. Starting just before
> > RC2 until R38178 (the most recent I've compiled), things have been
> > getting better, and things now seem pretty good. But RC2 was crashing
> > all too frequently.
>
> I think the crashes with divvy and cinch have another cause.
> The stack trace looks like a recursion which is stopped by memory problems
> and starts from the Qt-main look - there is no LyX code passed.
> Of course it may be triggered by some LyX call on startup or so - but at
> the time of the crash LyX seems to be innocent.
>
> Stephan




-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: How to obtain the path of the lyxfile from tex?

2011-04-02 Thread Sean Wendt
Oddly \currfiledir is empty on MikTeX under Windows.

Also
\immediate\write18{echo "\string\gdef\string\pwd{$PWD}" > pwd.tex}
\IfFileExists{pwd.tex}{\input pwd}{\gdef\pwd{.}}

and
\newcommand*\pwd{\input{|pwd}\unskip}

obviously don't work under Windows and wouldn't get me the path I want.

Isn't LyX required to pass the location of the original sourcefiles somehow
to TeX , as TeX can't really know anything about the LyX-file?

Sean

On Sat, Apr 2, 2011 at 06:37, Liviu Andronic  wrote:

> On Sat, Apr 2, 2011 at 12:42 AM, Sean Wendt  wrote:
> > Does LyX store the path to the current file somewhere accessible from Tex
> > code?
> >
> There is \jobname, but it doesn't give you the path. Maybe the
> currfile package [1]?
> [1] http://tex.stackexchange.com/questions/13233/jobname-of-inputted-file
>
> Regards
> Liviu
>



On Sat, Apr 2, 2011 at 06:37, Liviu Andronic  wrote:

> On Sat, Apr 2, 2011 at 12:42 AM, Sean Wendt  wrote:
> > Does LyX store the path to the current file somewhere accessible from Tex
> > code?
> >
> There is \jobname, but it doesn't give you the path. Maybe the
> currfile package [1]?
> [1] http://tex.stackexchange.com/questions/13233/jobname-of-inputted-file
>
> Regards
> Liviu
>


Re: ANNOUNCE: LyX version 2.0.0 (release candidate 2)

2011-04-02 Thread Pavel Sanda
Richard Heck wrote:
> ALL LyX releases are "forward 
> compatible" with later releases, in the sense that any file created with 
> ANY LyX release is intended to be openable in ANY later release, with no 
> user intervention.

but thats definition of backward compatibility, no?

pavel


Re: ANNOUNCE: LyX version 2.0.0 (release candidate 2)

2011-04-02 Thread Richard Heck

On 04/02/2011 07:53 AM, Pavel Sanda wrote:

Richard Heck wrote:

ALL LyX releases are "forward
compatible" with later releases, in the sense that any file created with
ANY LyX release is intended to be openable in ANY later release, with no
user intervention.

but thats definition of backward compatibility, no?


depends where you are standing

rh



Re: export to HTML, math equation quality

2011-04-02 Thread Pavel Sanda
Jong Kook Shin wrote:
> Hi,
>
> I want to have high resolution images (300ppi?) of math equations when I 
> export my lyx files into html, which will ultimately be converted to MSword 
> file.
> Currently, it seems that the math equations and other figures are converted 
> to 72ppi. For screen display, it works perfect but I need this ultimately 
> for printing. Googling or search the mailing archive did not find a 
> satisfactory solution to address this issue.

couldn't you use "math image scaling" box in document output prefs?

pavel


Re: export to HTML, math equation quality

2011-04-02 Thread Liviu Andronic
On Fri, Apr 1, 2011 at 4:33 AM, Jong Kook Shin  wrote:
> Hi,
>
> I want to have high resolution images (300ppi?) of math equations when I
> export my lyx files into html, which will ultimately be converted to MSword
> file.
> Currently, it seems that the math equations and other figures are converted
> to 72ppi. For screen display, it works perfect but I need this ultimately
> for printing. Googling or search the mailing archive did not find a
> satisfactory solution to address this issue.
>
What about elyxer, have you tried that?
Liviu


> Just FYI, I tried exporting with many other formats - e.g. often recommended
> open office or rtf, etc. But they did not produce satisfactory results.
>
> I would be much obliged if somebody can provide a hint to this issue.
>
> Best,
> Jong
>



-- 
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: How to obtain the path of the lyxfile from tex?

2011-04-02 Thread Sean Wendt
>\input@path is set to point to the original directory, you may be able to use 
>this...
>
>JMarc

Yes, this is it. How do I strip the extra { } ?

Sean


Re: How to obtain the path of the lyxfile from tex?

2011-04-02 Thread Jean-Marc Lasgouttes

Le 02/04/11 15:47, Sean Wendt a écrit :

\input@path is set to point to the original directory, you may be able to use 
this...

JMarc


Yes, this is it. How do I strip the extra { } ?


I am not sure actually. Note that, starting with 2.0, LyX has a way to 
specify preprocessors for documents (this is used for sweave suport).


JMarc


Editing Process

2011-04-02 Thread Bruce Pourciau
A journal has the tex file I exported from my lyx file. Their editing  
process goes like this: they mark places in that tex file where they  
want revisions, attach it to an email to me, I make the revisions in  
that marked up tex file and send it back to them.


Now I'm comfortable working with LyX, but not at all comfortable  
working with a tex file directly. I'm worried that I'll make errors in  
the editing process and that it will take me much longer to make  
revisions, if I have to work with the tex file directly. I know I can  
import the tex file they send me -- a revision of the original tex  
file generated by my lyx file -- but if I do this, make the changes  
they want in lyx, and then export a tex file, can I be sure that this  
would result in the same tex file that would have resulted from  
working directly on the tex file they sent me?


A second question: this journal does accept Word file submissions, but  
they much prefer tex files (naturally). I imagine that the editing  
process is different for Word submissions, probably more like what I  
would prefer: they tell me what they want changed, I make the changes  
in LyX, and then send them a new tex file exported from my revised lyx  
file, even if that exported tex file is different (due to the import/ 
export process, not just the revisions) from the tex file that would  
have resulted from working on the tex file directly. In this process,  
my lyx document is always the final say on the state of the ms at any  
time, at least until I send them the final tex file at the end of the  
process. I'm tempted to write back to the editors and say that I want  
my manuscript to enjoy the editing process of a Word submission. Do  
you think that's justified?


Bruce


Re: Editing Process

2011-04-02 Thread Liviu Andronic
On Sat, Apr 2, 2011 at 3:55 PM, Bruce Pourciau
 wrote:
> A journal has the tex file I exported from my lyx file. Their editing
> process goes like this: they mark places in that tex file where they want
> revisions, attach it to an email to me, I make the revisions in that marked
> up tex file and send it back to them.
>
> Now I'm comfortable working with LyX, but not at all comfortable working
> with a tex file directly. I'm worried that I'll make errors in the editing
> process and that it will take me much longer to make revisions, if I have to
> work with the tex file directly. I know I can import the tex file they send
> me -- a revision of the original tex file generated by my lyx file -- but if
> I do this, make the changes they want in lyx, and then export a tex file,
> can I be sure that this would result in the same tex file that would have
> resulted from working directly on the tex file they sent me?
>
If you're sticking to the same LyX version and perform minor
modifications to the document (no new packages used, etc.), then I see
few reasons for the exported, revised tex to be significantly
different from imported tex (that they sent you). You can experiment,
though. Try to import the tex file, perform some small modifications,
then re-export to tex, and then use a diff viewer (say, Meld) and
check what are the differences between the two files. This way you
could sleep with a clear mind.

Alternatively, and this is more cumbersome albeit still an option, you
could choose an editor with good syntax highlighting, open the
original tex file, fire LyX and import the same tex file, perform your
modifications in LyX and when you arrive to a final version, select
View > View source and in the relevant pane select 'complete source',
and then copy/paste the relevant LyX-generated LaTeX code into TeX
editor. When you're done, try to import the final tex file into LyX to
make sure that it compiles (or do so on the command line). Anyways,
this second solution seems like an overkill.


> A second question: this journal does accept Word file submissions, but they
> much prefer tex files (naturally). I imagine that the editing process is
> different for Word submissions, probably more like what I would prefer: they
> tell me what they want changed, I make the changes in LyX, and then send
> them a new tex file exported from my revised lyx file, even if that exported
> tex file is different (due to the import/export process, not just the
> revisions) from the tex file that would have resulted from working on the
> tex file directly. In this process, my lyx document is always the final say
> on the state of the ms at any time, at least until I send them the final tex
> file at the end of the process. I'm tempted to write back to the editors and
> say that I want my manuscript to enjoy the editing process of a Word
> submission. Do you think that's justified?
>
I'm not sure I follow entirely, but I'd at least first try the LyX
import/export way to see if it works out.

Regards
Liviu


> Bruce
>



-- 
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: Editing Process

2011-04-02 Thread Bruce Pourciau


On Apr 2, 2011, at 8:55 AM, Bruce Pourciau wrote:

A journal has the tex file I exported from my lyx file. Their  
editing process goes like this: they mark places in that tex file  
where they want revisions, attach it to an email to me, I make the  
revisions in that marked up tex file and send it back to them.


Now I'm comfortable working with LyX, but not at all comfortable  
working with a tex file directly. I'm worried that I'll make errors  
in the editing process and that it will take me much longer to make  
revisions, if I have to work with the tex file directly. I know I  
can import the tex file they send me -- a revision of the original  
tex file generated by my lyx file -- but if I do this, make the  
changes they want in lyx, and then export a tex file, can I be sure  
that this would result in the same tex file that would have resulted  
from working directly on the tex file they sent me?


A second question: this journal does accept Word file submissions,  
but they much prefer tex files (naturally). I imagine that the  
editing process is different for Word submissions, probably more  
like what I would prefer: they tell me what they want changed, I  
make the changes in LyX, and then send them a new tex file exported  
from my revised lyx file, even if that exported tex file is  
different (due to the import/export process, not just the revisions)  
from the tex file that would have resulted from working on the tex  
file directly. In this process, my lyx document is always the final  
say on the state of the ms at any time, at least until I send them  
the final tex file at the end of the process. I'm tempted to write  
back to the editors and say that I want my manuscript to enjoy the  
editing process of a Word submission. Do you think that's justified?


Bruce


Let me add this: The editors don't expect the author of a Word  
submission to conduct the revision process in an unfamiliar file  
format. I'm sure they go back and forth with Word files. But they are  
trying to force me to conduct the editing process in an unfamiliar  
file format, namely tex.


Bruce


Re: Editing Process

2011-04-02 Thread Julien Rioux

On 02/04/2011 9:55 AM, Bruce Pourciau wrote:

A journal has the tex file I exported from my lyx file. Their editing
process goes like this: they mark places in that tex file where they
want revisions, attach it to an email to me, I make the revisions in
that marked up tex file and send it back to them.

Now I'm comfortable working with LyX, but not at all comfortable working
with a tex file directly. I'm worried that I'll make errors in the
editing process and that it will take me much longer to make revisions,
if I have to work with the tex file directly. I know I can import the
tex file they send me -- a revision of the original tex file generated
by my lyx file -- but if I do this, make the changes they want in lyx,
and then export a tex file, can I be sure that this would result in the
same tex file that would have resulted from working directly on the tex
file they sent me?

A second question: this journal does accept Word file submissions, but
they much prefer tex files (naturally). I imagine that the editing
process is different for Word submissions, probably more like what I
would prefer: they tell me what they want changed, I make the changes in
LyX, and then send them a new tex file exported from my revised lyx
file, even if that exported tex file is different (due to the
import/export process, not just the revisions) from the tex file that
would have resulted from working on the tex file directly. In this
process, my lyx document is always the final say on the state of the ms
at any time, at least until I send them the final tex file at the end of
the process. I'm tempted to write back to the editors and say that I
want my manuscript to enjoy the editing process of a Word submission. Do
you think that's justified?

Bruce



Save yourself from the tex -> lyx -> tex cycle, as it is known to be 
incomplete. So I see two ways forward (not counting the Word alternative)


1) Use your original LyX file. Always only modify the original LyX file, 
and use .tex at the last stage (export). For this method, you will first 
need to figure out what is different, between the .tex file you sent to 
the editors, and the .tex file you received from them. Identify those 
changes and make the same changes in your LyX file. Then identify the 
things they want you to change, and make the changes in your LyX file. 
When done, export to .tex and send the file.


2) Just go with editing the .tex file. At the editing stage, you will 
only be changing a few sentences here and there anyway. If you need to 
modify math formulas and are intimidated by this, fire up LyX with a new 
file, write down how the formula should look like, open the View>Source 
panel, and copy/paste to your .tex file.


Good luck,
Julien



Re: Editing Process

2011-04-02 Thread stefano franchi
>
>
> Save yourself from the tex -> lyx -> tex cycle, as it is known to be
> incomplete. So I see two ways forward (not counting the Word alternative)
>
> 1) Use your original LyX file. Always only modify the original LyX file,
> and use .tex at the last stage (export). For this method, you will first
> need to figure out what is different, between the .tex file you sent to the
> editors, and the .tex file you received from them. Identify those changes
> and make the same changes in your LyX file. Then identify the things they
> want you to change, and make the changes in your LyX file. When done, export
> to .tex and send the file.
>
>
Could not agree more. DO NOT rely on the integrity of the TeX<-->LyX (I have
been bitten before). My suggestion is to use the comments to the tex file
you get back from the editors as if they were annotations of a pdf file or
comments on a hard-copy version.  Look at them, but edit your LyX file
directly.
Or are the editors editing your text directly on the TeX source? (that would
be strange, though). In that case you would have to use a diff program (like
diff on linux, or the interface to diff in emacs, etc), to find out exactly
what changed between your submitted text and the editors' edited version

Stefano


LyX 2.0.0 release candidate 2 - (Non official Win32 binaries)

2011-04-02 Thread Diego Queiroz
Hello.

For those who want binaries for LyX 2.0 RC2.
I've compiled them again.

Here is the link.
http://www.megaupload.com/?d=ARUDZI5K


Regards.
---
Diego Queiroz


Re: Editing Process

2011-04-02 Thread Dr Eberhard W Lisse
Bruce,

First of all I would use LyX's version control system.

Secondly there are programs around to compare two tex files
and write out the differences, which should help you with
the editing, which I would then continue to do within LyX.

el

On 2011-04-02 15:55 , Bruce Pourciau wrote:
> A journal has the tex file I exported from my lyx file. Their editing
> process goes like this: they mark places in that tex file where they
> want revisions, attach it to an email to me, I make the revisions in
> that marked up tex file and send it back to them.
[...]


Re: Editing Process

2011-04-02 Thread Steve Litt
On Saturday 02 April 2011 11:03:00 Julien Rioux wrote:
> On 02/04/2011 9:55 AM, Bruce Pourciau wrote:
> > A journal has the tex file I exported from my lyx file. Their editing
> > process goes like this: they mark places in that tex file where they
> > want revisions, attach it to an email to me, I make the revisions in
> > that marked up tex file and send it back to them.
> > 
> > Now I'm comfortable working with LyX, but not at all comfortable working
> > with a tex file directly. I'm worried that I'll make errors in the
> > editing process and that it will take me much longer to make revisions,
> > if I have to work with the tex file directly. I know I can import the
> > tex file they send me -- a revision of the original tex file generated
> > by my lyx file -- but if I do this, make the changes they want in lyx,
> > and then export a tex file, can I be sure that this would result in the
> > same tex file that would have resulted from working directly on the tex
> > file they sent me?
> > 
> > A second question: this journal does accept Word file submissions, but
> > they much prefer tex files (naturally). I imagine that the editing
> > process is different for Word submissions, probably more like what I
> > would prefer: they tell me what they want changed, I make the changes in
> > LyX, and then send them a new tex file exported from my revised lyx
> > file, even if that exported tex file is different (due to the
> > import/export process, not just the revisions) from the tex file that
> > would have resulted from working on the tex file directly. In this
> > process, my lyx document is always the final say on the state of the ms
> > at any time, at least until I send them the final tex file at the end of
> > the process. I'm tempted to write back to the editors and say that I
> > want my manuscript to enjoy the editing process of a Word submission. Do
> > you think that's justified?
> > 
> > Bruce
> 
> Save yourself from the tex -> lyx -> tex cycle, as it is known to be
> incomplete. So I see two ways forward (not counting the Word alternative)
> 
> 1) Use your original LyX file. Always only modify the original LyX file,
> and use .tex at the last stage (export). For this method, you will first
> need to figure out what is different, between the .tex file you sent to
> the editors, and the .tex file you received from them. Identify those
> changes and make the same changes in your LyX file. Then identify the
> things they want you to change, and make the changes in your LyX file.
> When done, export to .tex and send the file.
> 
> 2) Just go with editing the .tex file. At the editing stage, you will
> only be changing a few sentences here and there anyway. If you need to
> modify math formulas and are intimidated by this, fire up LyX with a new
> file, write down how the formula should look like, open the View>Source
> panel, and copy/paste to your .tex file.

3) Ask your editors if, just possibly, they might use LyX on their end. Who 
knows, they might like it. For all the reasons you mention, if I were a 
professional editor I'd HATE working directly in LaTeX, and I'd LOVE working 
in LyX, always assuming I could agree with the author on which LyX version.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



** ERROR ** Invalid font: -1 (8)

2011-04-02 Thread Walter
Could someone please enlighten me as to the correct method of resolving this
error?

My LyX file references a number of fonts however I have not been able to
successfully convert to PDF for some time due to various reasons. I have
solved them all bar this one, and am quite stumped.
I don't recall changing any fonts since the last time I successfully output
to PDF (albeit back on 1.6, this is now 2.0rc2).

Other than going in to the LyX file manually and replacing all font
references with a 'known good' one, is there any way to know which line this
error actually references?  As error messages go, this one seems pretty
opaque.

Full output of progress/debug messages follow...

 12:30:55.079: Previewing ...

12:30:55.108: (buffer-view: Ctrl+R)

12:30:55.284: xelatex "story.tex"

12:30:55.318: This is XeTeX, Version 3.1415926-2.2-0.9997.4 (TeX Live 2010)

12:30:55.319: restricted \write18 enabled.

12:30:55.468: entering extended mode

12:30:55.472: (./story.tex

12:30:55.475: LaTeX2e <2009/09/24>

12:30:55.477: Babel  and hyphenation patterns for english, dumylang,
nohyphenation, pi

12:30:55.478: nyin, ukenglish, usenglishmax, loaded.

12:30:55.480:

12:30:55.934:

12:30:55.936: ** WARNING ** Failed to convert input string to UTF16...

12:30:56.070: ** ERROR ** Invalid font: -1 (8)

12:30:56.072:

12:30:56.073: Output file removed.

12:30:56.082: The process crashed some time after starting successfully.

12:30:56.119: xelatex "story.tex"

12:30:56.156: This is XeTeX, Version 3.1415926-2.2-0.9997.4 (TeX Live 2010)

12:30:56.161: restricted \write18 enabled.

12:30:56.311: entering extended mode

12:30:56.312: (./story.tex

12:30:56.312: LaTeX2e <2009/09/24>

12:30:56.313: Babel  and hyphenation patterns for english, dumylang,
nohyphenation, pi

12:30:56.313: nyin, ukenglish, usenglishmax, loaded.

12:30:56.314:

12:30:56.774:

12:30:56.775: ** WARNING ** Failed to convert input string to UTF16...

12:30:56.909: ** ERROR ** Invalid font: -1 (8)

12:30:56.910:

12:30:56.910: Output file removed.

12:30:56.920: The process crashed some time after starting
successfully.Error: Cannot view file



File does not exist: /tmp/lyx_tmpdir.M22972/lyx_tmpbuf0/story.pdf

12:30:58.133: Error while previewing format: pdf4


- Walter


Re: Editing Process

2011-04-02 Thread Bruce Pourciau


On Apr 2, 2011, at 2:13 PM, Steve Litt wrote:


On Saturday 02 April 2011 11:03:00 Julien Rioux wrote:

On 02/04/2011 9:55 AM, Bruce Pourciau wrote:
A journal has the tex file I exported from my lyx file. Their  
editing

process goes like this: they mark places in that tex file where they
want revisions, attach it to an email to me, I make the revisions in
that marked up tex file and send it back to them.

Now I'm comfortable working with LyX, but not at all comfortable  
working

with a tex file directly. I'm worried that I'll make errors in the
editing process and that it will take me much longer to make  
revisions,
if I have to work with the tex file directly. I know I can import  
the
tex file they send me -- a revision of the original tex file  
generated
by my lyx file -- but if I do this, make the changes they want in  
lyx,
and then export a tex file, can I be sure that this would result  
in the
same tex file that would have resulted from working directly on  
the tex

file they sent me?

A second question: this journal does accept Word file submissions,  
but

they much prefer tex files (naturally). I imagine that the editing
process is different for Word submissions, probably more like what I
would prefer: they tell me what they want changed, I make the  
changes in

LyX, and then send them a new tex file exported from my revised lyx
file, even if that exported tex file is different (due to the
import/export process, not just the revisions) from the tex file  
that

would have resulted from working on the tex file directly. In this
process, my lyx document is always the final say on the state of  
the ms
at any time, at least until I send them the final tex file at the  
end of

the process. I'm tempted to write back to the editors and say that I
want my manuscript to enjoy the editing process of a Word  
submission. Do

you think that's justified?

Bruce


Save yourself from the tex -> lyx -> tex cycle, as it is known to be
incomplete. So I see two ways forward (not counting the Word  
alternative)


1) Use your original LyX file. Always only modify the original LyX  
file,
and use .tex at the last stage (export). For this method, you will  
first
need to figure out what is different, between the .tex file you  
sent to

the editors, and the .tex file you received from them. Identify those
changes and make the same changes in your LyX file. Then identify the
things they want you to change, and make the changes in your LyX  
file.

When done, export to .tex and send the file.

2) Just go with editing the .tex file. At the editing stage, you will
only be changing a few sentences here and there anyway. If you need  
to
modify math formulas and are intimidated by this, fire up LyX with  
a new
file, write down how the formula should look like, open the  
View>Source

panel, and copy/paste to your .tex file.


3) Ask your editors if, just possibly, they might use LyX on their  
end. Who
knows, they might like it. For all the reasons you mention, if I  
were a
professional editor I'd HATE working directly in LaTeX, and I'd LOVE  
working
in LyX, always assuming I could agree with the author on which LyX  
version.


SteveT


Steve, Eberhard, Stefano, Julien, and Liviu,

Thank you for the suggestions! I'll have to ponder. What I'd really  
like is to go "old school": Have them mark up the pdf with a pen, send  
it to me, I make the revisions in the lyx file, export tex, send the  
tex file and a pdf to them with the changes. But I'm afraid they'll  
never agree. It's my name that's going to be on the article, so I want  
control. As it is, one editor has already made changes in the tex  
file, replacing italic used for emphasis with roman, which is fine,  
but he also did this for some theorem-like assertions, which is _not_  
fine, and it's hard for me to know that I've spotted all the changes I  
disagree with. His comments are marked with xx, which makes them easy  
to find, but these changes are not so marked. So I feel, even at this  
early stage of the process that I've lost control of my own ms! G.


Bruce


Re: ** ERROR ** Invalid font: -1 (8)

2011-04-02 Thread Guenter Milde
On 2011-04-02, Walter wrote:

> My LyX file references a number of fonts however I have not been able to
> successfully convert to PDF for some time due to various reasons. I have
> solved them all bar this one, and am quite stumped.
> I don't recall changing any fonts since the last time I successfully output
> to PDF (albeit back on 1.6, this is now 2.0rc2).

Did you use XeTeX with 1.6? How?

The error it shows that LyX generates the PDF with the XeTeX engine
using a completely different set of fonts compared to the LyX 1.x default
engine (pdflatex or latex + dvips + ps2pdf)?

> Other than going in to the LyX file manually and replacing all font
> references with a 'known good' one, is there any way to know which line this
> error actually references?  As error messages go, this one seems pretty
> opaque.

If you used pdflatex before, you can reset to using it via un-ticking
"use non-TeX fonts" under Document>Settings>Fonts.

Otherwise, check for non-utf8 input, languages using other scripts (babel
will try standard TeX fonts then), ...

Maybe it is not a font issue at all:

> 12:30:56.775: ** WARNING ** Failed to convert input string to UTF16...


Günter




Re: Editing Process

2011-04-02 Thread Guenter Milde
On 2011-04-02, Bruce Pourciau wrote:

> Let me add this: The editors don't expect the author of a Word  
> submission to conduct the revision process in an unfamiliar file  
> format. I'm sure they go back and forth with Word files. But they are  
> trying to force me to conduct the editing process in an unfamiliar  
> file format, namely tex.

However, I suppose they clearly stated that they accept either LaTeX
or Word *before* you submitted your manuscript.

In both cases, the submission-format is used for the revision process.

I don't think it is fair to expect the editors to be familiar with any of
the many possible formats of some pre-processing state to generate either
of these (OpenOffice, LyX, some HTML2latex or HTML2Word converter,
Abiword, Docutils, ...). (Working with OpenOffice while the other side
uses Word can be a nightmare too.)

Günter



Re: Editing Process

2011-04-02 Thread Bruce Pourciau


On Apr 2, 2011, at 4:05 PM, Guenter Milde wrote:


On 2011-04-02, Bruce Pourciau wrote:


Let me add this: The editors don't expect the author of a Word
submission to conduct the revision process in an unfamiliar file
format. I'm sure they go back and forth with Word files. But they are
trying to force me to conduct the editing process in an unfamiliar
file format, namely tex.


However, I suppose they clearly stated that they accept either LaTeX
or Word *before* you submitted your manuscript.

In both cases, the submission-format is used for the revision process.

I don't think it is fair to expect the editors to be familiar with  
any of
the many possible formats of some pre-processing state to generate  
either

of these (OpenOffice, LyX, some HTML2latex or HTML2Word converter,
Abiword, Docutils, ...). (Working with OpenOffice while the other side
uses Word can be a nightmare too.)

Günter



Very true, but shouldn't they be willing in this special case -- an  
author who submits a tex file, but who is not conversant with tex --  
to go "old school"?: they mark up the pdf, mail a photocopy or email a  
scanned copy to me, I make the revisions in LyX, then export tex and  
pdf files and send them back. Doesn't seem like too big a deal, and  
the result would be a more error-free article.


Bruce

Re: LyX 2.0.0 release candidate 2 - (Non official Win32 binaries)

2011-04-02 Thread ehud.kap...@gmail.com

Is it for Windows only?
EK

On 4/2/2011 12:02 PM, Diego Queiroz wrote:

Hello.

For those who want binaries for LyX 2.0 RC2.
I've compiled them again.

Here is the link.
http://www.megaupload.com/?d=ARUDZI5K


Regards.
---
Diego Queiroz



--

Ehud Kaplan, Ph.D.

Jules and Doris Stein Research to Prevent BlindnessProfessor

Director, Center of Excellence for Computational & System neuroscience,

The Friedman Brain Institute, MSSM

Director, The laboratory of Visual & Computational Neuroscience

Depts. of Neuroscience, Ophthalmology, Chemical & Structural Biology

The Mount Sinai School of Medicine

One Gustave Levy Place

New York, NY, 10029




Re: LyX 2.0.0 release candidate 2 - (Non official Win32 binaries)

2011-04-02 Thread Diego Queiroz
Yes.

Windows only.
---
Diego Queiroz



2011/4/2 ehud.kap...@gmail.com 

>  Is it for Windows only?
> EK
>
>
> On 4/2/2011 12:02 PM, Diego Queiroz wrote:
>
> Hello.
>
> For those who want binaries for LyX 2.0 RC2.
> I've compiled them again.
>
> Here is the link.http://www.megaupload.com/?d=ARUDZI5K
>
>
> Regards.
> ---
> Diego Queiroz
>
>
>
> --
>
> Ehud Kaplan, Ph.D.
>
> Jules and Doris Stein Research to Prevent Blindness Professor
>
> Director, Center of Excellence for Computational & System neuroscience,
>
> The Friedman Brain Institute, MSSM
>
> Director, The laboratory of Visual & Computational Neuroscience
>
> Depts. of Neuroscience, Ophthalmology, Chemical & Structural Biology
>
> The Mount Sinai School of Medicine
>
> One Gustave Levy Place
>
> New York, NY, 10029
>
>
>
>
>


Re: Editing Process

2011-04-02 Thread Liviu Andronic
On Sat, Apr 2, 2011 at 10:03 PM, Bruce Pourciau
 wrote:
> Thank you for the suggestions! I'll have to ponder. What I'd really like is
> to go "old school": Have them mark up the pdf with a pen, send it to me, I
> make the revisions in the lyx file, export tex, send the tex file and a pdf
> to them with the changes. But I'm afraid they'll never agree. It's my name
> that's going to be on the article, so I want control. As it is, one editor
> has already made changes in the tex file, replacing italic used for emphasis
> with roman, which is fine, but he also did this for some theorem-like
> assertions, which is _not_ fine, and it's hard for me to know that I've
> spotted all the changes I disagree with. His comments are marked with xx,
> which makes them easy to find, but these changes are not so marked.
>
As it was suggested earlier, it should be easy to track down all the
modifications that the editor performed: use a graphical interface to
dfif (such as Meld [1]) to compare the tex file that you sent
(original) with the tex that you received (modified). Thus you will
find out exactly what changes went into your document.

Knowing this, and as others have suggested, you can take your original
lyx file and implement all the changes (that you accept!) directly
into LyX. Afterwards, you can get on with editing your article
directly in LyX.

Regards
Liviu

[1] http://alternativeto.net/software/meld/


> So I
> feel, even at this early stage of the process that I've lost control of my
> own ms! G.
>
> Bruce
>



-- 
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