-
Notifications
You must be signed in to change notification settings - Fork 7
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
color and pagesize #36
Comments
Then,
This difference also happens in LaTeX: \documentclass{article}
% \usepackage{color} % or any other pacakge which loads color/graphics driver
\begin{document}
content
\end{document} In the LaTeX example above, the As letter paper has been the default paper size of LaTeX for decades, it seems to me the result with color driver loaded is the expected one. |
LaTeX by default does not set the pdf page size at all (as the syntax to do that depends on the back end in use, pdftex, or latex/dvips or latex/dvipdfmx etc) once a back end has been chosen (color, or graphics or hyperref or geometry packages for example all force a choice of back end) then the pdf page size ( To you get the equivalent to latex behaviour. You can set
Then you get 845.04684pt whether or not color is loaded. |
Paper size may change by loading of xcolor, esp. the graphics driver. latex3/graphics-def#36 Also shorten the name of test, to be consistent with upstream.
@davidcarlisle I assume you meant |
@muzimuzhi oops, I meant what I wrote but it wasn't right as you say. Maybe I'll delete the first comment and correct later, thanks |
The two following files produce different output
File 1
\input eplain
\hsize=210mm
\input miniltx
\input color
\the\pdfpageheight
\end
File 2
\input eplain
\hsize=210mm
\input miniltx
%\input color
\the\pdfpageheight
\end
test2.log
The text was updated successfully, but these errors were encountered: