-
-
Notifications
You must be signed in to change notification settings - Fork 296
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
PDF page size #291
Comments
You can change it here https://github.com/asciidocfx/AsciidocFX/blob/master/conf/docbook-config/fop.xconf.xml#L28 , it is located at installation dir. |
The setting at fo-pdf.xsl seem to take precedence. I set page.height.portrait and page.width.portrait there. |
I have changed the page size in the file fo-pdf.xsl, too. Has anybody a good example for this file and A4 pages? |
File conf/docbook-config/fo-pdf.xsl, line 356:
It would be nice if this can be installed as the default. Or otherwize a preference in the settings. |
Would be nice if there was at least a link to open the config file or an
empyt xsl file that we could use to add in our customizations.
…On Sun, Aug 5, 2018 at 10:32 AM ellipticview ***@***.***> wrote:
File conf/docbook-config/fo-pdf.xsl, line 356:
<xsl:param name="page.height.portrait">29.7cm</xsl:param>
<xsl:param name="page.width.portrait">21.0cm</xsl:param>
It would be nice if this can be installed as the default. Or otherwize a
preference in the settings.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#291 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABd9-_ALL5ABtuTsJkYQoQf-TMwMrpr_ks5uNq2YgaJpZM4LwG0E>
.
|
We can provide a configurable yaml file and map properties to apache fop at runtime. I'm open for pull requests btw. |
Thanks. I'll think about it some more and see if I can send something your
way.
…On Sun, Aug 5, 2018 at 11:33 AM Rahman Usta ***@***.***> wrote:
We can provide a configurable yaml file and map properties to apache fop
at runtime. I'm open for pull requests btw.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#291 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABd9-7EiDVS0hNfw65W_tsW7TRzAfDzuks5uNrwFgaJpZM4LwG0E>
.
|
How can I set the page size of the PDF output? I want to set it to A4 paper.
Thank you very much!
The text was updated successfully, but these errors were encountered: