Comments (8)
Hi Andreas,
I have made some small tweaks to the Crossref project, and updated the repo with a newer zip file. but I don't think this will change your observed behaviour.
- Scrivener generates image syntax using the reference link syntax. This uses
![caption][ref link]
to define the figure. This is valid pandoc markdown (and is also part of the original markdown spec, and commonmark too), so I'm somewhat confused why Typora doesn't support this? I've never used it (I use VSCode to edit markdown if I need to), so I don't know what flavour of markdown it supports… pandoc-crossref
doesn't generate native figure numbers, I made an issue on this but the developer does not want to add output-specific code: lierdakil/pandoc-crossref#299 - another crossref plugin has a similar request and a bit more progress: tomduck/pandoc-fignos#34 — one thing to look out for is that Quarto https://quarto.org has built a new cross referencing filter for pandoc which may or may not generate native figure numbering on Word… Note if you use LaTeX then lists of figures etc. works fine.- No, this warning is simply related to the fact the docx template file uses a field to put the current title in the footer. Word fields can be abused so Word asks you explicitly.
from scrivomatic.
Hi Ian,
After a while I'm back to writing. Thanks al lot for you answers and infos. I solved the issue with the figures and understood what my wrong thought was.
If I have more time I will have a look to quarto. In the mean time i use a PDF to Word converter. With a few manual corrections, the word doc is O.K.
from scrivomatic.
@gitopandi — By the way, I just checked Quarto does not [yet] support native Figure labels for DOCX. BUT I noticed at least in the most recent Word you can build the list-of-figures (LOF) based on styles and each figure caption has the style "Image Caption" so you can the LOF.
I am very surprised a PDF > DOCX converter produces better output than Pandoc?
from scrivomatic.
@iandol Could you provide the openxml lines to create the LOF based on style?
Is the magic in here: <w:instrText xml:space=\"preserve\"> TOC \h \z \u </w:instrText>
?
from scrivomatic.
OK, found it: TOC \h \z \t "Image Caption" \c
would provide everything of style "Image Caption". Thanks for mentioning this possibility!
from scrivomatic.
@iusgit -- great, for tables I would assume it would be TOC \h \z \t "Table Caption" \c
. I'd made a test docx but it seems you got there first.
I assume that a Lua filter could insert this into the DOCX to allow lof
to work with DOCX while we wait for Quarto, pandoc-crossref and others to update to utilise native numbering...
from scrivomatic.
Correct, tables work as you say.
from scrivomatic.
I am very surprised a PDF > DOCX converter produces better output than Pandoc?
It was as you think. Pandoc was the best option 😄
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
- 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.