I've altered the epub template to display more information. It works fine, except when I specify images that refer to a local file. e.g. <img src = "my_file.png">. The code is there in the epub, but the image file isn't.
How to include images from the epub template with pandoc?
441 Views Asked by Thierry At
1
There are 1 best solutions below
Related Questions in PANDOC
- How to reinstall pandoc after removing .cabal?
- katexR not rendering in rmarkdown
- Pandoc - HTML to Markdown not processing nested unordered lists correctly
- How do I get (LaTeX math) typeset matrix with borders in HTML output from *.Rmd?
- Mathematics not working when converting from LaTeX to docx (through markdown) using pandoc
- How to use Python filter with Pandoc to convert md with tikz to html on Windows 8.1
- Remove white space between html tags php
- How to emphasize column names (header) when using pandoc in R
- Is there a way to make doxygen use pandoc as the markdown parser?
- Generate a pandoc table without repeated values
- Creating a footer for every page (including first!) using R markdown
- LaTeX engine crashes if MiKTeX installed after RStudio
- Convert markdown to reStructuredtest?
- Creating a presentation with R + markdown + knitr + equations + pandoc + reveal.js
- Pandoc: What are the available syntax highlighters?
Related Questions in EPUB
- Cannot select individual words with fixed layout .epub documents
- css ebook image float
- How to generate .mobi file for Kindle that supports Kindle Reading Speed feature
- how to open epub file in iBook from app
- Uploaded verified local fXL epubs don't open in Google play books
- EPUB Score catching
- UIWebView eBook Cover image not changed?
- Web-view Pagination in Android
- ePub Font Not Rendering In iOS UIWebView Based App
- EPUB: HTML Form value to an existing .XML file
- Fancybox not working on iPad
- configuring to use localStorage as endpoint instead of local server
- Best way to encrypt ePub file
- Is it possible to read epub file without unzipping in iOS
- how to use anfendge epub sdk on android to display an epub file
Related Questions in EPUB3
- How to generate .mobi file for Kindle that supports Kindle Reading Speed feature
- How to add type metadata element in the OPF file?
- Readium Android SDK - Does anyone edit the code of epub3-Library?
- How to block taking screenshot for android app
- ePub 3-Page Spread
- iBooks for OS X cannot scroll div using mouse wheel
- Epub Fixed Layout is not full screen in Portrait
- Epub Resources for 3.0 - Where the best place to learn?
- Pandoc Checklist/Checkbox/Tasklist generation using task_lists Extension doesn't work
- How to prevent @media from breaking the parsing of the CSS file on some Kobo EPUB readers?
- create table of contents in EPUB when converting from docx [pandoc]
- How to prevent screen recording in Epub Viewer on flutter based application IOS and Android?
- How to include images from the epub template with pandoc?
- Prioritising Local Changes
- How to debug scripted ePub3 in iBooks?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Pandoc does not parse the template as HTML, so it misses the
<img>element when collecting media elements for inclusion in the EPUB. A quick and simple work-around is to list the missing images in some unused metadata field. E.g.,Store the above in a file and pass it to pandoc via
--metadata-file. This makes pandoc aware of the file, forcing its inclusion.One could automate it by letting pandoc parse the template and extract the image information, e.g. with a pandoc Lua filter, but that's likely to be more trouble than it's worth.