[pdftex] How to set Right Edge binding attribute in pdfLaTeX?

Tigran Aivazian tigran at aivazian.fsnet.co.uk
Mon Mar 1 10:16:55 CET 2004


Hi,

I am using pdfLaTeX to typeset my document but since it is in Hebrew and I 
want it to be "tidy" (i.e. have the correct attributes) I always upload it 
to a windows machine and run Adobe Acrobat 5 on it to set the "Binding" 
value to "Right Edge".

Is there any way to do this by some command in the preamble of the 
document? Also, I would like to avoid using any commercial software for 
this project as it is unfair on pdfLaTeX which is in fact the creator of 
the output, not the Adobe Acrobat.

The actual PDF file is downloadable (it is 6.7M!) from here:

  http://www.moses.uklinux.net/pdf/bible/tnk.pdf

Also, pdfopt fails to optimize the file with the following error:

$ Error: /typecheck in --write--
Operand stack:
   --nostringval--   535   -16   --nostringval--   3.49779e+09
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
--nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   
%oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   
--nostringval--   --nostringval--   2   %stopped_push   --nostringval--   
--nostringval--   --nostringval--   --nostringval--   --nostringval--   
6120735   --nostringval--   --nostringval--   --nostringval--   
%array_continue   --nostringval--   --nostringval--   --nostringval--   
--nostringval--
Dictionary stack:
   --dict:1022/1123(ro)(G)--   --dict:0/20(G)--   --dict:119/200(L)--   
--dict:75/200(G)--   --dict:229/230(ro)(G)--   --dict:16/24(L)--   
--dict:23/40(L)--   --dict:28/36(L)--   --dict:14/20(L)--   
--dict:3/4(L)--
Current allocation mode is local
Current file position is 32007
GNU Ghostscript 7.05: Unrecoverable error, exit code 1

Does anyone know if it is fixed if I upgrade to a better Ghostscript?
(Adobe Acrobat optimizes the file just fine).

Kind regards
Tigran



More information about the pdftex mailing list