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

Add AsciiDoc attribute or theme key to enable fullscreen page mode #1357

Closed
mojavelinux opened this issue Oct 31, 2019 · 1 comment
Closed
Assignees
Milestone

Comments

@mojavelinux
Copy link
Member

A PDF document can be configured to launch in fullscreen mode. It should be possible to activate this feature using either an AsciiDoc attribute or theme key, perhaps both.

Since this setting is a switch, it makes sense to use a theme key like:

page:
  fullscreen: true

We could also consider using the lower-level terminology of mode:

page:
  mode: fullscreen

The corresponding AsciiDoc attribute would either be pdf-fullscreen or pdf-mode=fullscreen.

This sets the following property in the PDF catalog

/PageMode /FullScreen

When fullscreen is active, the existing PageMode property must be moved to:

/NonFullScreenPageMode /UseOutlines
@mojavelinux mojavelinux added this to the v1.5.0 milestone Oct 31, 2019
@mojavelinux mojavelinux self-assigned this Oct 31, 2019
@mojavelinux
Copy link
Member Author

I'm leaning more towards page_mode: fullscreen and pdf-page-mode=fullscreen.

mojavelinux added a commit to mojavelinux/asciidoctor-pdf that referenced this issue Nov 5, 2019
mojavelinux added a commit to mojavelinux/asciidoctor-pdf that referenced this issue Nov 5, 2019
mojavelinux added a commit to mojavelinux/asciidoctor-pdf that referenced this issue Nov 5, 2019
@mojavelinux mojavelinux modified the milestones: v1.5.0, v1.5.0.beta.8 Nov 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant