Skip to content
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

Template's page layout is ignored? #272

Open
ternite opened this issue Apr 7, 2022 · 1 comment
Open

Template's page layout is ignored? #272

ternite opened this issue Apr 7, 2022 · 1 comment

Comments

@ternite
Copy link
Contributor

ternite commented Apr 7, 2022

Hello everybody,

I made a template with page border widths of 1 cm, each.

After creating a ODT document using the odt plugin with the current version from 2019-07-27, the resulting ODT has page borders of 2 cm, which appears to be the standard value for border widths.

I'm sure the correct template is used because if I change content therein, it is contained in the resulting ODT file, as well.

Is this a known issue? Is there a way to transfer the page properties set within the template to the result file?

Best regards
Thomas

@ternite
Copy link
Contributor Author

ternite commented Apr 27, 2022

I found a solution to my problem.

It's possible to set the page margin globally, using the module configuration page.

Additionally, these values can be set per page by adding the following code within the page source:

{{odt>margin_top:1}}
{{odt>margin_bottom:1}}
{{odt>margin_right:1}}
{{odt>margin_left:1}}

Nevertheless, the issue at hand is not covered exactly by this solution, since it's unintuitive that the page margin settings within the template are ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant