Details
-
New Feature
-
Resolution: Fixed
-
Major
-
1.12.4
-
None
-
Unknown
-
https://extensions.xwiki.org/xwiki/bin/view/Extension/LaTeX/Syntax%201.0/#HUIExtensionPoints & https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/ExtensionPoint/#|t=uixs&p=1&l=30&s=doc.title&d=asc&category=latex
-
N/A
-
Description
Right now, an extension wishing to inject some LaTeX content will need to override the default template. This causes 2 issues:
- Users are no longer able to provide extra customizations for these templates
- The overridden template needs to either copy/paste the default template content or read it and do search/replace with some complexity to identify where to inject the customizations.
This issues proposes to introduce 3 UIXPs to resolve these 2 problems:
- In Preamble to be able to inject content after the \usagepackage: org.xwiki.contrib.latex.Preamble.usepackage.after
- In Preamble at beginning and end: org.xwiki.contrib.latex.Preamble.before and org.xwiki.contrib.latex.Preamble.after
- In XDOM at beginning and end: org.xwiki.contrib.latex.XDOM.before and org.xwiki.contrib.latex.XDOM.after
Attachments
Issue Links
- blocks
-
GLOSSARY-15 Generate LaTeX export for glossaries
- Closed
- depends on
-
LATEX-108 The Script context is not properly restored after rendering a template
- Closed