How does eps scaling work?

2007-02-18 Thread Neal Becker
I now understand that the problems I've been seeing with graphics have
nothing to do with the 1.4.4 update, it is because of a ghostscript update,
and ghostscript is crashing in epstopdf.

I changed the eps-pdf to use ImageMagick's convert.  Now I have images, but
they don't appear to be scaled correctly.  Where/how is the scaling
performed?



Re: How does eps scaling work?

2007-02-18 Thread Neal Becker
Paul Smith wrote:

 On 2/18/07, Neal Becker
 [EMAIL PROTECTED] wrote:
 I now understand that the problems I've been seeing with graphics have
 nothing to do with the 1.4.4 update, it is because of a ghostscript
 update, and ghostscript is crashing in epstopdf.

 I changed the eps-pdf to use ImageMagick's convert.  Now I have images,
 but
 they don't appear to be scaled correctly.  Where/how is the scaling
 performed?
 
 ImageMagick is a software suite to create, edit, and compose bitmap
 images. Therefore, your images are converted to bitmaps and hence the
 quality of scaling is bad because your images are no longer vectorial.
 Perhaps, you should downgrade ghostscript, to use it instead of
 ImageMagick.
 
 Paul

Actually, it seems not that it's scaled badly, but that it isn't scaled at
all.  I set the scaling to 100% \text, which is what I always do.  The
xmgrace graphic is landscape (the default).  The lyx preview is fine, but
the pdf version has the graphic clipped.  I did not select clipping to the
bounding box (nor did I set a bounding box).



Re: How does eps scaling work?

2007-02-18 Thread Neal Becker
Neal Becker wrote:

 Paul Smith wrote:
 
 On 2/18/07, Neal Becker
 [EMAIL PROTECTED] wrote:
 I now understand that the problems I've been seeing with graphics have
 nothing to do with the 1.4.4 update, it is because of a ghostscript
 update, and ghostscript is crashing in epstopdf.

 I changed the eps-pdf to use ImageMagick's convert.  Now I have images,
 but
 they don't appear to be scaled correctly.  Where/how is the scaling
 performed?
 
 ImageMagick is a software suite to create, edit, and compose bitmap
 images. Therefore, your images are converted to bitmaps and hence the
 quality of scaling is bad because your images are no longer vectorial.
 Perhaps, you should downgrade ghostscript, to use it instead of
 ImageMagick.
 
 Paul
 
 Actually, it seems not that it's scaled badly, but that it isn't scaled at
 all.  I set the scaling to 100% \text, which is what I always do.  The
 xmgrace graphic is landscape (the default).  The lyx preview is fine, but
 the pdf version has the graphic clipped.  I did not select clipping to the
 bounding box (nor did I set a bounding box).

I also found that switching eps-pdf conversion to ps2pdf13, and then using
export to latex using ps2pdf, or dvipdfm, the graphic is fine.  Only using
export with pdflatex is broken.



Fixed:Re: grace - pdf broken after 1.4.4 upgrade

2007-02-18 Thread Neal Becker
I replaced tetex-3.0-32.fc6 old version of epstopdf with the latest perl
script from ctan, and now it works again.



grace -> pdf broken after 1.4.4 upgrade

2007-02-18 Thread Neal Becker
Looks like this converter isn't being used when a doc including grace
graphics is exported to pdf (using pdflatex):

\converter "agr" "pdf2" "gracebat -hardcopy -printfile $$o -hdevice PDF $$i
2>/dev/null"  ""

I get a blank pdf file for the graphic.  If I run this command manually, it
works fine.  The in-lyx graphics preview also works.  This worked before
the upgrade.




Re: grace -> pdf broken after 1.4.4 upgrade

2007-02-18 Thread Neal Becker
Neal Becker wrote:

> Looks like this converter isn't being used when a doc including grace
> graphics is exported to pdf (using pdflatex):
> 
> \converter "agr" "pdf2" "gracebat -hardcopy -printfile $$o -hdevice PDF
> $$i
> 2>/dev/null"  ""
> 
> I get a blank pdf file for the graphic.  If I run this command manually,
> it
> works fine.  The in-lyx graphics preview also works.  This worked before
> the upgrade.

One more piece of information.

Looking in the pdf file, I see it was written by ghostscript.  So the above
converter wasn't attempted.  (Of course, why conversion via this path
produced a blank pdf is another good question).



Re: grace -> pdf broken after 1.4.4 upgrade

2007-02-18 Thread Neal Becker
Neal Becker wrote:

> Neal Becker wrote:
> 
>> Looks like this converter isn't being used when a doc including grace
>> graphics is exported to pdf (using pdflatex):
>> 
>> \converter "agr" "pdf2" "gracebat -hardcopy -printfile $$o -hdevice PDF
>> $$i
>> 2>/dev/null"  ""
>> 
>> I get a blank pdf file for the graphic.  If I run this command manually,
>> it
>> works fine.  The in-lyx graphics preview also works.  This worked before
>> the upgrade.
> 
> One more piece of information.
> 
> Looking in the pdf file, I see it was written by ghostscript.  So the
> above
> converter wasn't attempted.  (Of course, why conversion via this path
> produced a blank pdf is another good question).

Here's how the epstopdf conversion fails:

epstopdf --outfile stuff.pdf *.eps
ERROR: /undefined in n
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
--nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   
%oparray_pop   --nostringval--   1   3   %oparray_pop   1   3   %oparray_pop   
.runexec2   --nostringval--   --nostringval--   --nostringval--   2   
%stopped_push   --nostringval--
Dictionary stack:
   --dict:1120/1686(ro)(G)--   --dict:0/20(G)--   --dict:138/200(L)--
Current allocation mode is local
Last OS error: 2
ESP Ghostscript 815.03: Unrecoverable error, exit code 1



How does eps scaling work?

2007-02-18 Thread Neal Becker
I now understand that the problems I've been seeing with graphics have
nothing to do with the 1.4.4 update, it is because of a ghostscript update,
and ghostscript is crashing in epstopdf.

I changed the eps->pdf to use ImageMagick's convert.  Now I have images, but
they don't appear to be scaled correctly.  Where/how is the scaling
performed?



Re: How does eps scaling work?

2007-02-18 Thread Neal Becker
Paul Smith wrote:

> On 2/18/07, Neal Becker
> <[EMAIL PROTECTED]> wrote:
>> I now understand that the problems I've been seeing with graphics have
>> nothing to do with the 1.4.4 update, it is because of a ghostscript
>> update, and ghostscript is crashing in epstopdf.
>>
>> I changed the eps->pdf to use ImageMagick's convert.  Now I have images,
>> but
>> they don't appear to be scaled correctly.  Where/how is the scaling
>> performed?
> 
> ImageMagick is a software suite to create, edit, and compose bitmap
> images. Therefore, your images are converted to bitmaps and hence the
> quality of scaling is bad because your images are no longer vectorial.
> Perhaps, you should downgrade ghostscript, to use it instead of
> ImageMagick.
> 
> Paul

Actually, it seems not that it's scaled badly, but that it isn't scaled at
all.  I set the scaling to 100% \text, which is what I always do.  The
xmgrace graphic is landscape (the default).  The lyx preview is fine, but
the pdf version has the graphic clipped.  I did not select clipping to the
bounding box (nor did I set a bounding box).



Re: How does eps scaling work?

2007-02-18 Thread Neal Becker
Neal Becker wrote:

> Paul Smith wrote:
> 
>> On 2/18/07, Neal Becker
>> <[EMAIL PROTECTED]> wrote:
>>> I now understand that the problems I've been seeing with graphics have
>>> nothing to do with the 1.4.4 update, it is because of a ghostscript
>>> update, and ghostscript is crashing in epstopdf.
>>>
>>> I changed the eps->pdf to use ImageMagick's convert.  Now I have images,
>>> but
>>> they don't appear to be scaled correctly.  Where/how is the scaling
>>> performed?
>> 
>> ImageMagick is a software suite to create, edit, and compose bitmap
>> images. Therefore, your images are converted to bitmaps and hence the
>> quality of scaling is bad because your images are no longer vectorial.
>> Perhaps, you should downgrade ghostscript, to use it instead of
>> ImageMagick.
>> 
>> Paul
> 
> Actually, it seems not that it's scaled badly, but that it isn't scaled at
> all.  I set the scaling to 100% \text, which is what I always do.  The
> xmgrace graphic is landscape (the default).  The lyx preview is fine, but
> the pdf version has the graphic clipped.  I did not select clipping to the
> bounding box (nor did I set a bounding box).

I also found that switching eps->pdf conversion to ps2pdf13, and then using
export to latex using ps2pdf, or dvipdfm, the graphic is fine.  Only using
export with pdflatex is broken.



Fixed:Re: grace -> pdf broken after 1.4.4 upgrade

2007-02-18 Thread Neal Becker
I replaced tetex-3.0-32.fc6 old version of epstopdf with the latest perl
script from ctan, and now it works again.



Re: Entering foreign language characters

2007-02-07 Thread Neal Becker
John Coppens wrote:

 On Tue, 06 Feb 2007 23:14:45 -0500
 David L. Johnson [EMAIL PROTECTED]
 wrote:
 
 Cool.   It works, except that it is Winkey-` e rather than the other
 way around.
 
 That depends on if the combinations are defined - in my case both
 work. There's a lot of fun to be had with combinations. Try things
 like Winkey 1 2 to get a 'half' and Winkey + - to get ±...
 
 The composition tables in my distro reside in
 /usr/share/kbd/keymaps/include
 
 eg. compose.latin1
 
 Rgds
 John

Actually, I was looking for something easy for a novice.  In particular,
something that shows the characters graphically so user doesn't need to
know a code.

I found (I did say I was using kde) kcharselect.  I could just paste the
char into lyx from that.

Only problem is that kcharselect is hidden away under 2 layers of menus on
my system, but that seems a good solution.



Re: Entering foreign language characters

2007-02-07 Thread Neal Becker
John Coppens wrote:

 On Tue, 06 Feb 2007 23:14:45 -0500
 David L. Johnson [EMAIL PROTECTED]
 wrote:
 
 Cool.   It works, except that it is Winkey-` e rather than the other
 way around.
 
 That depends on if the combinations are defined - in my case both
 work. There's a lot of fun to be had with combinations. Try things
 like Winkey 1 2 to get a 'half' and Winkey + - to get ±...
 
 The composition tables in my distro reside in
 /usr/share/kbd/keymaps/include
 
 eg. compose.latin1
 
 Rgds
 John

Actually, I was looking for something easy for a novice.  In particular,
something that shows the characters graphically so user doesn't need to
know a code.

I found (I did say I was using kde) kcharselect.  I could just paste the
char into lyx from that.

Only problem is that kcharselect is hidden away under 2 layers of menus on
my system, but that seems a good solution.



Re: Entering foreign language characters

2007-02-07 Thread Neal Becker
John Coppens wrote:

> On Tue, 06 Feb 2007 23:14:45 -0500
> "David L. Johnson" <[EMAIL PROTECTED]>
> wrote:
> 
>> Cool.   It works, except that it is Winkey-` e rather than the other
>> way around.
> 
> That depends on if the combinations are defined - in my case both
> work. There's a lot of fun to be had with combinations. Try things
> like Winkey 1 2 to get a 'half' and Winkey + - to get ±...
> 
> The composition tables in my distro reside in
> /usr/share/kbd/keymaps/include
> 
> eg. compose.latin1
> 
> Rgds
> John

Actually, I was looking for something easy for a novice.  In particular,
something that shows the characters graphically so user doesn't need to
know a code.

I found (I did say I was using kde) kcharselect.  I could just paste the
char into lyx from that.

Only problem is that kcharselect is hidden away under 2 layers of menus on
my system, but that seems a good solution.



Entering foreign language characters

2007-02-06 Thread Neal Becker
I'm using lyx-1.4.3 on Fedora with kde.  What is the easiest way to enter a
few special accented characters?  My language and document is english, but
let's say I'd like to enter a few spanish symbols.  I know I can do this
with special latex, but is there a more generic (and newbie friendly) way?




Entering foreign language characters

2007-02-06 Thread Neal Becker
I'm using lyx-1.4.3 on Fedora with kde.  What is the easiest way to enter a
few special accented characters?  My language and document is english, but
let's say I'd like to enter a few spanish symbols.  I know I can do this
with special latex, but is there a more generic (and newbie friendly) way?




Entering foreign language characters

2007-02-06 Thread Neal Becker
I'm using lyx-1.4.3 on Fedora with kde.  What is the easiest way to enter a
few special accented characters?  My language and document is english, but
let's say I'd like to enter a few spanish symbols.  I know I can do this
with special latex, but is there a more generic (and newbie friendly) way?




Re: ams article defect

2006-11-16 Thread Neal Becker
Jean-Pierre Chretien wrote:

 
To: David L. Johnson
[EMAIL PROTECTED] Cc:
lyx-users@lists.lyx.org Subject: Re: ams
article defect From: Jean-Marc Lasgouttes
[EMAIL PROTECTED] Date: Wed, 15 Nov 2006 19:00:46
+0100

 David == David L Johnson
 [EMAIL PROTECTED] writes:
 [...]

David LaTeX2e 2003/12/01 Babel v3.8d

I think you need at least version 3.8g or 3.8h. Or an older amsart :)
The fact is, there are distributions out there that package the two
incompatible packages. This should probably be reported as a teTeX bug
via debian, if this is not done already.
 
 It might come from two tetex subpackages not being in sync.
 Upgrade is advisable before reporting I guess.
 
 You might install texlive if the problem remains. The texlive packaging
 has been reviewed before it entered Debian/etch in june, and texlive|tetex
 have been made equivalent in LyX dependencies.
 

I'm running on Fedora FC6 and everything is up to date.  Fedora will move to
texlive and I'm looking forward to that - but I don't want to screw things
up in the meantime.

If anyone knows where to find a new babel.sty let me know.  Search on ctan
wasn't very useful.



Re: ams article defect

2006-11-16 Thread Neal Becker
Jean-Pierre Chretien wrote:

 
To: David L. Johnson
[EMAIL PROTECTED] Cc:
lyx-users@lists.lyx.org Subject: Re: ams
article defect From: Jean-Marc Lasgouttes
[EMAIL PROTECTED] Date: Wed, 15 Nov 2006 19:00:46
+0100

 David == David L Johnson
 [EMAIL PROTECTED] writes:
 [...]

David LaTeX2e 2003/12/01 Babel v3.8d

I think you need at least version 3.8g or 3.8h. Or an older amsart :)
The fact is, there are distributions out there that package the two
incompatible packages. This should probably be reported as a teTeX bug
via debian, if this is not done already.
 
 It might come from two tetex subpackages not being in sync.
 Upgrade is advisable before reporting I guess.
 
 You might install texlive if the problem remains. The texlive packaging
 has been reviewed before it entered Debian/etch in june, and texlive|tetex
 have been made equivalent in LyX dependencies.
 

I'm running on Fedora FC6 and everything is up to date.  Fedora will move to
texlive and I'm looking forward to that - but I don't want to screw things
up in the meantime.

If anyone knows where to find a new babel.sty let me know.  Search on ctan
wasn't very useful.



Re: ams article defect

2006-11-16 Thread Neal Becker
Jean-Pierre Chretien wrote:

> 
>>>To: "David L. Johnson"
>>><[EMAIL PROTECTED]> Cc:
>>>lyx-users@lists.lyx.org Subject: Re: ams
>>>article defect From: Jean-Marc Lasgouttes
>>><[EMAIL PROTECTED]> Date: Wed, 15 Nov 2006 19:00:46
>>>+0100
>>>
 "David" == David L Johnson
 <[EMAIL PROTECTED]> writes:
> [...]
>>>
>>>David> LaTeX2e <2003/12/01> Babel 
>>>
>>>I think you need at least version 3.8g or 3.8h. Or an older amsart :)
>>>The fact is, there are distributions out there that package the two
>>>incompatible packages. This should probably be reported as a teTeX bug
>>>via debian, if this is not done already.
> 
> It might come from two tetex subpackages not being in sync.
> Upgrade is advisable before reporting I guess.
> 
> You might install texlive if the problem remains. The texlive packaging
> has been reviewed before it entered Debian/etch in june, and texlive|tetex
> have been made equivalent in LyX dependencies.
> 

I'm running on Fedora FC6 and everything is up to date.  Fedora will move to
texlive and I'm looking forward to that - but I don't want to screw things
up in the meantime.

If anyone knows where to find a new babel.sty let me know.  Search on ctan
wasn't very useful.



ams article defect

2006-11-15 Thread Neal Becker
I recall hitting this problem once before, but I forgot what the fix was. 
I'm using ams article.  The output has a header that says:
englishMyTitle
instead of 
MyTitle




Re: ams article defect

2006-11-15 Thread Neal Becker
On Wednesday 15 November 2006 12:13 pm, Jean-Marc Lasgouttes wrote:
  David == David L Johnson [EMAIL PROTECTED] writes:

 David On Wed, 15 Nov 2006 09:55:44 -0500

 David Neal Becker [EMAIL PROTECTED] wrote:
  I recall hitting this problem once before, but I forgot what the
  fix was. I'm using ams article. The output has a header that says:
  englishMyTitle instead of MyTitle

 David Yeah, I have this problem, too, and have had through several
 David system updates. It was explained to me on this list that it is
 David a LaTeX issue, not a LyX one. Specifically, it is a problem
 David with babel. Supposedly, new versions of babel (and/or amslatex)
 David fix this, but I am not so sure, since I use debian etch which
 David has fairly new versions of those packages.

 What is your babel version?

 JMarc

2004/11/20 v3.8d


ams article defect

2006-11-15 Thread Neal Becker
I recall hitting this problem once before, but I forgot what the fix was. 
I'm using ams article.  The output has a header that says:
englishMyTitle
instead of 
MyTitle




Re: ams article defect

2006-11-15 Thread Neal Becker
On Wednesday 15 November 2006 12:13 pm, Jean-Marc Lasgouttes wrote:
  David == David L Johnson [EMAIL PROTECTED] writes:

 David On Wed, 15 Nov 2006 09:55:44 -0500

 David Neal Becker [EMAIL PROTECTED] wrote:
  I recall hitting this problem once before, but I forgot what the
  fix was. I'm using ams article. The output has a header that says:
  englishMyTitle instead of MyTitle

 David Yeah, I have this problem, too, and have had through several
 David system updates. It was explained to me on this list that it is
 David a LaTeX issue, not a LyX one. Specifically, it is a problem
 David with babel. Supposedly, new versions of babel (and/or amslatex)
 David fix this, but I am not so sure, since I use debian etch which
 David has fairly new versions of those packages.

 What is your babel version?

 JMarc

2004/11/20 v3.8d


ams article defect

2006-11-15 Thread Neal Becker
I recall hitting this problem once before, but I forgot what the fix was. 
I'm using ams article.  The output has a header that says:
englishMyTitle
instead of 
MyTitle




Re: ams article defect

2006-11-15 Thread Neal Becker
On Wednesday 15 November 2006 12:13 pm, Jean-Marc Lasgouttes wrote:
> >>>>> "David" == David L Johnson <[EMAIL PROTECTED]> writes:
>
> David> On Wed, 15 Nov 2006 09:55:44 -0500
>
> David> Neal Becker <[EMAIL PROTECTED]> wrote:
> >> I recall hitting this problem once before, but I forgot what the
> >> fix was. I'm using ams article. The output has a header that says:
> >> englishMyTitle instead of MyTitle
>
> David> Yeah, I have this problem, too, and have had through several
> David> system updates. It was explained to me on this list that it is
> David> a LaTeX issue, not a LyX one. Specifically, it is a problem
> David> with babel. Supposedly, new versions of babel (and/or amslatex)
> David> fix this, but I am not so sure, since I use debian etch which
> David> has fairly new versions of those packages.
>
> What is your babel version?
>
> JMarc

2004/11/20 v3.8d


Re: break long equation into two lines

2006-11-08 Thread Neal Becker
Micha Feigin wrote:

 On Wed, 8 Nov 2006 09:42:55 -0500
 Reuben D. Budiardja
 [EMAIL PROTECTED] wrote:
 
 Hello,
 When working with math formula in equation array mode, I found out that
 my equation is too long on the page. I want to break it to two lines. Is
 there a way do that ? All my equations are numbered (with label), when
 breaking long equation into two lines, the first line should not be
 numbered.
 
 
Look at amslatex.  It has lots of options.



Re: break long equation into two lines

2006-11-08 Thread Neal Becker
Micha Feigin wrote:

 On Wed, 8 Nov 2006 09:42:55 -0500
 Reuben D. Budiardja
 [EMAIL PROTECTED] wrote:
 
 Hello,
 When working with math formula in equation array mode, I found out that
 my equation is too long on the page. I want to break it to two lines. Is
 there a way do that ? All my equations are numbered (with label), when
 breaking long equation into two lines, the first line should not be
 numbered.
 
 
Look at amslatex.  It has lots of options.



Re: break long equation into two lines

2006-11-08 Thread Neal Becker
Micha Feigin wrote:

> On Wed, 8 Nov 2006 09:42:55 -0500
> "Reuben D. Budiardja"
> <[EMAIL PROTECTED]> wrote:
> 
>> Hello,
>> When working with math formula in equation array mode, I found out that
>> my equation is too long on the page. I want to break it to two lines. Is
>> there a way do that ? All my equations are numbered (with label), when
>> breaking long equation into two lines, the first line should not be
>> numbered.
>> 
> 
Look at amslatex.  It has lots of options.



Re: convert grace - pdf (not png)?

2006-09-29 Thread Neal Becker
Georg Baum wrote:

 Helge Hafting wrote:
 
 Neal Becker wrote:
 I want to include grace (.agr) graphics.  I want to export to pdf.

 The default setup works, but grace is converted to png.  I want to
 convert to pdf instead.

 How do I convince lyx?
 
 By changing the source code, function findTargetFormat in
 src/insets/insetgraphics.C.
 
 I tried:
 \converter agr pdf2 gracebat -hardcopy -printfile $$o -hdevice PDF
 $$i 2/dev/null 
 
 You should use pdf instead of pdf2 if there would not be the hardcoding
 problem.
 
 I did this with lilypond files.  It works well, because I use an
 external inset.  So I get conversion to .pdf for pdflatex,
 .eps for plain latex, and .png for the instant preview in lyx.
 
 Neal sent a message to the devel list with an external agr inset, but it
 does not work. I have no idea why, and did not have the time yet to look
 at it.
 
 I am not sure about how lyx handles graphichs included via
 the graphichs inset, if that is what you use.  Perhaps someone
 else can help with that.
 
 It is hardcoded to png conversion for pdflatex, and yes, we need to change
 that.
 
 The external inset way works - in addition to converters, you
 will need to modify the file external_templates.  Feel free to ask
 if you want some help with that. A nice thing about external
 insets is that you also may specify an editor for your .agr files.
 That way, you can click on your graphichs in lyx, and have lyx
 launch the proper editing app.
 
 That does also work with graphic insets.
 
 
 Georg

Thank you.  Let me know if I can help with any testing.




Re: convert grace - pdf (not png)?

2006-09-29 Thread Neal Becker
Georg Baum wrote:

 Helge Hafting wrote:
 
 Neal Becker wrote:
 I want to include grace (.agr) graphics.  I want to export to pdf.

 The default setup works, but grace is converted to png.  I want to
 convert to pdf instead.

 How do I convince lyx?
 
 By changing the source code, function findTargetFormat in
 src/insets/insetgraphics.C.
 
 I tried:
 \converter agr pdf2 gracebat -hardcopy -printfile $$o -hdevice PDF
 $$i 2/dev/null 
 
 You should use pdf instead of pdf2 if there would not be the hardcoding
 problem.
 
 I did this with lilypond files.  It works well, because I use an
 external inset.  So I get conversion to .pdf for pdflatex,
 .eps for plain latex, and .png for the instant preview in lyx.
 
 Neal sent a message to the devel list with an external agr inset, but it
 does not work. I have no idea why, and did not have the time yet to look
 at it.
 
 I am not sure about how lyx handles graphichs included via
 the graphichs inset, if that is what you use.  Perhaps someone
 else can help with that.
 
 It is hardcoded to png conversion for pdflatex, and yes, we need to change
 that.
 
 The external inset way works - in addition to converters, you
 will need to modify the file external_templates.  Feel free to ask
 if you want some help with that. A nice thing about external
 insets is that you also may specify an editor for your .agr files.
 That way, you can click on your graphichs in lyx, and have lyx
 launch the proper editing app.
 
 That does also work with graphic insets.
 
 
 Georg

Thank you.  Let me know if I can help with any testing.




Re: convert grace -> pdf (not png)?

2006-09-29 Thread Neal Becker
Georg Baum wrote:

> Helge Hafting wrote:
> 
>> Neal Becker wrote:
>>> I want to include grace (.agr) graphics.  I want to export to pdf.
>>>
>>> The default setup works, but grace is converted to png.  I want to
>>> convert to pdf instead.
>>>
>>> How do I convince lyx?
> 
> By changing the source code, function findTargetFormat in
> src/insets/insetgraphics.C.
> 
>>> I tried:
>>> \converter "agr" "pdf2" "gracebat -hardcopy -printfile $$o -hdevice PDF
>>> $$i 2>/dev/null" ""
> 
> You should use pdf instead of pdf2 if there would not be the hardcoding
> problem.
> 
>> I did this with lilypond files.  It works well, because I use an
>> external inset.  So I get conversion to .pdf for pdflatex,
>> .eps for plain latex, and .png for the instant preview in lyx.
> 
> Neal sent a message to the devel list with an external agr inset, but it
> does not work. I have no idea why, and did not have the time yet to look
> at it.
> 
>> I am not sure about how lyx handles graphichs included via
>> the graphichs inset, if that is what you use.  Perhaps someone
>> else can help with that.
> 
> It is hardcoded to png conversion for pdflatex, and yes, we need to change
> that.
> 
>> The external inset way works - in addition to converters, you
>> will need to modify the file "external_templates.  Feel free to ask
>> if you want some help with that. A nice thing about external
>> insets is that you also may specify an editor for your .agr files.
>> That way, you can click on your graphichs in lyx, and have lyx
>> launch the proper editing app.
> 
> That does also work with graphic insets.
> 
> 
> Georg

Thank you.  Let me know if I can help with any testing.




convert grace - pdf (not png)?

2006-09-28 Thread Neal Becker
I want to include grace (.agr) graphics.  I want to export to pdf.

The default setup works, but grace is converted to png.  I want to convert
to pdf instead.

How do I convince lyx?

I tried:
\converter agr pdf2 gracebat -hardcopy -printfile $$o -hdevice PDF $$i
2/dev/null 




convert grace - pdf (not png)?

2006-09-28 Thread Neal Becker
I want to include grace (.agr) graphics.  I want to export to pdf.

The default setup works, but grace is converted to png.  I want to convert
to pdf instead.

How do I convince lyx?

I tried:
\converter agr pdf2 gracebat -hardcopy -printfile $$o -hdevice PDF $$i
2/dev/null 




convert grace -> pdf (not png)?

2006-09-28 Thread Neal Becker
I want to include grace (.agr) graphics.  I want to export to pdf.

The default setup works, but grace is converted to png.  I want to convert
to pdf instead.

How do I convince lyx?

I tried:
\converter "agr" "pdf2" "gracebat -hardcopy -printfile $$o -hdevice PDF $$i
2>/dev/null" ""




Re: MSWord(html) or OpenOffice.Org

2006-09-25 Thread Neal Becker
Bob Lounsbury wrote:

[...]
 What has worked best for me is to do as you said in step 5 and ensure
 that all the standard environments are on default settings and do an
 export to rtf from within LyX. Opening the rtf in Word there are a
 few formatting concerns, but it is easy enough to correct them
 quickly and send the file out to my advisor.

No export to rtf in my LyX(1.4.3).  What am I missing?



Re: MSWord(html) or OpenOffice.Org

2006-09-25 Thread Neal Becker
Bob Lounsbury wrote:

[...]
 What has worked best for me is to do as you said in step 5 and ensure
 that all the standard environments are on default settings and do an
 export to rtf from within LyX. Opening the rtf in Word there are a
 few formatting concerns, but it is easy enough to correct them
 quickly and send the file out to my advisor.

No export to rtf in my LyX(1.4.3).  What am I missing?



Re: MSWord(html) or OpenOffice.Org

2006-09-25 Thread Neal Becker
Bob Lounsbury wrote:

[...]
> What has worked best for me is to do as you said in step 5 and ensure
> that all the standard environments are on default settings and do an
> export to rtf from within LyX. Opening the rtf in Word there are a
> few formatting concerns, but it is easy enough to correct them
> quickly and send the file out to my advisor.

No export to rtf in my LyX(1.4.3).  What am I missing?



Re: Document - Change Tracking?

2006-09-19 Thread Neal Becker
Jean-Marc Lasgouttes wrote:

 Wolfgang == Wolfgang Keller
 [EMAIL PROTECTED] writes:
 
 Wolfgang BTW: Is the LyX file format subversion-friendly (i.e.
 Wolfgang diff-able)?
 
 It is diff-able (just look at it, it is plain text), but we do not
 have the tools to display the diffs in the interface.
 
 JMarc

You might want to use kdiff3



Re: Document - Change Tracking?

2006-09-19 Thread Neal Becker
Jean-Marc Lasgouttes wrote:

 Wolfgang == Wolfgang Keller
 [EMAIL PROTECTED] writes:
 
 Wolfgang BTW: Is the LyX file format subversion-friendly (i.e.
 Wolfgang diff-able)?
 
 It is diff-able (just look at it, it is plain text), but we do not
 have the tools to display the diffs in the interface.
 
 JMarc

You might want to use kdiff3



Re: Document -> Change Tracking?

2006-09-19 Thread Neal Becker
Jean-Marc Lasgouttes wrote:

>> "Wolfgang" == Wolfgang Keller
>> <[EMAIL PROTECTED]> writes:
> 
> Wolfgang> BTW: Is the LyX file format subversion-friendly (i.e.
> Wolfgang> diff-able)?
> 
> It is diff-able (just look at it, it is plain text), but we do not
> have the tools to display the diffs in the interface.
> 
> JMarc

You might want to use kdiff3



export to openoffice?

2006-08-29 Thread Neal Becker
I tried export to openoffice.  I have oolatex installed, but it AFAICT,
selecting 'export to openoffice' produced no output, nor any messages. 
This is lyx-1.4.2.



export to openoffice?

2006-08-29 Thread Neal Becker
I tried export to openoffice.  I have oolatex installed, but it AFAICT,
selecting 'export to openoffice' produced no output, nor any messages. 
This is lyx-1.4.2.



export to openoffice?

2006-08-29 Thread Neal Becker
I tried export to openoffice.  I have oolatex installed, but it AFAICT,
selecting 'export to openoffice' produced no output, nor any messages. 
This is lyx-1.4.2.



generate pdf with comments enabled?

2006-06-02 Thread Neal Becker
Is there some way to generate pdf that has review comments enabled?  Using
lyx with pdflatex (This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C
7.5.4)) the generated pdf does not have review comments enabled.




generate pdf with comments enabled?

2006-06-02 Thread Neal Becker
Is there some way to generate pdf that has review comments enabled?  Using
lyx with pdflatex (This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C
7.5.4)) the generated pdf does not have review comments enabled.




generate pdf with comments enabled?

2006-06-02 Thread Neal Becker
Is there some way to generate pdf that has review comments enabled?  Using
lyx with pdflatex (This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C
7.5.4)) the generated pdf does not have review comments enabled.




Re: Insert identical custom header on each page

2006-04-20 Thread Neal Becker
Tim Vaughan wrote:

 Good catch!  Also, the example I gave above will include a horizontal
 line at the top of the page.  To remove that then add the following to
 the preamble (which should be modified in the manner which Paul pointed
 out):

 \rhead{\bfseries 123456789}
 \renewcommand{\headrulewidth}{0pt}

 The new line will remove the horizontal line at the top, should you so
 wish, leaving you merely with the number 123456789 at the top right.
 
 
 That worked perfectly.  Thanks for the help, much appreciated.
 
 Tim

Seems like this would be a nice feature request, to support fancy
header/footer specification without needing to mess with latex preamble.



Howto give optional arg to beamer frame?

2006-04-20 Thread Neal Becker
I'm using beamer (happily), inserting frame/endframe.  Life is good.  Now, I
want to insert a frame with an optional argument.
I want it to expand to:

\frame[allowframebreaks]{\frametitle{whatever}...

How do I do this with lyx?



Re: Howto give optional arg to beamer frame?

2006-04-20 Thread Neal Becker
On Thursday 20 April 2006 9:15 am, Bo Peng wrote:
 On 4/20/06, Neal Becker [EMAIL PROTECTED] wrote:
  I'm using beamer (happily), inserting frame/endframe.  Life is good. 
  Now, I want to insert a frame with an optional argument.
  I want it to expand to:
 
  \frame[allowframebreaks]{\frametitle{whatever}...

 Have you tried ert at the beginning of the frame title? That is where
 I add things like [+-]


Seems to work.  Thanks!


Re: Insert identical custom header on each page

2006-04-20 Thread Neal Becker
Tim Vaughan wrote:

 Good catch!  Also, the example I gave above will include a horizontal
 line at the top of the page.  To remove that then add the following to
 the preamble (which should be modified in the manner which Paul pointed
 out):

 \rhead{\bfseries 123456789}
 \renewcommand{\headrulewidth}{0pt}

 The new line will remove the horizontal line at the top, should you so
 wish, leaving you merely with the number 123456789 at the top right.
 
 
 That worked perfectly.  Thanks for the help, much appreciated.
 
 Tim

Seems like this would be a nice feature request, to support fancy
header/footer specification without needing to mess with latex preamble.



Howto give optional arg to beamer frame?

2006-04-20 Thread Neal Becker
I'm using beamer (happily), inserting frame/endframe.  Life is good.  Now, I
want to insert a frame with an optional argument.
I want it to expand to:

\frame[allowframebreaks]{\frametitle{whatever}...

How do I do this with lyx?



Re: Howto give optional arg to beamer frame?

2006-04-20 Thread Neal Becker
On Thursday 20 April 2006 9:15 am, Bo Peng wrote:
 On 4/20/06, Neal Becker [EMAIL PROTECTED] wrote:
  I'm using beamer (happily), inserting frame/endframe.  Life is good. 
  Now, I want to insert a frame with an optional argument.
  I want it to expand to:
 
  \frame[allowframebreaks]{\frametitle{whatever}...

 Have you tried ert at the beginning of the frame title? That is where
 I add things like [+-]


Seems to work.  Thanks!


Re: Insert identical custom header on each page

2006-04-20 Thread Neal Becker
Tim Vaughan wrote:

>> Good catch!  Also, the example I gave above will include a horizontal
>> line at the top of the page.  To remove that then add the following to
>> the preamble (which should be modified in the manner which Paul pointed
>> out):
>>
>> \rhead{\bfseries 123456789}
>> \renewcommand{\headrulewidth}{0pt}
>>
>> The new line will remove the horizontal line at the top, should you so
>> wish, leaving you merely with the number "123456789" at the top right.
> 
> 
> That worked perfectly.  Thanks for the help, much appreciated.
> 
> Tim

Seems like this would be a nice feature request, to support fancy
header/footer specification without needing to mess with latex preamble.



Howto give optional arg to beamer frame?

2006-04-20 Thread Neal Becker
I'm using beamer (happily), inserting frame/endframe.  Life is good.  Now, I
want to insert a frame with an optional argument.
I want it to expand to:

\frame[allowframebreaks]{\frametitle{whatever}...

How do I do this with lyx?



Re: Howto give optional arg to beamer frame?

2006-04-20 Thread Neal Becker
On Thursday 20 April 2006 9:15 am, Bo Peng wrote:
> On 4/20/06, Neal Becker <[EMAIL PROTECTED]> wrote:
> > I'm using beamer (happily), inserting frame/endframe.  Life is good. 
> > Now, I want to insert a frame with an optional argument.
> > I want it to expand to:
> >
> > \frame[allowframebreaks]{\frametitle{whatever}...
>
> Have you tried ert at the beginning of the frame title? That is where
> I add things like [<+->]
>

Seems to work.  Thanks!


Simple question - howto enter macro w/args

2006-04-14 Thread Neal Becker
I want to enter the latex command: \unit[N]{symbols} in mathed.  How do I do
it?
Simply typing this in doesn't work.  The '{' is interpreted as a literal
brace insertion, not as an arg to the \unit macro.



Simple question - howto enter macro w/args

2006-04-14 Thread Neal Becker
I want to enter the latex command: \unit[N]{symbols} in mathed.  How do I do
it?
Simply typing this in doesn't work.  The '{' is interpreted as a literal
brace insertion, not as an arg to the \unit macro.



Simple question - howto enter macro w/args

2006-04-14 Thread Neal Becker
I want to enter the latex command: \unit[N]{symbols} in mathed.  How do I do
it?
Simply typing this in doesn't work.  The '{' is interpreted as a literal
brace insertion, not as an arg to the \unit macro.



IEEEtrans not 2 column?

2006-04-12 Thread Neal Becker
I'm just trying out IEEEtrans class.  The class is supposed to be 2 column
by default, but lyx is displaying 1 column.  Running latex though, it does
show 2 columns.




IEEEtrans not 2 column?

2006-04-12 Thread Neal Becker
I'm just trying out IEEEtrans class.  The class is supposed to be 2 column
by default, but lyx is displaying 1 column.  Running latex though, it does
show 2 columns.




IEEEtrans not 2 column?

2006-04-12 Thread Neal Becker
I'm just trying out IEEEtrans class.  The class is supposed to be 2 column
by default, but lyx is displaying 1 column.  Running latex though, it does
show 2 columns.




<    3   4   5   6   7   8