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

class for "onlypdf"? #130

Closed
rwoldu opened this issue Nov 30, 2015 · 2 comments
Closed

class for "onlypdf"? #130

rwoldu opened this issue Nov 30, 2015 · 2 comments
Labels

Comments

@rwoldu
Copy link

rwoldu commented Nov 30, 2015

similar to #129

Hi,

is it possible to develop a class that allows to show text (or maybe replaces text) only when in PDFs?
E.g. as the syntax for wrap onlyprint and wrap noprint?

Thanks in advance!

(sorry if it the wrong place for requests, but I am not sure where to ask...)
BTW: great plugin, thanks!

@selfthinker
Copy link
Owner

This might be possible. The DW2PDF plugin supports pdf.css files and the ODT plugin supports odt.css files. Those could be used to create classes specifically for them.

But... both of them already use each plugin's print.css by default. So, you could already use onlyprint and noprint and it should work without the need of more classes.

@selfthinker
Copy link
Owner

I will close this now as what you're asking for can be achieved with 'onlyprint'. Please feel free to re-open the issue with more information if that doesn't work in your use case.

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

No branches or pull requests

2 participants