Changes

Jump to navigation Jump to search
865 bytes added ,  15:55, 20 November 2012
Add content from Using LuaTeX in Ubuntu
== With Ubuntu packages – should work with Ubuntu 7.10 and above ==
 
Note that Ubuntu's packaged version of ConTeXt is quite old (circa 2009), so a better option is the ConTeXt Standalone
TeX Live and ConTeXt have been part of Ubuntu's main repositories since Ubuntu 7.10, so you can simply
* [[Using LuaTeX in Ubuntu]]
Note === Adding the system fonts === The standard Ubuntu LuaTeX package does not scan any of your installed system fonts. Therefore you will want to set up the OSFONTDIR environment variable to point to all the font paths. For example:  export OSFONTDIR=~/.fonts:/usr/share/fonts:/usr/share/texmf/fonts/opentype/:/opt/libreoffice/basis3.3/share/fonts/ Once you have done that Ubuntu, run  mtxrun --script fonts --reload If you have an error do this   luatools --generate to scan all the font directories. Then run  mtxrun --script fonts --list --all --pattern=* to list all the fonts LuaTeX now knows about. Finally, run  context --reload to make sure ConTeXt's packaged version of ConTeXt font cache is quite old (circa 2009)up to date. If you are using TeXworks, so a better option for advanced users you need to make sure that OSFONTDIR is..set in the environment TeXworks runs in, because ConTeXt may decide it needs to rescan fonts.
== With ConTeXt Standalone – should work with all Ubuntu versions==

Navigation menu