Re: I need tips on including SVG images

2008-12-29 Thread Abdelrazak Younes

Steve Litt wrote:

On Sunday 28 December 2008 10:13:45 am you wrote:
  

On 28/12/2008 05:29, Steve Litt wrote:


On Saturday 20 December 2008 12:30:17 pm Steve Litt wrote:
  

Hi all,

Today for the first time I was able to incorporate an SVG image into a
LyX drawing. I'm using LyX 1.5.6. Developers -- thank you so much!


I meant a LyX doc.

Anyway, yesterday I noticed that my .svg graphic pixellated when the
resulting pdf  was viewed at anything besides 100%. The text in the
graphic (it was a diagram) was hard to read even though it was big
enough.

So I converted the svg to a .pdf and included the .pdf in the LyX
diagram, and the resulting document .pdf looked good at any
magnification.
  

Instead of doing that you could make use of the external material inset.
LyX is distributed with a template for XFig drawing that works quite well.

Abdel.



Thanks Abdel,

Where would I learn more about that?
  
Have a look in /usr/local/share/lyx/external_templates if you installed 
LyX in /usr/local/. There have been some substantial improvement related 
to external inset in 1.6 so you might be interested to upgrade. I think 
this is documented in the Customization manual.
If you create a template for Inskape, please consider contributing it, 
we might include it in next 1.6.x release.


You know it's funny -- every year I know everything there was to know about 
LyX 2 years ago :-)
  


That's the greatest thing of life, you can never stop to learn ;-)

Cheers,
Abdel.




Re: hanging par strange behavior

2008-12-29 Thread Ignacio García
rgheck wrote:
 Just missed it. But the patch is here:
   http://www.lyx.org/trac/changeset/27882
 and is easily applied oneself.

Done. It works fine.
Thanks to all
Ignacio García


Re: Problem when i create from template

2008-12-29 Thread Paul A. Rubin

Groupme wrote:

Hi,

I have installed Lyx 1.6 on both WinXP and Ubuntu 8.10.

But when I new from template...,  I select one of template but it alert
that The layout file requested by this document, hollywood.layout, is not
usable. This is probably because a Latex class or style file required by is
not available. See the Customization documentation for more information. Lyx
will not be able to produce output.

Then I Tools-Reconfigure, it also complains Lyx: System reconfiguration
failed. Default textclass is used but LyX may not be able to work properly.
Please reconfigure again if needed

Could anybody help me on this problem? thanks  in advance!



Does reconfiguration fail on both XP and Ubuntu, or just one of them? 
The most common cause of reconfiguration failure is a problem with your 
LaTeX installation (which by default is TeXLive on Ubuntu, and probably 
is MiKTeX on XP).  As a quick check, open a command shell in each system 
and run 'latex --version' and 'kpsewhich article.cls'.  The former 
should report a version for the LaTeX command and the latter should 
report the location of the article LaTeX class.  If they fail, either 
you don't have a working LaTeX installation or the LaTeX program files 
are not on your system's default command path.


/Paul



Re: Inserting display formula

2008-12-29 Thread Paul A. Rubin

Giorgio Zavarise wrote:
I have a perhaps simple problem, but I am not able to solve it: when you 
insert a display formula you can either press first a carriage return, 
or not. If you press a carriage return this corresponds into an empty 
line in the LateX file, hence  this results into a bit more space 
between the last text line and the equation itself.
Unfortunately I am not able, looking at a LyX file, to figure out if 
before any display formula there is a carriage return or not. This 
prevent to have a homogeneous style, because usually at the end you have 
some equations that have more space, and other not. To make the cleaning 
the only way I know is to export to LateX and work on that file.


Hence my question is: s there a way in LyX to see this hidden carriage 
return?




Try View  View Source.  If you did not hit enter before the formula, \[ 
will be contiguous with the end of the preceding text; if you did, you 
will see a blank line between the preceding text and \[.


/Paul



underbar with greek letter

2008-12-29 Thread Marvin
Hi,
I am having trouble to display underbar with a greek letter, for example,
\underbar{\sigma}, the generated PDF is fine, but lyx just won't render it
on screen.
thanks
marvin


Re: configuring jurabib

2008-12-29 Thread cmiramon
jezZiFeR wrote:

 Thank you, so I don?t need to try to get it working.
 
 Would you really recommend to use biblatex? Is it stable and does it
 provide german terms also? Seems a lot of work an I even don?t get the
 first (pre-)step done. In the wiki I find the following sentence:

Yes. Having used jurabib for several years, I have switched to biblatex and
it is better. Jurabib is also a dead project. If you are starting a long
project (Ms or Phd or big article) go down the biblatex road, if you are on
a short deadline, keep jurabib.

By googling your example, you seem to be working in music history. Try 
Dominik Wassenhoven's biblatex styles
(http://biblatex.dominik-wassenhoven.de/). They are done for the German
humanities style and I guess you can adapt it to your taste. 


 
 »create an new layout file in your user directory (Help?About LyX tells
 you where you can find this directory)?«
 
 I could openthe user directory, but I don?t see any layout-file. Or is
 meant sth different? I Don?t have »About Lyx« in my help-menu.
 

It is the last item of the Help Menu.

Cheers,
Charles



Re: I need tips on including SVG images

2008-12-29 Thread Guenter Milde
On 2008-12-28, Abdelrazak Younes wrote:
 On 28/12/2008 05:29, Steve Litt wrote:
 On Saturday 20 December 2008 12:30:17 pm Steve Litt wrote:

 Today for the first time I was able to incorporate an SVG image
...
 Anyway, yesterday I noticed that my .svg graphic pixellated when the
 resulting pdf was viewed at anything besides 100%. 
...
 So I converted the svg to a .pdf and included the .pdf in the LyX
 diagram, and the resulting document .pdf looked good at any
 magnification.

 Instead of doing that you could make use of the external material inset.

Does the external inset has a in-LyX preview as a graphics inset by
now?

Otherwise I would still recommend the method proposed in the LyX wiki
(and used by me with success in 1.5.x and 1.6.x):

Define a new file type SVG and conversions for SVG-PDF and SVG-EPS.

Günter



table of contents in every chapter per chapter

2008-12-29 Thread Jeremy C. Reed
My book needs a separate table of contents within every chapter containing 
the toc entries only for that chapter.

For now I am using labels and pageref. But it not as formatted nicely. And 
since I already have the main table of contents for all chapters at the 
front of the book, I am hoping I can use same routines to have per-chapter 
contents listings.

Any ideas?

Thanks

  Jeremy C. Reed

p.s. I thought there was some current discussion similar to this, but 
can't find that now.


Re: table of contents in every chapter per chapter

2008-12-29 Thread Typhoon
On Mon, 29 Dec 2008 17:42:24 -0600 (CST)
Jeremy C. Reed r...@reedmedia.net wrote:

 My book needs a separate table of contents within every chapter
 containing the toc entries only for that chapter.
 
 For now I am using labels and pageref. But it not as formatted
 nicely. And since I already have the main table of contents for all
 chapters at the front of the book, I am hoping I can use same
 routines to have per-chapter contents listings.

Try the minitoc package. It has some problems with some document
classes (e.g., it doesn't play nicely with the Memoir class) but it
does what you are asking.

HTH,
Alan

 
 Any ideas?
 
 Thanks
 
   Jeremy C. Reed
 
 p.s. I thought there was some current discussion similar to this, but 
 can't find that now.
 


Re: table of contents in every chapter per chapter

2008-12-29 Thread Steve Litt
On Monday 29 December 2008 06:42:24 pm Jeremy C. Reed wrote:
 My book needs a separate table of contents within every chapter containing
 the toc entries only for that chapter.

 For now I am using labels and pageref. But it not as formatted nicely. And
 since I already have the main table of contents for all chapters at the
 front of the book, I am hoping I can use same routines to have per-chapter
 contents listings.

 Any ideas?

 Thanks

   Jeremy C. Reed

 p.s. I thought there was some current discussion similar to this, but
 can't find that now.

That would be soo kewl in a nonfiction book!

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US



Re: I need tips on including SVG images

2008-12-29 Thread Abdelrazak Younes

Steve Litt wrote:

On Sunday 28 December 2008 10:13:45 am you wrote:
  

On 28/12/2008 05:29, Steve Litt wrote:


On Saturday 20 December 2008 12:30:17 pm Steve Litt wrote:
  

Hi all,

Today for the first time I was able to incorporate an SVG image into a
LyX drawing. I'm using LyX 1.5.6. Developers -- thank you so much!


I meant a LyX doc.

Anyway, yesterday I noticed that my .svg graphic pixellated when the
resulting pdf  was viewed at anything besides 100%. The text in the
graphic (it was a diagram) was hard to read even though it was big
enough.

So I converted the svg to a .pdf and included the .pdf in the LyX
diagram, and the resulting document .pdf looked good at any
magnification.
  

Instead of doing that you could make use of the external material inset.
LyX is distributed with a template for XFig drawing that works quite well.

Abdel.



Thanks Abdel,

Where would I learn more about that?
  
Have a look in /usr/local/share/lyx/external_templates if you installed 
LyX in /usr/local/. There have been some substantial improvement related 
to external inset in 1.6 so you might be interested to upgrade. I think 
this is documented in the Customization manual.
If you create a template for Inskape, please consider contributing it, 
we might include it in next 1.6.x release.


You know it's funny -- every year I know everything there was to know about 
LyX 2 years ago :-)
  


That's the greatest thing of life, you can never stop to learn ;-)

Cheers,
Abdel.




Re: hanging par strange behavior

2008-12-29 Thread Ignacio García
rgheck wrote:
 Just missed it. But the patch is here:
   http://www.lyx.org/trac/changeset/27882
 and is easily applied oneself.

Done. It works fine.
Thanks to all
Ignacio García


Re: Problem when i create from template

2008-12-29 Thread Paul A. Rubin

Groupme wrote:

Hi,

I have installed Lyx 1.6 on both WinXP and Ubuntu 8.10.

But when I new from template...,  I select one of template but it alert
that The layout file requested by this document, hollywood.layout, is not
usable. This is probably because a Latex class or style file required by is
not available. See the Customization documentation for more information. Lyx
will not be able to produce output.

Then I Tools-Reconfigure, it also complains Lyx: System reconfiguration
failed. Default textclass is used but LyX may not be able to work properly.
Please reconfigure again if needed

Could anybody help me on this problem? thanks  in advance!



Does reconfiguration fail on both XP and Ubuntu, or just one of them? 
The most common cause of reconfiguration failure is a problem with your 
LaTeX installation (which by default is TeXLive on Ubuntu, and probably 
is MiKTeX on XP).  As a quick check, open a command shell in each system 
and run 'latex --version' and 'kpsewhich article.cls'.  The former 
should report a version for the LaTeX command and the latter should 
report the location of the article LaTeX class.  If they fail, either 
you don't have a working LaTeX installation or the LaTeX program files 
are not on your system's default command path.


/Paul



Re: Inserting display formula

2008-12-29 Thread Paul A. Rubin

Giorgio Zavarise wrote:
I have a perhaps simple problem, but I am not able to solve it: when you 
insert a display formula you can either press first a carriage return, 
or not. If you press a carriage return this corresponds into an empty 
line in the LateX file, hence  this results into a bit more space 
between the last text line and the equation itself.
Unfortunately I am not able, looking at a LyX file, to figure out if 
before any display formula there is a carriage return or not. This 
prevent to have a homogeneous style, because usually at the end you have 
some equations that have more space, and other not. To make the cleaning 
the only way I know is to export to LateX and work on that file.


Hence my question is: s there a way in LyX to see this hidden carriage 
return?




Try View  View Source.  If you did not hit enter before the formula, \[ 
will be contiguous with the end of the preceding text; if you did, you 
will see a blank line between the preceding text and \[.


/Paul



underbar with greek letter

2008-12-29 Thread Marvin
Hi,
I am having trouble to display underbar with a greek letter, for example,
\underbar{\sigma}, the generated PDF is fine, but lyx just won't render it
on screen.
thanks
marvin


Re: configuring jurabib

2008-12-29 Thread cmiramon
jezZiFeR wrote:

 Thank you, so I don?t need to try to get it working.
 
 Would you really recommend to use biblatex? Is it stable and does it
 provide german terms also? Seems a lot of work an I even don?t get the
 first (pre-)step done. In the wiki I find the following sentence:

Yes. Having used jurabib for several years, I have switched to biblatex and
it is better. Jurabib is also a dead project. If you are starting a long
project (Ms or Phd or big article) go down the biblatex road, if you are on
a short deadline, keep jurabib.

By googling your example, you seem to be working in music history. Try 
Dominik Wassenhoven's biblatex styles
(http://biblatex.dominik-wassenhoven.de/). They are done for the German
humanities style and I guess you can adapt it to your taste. 


 
 »create an new layout file in your user directory (Help?About LyX tells
 you where you can find this directory)?«
 
 I could openthe user directory, but I don?t see any layout-file. Or is
 meant sth different? I Don?t have »About Lyx« in my help-menu.
 

It is the last item of the Help Menu.

Cheers,
Charles



Re: I need tips on including SVG images

2008-12-29 Thread Guenter Milde
On 2008-12-28, Abdelrazak Younes wrote:
 On 28/12/2008 05:29, Steve Litt wrote:
 On Saturday 20 December 2008 12:30:17 pm Steve Litt wrote:

 Today for the first time I was able to incorporate an SVG image
...
 Anyway, yesterday I noticed that my .svg graphic pixellated when the
 resulting pdf was viewed at anything besides 100%. 
...
 So I converted the svg to a .pdf and included the .pdf in the LyX
 diagram, and the resulting document .pdf looked good at any
 magnification.

 Instead of doing that you could make use of the external material inset.

Does the external inset has a in-LyX preview as a graphics inset by
now?

Otherwise I would still recommend the method proposed in the LyX wiki
(and used by me with success in 1.5.x and 1.6.x):

Define a new file type SVG and conversions for SVG-PDF and SVG-EPS.

Günter



table of contents in every chapter per chapter

2008-12-29 Thread Jeremy C. Reed
My book needs a separate table of contents within every chapter containing 
the toc entries only for that chapter.

For now I am using labels and pageref. But it not as formatted nicely. And 
since I already have the main table of contents for all chapters at the 
front of the book, I am hoping I can use same routines to have per-chapter 
contents listings.

Any ideas?

Thanks

  Jeremy C. Reed

p.s. I thought there was some current discussion similar to this, but 
can't find that now.


Re: table of contents in every chapter per chapter

2008-12-29 Thread Typhoon
On Mon, 29 Dec 2008 17:42:24 -0600 (CST)
Jeremy C. Reed r...@reedmedia.net wrote:

 My book needs a separate table of contents within every chapter
 containing the toc entries only for that chapter.
 
 For now I am using labels and pageref. But it not as formatted
 nicely. And since I already have the main table of contents for all
 chapters at the front of the book, I am hoping I can use same
 routines to have per-chapter contents listings.

Try the minitoc package. It has some problems with some document
classes (e.g., it doesn't play nicely with the Memoir class) but it
does what you are asking.

HTH,
Alan

 
 Any ideas?
 
 Thanks
 
   Jeremy C. Reed
 
 p.s. I thought there was some current discussion similar to this, but 
 can't find that now.
 


Re: table of contents in every chapter per chapter

2008-12-29 Thread Steve Litt
On Monday 29 December 2008 06:42:24 pm Jeremy C. Reed wrote:
 My book needs a separate table of contents within every chapter containing
 the toc entries only for that chapter.

 For now I am using labels and pageref. But it not as formatted nicely. And
 since I already have the main table of contents for all chapters at the
 front of the book, I am hoping I can use same routines to have per-chapter
 contents listings.

 Any ideas?

 Thanks

   Jeremy C. Reed

 p.s. I thought there was some current discussion similar to this, but
 can't find that now.

That would be soo kewl in a nonfiction book!

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US



Re: I need tips on including SVG images

2008-12-29 Thread Abdelrazak Younes

Steve Litt wrote:

On Sunday 28 December 2008 10:13:45 am you wrote:
  

On 28/12/2008 05:29, Steve Litt wrote:


On Saturday 20 December 2008 12:30:17 pm Steve Litt wrote:
  

Hi all,

Today for the first time I was able to incorporate an SVG image into a
LyX drawing. I'm using LyX 1.5.6. Developers -- thank you so much!


I meant a LyX doc.

Anyway, yesterday I noticed that my .svg graphic pixellated when the
resulting pdf  was viewed at anything besides 100%. The text in the
graphic (it was a diagram) was hard to read even though it was big
enough.

So I converted the svg to a .pdf and included the .pdf in the LyX
diagram, and the resulting document .pdf looked good at any
magnification.
  

Instead of doing that you could make use of the external material inset.
LyX is distributed with a template for XFig drawing that works quite well.

Abdel.



Thanks Abdel,

Where would I learn more about that?
  
Have a look in /usr/local/share/lyx/external_templates if you installed 
LyX in /usr/local/. There have been some substantial improvement related 
to external inset in 1.6 so you might be interested to upgrade. I think 
this is documented in the Customization manual.
If you create a template for Inskape, please consider contributing it, 
we might include it in next 1.6.x release.


You know it's funny -- every year I know everything there was to know about 
LyX 2 years ago :-)
  


That's the greatest thing of life, you can never stop to learn ;-)

Cheers,
Abdel.




Re: hanging par strange behavior

2008-12-29 Thread Ignacio García
rgheck wrote:
>> Just missed it. But the patch is here:
>>   http://www.lyx.org/trac/changeset/27882
>> and is easily applied oneself.

Done. It works fine.
Thanks to all
Ignacio García


Re: Problem when i create from template

2008-12-29 Thread Paul A. Rubin

Groupme wrote:

Hi,

I have installed Lyx 1.6 on both WinXP and Ubuntu 8.10.

But when I "new from template...",  I select one of template but it alert
that "The layout file requested by this document, hollywood.layout, is not
usable. This is probably because a Latex class or style file required by is
not available. See the Customization documentation for more information. Lyx
will not be able to produce output."

Then I "Tools->Reconfigure", it also complains "Lyx: System reconfiguration
failed. Default textclass is used but LyX may not be able to work properly.
Please reconfigure again if needed"

Could anybody help me on this problem? thanks  in advance!



Does reconfiguration fail on both XP and Ubuntu, or just one of them? 
The most common cause of reconfiguration failure is a problem with your 
LaTeX installation (which by default is TeXLive on Ubuntu, and probably 
is MiKTeX on XP).  As a quick check, open a command shell in each system 
and run 'latex --version' and 'kpsewhich article.cls'.  The former 
should report a version for the LaTeX command and the latter should 
report the location of the article LaTeX class.  If they fail, either 
you don't have a working LaTeX installation or the LaTeX program files 
are not on your system's default command path.


/Paul



Re: Inserting display formula

2008-12-29 Thread Paul A. Rubin

Giorgio Zavarise wrote:
I have a perhaps simple problem, but I am not able to solve it: when you 
insert a display formula you can either press first a carriage return, 
or not. If you press a carriage return this corresponds into an empty 
line in the LateX file, hence  this results into a bit more space 
between the last text line and the equation itself.
Unfortunately I am not able, looking at a LyX file, to figure out if 
before any display formula there is a carriage return or not. This 
prevent to have a homogeneous style, because usually at the end you have 
some equations that have more space, and other not. To make the cleaning 
the only way I know is to export to LateX and work on that file.


Hence my question is: s there a way in LyX to see this hidden carriage 
return?




Try View > View Source.  If you did not hit enter before the formula, \[ 
will be contiguous with the end of the preceding text; if you did, you 
will see a blank line between the preceding text and \[.


/Paul



underbar with greek letter

2008-12-29 Thread Marvin
Hi,
I am having trouble to display underbar with a greek letter, for example,
\underbar{\sigma}, the generated PDF is fine, but lyx just won't render it
on screen.
thanks
marvin


Re: configuring jurabib

2008-12-29 Thread cmiramon
jezZiFeR wrote:

> Thank you, so I don?t need to try to get it working.
> 
> Would you really recommend to use biblatex? Is it stable and does it
> provide german terms also? Seems a lot of work an I even don?t get the
> first (pre-)step done. In the wiki I find the following sentence:

Yes. Having used jurabib for several years, I have switched to biblatex and
it is better. Jurabib is also a dead project. If you are starting a long
project (Ms or Phd or big article) go down the biblatex road, if you are on
a short deadline, keep jurabib.

By googling your example, you seem to be working in music history. Try 
Dominik Wassenhoven's biblatex styles
(http://biblatex.dominik-wassenhoven.de/). They are done for the German
humanities style and I guess you can adapt it to your taste. 


> 
> »create an new layout file in your user directory (Help?About LyX tells
> you where you can find this directory)?«
> 
> I could openthe user directory, but I don?t see any layout-file. Or is
> meant sth different? I Don?t have »About Lyx« in my help-menu.
> 

It is the last item of the Help Menu.

Cheers,
Charles



Re: I need tips on including SVG images

2008-12-29 Thread Guenter Milde
On 2008-12-28, Abdelrazak Younes wrote:
> On 28/12/2008 05:29, Steve Litt wrote:
>> On Saturday 20 December 2008 12:30:17 pm Steve Litt wrote:

>>> Today for the first time I was able to incorporate an SVG image
...
>> Anyway, yesterday I noticed that my .svg graphic pixellated when the
>> resulting pdf was viewed at anything besides 100%. 
...
>> So I converted the svg to a .pdf and included the .pdf in the LyX
>> diagram, and the resulting document .pdf looked good at any
>> magnification.

> Instead of doing that you could make use of the external material inset.

Does the external inset has a "in-LyX preview" as a graphics inset by
now?

Otherwise I would still recommend the method proposed in the LyX wiki
(and used by me with success in 1.5.x and 1.6.x):

Define a new file type SVG and conversions for SVG->PDF and SVG->EPS.

Günter



table of contents in every chapter per chapter

2008-12-29 Thread Jeremy C. Reed
My book needs a separate table of contents within every chapter containing 
the toc entries only for that chapter.

For now I am using labels and pageref. But it not as formatted nicely. And 
since I already have the main table of contents for all chapters at the 
front of the book, I am hoping I can use same routines to have per-chapter 
contents listings.

Any ideas?

Thanks

  Jeremy C. Reed

p.s. I thought there was some current discussion similar to this, but 
can't find that now.


Re: table of contents in every chapter per chapter

2008-12-29 Thread Typhoon
On Mon, 29 Dec 2008 17:42:24 -0600 (CST)
"Jeremy C. Reed"  wrote:

> My book needs a separate table of contents within every chapter
> containing the toc entries only for that chapter.
> 
> For now I am using labels and pageref. But it not as formatted
> nicely. And since I already have the main table of contents for all
> chapters at the front of the book, I am hoping I can use same
> routines to have per-chapter contents listings.

Try the minitoc package. It has some problems with some document
classes (e.g., it doesn't play nicely with the Memoir class) but it
does what you are asking.

HTH,
Alan

> 
> Any ideas?
> 
> Thanks
> 
>   Jeremy C. Reed
> 
> p.s. I thought there was some current discussion similar to this, but 
> can't find that now.
> 


Re: table of contents in every chapter per chapter

2008-12-29 Thread Steve Litt
On Monday 29 December 2008 06:42:24 pm Jeremy C. Reed wrote:
> My book needs a separate table of contents within every chapter containing
> the toc entries only for that chapter.
>
> For now I am using labels and pageref. But it not as formatted nicely. And
> since I already have the main table of contents for all chapters at the
> front of the book, I am hoping I can use same routines to have per-chapter
> contents listings.
>
> Any ideas?
>
> Thanks
>
>   Jeremy C. Reed
>
> p.s. I thought there was some current discussion similar to this, but
> can't find that now.

That would be soo kewl in a nonfiction book!

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US