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

Filter to trigger landscape-format pages in PDF #13

Open
mDuo13 opened this issue Mar 21, 2017 · 2 comments
Open

Filter to trigger landscape-format pages in PDF #13

mDuo13 opened this issue Mar 21, 2017 · 2 comments

Comments

@mDuo13
Copy link
Collaborator

mDuo13 commented Mar 21, 2017

No description provided.

@ryangyoung
Copy link

As a tech writer, I want to print pages that have large tables or other very wide content as landscape pages in the PDF output so that the content is easier to read.

It looks like Prince has this ability: https://www.princexml.com/doc/paged/#idp47329831479296

But to be really usable, it would need to be a flag or something similar in Dactyl.

Acceptance Criteria

  • Dactyl can output PDF with selected pages as landscape
  • Writer can mark section that should be printed as landscape through a build argument or config flag

link to original jira ticket: https://ripplelabs.atlassian.net/browse/DOC-660

@ryangyoung
Copy link

The way this currently works is that we add the following in the .md file:

<div class="landscape-content">
<b>Request</b>
<div class="split-code-left">
<p><b>v2.6.3</b></p>
<pre><code>
content
</code></pre>
</div>
<div  class="split-code-right">
<p><b>v3.0.0</b></p>
<pre><code>
content
</code></pre>
</div>
</div>

This commit shows what was added to pdf.css: https:/ripple/docs-private/commit/edd632c3cbadca20c90e1cbb179b42af75c661d1#diff-da89956dc4e154ac0e2ef24058dac63fR46

For a full example, see: https:/ripple/docs-private/tree/master/documents/ripple-solution/delta

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

2 participants