Comments (4)
Enable/disable TOC generation is indeed specified by Pandoc, which will then trigger the different ways to make a TOC in LaTeX, DOCX etc. — but the TOC itself is created from the different headings, and therefore the structure of your document in the Scrivener's Binder is what will specify the selections chosen for the TOC entries by default. But the exact placement is not easily controlled for DOCX, it is placed after the date/abstract metadata field, but currently before keywords/affiliations if you use those. You can of course move it in Word/LibreOffice manually, and add page breaks as necessary. But if you have very specific formatting requirements it may not be easy to fully automate it (well you could always write a post-processing script to edit the Word XML manually, I used to do this for LibreOffice documents to tweak things to my liking).
from scrivomatic.
Thanks @iandol I'll play around more, currently I'm formatting for docx because it was the easiest for me to do as I Ive never touched LaTex before and seemed a bit daunting, however I see no reason I that I could use LaTex for PDF generation as the institution accept either pdf or docx, so will have more control around LaTex then.
So from what you're saying, I don't need to create any content or page holders in Scrivener, I leave it up to pandoc and its templates, in this case I'll look at creating a LaTex template for my requirements where I will have more control around my TOC. Then use that for my PDF generation.
Out of interest what's your workflow for creating and trouble-shooting your LaTex templates, what applications would you recommend on MacOs
from scrivomatic.
I use Visual Studio Code as my main text editor now, which has a nice extension for working with LaTeX. My LaTeX knowledge is very limited, I hacked my own main template from the Pandoc default one, modified another for reports (Eisvogel) and one for writing letters with Scrivener (use metadata and it creates address, letterhead, signature etc. automagically into a spiffy PDF).
I use the MacTeX minimal installer and then add the packages I need on top (some info in scrivomatic readme). Problems get solved with Google as needed, LaTeX is totally baroque, but there are solutions online for most problems and enough users that problems can get resolved (Pandoc google group is pretty good too).
Pandoc>HTML>PDF using something like PrinceXML is an alternative, HTML+CSS is much more intelligible and rational for layout IMO, but there are still some outstanding problems (like maths), where LaTeX is still king...
from scrivomatic.
lol I didn't even think of VScode and I use it all the time, right under my nose thanks its all helped me a lot @iandol
from scrivomatic.
Related Issues (20)
- Question from guide: Blockquotes, escaping special characters, and blockquote prefix HOT 1
- Conversion to PDF: cleanup via latexmk not working HOT 7
- get it running HOT 2
- Scrivomatic not finding tools in path HOT 6
- Pandocomatic unable to load config file HOT 3
- Issue with compiling a bullet point and strong emphasis
- Pandoc-Citeproc Cannot decode byte '\x9f' HOT 1
- error trying to compile simple workflow: `require': cannot load such file -- paru/filter (LoadError) HOT 8
- ! Paragraph ended before \FV@BeginScanning was complete
- I'm running into errors when I try to compile - log file pasted into the comment - thoughts? HOT 1
- use Pandoc citeproc to convert [@citekey] to \cite{citekey} instead of hyperlink HOT 2
- pandoc-citeproc install error HOT 5
- Question: Styles/formats: paragraph breaks HOT 2
- Endnotes instead of footnotes (docx) HOT 4
- Need to keep re-entering Licence key
- Filter errors after update HOT 8
- Only some headers properly formatting after .docx conversion HOT 2
- Request: add homebrew path to scrivomatic HOT 3
- Figures and Tables in your Crossref examplae HOT 10
- How to create an updated log? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scrivomatic.