Re: Inconsistent indentation behaviour after LyX-Code and Program Listing Inset

2008-07-19 Thread Paul A. Rubin
Jürgen Spitzmüller wrote: Paul A. Rubin wrote: I saw the patch you proposed on the developer list, and I think it's a reasonable compromise. The only limitation I can see is that users writing in a language that needs multibyte encoding won't be able to embed native language comments in a

Re: Inconsistent indentation behaviour after LyX-Code and Program Listing Inset

2008-07-18 Thread Jürgen Spitzmüller
Paul A. Rubin wrote: The listings package does not require or force the \begingroup + \inputencoding{latin1} + \endgroup commands, nor the two blank lines. The blank lines are purely LyX.   These mark a new paragraph. They are not inserted if you ommit a paragraph break after the listings

Re: Inconsistent indentation behaviour after LyX-Code and Program Listing Inset

2008-07-18 Thread Jürgen Spitzmüller
Paul A. Rubin wrote: The listings package does not require or force the \begingroup + \inputencoding{latin1} + \endgroup commands, nor the two blank lines. The blank lines are purely LyX.   These mark a new paragraph. They are not inserted if you ommit a paragraph break after the listings

Re: Inconsistent indentation behaviour after LyX-Code and Program Listing Inset

2008-07-18 Thread Jürgen Spitzmüller
Paul A. Rubin wrote: > The listings package does not require or force the \begingroup + > \inputencoding{latin1} + \endgroup commands, nor the two blank lines. > The blank lines are purely LyX.   These mark a new paragraph. They are not inserted if you ommit a paragraph break after the listings

Re: Inconsistent indentation behaviour after LyX-Code and Program Listing Inset

2008-07-17 Thread Paul A. Rubin
Álvaro Manuel Recio Pérez wrote: Program listing insets doesn't follow the same rules. Paragraphs after listing insets are indented even if they are conceptually identical to the LyX-Code environment. My questions are: Why does this happen? And, is there a way to globally prevent

Re: Inconsistent indentation behaviour after LyX-Code and Program Listing Inset

2008-07-17 Thread Jürgen Spitzmüller
Paul A. Rubin wrote: I think it's a consequence of LyX setting the input encoding to latin1 (and surrounding the listing with \begingroup ... \endgroup). No, without those, it shows exactly the same behaviour. Still, am I right that forcing latin1 in the listings environment means that you

Re: Inconsistent indentation behaviour after LyX-Code and Program Listing Inset

2008-07-17 Thread Paul A. Rubin
Jürgen Spitzmüller wrote: Paul A. Rubin wrote: I think it's a consequence of LyX setting the input encoding to latin1 (and surrounding the listing with \begingroup ... \endgroup). No, without those, it shows exactly the same behaviour. Not if you also take out the two blank lines that LyX

Re: Inconsistent indentation behaviour after LyX-Code and Program Listing Inset

2008-07-17 Thread Paul A. Rubin
Álvaro Manuel Recio Pérez wrote: Program listing insets doesn't follow the same rules. Paragraphs after listing insets are indented even if they are conceptually identical to the LyX-Code environment. My questions are: Why does this happen? And, is there a way to globally prevent

Re: Inconsistent indentation behaviour after LyX-Code and Program Listing Inset

2008-07-17 Thread Jürgen Spitzmüller
Paul A. Rubin wrote: I think it's a consequence of LyX setting the input encoding to latin1 (and surrounding the listing with \begingroup ... \endgroup). No, without those, it shows exactly the same behaviour. Still, am I right that forcing latin1 in the listings environment means that you

Re: Inconsistent indentation behaviour after LyX-Code and Program Listing Inset

2008-07-17 Thread Paul A. Rubin
Jürgen Spitzmüller wrote: Paul A. Rubin wrote: I think it's a consequence of LyX setting the input encoding to latin1 (and surrounding the listing with \begingroup ... \endgroup). No, without those, it shows exactly the same behaviour. Not if you also take out the two blank lines that LyX

Re: Inconsistent indentation behaviour after LyX-Code and Program Listing Inset

2008-07-17 Thread Paul A. Rubin
Álvaro Manuel Recio Pérez wrote: Program listing insets doesn't follow the same rules. Paragraphs after listing insets are indented even if they are conceptually identical to the LyX-Code environment. My questions are: Why does this happen? And, is there a way to globally prevent

Re: Inconsistent indentation behaviour after LyX-Code and Program Listing Inset

2008-07-17 Thread Jürgen Spitzmüller
Paul A. Rubin wrote: > I think it's a consequence of LyX setting the input encoding to latin1 > (and surrounding the listing with \begingroup ... \endgroup). No, without those, it shows exactly the same behaviour. > Still, am I right that forcing latin1 > in the listings environment means that

Re: Inconsistent indentation behaviour after LyX-Code and Program Listing Inset

2008-07-17 Thread Paul A. Rubin
Jürgen Spitzmüller wrote: Paul A. Rubin wrote: I think it's a consequence of LyX setting the input encoding to latin1 (and surrounding the listing with \begingroup ... \endgroup). No, without those, it shows exactly the same behaviour. Not if you also take out the two blank lines that LyX

Inconsistent indentation behaviour after LyX-Code and Program Listing Inset

2008-07-06 Thread Álvaro Manuel Recio Pérez
, a figure, etc. not indented. A paragraph after LyX-Code are not indented, and it makes sense because the paragraph can be easily told apart form code. Program listing insets doesn't follow the same rules. Paragraphs after listing insets are indented even if they are conceptually identical

Inconsistent indentation behaviour after LyX-Code and Program Listing Inset

2008-07-06 Thread Álvaro Manuel Recio Pérez
, a figure, etc. not indented. A paragraph after LyX-Code are not indented, and it makes sense because the paragraph can be easily told apart form code. Program listing insets doesn't follow the same rules. Paragraphs after listing insets are indented even if they are conceptually identical

Inconsistent indentation behaviour after LyX-Code and Program Listing Inset

2008-07-06 Thread Álvaro Manuel Recio Pérez
, a figure, etc. not indented. A paragraph after LyX-Code are not indented, and it makes sense because the paragraph can be easily told apart form code. Program listing insets doesn't follow the same rules. Paragraphs after listing insets are indented even if they are conceptually identical

Error when using ticks in lyx-code or program listing

2008-06-10 Thread Rune Schjellerup Philosof
I'm using Lyx 1.5.4 in Windows Vista (official installer on top of an installed unofficial, because pdf thingie didn't work in Vista). When I try to insert ` or ´ in lyx-code or program listing the document won't compile. Actually nothing at all happens when I click any of the button

Re: Error when using ticks in lyx-code or program listing

2008-06-10 Thread Paul A. Rubin
Rune Schjellerup Philosof wrote: I'm using Lyx 1.5.4 in Windows Vista (official installer on top of an installed unofficial, because pdf thingie didn't work in Vista). When I try to insert ` or ´ in lyx-code or program listing the document won't compile. Actually nothing at all happens when I

Error when using ticks in lyx-code or program listing

2008-06-10 Thread Rune Schjellerup Philosof
I'm using Lyx 1.5.4 in Windows Vista (official installer on top of an installed unofficial, because pdf thingie didn't work in Vista). When I try to insert ` or ´ in lyx-code or program listing the document won't compile. Actually nothing at all happens when I click any of the button

Re: Error when using ticks in lyx-code or program listing

2008-06-10 Thread Paul A. Rubin
Rune Schjellerup Philosof wrote: I'm using Lyx 1.5.4 in Windows Vista (official installer on top of an installed unofficial, because pdf thingie didn't work in Vista). When I try to insert ` or ´ in lyx-code or program listing the document won't compile. Actually nothing at all happens when I

Error when using ticks in lyx-code or program listing

2008-06-10 Thread Rune Schjellerup Philosof
I'm using Lyx 1.5.4 in Windows Vista ("official" installer on top of an installed "unofficial", because pdf thingie didn't work in Vista). When I try to insert ` or ´ in lyx-code or program listing the document won't compile. Actually nothing at all happens when I cli

Re: Error when using ticks in lyx-code or program listing

2008-06-10 Thread Paul A. Rubin
Rune Schjellerup Philosof wrote: I'm using Lyx 1.5.4 in Windows Vista ("official" installer on top of an installed "unofficial", because pdf thingie didn't work in Vista). When I try to insert ` or ´ in lyx-code or program listing the document won't compile. Actually no

Re: [lyx 1.5.3 ubuntu hardy] No caption using the program listing feature

2008-05-02 Thread Jürgen Spitzmüller
Axel Pospischil wrote: What am I doing wrong? How can I get numberd program listings without copying from the users-guide? 1. Insert-Program Listing 2. Insert-Caption Jürgen

Re: [lyx 1.5.3 ubuntu hardy] No caption using the program listing feature

2008-05-02 Thread Axel Pospischil
Jürgen Spitzmüller: 1. Insert-Program Listing 2. Insert-Caption Never ever before noticed this feature ;) But (german) documentation should be updated - i'll post a comment on the doc list. Thanks a lot

Re: [lyx 1.5.3 ubuntu hardy] No caption using the program listing feature

2008-05-02 Thread Jürgen Spitzmüller
Axel Pospischil wrote: What am I doing wrong? How can I get numberd program listings without copying from the users-guide? 1. Insert-Program Listing 2. Insert-Caption Jürgen

Re: [lyx 1.5.3 ubuntu hardy] No caption using the program listing feature

2008-05-02 Thread Axel Pospischil
Jürgen Spitzmüller: 1. Insert-Program Listing 2. Insert-Caption Never ever before noticed this feature ;) But (german) documentation should be updated - i'll post a comment on the doc list. Thanks a lot

Re: [lyx 1.5.3 ubuntu hardy] No caption using the program listing feature

2008-05-02 Thread Jürgen Spitzmüller
Axel Pospischil wrote: > What am I doing wrong? > How can I get numberd program listings without copying from the > users-guide? 1. Insert->Program Listing 2. Insert->Caption Jürgen

Re: [lyx 1.5.3 ubuntu hardy] No caption using the program listing feature

2008-05-02 Thread Axel Pospischil
>Jürgen Spitzmüller: > 1. Insert->Program Listing > 2. Insert->Caption Never ever before noticed this feature ;) But (german) documentation should be updated - i'll post a comment on the doc list. Thanks a lot

[lyx 1.5.3 ubuntu hardy] No caption using the program listing feature

2008-05-01 Thread Axel Pospischil
Hello, i am having some weird behaviour using the program listing environment. Using Lyx 1.5.3 under Ubuntu 8.04. Also tested the debian version 1.5.4 backport) both with the same problem. Also tested on opensuse 10.3 (lyx 1.5.2) with the same result. Looking at the (german) users-guide, i'll

[lyx 1.5.3 ubuntu hardy] No caption using the program listing feature

2008-05-01 Thread Axel Pospischil
Hello, i am having some weird behaviour using the program listing environment. Using Lyx 1.5.3 under Ubuntu 8.04. Also tested the debian version 1.5.4 backport) both with the same problem. Also tested on opensuse 10.3 (lyx 1.5.2) with the same result. Looking at the (german) users-guide, i'll

[lyx 1.5.3 ubuntu hardy] No caption using the program listing feature

2008-05-01 Thread Axel Pospischil
Hello, i am having some weird behaviour using the program listing environment. Using Lyx 1.5.3 under Ubuntu 8.04. Also tested the debian version 1.5.4 backport) both with the same problem. Also tested on opensuse 10.3 (lyx 1.5.2) with the same result. Looking at the (german) users-guide, i'll

Re: Different program listing styles

2008-03-17 Thread Jürgen Spitzmüller
Dominik Böhm wrote:  Please do not use 1.6.0svn for any serious work. It is simply not ready. I have been using 1.6.0svn since 1,5 months for my diploma thesis and it has been working really great, yet. This program listing problem is the first serious problem that I am experiencing

Re: Different program listing styles

2008-03-17 Thread Dominik Böhm
. This program listing problem is the first serious problem that I am experiencing with 1.6.0svn. So, I would say for me is it ready, but maybe I am not using all the features. Nevertheless: It's a development version, and even if it's working rather well currently, it might be break

Re: Different program listing styles

2008-03-17 Thread Jürgen Spitzmüller
Dominik Böhm wrote:  Please do not use 1.6.0svn for any serious work. It is simply not ready. I have been using 1.6.0svn since 1,5 months for my diploma thesis and it has been working really great, yet. This program listing problem is the first serious problem that I am experiencing

Re: Different program listing styles

2008-03-17 Thread Dominik Böhm
. This program listing problem is the first serious problem that I am experiencing with 1.6.0svn. So, I would say for me is it ready, but maybe I am not using all the features. Nevertheless: It's a development version, and even if it's working rather well currently, it might be break

Re: Different program listing styles

2008-03-17 Thread Jürgen Spitzmüller
Dominik Böhm wrote: > >  Please do not use 1.6.0svn for any serious work. It is simply not ready. > > I have been using 1.6.0svn since 1,5 months for my diploma thesis and > it has been working really great, yet. This program listing problem is > the first "serious" pr

Re: Different program listing styles

2008-03-17 Thread Dominik Böhm
gt; > it has been working really great, yet. This program listing problem is > > the first "serious" problem that I am experiencing with 1.6.0svn. So, > > I would say for me is it ready, but maybe I am not using all the > > features. > > Nevertheless: It's a dev

Different program listing styles

2008-03-16 Thread Dominik Böhm
Hello, I would like to use the program listing inset for Java-Code, XML-Code and some custom code and was wondering, if it's possible to define different styles for it. So, how can I differentiate between a Java-Code listing and an XML-Code listing? The highlighting will be different and maybe I

Re: Different program listing styles

2008-03-16 Thread Paul A. Rubin
Dominik Böhm wrote: Hello, I would like to use the program listing inset for Java-Code, XML-Code and some custom code and was wondering, if it's possible to define different styles for it. So, how can I differentiate between a Java-Code listing and an XML-Code listing? The highlighting

Re: Different program listing styles

2008-03-16 Thread Dominik Böhm
Thanks for your quick answer, Paul. On Sun, Mar 16, 2008 at 5:25 PM, Paul A. Rubin [EMAIL PROTECTED] wrote: Dominik Böhm wrote: Insert - Program Listing, then right click the handle of the listing widget. Select your language (Java or XML) from the list on the main settings tab (lower

Re: Different program listing styles

2008-03-16 Thread Bo Peng
Maybe it's a bug in LyX 1.6.0svn: I don't find the handle of the listing inset. When I right click on it, the popup menu has only one option No action defined!. What am I missing? Please do not use 1.6.0svn for any serious work. It is simply not ready. Bo

Re: Different program listing styles

2008-03-16 Thread Bo Peng
I hope there is another solution that doing it with an ERT-inset... Insert - Program Listing, In case you do not know, inset-file-child document-listings allows you to insert files (or lines of files), and you can set global listings parameters in document-settings. There are many options

Re: Different program listing styles

2008-03-16 Thread Dominik Böhm
serious work. It is simply not ready. I have been using 1.6.0svn since 1,5 months for my diploma thesis and it has been working really great, yet. This program listing problem is the first serious problem that I am experiencing with 1.6.0svn. So, I would say for me is it ready, but maybe I am

Re: Different program listing styles

2008-03-16 Thread Bo Peng
This program listing problem is the first serious problem that I am experiencing with 1.6.0svn. So, I would say for me is it ready, but maybe I am not using all the features. Right now, the context dialog is overridden by context menu (a new feature of 1.6.x). This should be fixed soon

Different program listing styles

2008-03-16 Thread Dominik Böhm
Hello, I would like to use the program listing inset for Java-Code, XML-Code and some custom code and was wondering, if it's possible to define different styles for it. So, how can I differentiate between a Java-Code listing and an XML-Code listing? The highlighting will be different and maybe I

Re: Different program listing styles

2008-03-16 Thread Paul A. Rubin
Dominik Böhm wrote: Hello, I would like to use the program listing inset for Java-Code, XML-Code and some custom code and was wondering, if it's possible to define different styles for it. So, how can I differentiate between a Java-Code listing and an XML-Code listing? The highlighting

Re: Different program listing styles

2008-03-16 Thread Dominik Böhm
Thanks for your quick answer, Paul. On Sun, Mar 16, 2008 at 5:25 PM, Paul A. Rubin [EMAIL PROTECTED] wrote: Dominik Böhm wrote: Insert - Program Listing, then right click the handle of the listing widget. Select your language (Java or XML) from the list on the main settings tab (lower

Re: Different program listing styles

2008-03-16 Thread Bo Peng
Maybe it's a bug in LyX 1.6.0svn: I don't find the handle of the listing inset. When I right click on it, the popup menu has only one option No action defined!. What am I missing? Please do not use 1.6.0svn for any serious work. It is simply not ready. Bo

Re: Different program listing styles

2008-03-16 Thread Bo Peng
I hope there is another solution that doing it with an ERT-inset... Insert - Program Listing, In case you do not know, inset-file-child document-listings allows you to insert files (or lines of files), and you can set global listings parameters in document-settings. There are many options

Re: Different program listing styles

2008-03-16 Thread Dominik Böhm
serious work. It is simply not ready. I have been using 1.6.0svn since 1,5 months for my diploma thesis and it has been working really great, yet. This program listing problem is the first serious problem that I am experiencing with 1.6.0svn. So, I would say for me is it ready, but maybe I am

Re: Different program listing styles

2008-03-16 Thread Bo Peng
This program listing problem is the first serious problem that I am experiencing with 1.6.0svn. So, I would say for me is it ready, but maybe I am not using all the features. Right now, the context dialog is overridden by context menu (a new feature of 1.6.x). This should be fixed soon

Different program listing styles

2008-03-16 Thread Dominik Böhm
Hello, I would like to use the program listing inset for Java-Code, XML-Code and some custom code and was wondering, if it's possible to define different styles for it. So, how can I differentiate between a Java-Code listing and an XML-Code listing? The highlighting will be different and maybe I

Re: Different program listing styles

2008-03-16 Thread Paul A. Rubin
Dominik Böhm wrote: Hello, I would like to use the program listing inset for Java-Code, XML-Code and some custom code and was wondering, if it's possible to define different styles for it. So, how can I differentiate between a Java-Code listing and an XML-Code listing? The highlighting

Re: Different program listing styles

2008-03-16 Thread Dominik Böhm
Thanks for your quick answer, Paul. On Sun, Mar 16, 2008 at 5:25 PM, Paul A. Rubin <[EMAIL PROTECTED]> wrote: > Dominik Böhm wrote: > Insert -> Program Listing, then right click the "handle" of the listing > widget. Select your language (Java or XML) from the list

Re: Different program listing styles

2008-03-16 Thread Bo Peng
> Maybe it's a bug in LyX 1.6.0svn: I don't find the "handle" of the > listing inset. When I right click on it, the popup menu has only one > option "No action defined!". What am I missing? Please do not use 1.6.0svn for any serious work. It is simply not ready. Bo

Re: Different program listing styles

2008-03-16 Thread Bo Peng
> > I hope there is another solution that doing it with an ERT-inset... > > Insert -> Program Listing, In case you do not know, inset->file->child document->listings allows you to insert files (or lines of files), and you can set global listings parameters in document-&g

Re: Different program listing styles

2008-03-16 Thread Dominik Böhm
;. What am I missing? > > Please do not use 1.6.0svn for any serious work. It is simply not ready. I have been using 1.6.0svn since 1,5 months for my diploma thesis and it has been working really great, yet. This program listing problem is the first "serious" problem that I am ex

Re: Different program listing styles

2008-03-16 Thread Bo Peng
> This program listing problem is > the first "serious" problem that I am experiencing with 1.6.0svn. So, > I would say for me is it ready, but maybe I am not using all the > features. Right now, the context dialog is overridden by context menu (a new feature of 1.6.x)

Program Listing Parameters

2007-11-27 Thread Graham Griffiths
The program listing feature is very useful and I wonder if there is some documentation available showing how to set parameters under the advanced tab. I have inserted ? to get a list of parameters. Fine! The list includes fillcolor that I wish to use. On inserting fillcolor the user

Re: Program Listing Parameters

2007-11-27 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
The documentation of this package is very well done : see at http://www.pvv.ntnu.no/~berland/latex/docs/listings.pdf Siegfried

Re: Program Listing Parameters

2007-11-27 Thread Graham Griffiths
Graham Griffiths [EMAIL PROTECTED] writes: The program listing feature is very useful and I wonder if there is some documentation available showing how to set parameters under the advanced tab. I have manged to eliminate the error message by including a parameter statement of the form

Re: Program Listing Parameters

2007-11-27 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
You need the color LaTeX package. Siegfried.

Re: Program Listing Parameters

2007-11-27 Thread Graham Griffiths
Siegfried MEUNIER-GUTTIN-CLUZEL [EMAIL PROTECTED] writes: The documentation of this package is very well done : see at http://www.pvv.ntnu.no/~berland/latex/docs/listings.pdf Siegfried Hi Siegfried. I defined the color 'lightblue' and then used backgroundcolor={\color {lightblue}} and

Program Listing Parameters

2007-11-27 Thread Graham Griffiths
The program listing feature is very useful and I wonder if there is some documentation available showing how to set parameters under the advanced tab. I have inserted ? to get a list of parameters. Fine! The list includes fillcolor that I wish to use. On inserting fillcolor the user

Re: Program Listing Parameters

2007-11-27 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
The documentation of this package is very well done : see at http://www.pvv.ntnu.no/~berland/latex/docs/listings.pdf Siegfried

Re: Program Listing Parameters

2007-11-27 Thread Graham Griffiths
Graham Griffiths [EMAIL PROTECTED] writes: The program listing feature is very useful and I wonder if there is some documentation available showing how to set parameters under the advanced tab. I have manged to eliminate the error message by including a parameter statement of the form

Re: Program Listing Parameters

2007-11-27 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
You need the color LaTeX package. Siegfried.

Re: Program Listing Parameters

2007-11-27 Thread Graham Griffiths
Siegfried MEUNIER-GUTTIN-CLUZEL [EMAIL PROTECTED] writes: The documentation of this package is very well done : see at http://www.pvv.ntnu.no/~berland/latex/docs/listings.pdf Siegfried Hi Siegfried. I defined the color 'lightblue' and then used backgroundcolor={\color {lightblue}} and

Program Listing Parameters

2007-11-27 Thread Graham Griffiths
The program listing feature is very useful and I wonder if there is some documentation available showing how to set parameters under the advanced tab. I have inserted ? to get a list of parameters. Fine! The list includes "fillcolor" that I wish to use. On inserting fillcolo

Re: Program Listing Parameters

2007-11-27 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
The documentation of this package is very well done : see at http://www.pvv.ntnu.no/~berland/latex/docs/listings.pdf Siegfried

Re: Program Listing Parameters

2007-11-27 Thread Graham Griffiths
Graham Griffiths <[EMAIL PROTECTED]> writes: > > The program listing feature is very useful and I wonder if there is some > documentation available showing how to set parameters under the advanced tab. I have manged to eliminate the error message by including a parameter statem

Re: Program Listing Parameters

2007-11-27 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
You need the color LaTeX package. Siegfried.

Re: Program Listing Parameters

2007-11-27 Thread Graham Griffiths
Siegfried MEUNIER-GUTTIN-CLUZEL <[EMAIL PROTECTED]> writes: > > The documentation of this package is very well done : see at > > http://www.pvv.ntnu.no/~berland/latex/docs/listings.pdf > > Siegfried Hi Siegfried. I defined the color 'lightblue' and then used backgroundcolor={\color

<    1   2   3