Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/pandocPublic

LaTeX reader: filename without extension in \includegraphics #4933

Closed
@bbc2

Description

@bbc2

The followingfoo.tex compiles withpdflatex but notpandoc:

\documentclass{article}\usepackage{graphicx}\title{Foo}\begin{document}\includegraphics{bar}\end{document}

Directory layout:

.├── bar.png└── foo.tex

Pandoc command:

> pandoc --self-contained foo.tex --output foo.htmlFile bar not found in resource path

Expected result: no error.

Without--self-contained, the output is also unexpected (missing.png extension):

<p><imgsrc="bar"alt="image"/></p>

Version:

> pandoc --versionpandoc 2.2.3.2Compiled with pandoc-types 1.17.5.1, texmath 0.11.1, skylighting 0.7.3Default user data directory: /home/bertrand/.pandocCopyright (C) 2006-2018 John MacFarlaneWeb:  http://pandoc.orgThis is free software; see the source for copying conditions.There is no warranty, not even for merchantability or fitnessfor a particular purpose.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp