Re: OT. Insert [lyx] into the Subject

2008-09-23 Thread Andre Poenitz
On Mon, Sep 22, 2008 at 04:55:05PM +0200, [EMAIL PROTECTED] wrote:
 Hi mailing list admin, 
 
 Just a minor request.  As many other mailing lists, I think it would
 be handy if your  listserver would insert [lyx] into the subject
 field.  It would help me a lot in order to filter/sort/order  my
 incoming mails much faster.

Well, discussion about list administration is by definition not
off-topic.

However:
 
 why not?

Because filtering works already well on the sender/receiver lines,
and some people (including me) did not want to waste 6 characters
worth of horizontal real estate on the subject lines to state 
what is clear from context.

Andre'


Re: RC2 and graphics, follow up

2008-09-23 Thread G Milde
Hellmut Weber [EMAIL PROTECTED] schrieb:

 Viewing with kpdf is quite slow too, somebody sugested that may be a 
 problem of graphic format conversion.
 Which format does lyx use? I could easily convert all my pictures to 
 that format using convert. Then no additional time would be needed.

The converted images are chached, so this would not really matter. You might
have a look at the chache configuration in ToolsSettings, though.

OTOH, kpdf is quite slow -- especially if you are not using KDE. Setting
this to xpdf, say, in the ToolsSettingsFormatsPDF* variants might speed
things up.

 In some cases two pictures which should be on a line are put on 
 different lines and the need a whole page, i.e. the first picture is at 
 the beginning of the upper half of a page, the second one in the lower 
 half of the page, right justified.

Looks like your pictures are too wide (or you have a space inbetween: 50%
+ 50% + space  100% ;-). As automatic line-breaking is not shown in LyX,
you see this only in the output.

 I could overcome this problem putting the picturers in one big minipage, 
 then the two pictures which should stay beside each other in two single 
 minipages which again are put in a minipage for the line.

In the minipage, if the pictures do not fit on the line, they have no
chance to sort otherwise, so the line will become too long (have a look
at the overfull line warnings in the DocumentLaTeX_log).

Günter



Re: New LyX user, problem with uncodable characters

2008-09-23 Thread G Milde
Nikos Alexandris [EMAIL PROTECTED] schrieb:

 2. While trying to export the document to pdf I get twice the LyX:
 Uncodable characters in listings inset \ The following characters in one
 of the program listings are not representable in the current encoding
 and have been omitted: -. #It's kind of a long dash!

Well, the '-' you posted here is the ASCII dash (002D   HYPHEN-MINUS) that
should not pose problems. Did you copy and past it from the log?

 After pressing OK the pdf is produced and viewed properly. Since I
 have lots of Program Listing insets it's hard to tell where or what this
 character is (?).

If you could copy the actual character from the log, you could examine with
e.g. gucharmap or the `unicode` command. Or just search and replace it in
the *.lyx source file in a text editor.

 4. How do I create a custom summary environment (e.g. chapter summary)
 an add it in the book document class?

On 1.6 it would be most easy to read about the layout modules in
HelpCustomization.

Günter



Re: New LyX user, problem with uncodable characters

2008-09-23 Thread Nikos Alexandris
On Tue, 2008-09-23 at 07:45 +0200, Jean-Marc Lasgouttes wrote:
  Yes!! It worked :-) Now I executed ChkTeX and I got a huge list of
  ChkTeX warnings. As I read in the documentation they can be ignored...
  (hopefully!). Or is my problem somewhere within those?
 
 What kind of warnings do you get? I am somehow maintainer of chktex  
 these days, and
 I am interested in feedback about what could be improved.
 
 JMarc

Hi!

All warnings are ChkTeX warning id # xy. Where xy are 18, 13, 36, 12,
11, 13, 36, ... 11, 16, 17.
They are too many and I cant copy paste them! Is there an error log?

Three examples:

ChkTeX warning id # 18
Use either `` or '' as an alternative to `'.

ChkTeX warning id # 13
Intersentence spacing (`\@') should perhaps be used.

ChkTeX warning id # 36
You should put a space in front of parenthesis.

Another thing I just noticed while reading the Extended documentation,
there is no Error under Navigate nor a View  Remove All Error
Boxes menu item.

Kind regards,
Nikos



Re: Lyx 1.5.4 lof caption length

2008-09-23 Thread Daniel Lohmann


On 23.09.2008, at 04:43, Fil wrote:


Hi Daniel,

Thanks for your quick reply. Your suggestion is what I was hoping  
for and i added it to the

preamble, but I get a lot of errors which I otherwise didn't have.

My setup is I have a main file the calls up all my other chapters.  
I'm assuming that the
modifications only need to be done for the main call up file, I did  
try to include it in the other

files just in case but it didn't have any effect.


Yes, it is supposed to be in the master document's preamble.

The errors I get are listed below and checking the latex log it  
looks like a lot of undefined
references are missing }, I have references listed in the figure  
captions to so maybe its not

recognising this properly?


I just tried, references in the captions are no problem here. It may,  
however, have to do with the LaTeX class and how it defines \caption  
and so on. I am using koma-script (srcbook).



About 40 errors, mostly -paragraph ended before \takeshort was  
complete
Latex log say suspect forgotten } ...which may be related to the  
references in caption as a lot of

these are listed.


Are you sure you have a full stop (.) somewhere in the caption? I  
only get the paragraph ended before \takeshort was complete when I  
forgot to add a full stop. Maybe you have to adapt the \takeshort  
macro definition to better reflect your situation.




Also- latex error: not in outer par mode, in latex log says  
\begin{figure}[h] you've lost some text


And -latex error:\begin{figure} on imput line 485 ended by  
\end{document}


If it looks like its going to be a lot more complicated then I may  
just do the longer method

previously mention in my first email.


Well, having to manually change 60 or more captions might well be  
worth the effort to look for a more engineering-like solution :-)


Daniel


Re: OT. Insert [lyx] into the Subject

2008-09-23 Thread Christian Ridderström

On Tue, 23 Sep 2008, Andre Poenitz wrote:


why not?


Because filtering works already well on the sender/receiver lines, and 
some people (including me) did not want to waste 6 characters worth of 
horizontal real estate on the subject lines to state what is clear from 
context.


I agree with André, but would like to add that the news interface (gmane) 
is an alternative way to interact with the LyX lists. Here's the web 
interface:


http://news.gmane.org/gmane.editors.lyx.general

regards
/Christian

PS. I use a separate news reader instead of the web interface when 
reading/posting to the lists.


--
Christian Ridderström, +46-8-768 39 44http://www.md.kth.se/~chr


Re: RC2 and graphics, follow up

2008-09-23 Thread Pavel Sanda
 (I observed my watch a few times RC2 needed around 25-30 seconds from the 
 moment I clicked the OK button of the inset-image-dialog, 1.5.0 needs 
 certainly less than 5 seconds. No representative sample ;-)

ugh. is this waiting done by cpu usage or swapping?

i just nearly freezed my box from swapping trying to reproduce the problem.
just took ~100 pictures i played little bit with resizing them. finally
after kill -9 of lyx instance i had only little memory. top showed that
X server consumes several hundres of mb. i remember we have some kind of
such report in bugzilla. bouncing to devel.

pavel


Modifying bibliography page headers to be lowercase

2008-09-23 Thread Tim Harris

Hi everyone,

I'm using LyX to write up my Thesis and was wondering if there is a 
simple way to make the BIBLIOGRAPHY text appear as Bibliography in 
the top right heading of all the bibliography pages.


I'm using the report document class, the fancy page style, and the 
unsrt bibliography style.


I've tried playing with the \chaptermark and \rhead commands to no 
avail.


The only technique that I've managed to find documented on the internet 
involves redefining the \thebibliography command, which seems a bit 
unnecessary.


Any hints would be greatly appreciated.

Many Thanks,

Tim


Location of packages

2008-09-23 Thread Ehud Kaplan

I am trying to Lyx a file, but I am getting the error:

*Latex error: File 'xcolor.sty' not found.*

I have placed the xcolor.sty file in a folder  a folder called xcolor in 
/usr/share/texmf-texlive/tex/latex/xcolor


I ran texconfigure and texhash.

I am running Kubuntu 8.04 with tex-live

How do I make it known to Lyx and Latex that the file is actually where 
it is supposed to be?


Thanks,

E. Kaplan


Autoscaling figures on print-out/export?

2008-09-23 Thread Nikos Alexandris
Dear LyX-ers,

here is my second post seeking for an answer concerning the way that
figures are printed-out (in a pdf let's say). Most of my images which
I have put in floats exceed the page margins I have set. Isn't there any
autoscaling option? Could or is there a way to check all figures in the
document and get a warning like figure XYZ will exceed the current page
margins?

If this is really a limitation then one needs to measure the
resolution/size of the image(s) that needs to paste in the document (?).

Thank you,
Nikos



Re: Autoscaling figures on print-out/export?

2008-09-23 Thread Nikos Alexandris
On Wed, 2008-09-24 at 02:15 +0200, Nikos Alexandris wrote:
 Dear LyX-ers,
 
 here is my second post seeking for an answer concerning the way that
 figures are printed-out (in a pdf let's say). Most of my images which
 I have put in floats exceed the page margins I have set. Isn't there any
 autoscaling option? Could or is there a way to check all figures in the
 document and get a warning like figure XYZ will exceed the current page
 margins?
 
 If this is really a limitation then one needs to measure the
 resolution/size of the image(s) that needs to paste in the document (?).
 
 Thank you,
 Nikos

OK,

I found it (using the Output size settings of course!!). It was not so clear to 
me in the beginning and I did not find any exact reference for these settings 
in the User's guide, the Extended, the Tutorial, the FAQ... but I missed the 
Embedded Objects!

Regards,
Nikos



Re: Modifying bibliography page headers to be lowercase

2008-09-23 Thread rgheck

Tim Harris wrote:

Hi everyone,

I'm using LyX to write up my Thesis and was wondering if there is a 
simple way to make the BIBLIOGRAPHY text appear as Bibliography in 
the top right heading of all the bibliography pages.


I'm using the report document class, the fancy page style, and the 
unsrt bibliography style.


I've tried playing with the \chaptermark and \rhead commands to no 
avail.


The only technique that I've managed to find documented on the 
internet involves redefining the \thebibliography command, which 
seems a bit unnecessary.


I don't know for sure, but I'm guessing that the bibliography 
environment in report redefines the page style itself, which is why your 
attempts all fail. If so, then there are limits to what you can do 
without getting deep into the LaTeX, e.g., using \renewenvironment to 
undo whatever report.cls is doing. But that can be done, and it isn't 
really that hard. You just have to copy the declaration from report.cls 
and modify it as you wish.


rh



Re: Location of packages

2008-09-23 Thread rgheck

Ehud Kaplan wrote:

I am trying to Lyx a file, but I am getting the error:

*Latex error: File 'xcolor.sty' not found.*

I have placed the xcolor.sty file in a folder  a folder called xcolor 
in /usr/share/texmf-texlive/tex/latex/xcolor


I ran texconfigure and texhash.

I am running Kubuntu 8.04 with tex-live

How do I make it known to Lyx and Latex that the file is actually 
where it is supposed to be?


Does kpsewhich xcolor.sty report that it sees the file? I'm guessing 
it does not. You may need to re-run texhash. Did you do so as root? Only 
root can modify the ls-R files for the system directories.


rh



Re: OT. Insert [lyx] into the Subject

2008-09-23 Thread Andre Poenitz
On Mon, Sep 22, 2008 at 04:55:05PM +0200, [EMAIL PROTECTED] wrote:
 Hi mailing list admin, 
 
 Just a minor request.  As many other mailing lists, I think it would
 be handy if your  listserver would insert [lyx] into the subject
 field.  It would help me a lot in order to filter/sort/order  my
 incoming mails much faster.

Well, discussion about list administration is by definition not
off-topic.

However:
 
 why not?

Because filtering works already well on the sender/receiver lines,
and some people (including me) did not want to waste 6 characters
worth of horizontal real estate on the subject lines to state 
what is clear from context.

Andre'


Re: RC2 and graphics, follow up

2008-09-23 Thread G Milde
Hellmut Weber [EMAIL PROTECTED] schrieb:

 Viewing with kpdf is quite slow too, somebody sugested that may be a 
 problem of graphic format conversion.
 Which format does lyx use? I could easily convert all my pictures to 
 that format using convert. Then no additional time would be needed.

The converted images are chached, so this would not really matter. You might
have a look at the chache configuration in ToolsSettings, though.

OTOH, kpdf is quite slow -- especially if you are not using KDE. Setting
this to xpdf, say, in the ToolsSettingsFormatsPDF* variants might speed
things up.

 In some cases two pictures which should be on a line are put on 
 different lines and the need a whole page, i.e. the first picture is at 
 the beginning of the upper half of a page, the second one in the lower 
 half of the page, right justified.

Looks like your pictures are too wide (or you have a space inbetween: 50%
+ 50% + space  100% ;-). As automatic line-breaking is not shown in LyX,
you see this only in the output.

 I could overcome this problem putting the picturers in one big minipage, 
 then the two pictures which should stay beside each other in two single 
 minipages which again are put in a minipage for the line.

In the minipage, if the pictures do not fit on the line, they have no
chance to sort otherwise, so the line will become too long (have a look
at the overfull line warnings in the DocumentLaTeX_log).

Günter



Re: New LyX user, problem with uncodable characters

2008-09-23 Thread G Milde
Nikos Alexandris [EMAIL PROTECTED] schrieb:

 2. While trying to export the document to pdf I get twice the LyX:
 Uncodable characters in listings inset \ The following characters in one
 of the program listings are not representable in the current encoding
 and have been omitted: -. #It's kind of a long dash!

Well, the '-' you posted here is the ASCII dash (002D   HYPHEN-MINUS) that
should not pose problems. Did you copy and past it from the log?

 After pressing OK the pdf is produced and viewed properly. Since I
 have lots of Program Listing insets it's hard to tell where or what this
 character is (?).

If you could copy the actual character from the log, you could examine with
e.g. gucharmap or the `unicode` command. Or just search and replace it in
the *.lyx source file in a text editor.

 4. How do I create a custom summary environment (e.g. chapter summary)
 an add it in the book document class?

On 1.6 it would be most easy to read about the layout modules in
HelpCustomization.

Günter



Re: New LyX user, problem with uncodable characters

2008-09-23 Thread Nikos Alexandris
On Tue, 2008-09-23 at 07:45 +0200, Jean-Marc Lasgouttes wrote:
  Yes!! It worked :-) Now I executed ChkTeX and I got a huge list of
  ChkTeX warnings. As I read in the documentation they can be ignored...
  (hopefully!). Or is my problem somewhere within those?
 
 What kind of warnings do you get? I am somehow maintainer of chktex  
 these days, and
 I am interested in feedback about what could be improved.
 
 JMarc

Hi!

All warnings are ChkTeX warning id # xy. Where xy are 18, 13, 36, 12,
11, 13, 36, ... 11, 16, 17.
They are too many and I cant copy paste them! Is there an error log?

Three examples:

ChkTeX warning id # 18
Use either `` or '' as an alternative to `'.

ChkTeX warning id # 13
Intersentence spacing (`\@') should perhaps be used.

ChkTeX warning id # 36
You should put a space in front of parenthesis.

Another thing I just noticed while reading the Extended documentation,
there is no Error under Navigate nor a View  Remove All Error
Boxes menu item.

Kind regards,
Nikos



Re: Lyx 1.5.4 lof caption length

2008-09-23 Thread Daniel Lohmann


On 23.09.2008, at 04:43, Fil wrote:


Hi Daniel,

Thanks for your quick reply. Your suggestion is what I was hoping  
for and i added it to the

preamble, but I get a lot of errors which I otherwise didn't have.

My setup is I have a main file the calls up all my other chapters.  
I'm assuming that the
modifications only need to be done for the main call up file, I did  
try to include it in the other

files just in case but it didn't have any effect.


Yes, it is supposed to be in the master document's preamble.

The errors I get are listed below and checking the latex log it  
looks like a lot of undefined
references are missing }, I have references listed in the figure  
captions to so maybe its not

recognising this properly?


I just tried, references in the captions are no problem here. It may,  
however, have to do with the LaTeX class and how it defines \caption  
and so on. I am using koma-script (srcbook).



About 40 errors, mostly -paragraph ended before \takeshort was  
complete
Latex log say suspect forgotten } ...which may be related to the  
references in caption as a lot of

these are listed.


Are you sure you have a full stop (.) somewhere in the caption? I  
only get the paragraph ended before \takeshort was complete when I  
forgot to add a full stop. Maybe you have to adapt the \takeshort  
macro definition to better reflect your situation.




Also- latex error: not in outer par mode, in latex log says  
\begin{figure}[h] you've lost some text


And -latex error:\begin{figure} on imput line 485 ended by  
\end{document}


If it looks like its going to be a lot more complicated then I may  
just do the longer method

previously mention in my first email.


Well, having to manually change 60 or more captions might well be  
worth the effort to look for a more engineering-like solution :-)


Daniel


Re: OT. Insert [lyx] into the Subject

2008-09-23 Thread Christian Ridderström

On Tue, 23 Sep 2008, Andre Poenitz wrote:


why not?


Because filtering works already well on the sender/receiver lines, and 
some people (including me) did not want to waste 6 characters worth of 
horizontal real estate on the subject lines to state what is clear from 
context.


I agree with André, but would like to add that the news interface (gmane) 
is an alternative way to interact with the LyX lists. Here's the web 
interface:


http://news.gmane.org/gmane.editors.lyx.general

regards
/Christian

PS. I use a separate news reader instead of the web interface when 
reading/posting to the lists.


--
Christian Ridderström, +46-8-768 39 44http://www.md.kth.se/~chr


Re: RC2 and graphics, follow up

2008-09-23 Thread Pavel Sanda
 (I observed my watch a few times RC2 needed around 25-30 seconds from the 
 moment I clicked the OK button of the inset-image-dialog, 1.5.0 needs 
 certainly less than 5 seconds. No representative sample ;-)

ugh. is this waiting done by cpu usage or swapping?

i just nearly freezed my box from swapping trying to reproduce the problem.
just took ~100 pictures i played little bit with resizing them. finally
after kill -9 of lyx instance i had only little memory. top showed that
X server consumes several hundres of mb. i remember we have some kind of
such report in bugzilla. bouncing to devel.

pavel


Modifying bibliography page headers to be lowercase

2008-09-23 Thread Tim Harris

Hi everyone,

I'm using LyX to write up my Thesis and was wondering if there is a 
simple way to make the BIBLIOGRAPHY text appear as Bibliography in 
the top right heading of all the bibliography pages.


I'm using the report document class, the fancy page style, and the 
unsrt bibliography style.


I've tried playing with the \chaptermark and \rhead commands to no 
avail.


The only technique that I've managed to find documented on the internet 
involves redefining the \thebibliography command, which seems a bit 
unnecessary.


Any hints would be greatly appreciated.

Many Thanks,

Tim


Location of packages

2008-09-23 Thread Ehud Kaplan

I am trying to Lyx a file, but I am getting the error:

*Latex error: File 'xcolor.sty' not found.*

I have placed the xcolor.sty file in a folder  a folder called xcolor in 
/usr/share/texmf-texlive/tex/latex/xcolor


I ran texconfigure and texhash.

I am running Kubuntu 8.04 with tex-live

How do I make it known to Lyx and Latex that the file is actually where 
it is supposed to be?


Thanks,

E. Kaplan


Autoscaling figures on print-out/export?

2008-09-23 Thread Nikos Alexandris
Dear LyX-ers,

here is my second post seeking for an answer concerning the way that
figures are printed-out (in a pdf let's say). Most of my images which
I have put in floats exceed the page margins I have set. Isn't there any
autoscaling option? Could or is there a way to check all figures in the
document and get a warning like figure XYZ will exceed the current page
margins?

If this is really a limitation then one needs to measure the
resolution/size of the image(s) that needs to paste in the document (?).

Thank you,
Nikos



Re: Autoscaling figures on print-out/export?

2008-09-23 Thread Nikos Alexandris
On Wed, 2008-09-24 at 02:15 +0200, Nikos Alexandris wrote:
 Dear LyX-ers,
 
 here is my second post seeking for an answer concerning the way that
 figures are printed-out (in a pdf let's say). Most of my images which
 I have put in floats exceed the page margins I have set. Isn't there any
 autoscaling option? Could or is there a way to check all figures in the
 document and get a warning like figure XYZ will exceed the current page
 margins?
 
 If this is really a limitation then one needs to measure the
 resolution/size of the image(s) that needs to paste in the document (?).
 
 Thank you,
 Nikos

OK,

I found it (using the Output size settings of course!!). It was not so clear to 
me in the beginning and I did not find any exact reference for these settings 
in the User's guide, the Extended, the Tutorial, the FAQ... but I missed the 
Embedded Objects!

Regards,
Nikos



Re: Modifying bibliography page headers to be lowercase

2008-09-23 Thread rgheck

Tim Harris wrote:

Hi everyone,

I'm using LyX to write up my Thesis and was wondering if there is a 
simple way to make the BIBLIOGRAPHY text appear as Bibliography in 
the top right heading of all the bibliography pages.


I'm using the report document class, the fancy page style, and the 
unsrt bibliography style.


I've tried playing with the \chaptermark and \rhead commands to no 
avail.


The only technique that I've managed to find documented on the 
internet involves redefining the \thebibliography command, which 
seems a bit unnecessary.


I don't know for sure, but I'm guessing that the bibliography 
environment in report redefines the page style itself, which is why your 
attempts all fail. If so, then there are limits to what you can do 
without getting deep into the LaTeX, e.g., using \renewenvironment to 
undo whatever report.cls is doing. But that can be done, and it isn't 
really that hard. You just have to copy the declaration from report.cls 
and modify it as you wish.


rh



Re: Location of packages

2008-09-23 Thread rgheck

Ehud Kaplan wrote:

I am trying to Lyx a file, but I am getting the error:

*Latex error: File 'xcolor.sty' not found.*

I have placed the xcolor.sty file in a folder  a folder called xcolor 
in /usr/share/texmf-texlive/tex/latex/xcolor


I ran texconfigure and texhash.

I am running Kubuntu 8.04 with tex-live

How do I make it known to Lyx and Latex that the file is actually 
where it is supposed to be?


Does kpsewhich xcolor.sty report that it sees the file? I'm guessing 
it does not. You may need to re-run texhash. Did you do so as root? Only 
root can modify the ls-R files for the system directories.


rh



Re: OT. Insert [lyx] into the Subject

2008-09-23 Thread Andre Poenitz
On Mon, Sep 22, 2008 at 04:55:05PM +0200, [EMAIL PROTECTED] wrote:
> Hi mailing list admin, 
> 
> Just a minor request.  As many other mailing lists, I think it would
> be handy if your  listserver would insert [lyx] into the subject
> field.  It would help me a lot in order to filter/sort/order  my
> incoming mails much faster.

Well, discussion about list administration is by definition not
off-topic.

However:
 
> why not?

Because filtering works already well on the sender/receiver lines,
and some people (including me) did not want to waste 6 characters
worth of horizontal real estate on the subject lines to state 
what is clear from context.

Andre'


Re: RC2 and graphics, follow up

2008-09-23 Thread G Milde
Hellmut Weber <[EMAIL PROTECTED]> schrieb:

> Viewing with kpdf is quite slow too, somebody sugested that may be a 
> problem of graphic format conversion.
> Which format does lyx use? I could easily convert all my pictures to 
> that format using convert. Then no additional time would be needed.

The converted images are chached, so this would not really matter. You might
have a look at the chache configuration in Tools>Settings, though.

OTOH, kpdf is quite slow -- especially if you are not using KDE. Setting
this to xpdf, say, in the Tools>Settings>Formats>PDF* variants might speed
things up.

> In some cases two pictures which should be on a line are put on 
> different lines and the need a whole page, i.e. the first picture is at 
> the beginning of the upper half of a page, the second one in the lower 
> half of the page, right justified.

Looks like your pictures are too wide (or you have a space inbetween: 50%
+ 50% + space > 100% ;-). As automatic line-breaking is not shown in LyX,
you see this only in the output.

> I could overcome this problem putting the picturers in one big minipage, 
> then the two pictures which should stay beside each other in two single 
> minipages which again are put in a minipage for the "line".

In the minipage, if the pictures do not fit on the line, they have no
chance to sort otherwise, so the line will become too long (have a look
at the "overfull line" warnings in the Document>LaTeX_log).

Günter



Re: New LyX user, problem with "uncodable characters"

2008-09-23 Thread G Milde
Nikos Alexandris <[EMAIL PROTECTED]> schrieb:

> 2. While trying to export the document to pdf I get twice the "LyX:
> Uncodable characters in listings inset \ The following characters in one
> of the program listings are not representable in the current encoding
> and have been omitted: -." #It's kind of a long dash!

Well, the '-' you posted here is the ASCII dash (002D   HYPHEN-MINUS) that
should not pose problems. Did you copy and past it from the log?

> After pressing "OK" the pdf is produced and viewed properly. Since I
> have lots of Program Listing insets it's hard to tell where or what this
> character is (?).

If you could copy the actual character from the log, you could examine with
e.g. gucharmap or the `unicode` command. Or just search and replace it in
the *.lyx source file in a text editor.

> 4. How do I create a custom "summary" environment (e.g. chapter summary)
> an add it in the "book" document class?

On 1.6 it would be most easy to read about the layout modules in
Help>Customization.

Günter



Re: New LyX user, problem with "uncodable characters"

2008-09-23 Thread Nikos Alexandris
On Tue, 2008-09-23 at 07:45 +0200, Jean-Marc Lasgouttes wrote:
> > Yes!! It worked :-) Now I executed ChkTeX and I got a huge list of
> > ChkTeX warnings. As I read in the documentation they can be ignored...
> > (hopefully!). Or is my "problem" somewhere within those?
> 
> What kind of warnings do you get? I am somehow maintainer of chktex  
> these days, and
> I am interested in feedback about what could be improved.
> 
> JMarc

Hi!

All warnings are "ChkTeX warning id # xy". Where xy are 18, 13, 36, 12,
11, 13, 36, ... 11, 16, 17.
They are too many and I cant copy paste them! Is there an error log?

Three examples:

ChkTeX warning id # 18
Use either `` or '' as an alternative to `"'.

ChkTeX warning id # 13
Intersentence spacing (`\@') should perhaps be used.

ChkTeX warning id # 36
You should put a space in front of parenthesis.

Another thing I just noticed while reading the Extended documentation,
there is no "Error" under "Navigate" nor a "View > Remove All Error
Boxes" menu item.

Kind regards,
Nikos



Re: Lyx 1.5.4 lof caption length

2008-09-23 Thread Daniel Lohmann


On 23.09.2008, at 04:43, Fil wrote:


Hi Daniel,

Thanks for your quick reply. Your suggestion is what I was hoping  
for and i added it to the

preamble, but I get a lot of errors which I otherwise didn't have.

My setup is I have a main file the calls up all my other chapters.  
I'm assuming that the
modifications only need to be done for the main call up file, I did  
try to include it in the other

files just in case but it didn't have any effect.


Yes, it is supposed to be in the master document's preamble.

The errors I get are listed below and checking the latex log it  
looks like a lot of undefined
references are missing }, I have references listed in the figure  
captions to so maybe its not

recognising this properly?


I just tried, references in the captions are no problem here. It may,  
however, have to do with the LaTeX class and how it defines \caption  
and so on. I am using koma-script (srcbook).



About 40 errors, mostly -paragraph ended before \takeshort was  
complete
Latex log say suspect forgotten } ...which may be related to the  
references in caption as a lot of

these are listed.


Are you sure you have a full stop (".") somewhere in the caption? I  
only get the "paragraph ended before \takeshort was complete" when I  
forgot to add a full stop. Maybe you have to adapt the \takeshort  
macro definition to better reflect your situation.




Also- latex error: not in outer par mode, in latex log says  
\begin{figure}[h] you've lost some text


And -latex error:\begin{figure} on imput line 485 ended by  
\end{document}


If it looks like its going to be a lot more complicated then I may  
just do the longer method

previously mention in my first email.


Well, having to manually change 60 or more captions might well be  
worth the effort to look for a more engineering-like solution :-)


Daniel


Re: OT. Insert [lyx] into the Subject

2008-09-23 Thread Christian Ridderström

On Tue, 23 Sep 2008, Andre Poenitz wrote:


why not?


Because filtering works already well on the sender/receiver lines, and 
some people (including me) did not want to waste 6 characters worth of 
horizontal real estate on the subject lines to state what is clear from 
context.


I agree with André, but would like to add that the news interface (gmane) 
is an alternative way to interact with the LyX lists. Here's the web 
interface:


http://news.gmane.org/gmane.editors.lyx.general

regards
/Christian

PS. I use a separate news reader instead of the web interface when 
reading/posting to the lists.


--
Christian Ridderström, +46-8-768 39 44http://www.md.kth.se/~chr


Re: RC2 and graphics, follow up

2008-09-23 Thread Pavel Sanda
> (I observed my watch a few times RC2 needed around 25-30 seconds from the 
> moment I clicked the OK button of the inset-image-dialog, 1.5.0 needs 
> certainly less than 5 seconds. No representative sample ;-)

ugh. is this waiting done by cpu usage or swapping?

i just nearly freezed my box from swapping trying to reproduce the problem.
just took ~100 pictures i played little bit with resizing them. finally
after kill -9 of lyx instance i had only little memory. top showed that
X server consumes several hundres of mb. i remember we have some kind of
such report in bugzilla. bouncing to devel.

pavel


Modifying bibliography page headers to be lowercase

2008-09-23 Thread Tim Harris

Hi everyone,

I'm using LyX to write up my Thesis and was wondering if there is a 
simple way to make the "BIBLIOGRAPHY" text appear as "Bibliography" in 
the top right heading of all the bibliography pages.


I'm using the "report" document class, the "fancy" page style, and the 
"unsrt" bibliography style.


I've tried playing with the "\chaptermark" and "\rhead" commands to no 
avail.


The only technique that I've managed to find documented on the internet 
involves redefining the "\thebibliography" command, which seems a bit 
unnecessary.


Any hints would be greatly appreciated.

Many Thanks,

Tim


Location of packages

2008-09-23 Thread Ehud Kaplan

I am trying to Lyx a file, but I am getting the error:

*Latex error: File 'xcolor.sty' not found.*

I have placed the xcolor.sty file in a folder  a folder called xcolor in 
/usr/share/texmf-texlive/tex/latex/xcolor


I ran texconfigure and texhash.

I am running Kubuntu 8.04 with tex-live

How do I make it known to Lyx and Latex that the file is actually where 
it is supposed to be?


Thanks,

E. Kaplan


Autoscaling figures on print-out/export?

2008-09-23 Thread Nikos Alexandris
Dear LyX-ers,

here is my second post seeking for an answer concerning the way that
figures are "printed-out" (in a pdf let's say). Most of my images which
I have put in floats exceed the page margins I have set. Isn't there any
autoscaling option? Could or is there a way to check all figures in the
document and get a warning like "figure XYZ will exceed the current page
margins"?

If this is really a limitation then one needs to measure the
resolution/size of the image(s) that needs to paste in the document (?).

Thank you,
Nikos



Re: Autoscaling figures on print-out/export?

2008-09-23 Thread Nikos Alexandris
On Wed, 2008-09-24 at 02:15 +0200, Nikos Alexandris wrote:
> Dear LyX-ers,
> 
> here is my second post seeking for an answer concerning the way that
> figures are "printed-out" (in a pdf let's say). Most of my images which
> I have put in floats exceed the page margins I have set. Isn't there any
> autoscaling option? Could or is there a way to check all figures in the
> document and get a warning like "figure XYZ will exceed the current page
> margins"?
> 
> If this is really a limitation then one needs to measure the
> resolution/size of the image(s) that needs to paste in the document (?).
> 
> Thank you,
> Nikos

OK,

I found it (using the Output size settings of course!!). It was not so clear to 
me in the beginning and I did not find any exact reference for these settings 
in the User's guide, the Extended, the Tutorial, the FAQ... but I missed the 
Embedded Objects!

Regards,
Nikos



Re: Modifying bibliography page headers to be lowercase

2008-09-23 Thread rgheck

Tim Harris wrote:

Hi everyone,

I'm using LyX to write up my Thesis and was wondering if there is a 
simple way to make the "BIBLIOGRAPHY" text appear as "Bibliography" in 
the top right heading of all the bibliography pages.


I'm using the "report" document class, the "fancy" page style, and the 
"unsrt" bibliography style.


I've tried playing with the "\chaptermark" and "\rhead" commands to no 
avail.


The only technique that I've managed to find documented on the 
internet involves redefining the "\thebibliography" command, which 
seems a bit unnecessary.


I don't know for sure, but I'm guessing that the bibliography 
environment in report redefines the page style itself, which is why your 
attempts all fail. If so, then there are limits to what you can do 
without getting deep into the LaTeX, e.g., using \renewenvironment to 
undo whatever report.cls is doing. But that can be done, and it isn't 
really that hard. You just have to copy the declaration from report.cls 
and modify it as you wish.


rh



Re: Location of packages

2008-09-23 Thread rgheck

Ehud Kaplan wrote:

I am trying to Lyx a file, but I am getting the error:

*Latex error: File 'xcolor.sty' not found.*

I have placed the xcolor.sty file in a folder  a folder called xcolor 
in /usr/share/texmf-texlive/tex/latex/xcolor


I ran texconfigure and texhash.

I am running Kubuntu 8.04 with tex-live

How do I make it known to Lyx and Latex that the file is actually 
where it is supposed to be?


Does "kpsewhich xcolor.sty" report that it sees the file? I'm guessing 
it does not. You may need to re-run texhash. Did you do so as root? Only 
root can modify the ls-R files for the system directories.


rh