Am 30.03.26 um 18:05 schrieb Herbert Voss via lyx-users:
Am 30.03.26 um 16:22 schrieb matan via lyx-users:
Hello everyone,
I've converted a bunch of EPUB files i have into RTF in hope to
import them into LyX in a way that preserves the spacing, newlines,
and paragraphs of the original EPUB file.
From my understanding RTF file do all of this but i've found out I
cant just import those (it's not listed as one of theoptions when
importing).
So I was hoping someone here might have an insight into this matter.
try this:
- write into the preamble of the document:
|\DeclareGraphicsExtensions{.rtf, .pdf, .eps, .png}
\DeclareGraphicsRule{.rtf}{pdf}{}{`convert #1 'pdf:-'}|
uh, my mailer did the wrong formatting! Should be
\DeclareGraphicsExtensions{.rtf, .pdf, .eps, .png}
\DeclareGraphicsRule{.rtf}{pdf}{}{`convert #1 'pdf:-'
Herbert
- then insert the image as usual
- and last but not least youu have to enable the optional argument
pdflatex --shell-escape ...
can be set with the options inside LyX
for the program convert you need an installes ImageMagik (available
for all systems)
There may only be a problem with a missing bounding box. Then you
have a problem ... because you have to define it by hand or set ir
by convert
Herbert
--
lyx-users mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-users