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

Provide a test for output mode #43

Closed
josephwright opened this issue Sep 6, 2011 · 4 comments
Closed

Provide a test for output mode #43

josephwright opened this issue Sep 6, 2011 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@josephwright
Copy link
Member

In issue 32 the point was made that using pdfTeX as an engine is not the same as PDF output. We don't currently have a test for the later. I'm not clear on whether we'll want one long-term (this depends on how output mode is selected), but we should perhaps have something at least in package mode. \mode_if_output_pdf:(TF) might fit with other names we currently use.

@blefloch
Copy link
Member

blefloch commented Sep 6, 2011

I think that the \mode_ prefix is good, so I like the name. If we want to rename \luatex_if_engine:(TF), it could become \mode_if_engine_luatex:(TF), but that's another question.

@josephwright josephwright self-assigned this Jul 22, 2015
@josephwright
Copy link
Member Author

Collect potential use cases

@josephwright
Copy link
Member Author

See also #233: at present the working name (in my head!) is something like \runtime_if_output_pdf:(TF)/\runtime_if_output_dvi:TF, dependent on final decision on module name here and what people think about the 'payload' naming.

@blefloch
Copy link
Member

Fixed by Joseph some time ago: the output tests are \sys_if_output_dvi:TF and \sys_if_output_pdf:TF.

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

No branches or pull requests

2 participants