-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LaTeX reader not including the results from \input (or anything thereafter) #1882
Comments
What version of pandoc are you using? Recent versions do process Are the included files in the directory from which you run pandoc? +++ Peter Harpending [Jan 15 15 18:44 ]:
|
@jgm 1.13.2 , which is the latest version in Hackage. |
What about my other question? Are the files to be included +++ Peter Harpending [Jan 16 15 20:51 ]:
|
Oh sorry, I didn't see that. Yes, they are. |
While we are at it, the hierarchy of the temporary directory is as shown:
|
Here's what happens when I try to convert it to markdown: Copyright © 2014-2015 <span><span>Peter Harpending <span>[\<](mailto:[email protected])<span>[email protected]</span>\></span>
</span></span>
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in [gfdl]. I haven't exhaustively tried every output format. That said, I think it's safe to say that this is a problem with the LaTeX reader, and not with any particular output format. |
Turns out the code that handles includes in LaTeX only works if the included file has a |
Ah, alright. .ltx and .tex mean slightly different things in Emacs, and, for this project, I want the .ltx thing. Good to know it's fixed. |
I have a rather complicated LaTeX tree, for a book. The entire tree is at https://gitlab.com/lysa/lysa/tree/master/ . The root node of the tree is this LaTeX file.
The build script basically copies all of the relevant files into a temporary directory, then compiles the root node with
pdflatex
, copies the pdf out of the sandbox, and then deletes the sandbox. I want to compile the book into an EPub instead of a PDF. I performed the sandbox-copying steps manually, then used the following command to attempt to generate the epub:The EPub only has the first two pages. No TOC or content. The epub can be downloaded here:
http://harpending.org/lysa.epub
By contrast, the correct PDF file is 70-something pages long, and can be seen here:
http://harpending.org/lysa.pdf
Am I missing something here? It seems like Pandoc is completely ignoring the
\input
commands (and hence no TOC).The text was updated successfully, but these errors were encountered: