Hi, I've just amended pdfTeX so that it recognizes the config parameter always_use_mediabox, which if set != 0 causes the pdf file inclusion to always use the MediaBox. ArtCom needs this. Best regards Martin -- Martin Schröder, MS@ArtCom-GmbH.DE ArtCom GmbH, Grazer Straße 8, D-28359 Bremen Voice +49 421 20419-44 / Fax +49 421 20419-10
At 05:18 PM 11/8/2002 +0100, Martin Schroeder wrote:
Hi, I've just amended pdfTeX so that it recognizes the config parameter always_use_mediabox, which if set != 0 causes the pdf file inclusion to always use the MediaBox. ArtCom needs this.
then, shouldn't this be a primitive as well? Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
On 2002-11-08 17:35:53 +0100, Hans Hagen wrote:
then, shouldn't this be a primitive as well?
Possibly, but ArtCom doesn't need that. We have to be able to upgrade the TeX installation without changing the application that generates the TeX files. Best regards Martin -- Martin Schröder, MS@ArtCom-GmbH.DE ArtCom GmbH, Grazer Straße 8, D-28359 Bremen Voice +49 421 20419-44 / Fax +49 421 20419-10
At 11:33 PM 11/8/2002 +0100, Martin Schroeder wrote:
On 2002-11-08 17:35:53 +0100, Hans Hagen wrote:
then, shouldn't this be a primitive as well?
Possibly, but ArtCom doesn't need that. We have to be able to upgrade the TeX installation without changing the application that generates the TeX files.
sure, but a macro package should be able to overload a users default, and since it's a new feature and downward compatibility is important, no macro package would get into your way; all functionality that can be controled in the config should be accessible inside pdftex as well Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
On 2002-11-09 17:16:14 +0100, Hans Hagen wrote:
all functionality that can be controled in the config should be accessible inside pdftex as well
Agreed. Do we want/need a more general fuctionality like \pdfoptionsalwaysusepdfpagebox {0--5} where 0 is the disable and 1 is media, 2 is crop, 3 is bleed, 4 is trim and 5 is artbox? It wouldn't be too difficult to implement. Best regards Martin -- Martin Schröder, MS@ArtCom-GmbH.DE ArtCom GmbH, Grazer Straße 8, D-28359 Bremen Voice +49 421 20419-44 / Fax +49 421 20419-10
On 2002-11-19 15:45:30 +0100, Martin Schröder wrote:
Agreed. Do we want/need a more general fuctionality like \pdfoptionsalwaysusepdfpagebox {0--5} where 0 is the disable and 1 is media, 2 is crop, 3 is bleed, 4 is trim and 5 is artbox? It wouldn't be too difficult to implement.
I've implemented it: The page box specified at \pdfximage can be globally overridden with the config parameter always_use_pdfpagebox and the command \pdfoptionalwaysusepdfpagebox <integer>, where 0 is the default (use whatever is specified with \pdfximage), 1 is media, 2 is crop, 3 is bleed, 4 is trim and 5 is artbox. This can only be set once per object, i.e. the value used at \pdfximage is remembered. Best regards Martin PS: I've not yet updated Master/texmf/doc/pdftex/base/pdftex-syntax.txt, as it's for the stable version. Sebastian, can we do a developement version for that file/dir? -- Martin Schröder, MS@ArtCom-GmbH.DE ArtCom GmbH, Grazer Straße 8, D-28359 Bremen Voice +49 421 20419-44 / Fax +49 421 20419-10
participants (2)
-
Hans Hagen
-
Martin Schroeder