Comments (3)
Hi.
Sorry, this is not implemented as of yet, but LaTeX titles are customisable via pure latex, which can be embedded into source Markdown (and will be ignored in all outputs except LaTeX/PDF), f.ex. with default template, this will work (add this at the beginning of your Markdown document, after metadata block, and before any figures):
\renewcommand{\figurename}{Fig.}
I hope this workaround isn't too inconvenient for you.
Main problem with LaTeX is that there is a multitude of ways to specify figure titles, depending on packages used, etc, so there really is no silver bullet. That's why it's not implemented -- I haven't figured out yet how should I go about this to make it work for as many cases as possible.
I suggest leaving this issue open as a reminder and for posterity.
from pandoc-crossref.
Wow! Worked like a charm!
Thanks again!
(Didn't know Pandoc ignored pure Latex in the other outputs, and was to lazzy
to create my own template)
Quoting Nikolay Yakimov (2015-05-06 21:24:23)
Hi.
Sorry, this is not implemented as of yet, but LaTeX titles are customisable via
pure latex, which can be embedded into source Markdown (and will be ignored in
all outputs except LaTeX/PDF), f.ex. with default template, this will work (add
this at the beginning of your Markdown document, after metadata block, and
before any figures):\renewcommand{\figurename}{Fig.}
I hope this workaround isn't too inconvenient for you.
Main problem with LaTeX is that there is a multitude of ways to specify figure
titles, depending on packages used, etc, so there really is no silver bullet.
That's why it's not implemented -- I haven't figured out yet how should I go
about this to make it work for as many cases as possible.I suggest leaving this issue open as a reminder and for posterity.
—
Reply to this email directly or view it on GitHub.*
from pandoc-crossref.
I have implemented rudimentary support for figureTitle
and tableTitle
with \renewcommand*
. It works only for pdf/standalone output though, but I assume that's not a huge problem. Will probably publish to hackage before end of May.
from pandoc-crossref.
Related Issues (20)
- Make grid tables visible HOT 4
- Mac can not open "pandoc-crossred" because it can not vertify the developer? HOT 3
- New feature request: cross ref for theorems, examples, and problems HOT 1
- Extra dot at the end of the figure caption HOT 6
- How to include a listing as a subfigure in a figure? HOT 1
- The Error ”Filter returned error status 1” HOT 2
- New version of pandoc available HOT 1
- Org-reader subfigs feature HOT 3
- One space too many when prefix is set to empty HOT 5
- New Version of Pandoc HOT 1
- Recommend saying something about pandoc-crossref versus pandoc-xnos in readme HOT 1
- [feature request] support native typst references HOT 1
- wikilink image cross-references are not implemented HOT 3
- Numbered equation misplaced in ODT output HOT 1
- pandoc could not pick up the figure which pandoc-crossref specifies using "<figure" HOT 1
- Support ghc 9.8 HOT 2
- Pandoc 3.2 warning HOT 2
- LaTeX to DOCX, \eqref{label} to be Eq.[label] not Eq.(number)? How to DO! HOT 1
- insert a new figure in word HOT 1
- can I change the format of prefix ?
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 pandoc-crossref.