On Mon, Jan 22, 2018 at 12:17:57AM +0000, ll...@writersglen.com wrote: > > Hello, > > Four questions: > > I'm developing a technical book in which I need to display computer code > listings with normal, bold, and strikeout display, but this doesn't seem > possible with my version of lyx/LaTex. > > I'm using: > > lyx - version 2.2.3 > TexLive 2015 (I think, but don't know how to check) > Ubuntu 16.04 > > My understanding from several hours of web search is that by moving from > TexLive to Xetex or LuaTex and specifying the fontspec package and monospace > font with normal, bold, and strikeout faces, I can solve my problem. > > But this scary prospect raises questions: > > 1) Seems that I need to wipe out all traces of TexLive before I install > either XeTexLuaTex -- is this true?
TeX Live comes with XeTeX and LuaTeX. You can see this on the command line. Just type e.g. lualatex --version > 2) Need to choose either XeTex of LuaTex -- is there a preferred choice or > relevant trade-off? I don't know much, but I think XeTeX is more mature but LuaTeX is under more active development. > 3) Will such drastic surgery put my current *.lyx file at risk? I don't know. LyX does have support for XeTeX and LuaTeX. > 4) Is theree a better/easier way to accomplish my goal? I'm not exactly sure what you want to do. Can you send a minimal example .lyx file to the list that has how you currently type set "computer code". To do strikeout, did you try to go to font properties and specify it? Please respond to the list. Best, Scott
signature.asc
Description: PGP signature