Difference between revisions of "ConTeXt Standalone/Implementation"
m (→TeX Live 2008: 2009)
m (category sort)
|Line 224:||Line 224:|
Revision as of 04:27, 8 October 2010
Binaries can now be built from
It might take some time to propagate the changes and auto-update this page :)
- 1 Binary sources
- 2 rsync
- 3 Cross-compiling for PPC on Intel Mac
- 4 Compiling TeX Live binaries
- 5 Non-Polish Fonts
We take binaries from the following sources:
- SVN: http://foundry.supelec.fr/svn/metapost
- files: http://foundry.supelec.fr/gf/project/metapost/frs/
- SVN: http://foundry.supelec.fr/svn/pdftex
- VieVC: http://foundry.supelec.fr/gf/project/pdftex/scmsvn/
- SVN: http://foundry.supelec.fr/svn/luatex
- ViewVC: http://foundry.supelec.fr/gf/project/luatex/scmsvn/
- Files: http://foundry.supelec.fr/gf/project/luatex/frs/
TeX Live 2009
Rsync on Windows behaves a bit weird. We fetched binaries from
One needs to set
before syncing binaries or
chmod 777 tex/texmf-win/bin/*
after that, else binaries won't work.
From rsync bundle one needs to have at least
chmod.exe cygiconv-2.dll # for chmod cygintl-3.dll # for chmod cygwin1.dll rsync.exe
to be able to use rsync from the garden properly. I have no idea what happens if cygwin is in PATH, but it is asking for problems.
Cross-compiling for PPC on Intel Mac
In order to cross-compile for PPC on a Intel Mac, you need to give the compiler and the linker the following additional switches:
Pretty damn simple, isn't?
So all you have to do is set
LDFLAGS before you run
configure (as well as
CXXFLAGS, if applicable). Of course it may be that some Makefiles don't honor these variables and override them with something of their own, and this is the major inconvience you will have to deal with (this is actually what the Makefile for lua does; here you would have to set something like
XCFLAGS in addition).
Obviously, you can also use a similar instruction to cross-compile the other way round (build for Intel on a PPC host); it's called
-arch i386; and if you give both at the same time, it results with a so-called universal binary (the size of which being approximately the sum of the size of both individual binaries). Arthur 17:20, 30 September 2007 (CEST)
For pdfTeX it's enough to say
CFLAGS="-arch ppc" LDFLAGS="-arch ppc" CXXFLAGS="-arch ppc" ./build.sh
XeTeX supports the syntax
./build-xetex "-arch ppc"
It is also adviced to use
and select gcc 3.3 to be more backward compatible, as well as setting
Compiling TeX Live binaries
(Written by Richard Koch) To compile in 64 bits, three flags should be set
CFLAGS="-arch x86_64 -mmacosx-version-min=10.5"; export CFLAGS CXXFLAGS="-arch x86_64 -mmacosx-version-min=10.5"; export CXXFLAGS OBJCFLAGS="-arch x86_64 -mmacosx-version-min=10.5"; export OBJCFLAGS
(though probably none of them is really needed when compiling on 64-bit software and export MACOSX_DEPLOYMENT_TARGET can be set instead)
To use llvm, also set
CC=/Developer/usr/bin/llvm-gcc-4.2; export CC
But then to build, I disable three things:
./Build --disable-pdfopen --disable-xetex --disable-xdv2pdf
List of fonts in the old minimals
- context/contnav (is it needed? it's in ConTeXt already)
These fonts will be removed once there will be TeX Gyre math available.
superseeded by TeX Gyre
- avantgar (Adobe AvantGarde) -> Adventor
- bookman -> Bonum
- courier -> Cursor
- helvetic -> Heros
- ncntrsbk (Adobe New Century Schoolbook) -> Schola
- palatino -> Pagella
- times -> Termes
- zapfchan -> Chorus
may be removed
sort them first
- ams - check
- latex-fonts -?
- antp -?
Math support needed
- Times: tx (see type-enc) or belleek or symbol math or omega math
- Palatino: px (or Pazo) or euler
- Bookman: kerkis (check)
- Schoolbook: millenial/fourerenc
- Concrete and Euler or Concrete Math
forget-me-not (how to generate map files for XeTeX):
ctxtools --dpx --force --maproot=/usr/local/gwTeX/texmf.pkgs/fonts/map/dvips/tex-gyre
- wcm for syrillic
- la/lb/lc rb1000 etc.
- computer concrete (AMS) - see type-enc
- euler (AMS)
- AMS symbols
- \definefontsynonym [RalfSmithFormalScript] [rsfs10]
- \definefontsynonym [MartinVogel] [fmvr8x]
Building plain formats (to be done)
This text will disapear from page, but until we put some additional files to the distribution, here are some notes for me.
There are no CMR fonts in the distribution (more or less on purpose), but you can use LM replacement instead.
% pdftex.ini \pdfoutput=1 \pdfcompresslevel=9 \pdfdecimaldigits=3 \pdfpagewidth=210 true mm \pdfpageheight=297 true mm \pdfhorigin=1 true in \pdfvorigin=1 true in \pdfpkresolution=600 \input plain \dump \endinput
pdftex -ini pdftex.ini
One needs to use: