Re: Program Listings

2022-01-13 Thread Joel Kulesza via lyx-users
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

Re: Program Listings

2022-01-13 Thread Dr Eberhard Lisse via lyx-users
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

Re: Program Listings

2022-01-13 Thread Joseph Hesse via lyx-users
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

Re: Program Listings

2022-01-13 Thread Paul A. Rubin via lyx-users
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

Re: Program Listings

2022-01-13 Thread Herbert Voss via lyx-users
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

Re: Program Listings

2022-01-13 Thread Dr Eberhard Lisse via lyx-users
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