LyXTex variables not expanded in 'export to plain text'

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
vermaudh
Posts: 1
Joined: Thu Mar 31, 2022 1:20 pm

Tex variables not expanded in 'export to plain text'

Post by vermaudh »

I am using lyx 2.1.4
If I add any tex macros ( using Menu-> Insert-> TexCode ), they are not expanded while exporting to plaintext.
There is just whitespace where the expanded macro value is expected.
If I export to PDF (pdflatex) it works fine.

I also tested this with lyx/2.2.4, same issues.
2 questions :
1. Is this a known issue/ if so do we have a fix version ?
2. If anyone knows a possible workaround that I can try?

Any help is much appreciated, thanks.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply