Commit ffe8553a authored by Ingo Heimbach's avatar Ingo Heimbach

The LaTeX writer handles embedded images as standard images

Images are always embedded in the output PDF file, so embedded images
can be handled like normal images.
parent ab6cba3d
__version_info__ = (0, 1, 5)
__version_info__ = (0, 1, 6)
__version__ = '.'.join(map(str, __version_info__))
......@@ -19,6 +19,7 @@ except:
from docutils.core import publish_cmdline
from docutils.parsers.rst import directives
from docutils.parsers.rst.directives.images import Image
from ..directives import CodeBlock, Tikz, TikzFigure, set_output_mode
......@@ -36,6 +37,7 @@ def main():
set_output_mode("latex")
for directive_name in ("code", "code-block"):
directives.register_directive(directive_name, CodeBlock)
directives.register_directive("embedded-image", Image)
directives.register_directive("tikz", Tikz)
directives.register_directive("tikz-figure", TikzFigure)
publish_cmdline(writer_name="latex", description=description)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment