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 listing are located.
What do you mean with "listing are located"? If you do not define it
as a float it will appear at the place where you defined it.
Attached the screenshot of the output of the demo file.
Herbert
I am sorry that I did not state my problem more clearly.
Before even using lyx, I have program code in folders in my computer. I
want to have this code appear in my lyx document.
What I meant was that when I use "Insert -> Program Listing" I do no see
a way to choose the folders on my computer to import these already
written programs into my lyx document.
The only option that gave me that choice was "Insert -> File -> Child
Document" and this seems to work for me except for the color.
Thank you,
Joe
--
lyx-users mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-users