<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: PDF Version and file size</title>
	<atom:link href="http://www.texdev.net/2010/01/11/pdf-version-and-file-size/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.texdev.net/2010/01/11/pdf-version-and-file-size/</link>
	<description>Coding in the TeX world</description>
	<lastBuildDate>Tue, 20 Jul 2010 18:48:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>By: y. calleecharan</title>
		<link>http://www.texdev.net/2010/01/11/pdf-version-and-file-size/comment-page-1/#comment-2126</link>
		<dc:creator>y. calleecharan</dc:creator>
		<pubDate>Sat, 23 Jan 2010 21:32:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.texdev.net/?p=603#comment-2126</guid>
		<description>Hi,
   Thanks for the clarifications. I could change my PDF TeXify method to Default (PDF TeXify) under options &gt; execution modes &gt; TeX options in WinEdt. It works now. A quick check was to set \pdfminorversion=3 and then see if the correct pdf version is produced in Acrobat.

But now, using PDFTeX doesn&#039;t compile eps file in the LaTeX document. So I guess now I have to use a package like epstopdf to convert all the eps files to pdf. Am I right?

You mentioned: &quot;although you can do the same thing at the pd2pdf stage if using the traditional DVI route&quot;. I used ps2pdf as I can add many option like embedding the fonts, setting the pdf type to prepress, screen, etc. I read somewhere that using -dUseFlatCompression=true in ps2pdf can compress the resulting pdf document by a factor of half! D you think  this is it some kind of equivalence to \pdfobjcompresslevel=2 ? If yes, then I&#039;d prefer to stck to the traditional dvi route with the eps files. 

Many thanks again for your kind help.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
   Thanks for the clarifications. I could change my PDF TeXify method to Default (PDF TeXify) under options &gt; execution modes &gt; TeX options in WinEdt. It works now. A quick check was to set \pdfminorversion=3 and then see if the correct pdf version is produced in Acrobat.</p>
<p>But now, using PDFTeX doesn&#8217;t compile eps file in the LaTeX document. So I guess now I have to use a package like epstopdf to convert all the eps files to pdf. Am I right?</p>
<p>You mentioned: &#8220;although you can do the same thing at the pd2pdf stage if using the traditional DVI route&#8221;. I used ps2pdf as I can add many option like embedding the fonts, setting the pdf type to prepress, screen, etc. I read somewhere that using -dUseFlatCompression=true in ps2pdf can compress the resulting pdf document by a factor of half! D you think  this is it some kind of equivalence to \pdfobjcompresslevel=2 ? If yes, then I&#8217;d prefer to stck to the traditional dvi route with the eps files. </p>
<p>Many thanks again for your kind help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph Wright</title>
		<link>http://www.texdev.net/2010/01/11/pdf-version-and-file-size/comment-page-1/#comment-2124</link>
		<dc:creator>Joseph Wright</dc:creator>
		<pubDate>Sat, 23 Jan 2010 16:44:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.texdev.net/?p=603#comment-2124</guid>
		<description>Hello YC,

The key thing to remember here is that pdfTeX (the program) is used by modern TeX installations for both DVI and direct PDF output. The systems are set up so that &quot;latex&quot; calls pdfTeX in DVI mode, while &quot;pdflatex&quot; calls pdfTeX in PDF mode (in both cases with the LaTeX format loaded). The primitives under discussion here only work in direct PDF mode (although you can do the same thing at the pd2pdf stage if using the traditional DVI route).

In WinEdt, there are two typesetting buttons (both for TeX and for LaTeX), one for DVI output and one for direct PDF output.  So it&#039;s a question of picking the right button to press!</description>
		<content:encoded><![CDATA[<p>Hello YC,</p>
<p>The key thing to remember here is that pdfTeX (the program) is used by modern TeX installations for both DVI and direct PDF output. The systems are set up so that &#8220;latex&#8221; calls pdfTeX in DVI mode, while &#8220;pdflatex&#8221; calls pdfTeX in PDF mode (in both cases with the LaTeX format loaded). The primitives under discussion here only work in direct PDF mode (although you can do the same thing at the pd2pdf stage if using the traditional DVI route).</p>
<p>In WinEdt, there are two typesetting buttons (both for TeX and for LaTeX), one for DVI output and one for direct PDF output.  So it&#8217;s a question of picking the right button to press!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: y. calleecharan</title>
		<link>http://www.texdev.net/2010/01/11/pdf-version-and-file-size/comment-page-1/#comment-2115</link>
		<dc:creator>y. calleecharan</dc:creator>
		<pubDate>Fri, 22 Jan 2010 16:49:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.texdev.net/?p=603#comment-2115</guid>
		<description>Hi,
   I&#039;ve been reading this discussion with interest. However I don&#039;t understand how pdfTeX produces the pdf file. I have TeXLive 2008 and WinEdt. LaTeXing the document uses the following:

pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)

and then I get a dvi file. To generate the pdf file I go through the tex--dvi--ps--pdf route and it&#039;s Ghostscript which decides the pdf version. 

So how do one use pdfTeX to arrive to a pdf without going through a ps to pdf converter like Ghostscript?
I presume that it&#039;s not about dvi2pdf command.

Your help would be highly appreciated?

YC</description>
		<content:encoded><![CDATA[<p>Hi,<br />
   I&#8217;ve been reading this discussion with interest. However I don&#8217;t understand how pdfTeX produces the pdf file. I have TeXLive 2008 and WinEdt. LaTeXing the document uses the following:</p>
<p>pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)</p>
<p>and then I get a dvi file. To generate the pdf file I go through the tex&#8211;dvi&#8211;ps&#8211;pdf route and it&#8217;s Ghostscript which decides the pdf version. </p>
<p>So how do one use pdfTeX to arrive to a pdf without going through a ps to pdf converter like Ghostscript?<br />
I presume that it&#8217;s not about dvi2pdf command.</p>
<p>Your help would be highly appreciated?</p>
<p>YC</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph Wright</title>
		<link>http://www.texdev.net/2010/01/11/pdf-version-and-file-size/comment-page-1/#comment-2077</link>
		<dc:creator>Joseph Wright</dc:creator>
		<pubDate>Tue, 12 Jan 2010 13:16:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.texdev.net/?p=603#comment-2077</guid>
		<description>Hello Raúl,

There are a few different takes on the PDF format that have been formalised as standards. For example, PDF/A has been defined as an archival storage format for digital documents, while things like PDF/X-1 and PDF/X-3 are favoured by some printers. In all cases, the key point about a standard is that it lays down what is (and is not) acceptable to meet it. This of course depends both on the aim of the standard and when it was conceived.

In the case of PDF/A, the standard is a definition based on version 1.4 of the PDF format. So PDF/A is essentially a sub-set of PDF 1.4. Various things that are included in PDF 1.4 are not acceptable in PDF/A, whereas any valid PDF/A file will be a valid PDF version 1.4 file. 

Similar considerations apply to PDF/X-1, PDF/X-3 and so on. There are of course newer standards, which are subsets of later versions of the PDF file format. The crucial point about PDF/A is that it is carefully designed and agreed to work well as an archive format. That does not mean other PDFs are going to suddenly fail, just that if you are looking at preserving digital information for the long term (decades) then you need to worry about ensuring you can still read it in many years time.

Joseph</description>
		<content:encoded><![CDATA[<p>Hello Raúl,</p>
<p>There are a few different takes on the PDF format that have been formalised as standards. For example, PDF/A has been defined as an archival storage format for digital documents, while things like PDF/X-1 and PDF/X-3 are favoured by some printers. In all cases, the key point about a standard is that it lays down what is (and is not) acceptable to meet it. This of course depends both on the aim of the standard and when it was conceived.</p>
<p>In the case of PDF/A, the standard is a definition based on version 1.4 of the PDF format. So PDF/A is essentially a sub-set of PDF 1.4. Various things that are included in PDF 1.4 are not acceptable in PDF/A, whereas any valid PDF/A file will be a valid PDF version 1.4 file. </p>
<p>Similar considerations apply to PDF/X-1, PDF/X-3 and so on. There are of course newer standards, which are subsets of later versions of the PDF file format. The crucial point about PDF/A is that it is carefully designed and agreed to work well as an archive format. That does not mean other PDFs are going to suddenly fail, just that if you are looking at preserving digital information for the long term (decades) then you need to worry about ensuring you can still read it in many years time.</p>
<p>Joseph</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph Wright</title>
		<link>http://www.texdev.net/2010/01/11/pdf-version-and-file-size/comment-page-1/#comment-2076</link>
		<dc:creator>Joseph Wright</dc:creator>
		<pubDate>Tue, 12 Jan 2010 12:33:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.texdev.net/?p=603#comment-2076</guid>
		<description>Hello Aditya,

Interesting: I guess that this might be due to the graphics (I&#039;ve not tried any graphic-heavy files). On the other hand, perhaps you are right about font inclusion, which may I suppose be down to how the format handles things.

Joseph</description>
		<content:encoded><![CDATA[<p>Hello Aditya,</p>
<p>Interesting: I guess that this might be due to the graphics (I&#8217;ve not tried any graphic-heavy files). On the other hand, perhaps you are right about font inclusion, which may I suppose be down to how the format handles things.</p>
<p>Joseph</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raúl</title>
		<link>http://www.texdev.net/2010/01/11/pdf-version-and-file-size/comment-page-1/#comment-2075</link>
		<dc:creator>Raúl</dc:creator>
		<pubDate>Tue, 12 Jan 2010 12:25:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.texdev.net/?p=603#comment-2075</guid>
		<description>Hi Joseph,
Why is 1.4 required for archive-type PDFs? Could you elaborate more?</description>
		<content:encoded><![CDATA[<p>Hi Joseph,<br />
Why is 1.4 required for archive-type PDFs? Could you elaborate more?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aditya Mahajan</title>
		<link>http://www.texdev.net/2010/01/11/pdf-version-and-file-size/comment-page-1/#comment-2073</link>
		<dc:creator>Aditya Mahajan</dc:creator>
		<pubDate>Tue, 12 Jan 2010 07:45:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.texdev.net/?p=603#comment-2073</guid>
		<description>In ConTeXt, I have noticed that files produced in MkIV are generally significantly smaller than those produced by MkII. For example, in a sample document (with no hyperlinks and only using embedded metapost figures), the file size produced by MkII are 563 kB (pdf 1.4) and 356 kB (pdf 1.5); while the file sizes produced by MkIV are 258 kB (pdf 1.4) and 243 kB (pdf 1.5). I don&#039;t understand the details, but the smaller size with luatex is supposed to be because of better font handling. Interestingly, the file size does not change significantly in MkIV. (Agreed, this is just one sample.)</description>
		<content:encoded><![CDATA[<p>In ConTeXt, I have noticed that files produced in MkIV are generally significantly smaller than those produced by MkII. For example, in a sample document (with no hyperlinks and only using embedded metapost figures), the file size produced by MkII are 563 kB (pdf 1.4) and 356 kB (pdf 1.5); while the file sizes produced by MkIV are 258 kB (pdf 1.4) and 243 kB (pdf 1.5). I don&#8217;t understand the details, but the smaller size with luatex is supposed to be because of better font handling. Interestingly, the file size does not change significantly in MkIV. (Agreed, this is just one sample.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph Wright</title>
		<link>http://www.texdev.net/2010/01/11/pdf-version-and-file-size/comment-page-1/#comment-2072</link>
		<dc:creator>Joseph Wright</dc:creator>
		<pubDate>Tue, 12 Jan 2010 06:57:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.texdev.net/?p=603#comment-2072</guid>
		<description>Hello Sivaram,

These are both TeX primitives, and need to occur before anything is typeset. So they go in the preamble of LaTeX files, or would go &quot;near the beginning&quot; in a plain TeX file. Something like
&lt;pre&gt;
\documentclass{article}
\pdfminorversion=5
\pdfobjcompresslevel=2
 ...
&lt;/pre&gt;

Joseph</description>
		<content:encoded><![CDATA[<p>Hello Sivaram,</p>
<p>These are both TeX primitives, and need to occur before anything is typeset. So they go in the preamble of LaTeX files, or would go &#8220;near the beginning&#8221; in a plain TeX file. Something like</p>
<pre>
\documentclass{article}
\pdfminorversion=5
\pdfobjcompresslevel=2
 ...
</pre>
<p>Joseph</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sivaram N</title>
		<link>http://www.texdev.net/2010/01/11/pdf-version-and-file-size/comment-page-1/#comment-2071</link>
		<dc:creator>Sivaram N</dc:creator>
		<pubDate>Tue, 12 Jan 2010 06:45:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.texdev.net/?p=603#comment-2071</guid>
		<description>Where does one add
\pdfminorversion=5
\pdfobjcompresslevel=2

in the tex file?  In the options to hyperref, preamble or body of the tex file?

Sivaram</description>
		<content:encoded><![CDATA[<p>Where does one add<br />
\pdfminorversion=5<br />
\pdfobjcompresslevel=2</p>
<p>in the tex file?  In the options to hyperref, preamble or body of the tex file?</p>
<p>Sivaram</p>
]]></content:encoded>
	</item>
</channel>
</rss>
