Enhancements for the scribble language (a documentation language based on Racket)
Go to file
David Van Horn cd18c13bf9 Change latex render units from px (pdflatex specific) to bp (tex).
The px unit is a pdflatex specific adjustable unit that is 1 bp (big
point = 1/72in) by default.  This commit changes the latex renderer to
use bp which is a standard TeX unit equivalent to the default px
value.  This change allows .tex files generated by scribble to work
with other latex engines such as xelatex.

http://nwalsh.com/tex/texhelp/Plain.html#dimensions
http://tex.stackexchange.com/questions/41370/what-are-the-possible-dimensions-sizes-units-latex-understands

Here is a small test of using scribble and xelatex:

$ cat try.scrbl
@(require scriblib/figure redex/reduction-semantics redex/pict)
@(define-language L)
@(render-term L (term 1))

$ scribble --latex try.scrbl ; xelatex try

original commit: 0dfcf634ed29a9d6e9d99ea7bcd02121abd24a7b
2012-12-07 06:53:45 -06:00
collects Change latex render units from px (pdflatex specific) to bp (tex). 2012-12-07 06:53:45 -06:00