Re: [NTG-context] pdf bizareness...
Jonathan Kew's response... --- You can't use \pdfminorversion in XeTeX, that's a pdfTeX-specific command. I think you need to pass the -V command-line option to xdvipdfmx (I expect this can be done somewhere in the ConTeXt scripts, but don't know any details), or else set it in the dvipdfmx.cfg configuration file. AFAIK, the usual default is 4, but you can set it higher if you need to embed other PDFs that use a higher version. JK ---
you need to pass the -V command-line option to xdvipdfmx (I expect this can be done somewhere in the ConTeXt scripts, but don't know any details),
Somebody knows the details ? Alan At Saturday 28/06/2008 13:45, you wrote:
On Sat, Jun 28, 2008 at 12:44 PM, Alan Stone
wrote: Yep Hans, that one. Ok I won't bother about it any longer.
Any clues regarding the other issues, i.e.
(1) the scrambled PDF headers ?
(2) the inability to lower the \pdfminorversion setting ?
For XeTeX it's set in tex.rb: @@runoptions['xetex'] = ['--8bit','-output-driver="xdvipdfmx -E -d 4 -V 5"'] you can modify that one, but it will be replaced next time when you update ConTeXt.
Can you please ask on the XeTeX mailing list if there is some command to specify PDF version with a command? Then, "-V 5" could go out of tex.rb into the format. But I'm not sure if that functionality has already been implemented (though it should probably be trivial to do).
Mojca
Alan Stone wrote:
Jonathan Kew's response...
--- You can't use \pdfminorversion in XeTeX, that's a pdfTeX-specific command. I think you need to pass the -V command-line option to xdvipdfmx (I expect this can be done somewhere in the ConTeXt scripts, but don't know any details), or else set it in the dvipdfmx.cfg configuration file. AFAIK, the usual default is 4, but you can set it higher if you need to embed other PDFs that use a higher version.
maybe it makes sense to support the \pdfminotversion primitive in xetex; after all, its' determined by what trickery happens in the macro package Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Sun, Jun 29, 2008 at 12:56 PM, Alan Stone wrote:
Jonathan Kew's response...
--- You can't use \pdfminorversion in XeTeX, that's a pdfTeX-specific command. I think you need to pass the -V command-line option to xdvipdfmx (I expect this can be done somewhere in the ConTeXt scripts, but don't know any details), or else set it in the dvipdfmx.cfg configuration file. AFAIK, the usual default is 4, but you can set it higher if you need to embed other PDFs that use a higher version.
JK ---
you need to pass the -V command-line option to xdvipdfmx (I expect this can be done somewhere in the ConTeXt scripts, but don't know any details),
Somebody knows the details ?
On Sun, Jun 29, 2008 at 9:28 PM, Hans Hagen wrote
maybe it makes sense to support the \pdfminotversion primitive in xetex; after all, its' determined by what trickery happens in the macro package
At the moment the only reasonable answer is to edit tex.rb (every time when you update ConTeXt) I'm affraid. Hans doesn't provide any command line opton to change that, and apparently Jonathan didn't provide any primitive to change that either. You could create or edit a configuration file for dvipdfmx, but I'm affraid that passing an option to xdvipdfmx (which is done by default in ConTeXt already) would overwrite that setting anyway. You have two options if you really really need that: 1.) bribe Hans for command-line option and volunteer to write man pages for TeX Live (for ConTeXt they are still missing) 2.) bribe Jonathan to add a primitive (but have a good excuse for it :) Mojca
participants (3)
-
Alan Stone
-
Hans Hagen
-
Mojca Miklavec