publishing:lyx
Table of Contents
LyX
Preferences
The main LyX configuration file preferences is located in directory ~/.lyx (Linux) or for example in ~/Library/Application Support/LyX-2.4 (macOS).
Some notes with respect to the CONVERTER section
- Variables
- $$i: input file of converter
- $$o: output file of converter
- $$p: path to (temp.) directory which is used for conversion
- $$b: file name without extension (as
basename) - $$r: path to directory where the original LyX file is located
- $$s: path to system directory of LyX, e.g.
/usr/local/bin/lyx - $$e: used encoding
- Flags
latex:xml:originaldir: seems to be unsupported since version 2.xneedaux: converter needs the.auxfileresultdir=<dir>: converter puts all files in <dir>>. Using resultdir is same asresultdir=$$Basename.1)resultfile=<file>: name of main file in result directory, e.g.index.htmlparselog:
Troubleshooting
- If EPS images are not shown this might be caused by the security policy of ImageMagick. To solve this problem you must change file
/etc/ImageMagick-6/policy.xmlaccording to Debian wiki. For example add/change:<policy domain="coder" rights="read|write" pattern="PS" /> <policy domain="coder" rights="read|write" pattern="PS2" /> <policy domain="coder" rights="read|write" pattern="PS3" /> <policy domain="coder" rights="read|write" pattern="EPS" /> <policy domain="coder" rights="read|write" pattern="PDF" /> <policy domain="coder" rights="read|write" pattern="XPS" />
1)
Note: When exporting, the whole directory will be moved from the temporary directory to the target directory.
publishing/lyx.txt · Last modified: by Ralf Hoppe
