Hello everyone,
I plan to develop a set of macros dedicated for export and printing.
The idea is that theses macros will impact the page rendering when we do a PDF, ODF or RTF export.
One macro by example would be to show some content only when we render the page for PDF export. This could be useful when we would like to show some content only when it’s exported.
We could also need to hide some content on export because it don’t make sens on the exported content.
In the more advanced usage we could also imagine to have macro which add an explicit page break at some place on the exported content.
An other feature that I might need, but I’m not sure if it’s easy to implement would be to have a macro which give the possibility to override the title of the exported document. Maybe @mflorea do you have any idea how it’s complicated to do this for PDF export ?
Note this previous ideas is not an exhaustive list of the feature for this set of macros, this is something that could be extended in long term.
Here are an example of what I would like to implement:
{{export-ignore}}
my content which will be hidden on the export...
{{/export-ignore}}
{{export-only}}
my content which will be shown only on the export...
{{/export-only}}
{{export-pagetitle}}
My title of the PDF Header
{{/export-pagetitle}}
{{export-pagebreak /}}
my content on new page...
About the contrib repository name I propose to name it to something like export-control-macros-pack
or export-control-pack
. WDYT ?
Best regards
Josué
1 post - 1 participant