Changes

Jump to navigation Jump to search
fix links to metapost
= Current state of binaries in minimals =< [[ConTeXt Standalone]] | [[ConTeXt Standalone/Structure]] >
{| border="1"
! program
| windows || linux || linux-64 || mac-intel || mac-ppc || latest || TL || recommended
|-
! metapost
| latest (A/M) || 1.002 (SVN #202) || 1.002 || 1.002 || 1.00x || 1.002 (SVN #202) || 0.993 || any
|-
! pdfTeX
| latest (A/M) || 1.50.0/#326 (M) || 1.40.5 (M) || 1.50.0/#326 (M) || 1.50.0/#326 (M) || 1.40.5 or 1.50.0/SVN #326 || 1.40.2 || any
|-
! XeTeX
| latest (A/M) || 0.997/#526 (M) || 0.997/#539 (M) || 0.997/#543 (M) || 0.997/#526 (M) || 0.997/SVN #543 || 0.996 || 0.997/SVN #526 (#543) or later
|-
! xdvipdfmx
| latest (A/M) || 0.4/#96 (M) || 0.5/#102 (M) || 0.5/#102 (M) || 0.4/#96 (M) || 0.5/SVN #103 || 0.5 || 0.5/SVN #102
|-
! luatex
| latest (A/M) || 0.20.2 (M) || 0.20.2 (M) || 0.20.2 (M) || 0.20.2 (M) || 0.20.2 || -- || 0.20.2
|-
|}
A = automatic, M = manualBinaries can now be built from svn co http://svn.contextgarden.net/suite/build-binariesIt might take some time to propagate the changes and auto-update this page :)
== Binary sources ==
 
We take binaries from the following sources:
=== MetaPost ===
* SVN: https://foundry.supelec.fr/svn/metapost* ViewVC: https://foundry.supelec.fr/scm/viewvc.php/?root=metapost* files: http://foundry.supelec.fr/gf/project/metapost/frs/<code>tags/XXX</code> === LuaTeX ===* SVN: https://foundry.supelec.fr/svn/metapostluatex* ViewVC: httphttps://foundry.supelec.fr/plugins/scmsvnscm/viewcvsviewvc.php/?root=metapostluatex* Files: http://foundry.supelec.fr/gf/project/luatex/frs/<code>tags/beta-XXX</code> === W32TeX === * http://w32tex.org === TeX Live 2012 === * http://www.tug.org/texlive/svn/
=== pdfTeX Others (not used any more) ===* SVN: svn://scm.foundry.supelec.fr/svn/pdftex* VieCV: http://foundry.supelec.fr/plugins/scmsvn/viewcvs.php/?root=pdftex
=== luaTeX ===* SVN: svn://scmWe also used to compile pdfTeX and XeTeX, but stopped doing so as there was no need to use a version newer than what's in TeX Live.foundry.supelec.fr/svn/luatex* ViewVC: http://foundry.supelec.fr/plugins/scmsvn/viewcvs.php/?root=luatex* Files: http://foundry.supelec.fr/frs/?group_id=10
=== XeTeX = pdfTeX ====* SVN: http://scriptsfoundry.silsupelec.orgfr/svn-public/xetexpdftex* VieVC: http://foundry.supelec.fr/gf/project/pdftex/scmsvn/<code>branches/stable/source</TRUNKcode>
=== xdvipdfmx =XeTeX ====* GIT: git://git.code.sf.net/p/xetex/code* Gitweb: http://scriptsxetex.git.silsourceforge.orgnet/svn-public/xdvipdfmx<code>master</TRUNKcode>
== rsync ==
Rsync on Windows behaves a bit weird. We fetched binaries from
* http://www.itefix.no/cwrsync/
After rsync-ing binaries, one One needs to executeset set CYGWIN=noNTsecbefore syncing binaries or
chmod 777 tex/texmf-win/bin/*
It might be after that numbers smaller than 777 are OK as well, but I didnelse binaries won't want to riskwork.  From rsync bundle one needs to have at least
chmod.exe
cygiconv-2.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.
== building XeTeX and xdvipdfmx ==
(This might need to be moved to some better place, for example under XeTeX, but I needed to leave a note on building process before we all forget it.)
SVN sources are available at: http://scripts.sil.org/svn== Cross-public/xetex/TRUNK http://scripts.sil.org/svn-public/xdvipdfmx/TRUNKcompiling on Mac OS X ==
Prerequisits: You In order to cross-compile for PPC on a Intel Mac, you need to have give the runtime libraries for fontconfig compiler and zlib installed, as well as the devel package for fontconfiglinker the following additional switches:
=== Taco's notes (for linux) === -arch ppc
XeTeX's build process needs the tex binaries directory in the path So all you have to deduce an installation directory from.On the contextgarden, that should be do is set <code>CFLAGS</optcode> and <code>LDFLAGS</texlive2007/bin/i386-linuxcode> before you run <code>configure</code> (as well as <code>CXXFLAGS</code>,because if applicable). Of course it assumes may be that some Makefiles don't honor these variables and override them with something of their own, and this is the path major inconvience you will have to deal with (this is TDS compliant (i.e., it ends with 'actually what the Makefile for lua does; here you would have to set something like <code>MYCFLAGS</bin/code> or <<platform>code>XCFLAGS</code>'in addition).
$ export PATH=/opt/texlive2007/binObviously, you can also use a similar instruction to cross-compile the other way round (build for Intel on a PPC host); it's called <code>-arch i386</i386code>; and if you give both at the same time, it results with a so-linuxcalled ''universal'' binary (the size of which being approximately the sum of the size of both individual binaries). [[User:Arthur|Arthur]] 17:$PATH20, 30 September 2007 (CEST)
=== ArthurFor pdfTeX it's notes (for xdvipdfmx) enough to say CFLAGS="-arch ppc" LDFLAGS="-arch ppc" CXXFLAGS="-arch ppc" ./build.sh
XeTeX supports the syntax $ export $XETEX=location-of./build-xetex-TRUNK $ CFLAGS="-I$XETEX/texk -I$XETEX/Work/texk -I$XETEX/libs/freetype2/include -I$XETEX/libs/freetype2arch ppc" \ LDFLAGS="for cross-L$XETEX/Work/texk/kpathsea/compiling.libs -L$XETEX/Work/libs/freetype2" ./configure
It is also adviced to use gcc_selectand select gcc 3.3 to be more backward compatible, as well as setting export MACOSX_DEPLOYMENT_TARGET== Cross-compiling for PPC on Intel Mac ==10.3
I see that Mojca has left homework for me to do over the week-end <code>;-)</code> so here goes:== Compiling TeX Live binaries ==
In order To compile 64-bit binaries on 10.6 or later: ./Build --disable-xdvipdfmx --disable-xetex --disable-xdv2pdfTo select the latest compiler on Lion: CC=clang OBJC=clang CXX=clang++ ./Build <options>If we want to cross-compile for PPC 10.6 on a Intel Mac, you 10.7 we additionally need : export MACOSX_DEPLOYMENT_TARGET=10.6 # or add -mmacosx-version-min=10.6 to give CFLAGS # most of the compiler and the linker the following additional time optional; usually not needed, but one never knows export MYCFLAGS='-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk' export CC=llvm-gcc-4.2; export CFLAGS=$MYCFLAGS export OBJC=llvm-gcc-4.2; export OBJCFLAGS=$MYCFLAGS export CXX=llvm-g++-4.2; export CXXFLAGS=$MYCFLAGS switches:./Build <options>
To compile ppc and i386 binaries for Tiger on 10.6: export ARCH=i386 export MACOSX_DEPLOYMENT_TARGET=10.4 export MYCFLAGS='-arch $ARCH -isysroot /Developer/SDKs/MacOSX10.4u.sdk' export LDFLAGS='-arch ppc$ARCH' export CC=gcc-4.0; export CFLAGS=$MYCFLAGS export OBJC=gcc-4.0; export OBJCFLAGS=$MYCFLAGS export CXX=g++-4.0; export CXXFLAGS=$MYCFLAGS
Pretty damn simple, isn't?Or alternatively: export MACOSX_DEPLOYMENT_TARGET=10.4So all you have to do is set <code>CFLAGS< export MYCFLAGS='-isysroot /code> and <code>LDFLAGS<Developer/code> before you run <code>configure<SDKs/code> (as well as <code>CXXFLAGS</code>, if applicable)MacOSX10.4u. Of course it may be that some Makefiles donsdk'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 export CC=i686-apple-darwin10-gcc-4.0.1; export CFLAGS=$MYCFLAGS export OBJC=i686-apple-darwin10-gcc-4.0.1; here you would have to set something like <code>export OBJCFLAGS=$MYCFLAGS</code> or <code>XCFLAGS</code> in addition) export CXX=i686-apple-darwin10-g++-4.0.1; export CXXFLAGS=$MYCFLAGS
Obviously, you can also use a similar instruction to cross export MACOSX_DEPLOYMENT_TARGET=10.4 export MYCFLAGS='-compile the other way round (build for Intel on a PPC host)isysroot /Developer/SDKs/MacOSX10.4u.sdk' export CC=powerpc-apple-darwin10-gcc-4.0.1; it's called <code>export CFLAGS=$MYCFLAGS export OBJC=powerpc-apple-darwin10-gcc-arch i386</code>4.0.1; and if you give both at the same time, it results with a soexport OBJCFLAGS=$MYCFLAGS export CXX=powerpc-apple-called ''universal'' binary (the size of which being approximately the sum of the size of both individual binaries)darwin10-g++-4.0. [[User:Arthur|Arthur]] 17:20, 30 September 2007 (CEST)1; export CXXFLAGS=$MYCFLAGS
= Non-Polish Fonts =
ctxtools --dpx --force --maproot=/usr/local/gwTeX/texmf.pkgs/fonts/map/dvips/tex-gyre
== Chinese ==
TODO: add support for [[Chinese]], see Hans's manual
== Different (check) ==
* \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:
\pdfmapfile{+lm-rep-cmtext.map}
'''Bold text'''
 
[[Category:Standalone|Implementation]]

Navigation menu