On Thu, Jan 13, 2022 at 10:07 PM Dr Eberhard Lisse via lyx-users <
lyx-users@lists.lyx.org> wrote:
> Joe,
>
> When you open the Insert -> File -> Child Document -> Program Listing
> there should be a window looking something like the enclosed, where you
> can either type the path to the file
Joe,
When you open the Insert -> File -> Child Document -> Program Listing
there should be a window looking something like the enclosed, where you
can either type the path to the file (complete or relative as in this
example) or click the Browse button, find the file and double click it
after
On 1/13/22 21:11, Herbert Voss wrote:
Joseph Hesse via lyx-users schrieb:
On 1/12/22 15:00, Herbert Voss via lyx-users wrote:
Use /Insert -> Program Listing/ option.
I tried what you suggested. I right clicked on the inset and could not
find an option where I could specify where my code
On 1/12/22 7:22 AM, Joseph Hesse via lyx-users wrote:
I am writing a programing book and want to have programs that have
been prepared with a text editor included in the book. This is what I
have done so far.
Insert->File->Child Document
File: CodeListings/Test.cpp
Include Type: Program
Joseph Hesse via lyx-users schrieb:
> On 1/12/22 15:00, Herbert Voss via lyx-users wrote:
>>
>> Use /Insert -> Program Listing/ option.
>>
>
> I tried what you suggested. I right clicked on the inset and could not
> find an option where I could specify where my code listing are located.
What
RTFM of the LaTeX Listings package
I would use a single word for the label or separate ords with ':' ie
something like first:program. If that's the culprit, we should file an
improvement request (ie checking for spaces from within LyX).
Generally speaking attaching a MWE is very helpful, ie the
On 1/12/22 15:00, Herbert Voss via lyx-users wrote:
Am 12.01.22 um 13:22 schrieb Joseph Hesse via lyx-users:
I am writing a programing book and want to have programs that have
been prepared with a text editor included in the book. This is what
I have done so far.
Insert->File->Child
Am 12.01.22 um 13:22 schrieb Joseph Hesse via lyx-users:
I am writing a programing book and want to have programs that have
been prepared with a text editor included in the book. This is what I
have done so far.
Insert->File->Child Document
File: CodeListings/Test.cpp
Include Type:
I am writing a programing book and want to have programs that have been
prepared with a text editor included in the book. This is what I have
done so far.
Insert->File->Child Document
File: CodeListings/Test.cpp
Include Type: Program Listing
Caption: My Caption
Label: First Program
More
Thanks, John. Could you please post here your example?
Paul
On Fri, Dec 4, 2015 at 2:22 PM, John Kane <jrkrid...@gmail.com> wrote:
> http://tex.stackexchange.com/questions/198064/highlighting-a-line-in-program-listings-in-lyx
> seems to work. Or, at least, I got it to work w
t;
>
> On Fri, Dec 4, 2015 at 2:22 PM, John Kane <jrkrid...@gmail.com> wrote:
> >
> http://tex.stackexchange.com/questions/198064/highlighting-a-line-in-program-listings-in-lyx
> > seems to work. Or, at least, I got it to work with about 15 minutes
> > fiddling.
&
te:
>> >
>> > http://tex.stackexchange.com/questions/198064/highlighting-a-line-in-program-listings-in-lyx
>> > seems to work. Or, at least, I got it to work with about 15 minutes
>> > fiddling.
>> >
>> > On 4 December 2015 at 08:00, Paul Smi
http://tex.stackexchange.com/questions/198064/highlighting-a-line-in-program-listings-in-lyx
seems to work. Or, at least, I got it to work with about 15 minutes
fiddling.
On 4 December 2015 at 08:00, Paul Smith <phh...@gmail.com> wrote:
> Dear All,
>
> Is there some wa
Dear All,
Is there some way fo accomplish this in LyX?
Thanks in advance,
Paul
I don't understand why the minus sign - isn't properly converted by latex.
Is there a way to correct this without escaping to latex, as you suggested?
This does not happen with program listings when I try.
The -- construct becomes a long dash only in plain text, not in listings
I don't understand why the minus sign - isn't properly converted by latex.
Is there a way to correct this without escaping to latex, as you suggested?
This does not happen with program listings when I try.
The -- construct becomes a long dash only in plain text, not in listings
>I don't understand why the minus sign "-" isn't properly converted by latex.
>Is there a way to correct this without escaping to latex, as you suggested?
This does not happen with program listings when I try.
The "--" construct becomes a long dash only in p
Hi,
I don't understand why the minus sign - isn't properly converted by latex.
Is there a way to correct this without escaping to latex, as you suggested?
best regards,
rodrigo.
On Sat, Dec 11, 2010 at 3:26 PM, Paul A. Rubin ru...@msu.edu wrote:
Nikos Chantziaras realnc at arcor.de writes:
Hi,
I don't understand why the minus sign - isn't properly converted by latex.
Is there a way to correct this without escaping to latex, as you suggested?
best regards,
rodrigo.
On Sat, Dec 11, 2010 at 3:26 PM, Paul A. Rubin ru...@msu.edu wrote:
Nikos Chantziaras realnc at arcor.de writes:
Hi,
I don't understand why the minus sign "-" isn't properly converted by latex.
Is there a way to correct this without escaping to latex, as you suggested?
best regards,
rodrigo.
On Sat, Dec 11, 2010 at 3:26 PM, Paul A. Rubin wrote:
> Nikos Chantziaras arcor.de> writes:
>
>
Is it possible to have a separator (like a thin line) between columns in
program listings? It just doesn't look right without one; that is, it's
not intuitively apparent that there two columns. Enabling line numbers
helps a lot, but in most cases I don't need line numbering anyway.
Is it possible to have a separator (like a thin line) between columns in
program listings? It just doesn't look right without one; that is, it's
not intuitively apparent that there two columns. Enabling line numbers
helps a lot, but in most cases I don't need line numbering anyway.
Is it possible to have a separator (like a thin line) between columns in
program listings? It just doesn't look right without one; that is, it's
not intuitively apparent that there two columns. Enabling line numbers
helps a lot, but in most cases I don't need line numbering anyway.
2011/1/26 Niko Schwarz niko.schw...@googlemail.com:
Hi, I'm using LyX with the springer LNCS article class. In my previous
work, all the program listings I had to write could reasonably well be
called algorithms, so I used the algorithm class in a float. This
time, they aren't really
2011/1/26 Niko Schwarz niko.schw...@googlemail.com:
Hi, I'm using LyX with the springer LNCS article class. In my previous
work, all the program listings I had to write could reasonably well be
called algorithms, so I used the algorithm class in a float. This
time, they aren't really
2011/1/26 Niko Schwarz <niko.schw...@googlemail.com>:
> Hi, I'm using LyX with the springer LNCS article class. In my previous
> work, all the program listings I had to write could reasonably well be
> called "algorithms," so I used the algorithm class in a float. This
&
Hi, I'm using LyX with the springer LNCS article class. In my previous
work, all the program listings I had to write could reasonably well be
called algorithms, so I used the algorithm class in a float. This
time, they aren't really algorithms, they're just program listings.
So, I'd
Niko Schwarz niko.schwarz at googlemail.com writes:
Hi, I'm using LyX with the springer LNCS article class. In my previous
work, all the program listings I had to write could reasonably well be
called algorithms, so I used the algorithm class in a float. This
time, they aren't really
Hi, I'm using LyX with the springer LNCS article class. In my previous
work, all the program listings I had to write could reasonably well be
called algorithms, so I used the algorithm class in a float. This
time, they aren't really algorithms, they're just program listings.
So, I'd
Niko Schwarz niko.schwarz at googlemail.com writes:
Hi, I'm using LyX with the springer LNCS article class. In my previous
work, all the program listings I had to write could reasonably well be
called algorithms, so I used the algorithm class in a float. This
time, they aren't really
Hi, I'm using LyX with the springer LNCS article class. In my previous
work, all the program listings I had to write could reasonably well be
called "algorithms," so I used the algorithm class in a float. This
time, they aren't really algorithms, they're just program listing
Niko Schwarz googlemail.com> writes:
>
> Hi, I'm using LyX with the springer LNCS article class. In my previous
> work, all the program listings I had to write could reasonably well be
> called "algorithms," so I used the algorithm class in a float. This
> time, t
I'm writing a book using the memoir class, and it has a lot of program
listings.
I'd like to be able to add captions to these that appear with the form Figure
number. However, I don't need to add any text. If you add a caption, you get
Listing number: and then you have to add text
I managed to hack together a way around it using title and things provided by
the listing package.
title={\lstlistingname\space\thelstlisting}
I'm writing a book using the memoir class, and it has a lot of program
listings.
I'd like to be able to add captions to these that appear with the form Figure
number. However, I don't need to add any text. If you add a caption, you get
Listing number: and then you have to add text
I managed to hack together a way around it using title and things provided by
the listing package.
title={\lstlistingname\space\thelstlisting}
I'm writing a book using the memoir class, and it has a lot of program
listings.
I'd like to be able to add captions to these that appear with the form "Figure
". However, I don't need to add any text. If you add a caption, you get
"Listing : " and then you have to add t
I managed to hack together a way around it using title and things provided by
the listing package.
title={\lstlistingname\space\thelstlisting}
Nikos Chantziaras realnc at arcor.de writes:
When inserting a program listing, all - characters in the source code
are converted to long dashes. This results in the C operator --
looking more like a single long line rather than two dashes. (There is
some space between each dash, but
Nikos Chantziaras realnc at arcor.de writes:
When inserting a program listing, all - characters in the source code
are converted to long dashes. This results in the C operator --
looking more like a single long line rather than two dashes. (There is
some space between each dash, but
Nikos Chantziaras arcor.de> writes:
>
> When inserting a program listing, all "-" characters in the source code
> are converted to long dashes. This results in the C operator "--"
> looking more like a single long line rather than two dashes. (There is
> some space between each dash, but
When inserting a program listing, all - characters in the source code
are converted to long dashes. This results in the C operator --
looking more like a single long line rather than two dashes. (There is
some space between each dash, but it's so small it only becomes obvious
when zooming
When inserting a program listing, all - characters in the source code
are converted to long dashes. This results in the C operator --
looking more like a single long line rather than two dashes. (There is
some space between each dash, but it's so small it only becomes obvious
when zooming
When inserting a program listing, all "-" characters in the source code
are converted to long dashes. This results in the C operator "--"
looking more like a single long line rather than two dashes. (There is
some space between each dash, but it's so small it only becomes obvious
when
On 11/22/2010 01:07 AM, Robert J Berger wrote:
I understand I need to update the lstdrvrs.dtx of the listings package to add a
new language.
What I'm not clear about is, once I update the listings package, how do I get
it into LyX (on a Macintosh using LyX-2.0 beta)
You don't need to get it
Would anyone happen to know where the listings.* files are located in MacTeX? I
used spotlight and also looked in the app bundle but couldn't find it...
Thanks!
On Nov 22, 2010, at 7:29 AM, Richard Heck wrote:
On 11/22/2010 01:07 AM, Robert J Berger wrote:
I understand I need to update the
On 11/22/2010 12:49 PM, Robert J Berger wrote:
Would anyone happen to know where the listings.* files are located in MacTeX? I
used spotlight and also looked in the app bundle but couldn't find it...
Try:
kpsewhich listings.sty
That should tell you.
Richard
Am 22.11.2010 um 18:49 schrieb Robert J Berger:
Would anyone happen to know where the listings.* files are located in MacTeX?
I used spotlight and also looked in the app bundle but couldn't find it...
Thanks!
Here it's below /usr/local/texlive
(I'm using MacTeX too).
Stephan
On 11/22/2010 01:07 AM, Robert J Berger wrote:
I understand I need to update the lstdrvrs.dtx of the listings package to add a
new language.
What I'm not clear about is, once I update the listings package, how do I get
it into LyX (on a Macintosh using LyX-2.0 beta)
You don't need to get it
Would anyone happen to know where the listings.* files are located in MacTeX? I
used spotlight and also looked in the app bundle but couldn't find it...
Thanks!
On Nov 22, 2010, at 7:29 AM, Richard Heck wrote:
On 11/22/2010 01:07 AM, Robert J Berger wrote:
I understand I need to update the
On 11/22/2010 12:49 PM, Robert J Berger wrote:
Would anyone happen to know where the listings.* files are located in MacTeX? I
used spotlight and also looked in the app bundle but couldn't find it...
Try:
kpsewhich listings.sty
That should tell you.
Richard
Am 22.11.2010 um 18:49 schrieb Robert J Berger:
Would anyone happen to know where the listings.* files are located in MacTeX?
I used spotlight and also looked in the app bundle but couldn't find it...
Thanks!
Here it's below /usr/local/texlive
(I'm using MacTeX too).
Stephan
On 11/22/2010 01:07 AM, Robert J Berger wrote:
I understand I need to update the lstdrvrs.dtx of the listings package to add a
new language.
What I'm not clear about is, once I update the listings package, how do I get
it into LyX (on a Macintosh using LyX-2.0 beta)
You don't need to get it
Would anyone happen to know where the listings.* files are located in MacTeX? I
used spotlight and also looked in the app bundle but couldn't find it...
Thanks!
On Nov 22, 2010, at 7:29 AM, Richard Heck wrote:
> On 11/22/2010 01:07 AM, Robert J Berger wrote:
>> I understand I need to update
On 11/22/2010 12:49 PM, Robert J Berger wrote:
Would anyone happen to know where the listings.* files are located in MacTeX? I
used spotlight and also looked in the app bundle but couldn't find it...
Try:
kpsewhich listings.sty
That should tell you.
Richard
Am 22.11.2010 um 18:49 schrieb Robert J Berger:
> Would anyone happen to know where the listings.* files are located in MacTeX?
> I used spotlight and also looked in the app bundle but couldn't find it...
>
> Thanks!
Here it's below /usr/local/texlive
(I'm using MacTeX too).
Stephan
I understand I need to update the lstdrvrs.dtx of the listings package to add a
new language.
What I'm not clear about is, once I update the listings package, how do I get
it into LyX (on a Macintosh using LyX-2.0 beta)
I.E. where does that live in the Mac Filesystem if I installed LyX 2.0beta
I understand I need to update the lstdrvrs.dtx of the listings package to add a
new language.
What I'm not clear about is, once I update the listings package, how do I get
it into LyX (on a Macintosh using LyX-2.0 beta)
I.E. where does that live in the Mac Filesystem if I installed LyX 2.0beta
I understand I need to update the lstdrvrs.dtx of the listings package to add a
new language.
What I'm not clear about is, once I update the listings package, how do I get
it into LyX (on a Macintosh using LyX-2.0 beta)
I.E. where does that live in the Mac Filesystem if I installed LyX 2.0beta
Hi! Is it possible to insert references in program listings? I tried to do that
but the button apply is disabled. I tried even to copy and paste a reference but
the reference doesn't appear in the PDF. Is there any reason why this is not
possible?
Thanks!
Luca
* Luca Carlon wrote, On 14/10/09 11:47:
Hi! Is it possible to insert references in program listings? I tried to do that
but the button apply is disabled. I tried even to copy and paste a reference but
the reference doesn't appear in the PDF. Is there any reason why this is not
possible?
Do you
Sam Liddicott s...@... writes:
Do you want to reference other parts of the document or other listings?
If you use newfangle:
http://repo.or.cz/w/newfangle.git
then you can create references between code blocks, or references within
the document to a code block from the document, using
Luca Carlon wrote:
Sam Liddicott s...@... writes:
Do you want to reference other parts of the document or other listings?
If you use newfangle:
http://repo.or.cz/w/newfangle.git
then you can create references between code blocks, or references within
the document to a code block from the
Hi! Is it possible to insert references in program listings? I tried to do that
but the button apply is disabled. I tried even to copy and paste a reference but
the reference doesn't appear in the PDF. Is there any reason why this is not
possible?
Thanks!
Luca
* Luca Carlon wrote, On 14/10/09 11:47:
Hi! Is it possible to insert references in program listings? I tried to do that
but the button apply is disabled. I tried even to copy and paste a reference but
the reference doesn't appear in the PDF. Is there any reason why this is not
possible?
Do you
Sam Liddicott s...@... writes:
Do you want to reference other parts of the document or other listings?
If you use newfangle:
http://repo.or.cz/w/newfangle.git
then you can create references between code blocks, or references within
the document to a code block from the document, using
Luca Carlon wrote:
Sam Liddicott s...@... writes:
Do you want to reference other parts of the document or other listings?
If you use newfangle:
http://repo.or.cz/w/newfangle.git
then you can create references between code blocks, or references within
the document to a code block from the
Hi! Is it possible to insert references in program listings? I tried to do that
but the button apply is disabled. I tried even to copy and paste a reference but
the reference doesn't appear in the PDF. Is there any reason why this is not
possible?
Thanks!
Luca
* Luca Carlon wrote, On 14/10/09 11:47:
Hi! Is it possible to insert references in program listings? I tried to do that
but the button apply is disabled. I tried even to copy and paste a reference but
the reference doesn't appear in the PDF. Is there any reason why this is not
possible?
Do you
Sam Liddicott writes:
> Do you want to reference other parts of the document or other listings?
>
> If you use newfangle:
> http://repo.or.cz/w/newfangle.git
>
> then you can create references between code blocks, or references within
> the document to a code block from the document,
Luca Carlon wrote:
Sam Liddicott writes:
Do you want to reference other parts of the document or other listings?
If you use newfangle:
http://repo.or.cz/w/newfangle.git
then you can create references between code blocks, or references within
the document to a code block from
Hello,
I'm trying ot include a program listing in a beamer presentation. Using just
the simple insert-program listing fails to compile with an error
Paragraph ended before \...@next was complete.
If I set the listing to inline, compilation works but the listing is completely
messed up (lines are
Micha Feigin wrote:
Hello,
I'm trying ot include a program listing in a beamer presentation. Using just
the simple insert-program listing fails to compile with an error
Paragraph ended before \...@next was complete.
If I set the listing to inline, compilation works but the listing is completely
Hello,
I'm trying ot include a program listing in a beamer presentation. Using just
the simple insert-program listing fails to compile with an error
Paragraph ended before \...@next was complete.
If I set the listing to inline, compilation works but the listing is completely
messed up (lines are
Micha Feigin wrote:
Hello,
I'm trying ot include a program listing in a beamer presentation. Using just
the simple insert-program listing fails to compile with an error
Paragraph ended before \...@next was complete.
If I set the listing to inline, compilation works but the listing is completely
Hello,
I'm trying ot include a program listing in a beamer presentation. Using just
the simple insert->program listing fails to compile with an error
Paragraph ended before \...@next was complete.
If I set the listing to inline, compilation works but the listing is completely
messed up (lines are
Micha Feigin wrote:
Hello,
I'm trying ot include a program listing in a beamer presentation. Using just
the simple insert->program listing fails to compile with an error
Paragraph ended before \...@next was complete.
If I set the listing to inline, compilation works but the listing is
[...]
Vincent:
For the time being, you should use C-S- (or whatever key binding you
have for plain quotes).
That is something I should know long ago :-)
Thanks, Nikos
[...]
Vincent:
For the time being, you should use C-S- (or whatever key binding you
have for plain quotes).
That is something I should know long ago :-)
Thanks, Nikos
[...]
Vincent:
> "For the time being, you should use C-S-" (or whatever key binding you
> have for plain quotes)."
That is something I should know long ago :-)
Thanks, Nikos
Dear LyX-users,
I am writing a document in which I am using a lot of program listings.
(Insert - Program Listing). It seems that LyX will not recognize the
double quote character when I type it inside the listing. I can
type in a single quote ' which works fine. When I view source and I
type
G. Jay Kerns schreef:
Dear LyX-users,
I am writing a document in which I am using a lot of program listings.
(Insert - Program Listing). It seems that LyX will not recognize the
double quote character when I type it inside the listing. I can
type in a single quote ' which works fine. When I
Dear Vincent,
This is bug 5782: http://bugzilla.lyx.org/show_bug.cgi?id=5782.
For the time being, you should use C-S- (or whatever key binding you have
for plain quotes).
Vincent
Thanks for the prompt response and reference.
Regards,
Jay
Dear LyX-users,
I am writing a document in which I am using a lot of program listings.
(Insert - Program Listing). It seems that LyX will not recognize the
double quote character when I type it inside the listing. I can
type in a single quote ' which works fine. When I view source and I
type
G. Jay Kerns schreef:
Dear LyX-users,
I am writing a document in which I am using a lot of program listings.
(Insert - Program Listing). It seems that LyX will not recognize the
double quote character when I type it inside the listing. I can
type in a single quote ' which works fine. When I
Dear Vincent,
This is bug 5782: http://bugzilla.lyx.org/show_bug.cgi?id=5782.
For the time being, you should use C-S- (or whatever key binding you have
for plain quotes).
Vincent
Thanks for the prompt response and reference.
Regards,
Jay
Dear LyX-users,
I am writing a document in which I am using a lot of program listings.
(Insert -> Program Listing). It seems that LyX will not recognize the
double quote character " when I type it inside the listing. I can
type in a single quote ' which works fine. When I "view
G. Jay Kerns schreef:
Dear LyX-users,
I am writing a document in which I am using a lot of program listings.
(Insert -> Program Listing). It seems that LyX will not recognize the
double quote character " when I type it inside the listing. I can
type in a single quote ' which works fin
Dear Vincent,
>
> This is bug 5782: http://bugzilla.lyx.org/show_bug.cgi?id=5782.
>
> "For the time being, you should use C-S-" (or whatever key binding you have
> for plain quotes)."
>
> Vincent
>
Thanks for the prompt response and reference.
Regards,
Jay
Dear LyX-users,
I am using LyX 1.6.1 on Ubuntu Intrepid 64.
I have inserted a program listing into an AMSbook document class and
have typed some code in the R language. Everything works fine if I
want the code to be typeset with sans serif font; reserved words are
bolded.
However, if I try to
G. Jay Kerns schrieb:
I changed my fonts in Documents/Settings:
1) I tried both Courier and Beramono, but there was no difference in
the output. What is happening? Is this OS dependent?
Can you please send me a _small_ LyX file to be able to reproduce the problem?
regards Uwe
On 2009-02-06, G. Jay Kerns wrote:
Dear LyX-users,
I am using LyX 1.6.1 on Ubuntu Intrepid 64.
However, if I try to use Typewriter in the settings dialog, it is
correctly shown as typewriter, but the bold is no longer there.
Here's what it says in the documentation, Embedded Objects:
Dear Uwe and lyx-users,
On Fri, Feb 6, 2009 at 10:46 AM, Uwe Stöhr uwesto...@web.de wrote:
G. Jay Kerns schrieb:
I changed my fonts in Documents/Settings:
1) I tried both Courier and Beramono, but there was no difference in
the output. What is happening? Is this OS dependent?
Can you
Dear All,
On Fri, Feb 6, 2009 at 2:12 PM, G. Jay Kerns gke...@ysu.edu wrote:
It would seem that there is something happening with the LyX-Sweave
machinery which is causing the fonts in the Program Listing
environment to not appear bold, even for a reserved word in the R
language. I do not
Dear LyX-users,
I am using LyX 1.6.1 on Ubuntu Intrepid 64.
I have inserted a program listing into an AMSbook document class and
have typed some code in the R language. Everything works fine if I
want the code to be typeset with sans serif font; reserved words are
bolded.
However, if I try to
G. Jay Kerns schrieb:
I changed my fonts in Documents/Settings:
1) I tried both Courier and Beramono, but there was no difference in
the output. What is happening? Is this OS dependent?
Can you please send me a _small_ LyX file to be able to reproduce the problem?
regards Uwe
On 2009-02-06, G. Jay Kerns wrote:
Dear LyX-users,
I am using LyX 1.6.1 on Ubuntu Intrepid 64.
However, if I try to use Typewriter in the settings dialog, it is
correctly shown as typewriter, but the bold is no longer there.
Here's what it says in the documentation, Embedded Objects:
Dear Uwe and lyx-users,
On Fri, Feb 6, 2009 at 10:46 AM, Uwe Stöhr uwesto...@web.de wrote:
G. Jay Kerns schrieb:
I changed my fonts in Documents/Settings:
1) I tried both Courier and Beramono, but there was no difference in
the output. What is happening? Is this OS dependent?
Can you
Dear All,
On Fri, Feb 6, 2009 at 2:12 PM, G. Jay Kerns gke...@ysu.edu wrote:
It would seem that there is something happening with the LyX-Sweave
machinery which is causing the fonts in the Program Listing
environment to not appear bold, even for a reserved word in the R
language. I do not
Dear LyX-users,
I am using LyX 1.6.1 on Ubuntu Intrepid 64.
I have inserted a program listing into an AMSbook document class and
have typed some code in the R language. Everything works fine if I
want the code to be typeset with sans serif font; reserved words are
bolded.
However, if I try to
1 - 100 of 167 matches
Mail list logo