-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Support optional short title for headings and figure captions #4409
Comments
Related, but removes optional argument in LaTeX reader: #1335 |
Closely related to #2978 |
#2417 is also related. |
@link2xt I don't see why this should only be for the LaTeX format. Quarto introduces They only support LaTeX (which makes sense as LaTeX has a pretty easy API for it). And in Typst: typst/typst#1295 |
LaTeX supports short titles in headings and captions with the following commands (maybe incomplete list):
These short titles/captions are then printed in the table of contents (TOC), page headers, list of figures, list of tables and list of listings. In case of PDF output, the heading titles are also used to create the bookmark list.
Sometimes, titles or captions are too long and span multiple lines in the list of ... Sometimes they contain special content or formatting as described in #2935, #3555 and #3932, which may fail to render correctly or prevent conversion to PDF completely. For PDF bookmarks,
\texorpdfstring
is used to handle many cases, but not all.A solution would be, if pandoc would support the short title/caption with the optional argument as shown above.
Part of this was already discussed in https://groups.google.com/d/msg/pandoc-discuss/JUem3NZUMB8/iIt2zwcZAwAJ.
The text was updated successfully, but these errors were encountered: