[XeTeX] Is the apprentice's incompetence?

William Adams will.adams at frycomm.com
Fri Apr 17 18:04:42 CEST 2009


On Apr 17, 2009, at 11:33 AM, Andres Conrado Montoya wrote:

>  Need
> to know how to control typographically the design, how to make
> variations,

That's a matter of LaTeX programming.

I'd suggest starting w/ the Not So Short Guide:

http://www.ctan.org/tex-archive/info/lshort/

(there's a Spanish version which you may find of interest)

then continue w/ the documentation for Memoir, which is an excellent  
overview of how typography and LaTeX programming intersect or can be  
forced to mesh.

http://www.ctan.org/tex-archive/macros/latex/contrib/memoir/

Once you've read and understood those documents, things as discussed  
on the mailing lists and in the samples will make sense (except NB  
that some of the samples are Plain TeX which is quite different, to  
understand that I'd suggest _TeX for the Impatient_: http://www.tug.org/texlive/Contents/live/texmf-doc/doc/english/impatient/book.pdf 
  )

>  bleeds, etc., at the design level.


For document bleeds, in addition to setting this up using memoir or  
crop or some other package you'll need to set the .pdf box  
information, including certain specials which have been discussed here  
previously. e.g.:

>>> \documentclass{minimal}
>>>
>>> \usepackage[paperwidth=630bp,paperheight=810bp]{geometry}
>>>
>>> \usepackage{atbegshi}
>>>> \AtBeginShipout{%
>>>> \setbox\AtBeginShipoutBox=\hbox{%
>>>>  \special{pdf: put @thispage <</TrimBox[9 9 621 801]>>}%
>>>>  \box\AtBeginShipoutBox
>>>> }%
>>>> }
>>>

\special{pdf: put @thispage <</TrimBox [9.0 9.0 621.0 801.0]>>}
\begin{document}
Test
\newpage
Test
\end{document}

Note the manually added special before begin{document}

William

-- 
William Adams
senior graphic designer
Fry Communications
Sphinx of black quartz, judge my vow.



More information about the XeTeX mailing list