Re: [NTG-context] modify resume
2010/9/19 Wolfgang Schuster schuster.wolfg...@googlemail.com: http://pastie.org/1091180 http://pastie.org/1091177 I renamed the first one into cv.tex and the second one into moderncv.tex. When i run texexec cv.tex, i’ve got this message : Runaway argument? {{\margintext {##1} ##2 ! Paragraph ended before \complexdefine was complete. to be read again \par l.87 {{\margintext{#1} #2 \par }} i don’t understand why. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] modify resume
Am 21.09.2010 um 11:20 schrieb pol stra: 2010/9/19 Wolfgang Schuster schuster.wolfg...@googlemail.com: http://pastie.org/1091180 http://pastie.org/1091177 I renamed the first one into cv.tex and the second one into moderncv.tex. When i run texexec cv.tex, i’ve got this message : Runaway argument? {{\margintext {##1} ##2 ! Paragraph ended before \complexdefine was complete. to be read again \par l.87 {{\margintext{#1} #2 \par }} i don’t understand why. Change in moderncv.tex \define[2]\cvcompactentry {{\margintext{#1} #2 \par}} to \define[2]\cvcompactentry {\margintext{#1} #2 \endgraf} This isn't the only problem when you use the code with mkii, the author wrote it for mkiv and used the marvosym font in a way which doesn't work with pdftex. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] How to start (again) with typescripts
Hello, having been absent from the One and Only True Typesetting System for quite some time I'd like to try to write my software-documentation in MK IV. Now I have several instances of a Frutiger font (ttf) and I guess I need to create a typescript. mtxrun --script fonts --list --all gives me frutigerce45lightfrutigercelight /Users/patrick/Library/Fonts/Frutiger CE 45 Light.ttf frutigerce45lightlight frutigercelight /Users/patrick/Library/Fonts/Frutiger CE 45 Light.ttf frutigerce55romanfrutigerceroman /Users/patrick/Library/Fonts/Frutiger CE 55 Roman.ttf frutigerce55romannormal frutigerceroman /Users/patrick/Library/Fonts/Frutiger CE 55 Roman.ttf frutigercelight frutigercelight /Users/patrick/Library/Fonts/Frutiger CE 45 Light.ttf frutigerceroman frutigerceroman /Users/patrick/Library/Fonts/Frutiger CE 55 Roman.ttf frutigerlt45lightfrutigerltlight /Users/patrick/Library/Fonts/Frutiger LT 45 Light.ttf frutigerlt45lightlight frutigerltlight /Users/patrick/Library/Fonts/Frutiger LT 45 Light.ttf frutigerlt46lightitalic frutigerltlightitalic /Users/patrick/Library/Fonts/Frutiger LT 46 Light Italic.ttf frutigerlt55romanfrutigerltroman /Users/patrick/Library/Fonts/Frutiger LT 55 Roman.ttf frutigerlt55romannormal frutigerltroman /Users/patrick/Library/Fonts/Frutiger LT 55 Roman.ttf frutigerltlight frutigerltlight /Users/patrick/Library/Fonts/Frutiger LT 45 Light.ttf frutigerltlightitalicfrutigerltlightitalic /Users/patrick/Library/Fonts/Frutiger LT 46 Light Italic.ttf frutigerltroman frutigerltroman /Users/patrick/Library/Fonts/Frutiger LT 55 Roman.ttf Can I use this information to create a typescript? Where should I look for documentation on it? The wiki page (http://wiki.contextgarden.net/TypeScripts) is MK II only. The font chapter from the reference manual confuses me, as it deals a lot with encodings and I have not found an instruction as If you need to install a new font family, do this and this and that. Does such a list exist? Can someone point me to instructions? I know I should have asked last week... Patrick ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to start (again) with typescripts
On Tue, Sep 21, 2010 at 1:56 PM, Patrick Gundlach patr...@gundla.ch wrote: Hello, having been absent from the One and Only True Typesetting System for quite some time I'd like to try to write my software-documentation in MK IV. Now I have several instances of a Frutiger font (ttf) and I guess I need to create a typescript. mtxrun --script fonts --list --all gives me frutigerce45light frutigercelight /Users/patrick/Library/Fonts/Frutiger CE 45 Light.ttf frutigerce45lightlight frutigercelight /Users/patrick/Library/Fonts/Frutiger CE 45 Light.ttf frutigerce55roman frutigerceroman /Users/patrick/Library/Fonts/Frutiger CE 55 Roman.ttf frutigerce55romannormal frutigerceroman /Users/patrick/Library/Fonts/Frutiger CE 55 Roman.ttf frutigercelight frutigercelight /Users/patrick/Library/Fonts/Frutiger CE 45 Light.ttf frutigerceroman frutigerceroman /Users/patrick/Library/Fonts/Frutiger CE 55 Roman.ttf frutigerlt45light frutigerltlight /Users/patrick/Library/Fonts/Frutiger LT 45 Light.ttf frutigerlt45lightlight frutigerltlight /Users/patrick/Library/Fonts/Frutiger LT 45 Light.ttf frutigerlt46lightitalic frutigerltlightitalic /Users/patrick/Library/Fonts/Frutiger LT 46 Light Italic.ttf frutigerlt55roman frutigerltroman /Users/patrick/Library/Fonts/Frutiger LT 55 Roman.ttf frutigerlt55romannormal frutigerltroman /Users/patrick/Library/Fonts/Frutiger LT 55 Roman.ttf frutigerltlight frutigerltlight /Users/patrick/Library/Fonts/Frutiger LT 45 Light.ttf frutigerltlightitalic frutigerltlightitalic /Users/patrick/Library/Fonts/Frutiger LT 46 Light Italic.ttf frutigerltroman frutigerltroman /Users/patrick/Library/Fonts/Frutiger LT 55 Roman.ttf Can I use this information to create a typescript? Where should I look for documentation on it? The wiki page (http://wiki.contextgarden.net/TypeScripts) is MK II only. The font chapter from the reference manual confuses me, as it deals a lot with encodings and I have not found an instruction as If you need to install a new font family, do this and this and that. Does such a list exist? Can someone point me to instructions? See type-otf.mkiv It's more simple than it seems. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to start (again) with typescripts
See type-otf.mkiv It's more simple than it seems. Yes it is, thanks! What is the use of \starttypescriptcollection[mytypescripts] ... \stoptypescriptcollection ? Patrick ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to start (again) with typescripts
On 21-9-2010 2:23, Patrick Gundlach wrote: See type-otf.mkiv It's more simple than it seems. Yes it is, thanks! What is the use of \starttypescriptcollection[mytypescripts] \stoptypescriptcollection typescripts can be preloaded and then this is the container; from the user point of view you can also consider it to be metainfo Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to hide or remove chapter e section number in subsection head and in TOC subsection head?
My first problem was about headers and I resolved it this way: 8--- \definehead[capo][chapter] \setuphead [capo] [alternative=middle,ownnumber=yes] \def\myownnumber#1{\currentstructureownnumber} %---^^ \definehead[sezione][section] \setuphead [sezione][alternative=middle,ownnumber=yes,numbercommand=\myownnumber] \definehead[articolo][subsubsection] \setuphead [articolo] [alternative=middle,ownnumber=yes] \starttext \capo{CAPO I}{Titolo del primo papo} text \sezione{Sezione I}{Titolo della prima sezione} text \articolo{ART. 1}{Titolo del primo articolo} text \sezione{Sezione II}{Titolo della seconda sezione} text \articolo{ART. 2}{Titolo del secondo articolo} \capo{CAPO II}{Titolo del secondo papo} text \articolo{ART. 3}{Titolo del terzo articolo} text \sezione{Sezione III}{Titolo della terza sezione} text \articolo{ART. 4}{Titolo del quarto articolo} text \articolo{ART. 5}{Titolo del quinto articolo} text \stoptext 8--- I don't know if it the best solution but it works. @ Luigi, now I'll study the *lists* :-) On 18Sep 2010, at 5:14 PM, luigi scarso wrote: Do you want to modify the list , right ? If so, then you should see http://wiki.contextgarden.net/Reference/en/definecombinedlist until http://wiki.contextgarden.net/Reference/en/setuplist -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Lettrines in MkIV
Hi all, the lettrine module leads to an error with this example and MkIV. MkII is fine. 8··· \usemodule[lettrine] \starttext \chapter{And Now: an Error} \lettrine{E}{rror} \stoptext 8··· * With Luatex 0.63.0-2010091123 I get an ``error on line 6 in file ../environ.tex: Attempt to double-free glue node 1001, ignored ...`` * Can be circumvented via “\dontleavehmode”. * Never ran into a “glue node” error before; is there general rule how to avoid them? Thanks for any advice, Philipp PS: Taco, the french blindtext in lettrine-doc.pdf has an issue concerning guillemets, which are rendered as inverted question marks and exclamation marks. I wasn't able to compile the document myself so unfortunately I can't send a patch. -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgpDVwlEgHtHE.pgp Description: PGP signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Removing banner from mtxrun output
The filters module works great! The R module should be abandoned in favor of it. The only problem I have now is the problem with the unwanted lines at the end of R output. Is there a way to instruct \typefile to ignore the last four lines of the outputfile? I assume defining an alternative command which does just that is not too difficult, but sadly beyond me. Johan 2010/9/20 Johan Sandblom jsandb...@gmail.com: A bit off-topic: do you know aditya module t-filters ? See http://meeting.contextgarden.net/2010/talks/2010-09-15-aditya-filters/ I didn't, but I'll investigate! Thank you, Johan -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- Johan Sandblom, MD PhD m +46735521477 Sweden What is wanted is not the will to believe, but the will to find out, which is the exact opposite - Bertrand Russell -- Johan Sandblom, MD PhD m +46735521477 Sweden What is wanted is not the will to believe, but the will to find out, which is the exact opposite - Bertrand Russell ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Removing banner from mtxrun output
On Tue, Sep 21 2010, Johan Sandblom wrote: Is there a way to instruct \typefile to ignore the last four lines of the outputfile? I assume defining an alternative command which does just that is not too difficult, but sadly beyond me. It seems, that it's not possible at the moment. There is a tracker item for this feature: http://tracker.luatex.org/view.php?id=475 Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Lettrines in MkIV
On 21-9-2010 8:39, Philipp Gesang wrote: Hi all, the lettrine module leads to an error with this example and MkIV. MkII is fine. 8··· \usemodule[lettrine] \starttext \chapter{And Now: an Error} \lettrine{E}{rror} \stoptext 8··· * With Luatex 0.63.0-2010091123 I get an ``error on line 6 in file ../environ.tex: Attempt to double-free glue node 1001, ignored ...`` * Can be circumvented via “\dontleavehmode”. * Never ran into a “glue node” error before; is there general rule how to avoid them? Thanks for any advice, Alan ran into this at the ctx conference and it is under investigation. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Removing banner from mtxrun output
On Tue, 21 Sep 2010, Peter Münster wrote: On Tue, Sep 21 2010, Johan Sandblom wrote: Is there a way to instruct \typefile to ignore the last four lines of the outputfile? I assume defining an alternative command which does just that is not too difficult, but sadly beyond me. It seems, that it's not possible at the moment. There is a tracker item for this feature: http://tracker.luatex.org/view.php?id=475 Not hard to do, just no interface. We can change buffers.range so that it accepts {1,-4} to mean from first to last-4 lines, and then just set \typefile[lines={1,-4}]{filename} In any case, it is easy to define a lua function that does this. \startluacode function buffers.stripfromend(name, count) local str = buffers.loaddata(name) if str and str~= then local lines = str:splitlines() local line, n, action = 0, 0, buffers.typeline local first, last, m = buffers.strip(lines) last = last - count m= m - count for i=first,last do n, line = action(lines[i], n, m, line) end end end \stopluacode \unprotect \def\strippedtyping#1#2% count file {\begingroup \tttf \let\obs\specialobeyedspace \ctxlua{buffers.stripfromend(\!!bs#2\!!es, #1)} \endgraf \endgroup} \protect \starttext \strippedtyping{4}{filename} \stoptext To use this with t-filter, you can just say readcommand=\strippedtyping{4}, Aditya___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Removing banner from mtxrun output
Perfect, thank you. Johan 2010/9/21 Aditya Mahajan adit...@umich.edu: On Tue, 21 Sep 2010, Peter Münster wrote: On Tue, Sep 21 2010, Johan Sandblom wrote: Is there a way to instruct \typefile to ignore the last four lines of the outputfile? I assume defining an alternative command which does just that is not too difficult, but sadly beyond me. It seems, that it's not possible at the moment. There is a tracker item for this feature: http://tracker.luatex.org/view.php?id=475 Not hard to do, just no interface. We can change buffers.range so that it accepts {1,-4} to mean from first to last-4 lines, and then just set \typefile[lines={1,-4}]{filename} In any case, it is easy to define a lua function that does this. \startluacode function buffers.stripfromend(name, count) local str = buffers.loaddata(name) if str and str~= then local lines = str:splitlines() local line, n, action = 0, 0, buffers.typeline local first, last, m = buffers.strip(lines) last = last - count m = m - count for i=first,last do n, line = action(lines[i], n, m, line) end end end \stopluacode \unprotect \def\strippedtyping#1#2% count file {\begingroup \tttf \let\obs\specialobeyedspace \ctxlua{buffers.stripfromend(\!!bs#2\!!es, #1)} \endgraf \endgroup} \protect \starttext \strippedtyping{4}{filename} \stoptext To use this with t-filter, you can just say readcommand=\strippedtyping{4}, Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- Johan Sandblom, MD PhD m +46735521477 Sweden What is wanted is not the will to believe, but the will to find out, which is the exact opposite - Bertrand Russell ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Fonts
On Friday 10 September 2010 15:54:00 Peter Schorsch wrote: You can list all local availble fonts with: mtxrun --script fonts --list --all More details under: http://wiki.contextgarden.net/Fonts_in_LuaTeX Tried all that on a fresh install of texlive 2010. Here are the results, or lack thereof: -- bash-3.1$ mtxrun --script fonts --list --all MTXrun | unknown script 'fonts.lua' or 'mtx-fonts.lua' bash-3.1$ export OSFONTDIR=/usr/local/share/fonts;$HOME/.fonts bash-3.1$ mtxrun --script fonts --list --all MTXrun | unknown script 'fonts.lua' or 'mtx-fonts.lua' bash-3.1$ mtxrun --script fonts --reload MTXrun | unknown script 'fonts.lua' or 'mtx-fonts.lua' bash-3.1$ context --generate MTXrun | unknown script 'context.lua' or 'mtx-context.lua' bash-3.1$ set ... OSFONTDIR='/usr/local/share/fonts;/home/safe/.fonts' ... --- Any hints? At the moment I am looking to use just plain Luatex. I can only handle one set of confusing things at a time :) -- John Culleton Wexford Press Create Book Covers with Scribus Printable E-book 38 pages $5.95 http://www.booklocker.com/books/4055.html ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Fonts
On Tue, Sep 21, 2010 at 05:27:22PM -0400, John Culleton wrote: On Friday 10 September 2010 15:54:00 Peter Schorsch wrote: You can list all local availble fonts with: mtxrun --script fonts --list --all More details under: http://wiki.contextgarden.net/Fonts_in_LuaTeX Tried all that on a fresh install of texlive 2010. Here are the results, or lack thereof: -- bash-3.1$ mtxrun --script fonts --list --all MTXrun | unknown script 'fonts.lua' or 'mtx-fonts.lua' bash-3.1$ export OSFONTDIR=/usr/local/share/fonts;$HOME/.fonts bash-3.1$ mtxrun --script fonts --list --all MTXrun | unknown script 'fonts.lua' or 'mtx-fonts.lua' bash-3.1$ mtxrun --script fonts --reload MTXrun | unknown script 'fonts.lua' or 'mtx-fonts.lua' bash-3.1$ context --generate MTXrun | unknown script 'context.lua' or 'mtx-context.lua' bash-3.1$ set ... OSFONTDIR='/usr/local/share/fonts;/home/safe/.fonts' ... --- Any hints? At the moment I am looking to use just plain Luatex. I can only handle one set of confusing things at a time :) Try to run luatools --generate first to generate/update file database. Also, if you are only interested in plain, you may try luatotfload and brothers. -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Fonts
Am 2010-09-21 um 23:27 schrieb John Culleton: On Friday 10 September 2010 15:54:00 Peter Schorsch wrote: You can list all local availble fonts with: mtxrun --script fonts --list --all More details under: http://wiki.contextgarden.net/Fonts_in_LuaTeX Tried all that on a fresh install of texlive 2010. Here are the results, or lack thereof: -- bash-3.1$ mtxrun --script fonts --list --all MTXrun | unknown script 'fonts.lua' or 'mtx-fonts.lua' It says clearly unknown script (i.e. not found), nothing to do with fonts. I guess you didn't set TEXMFOS and/or TEXROOT. Mine (with minimals' setuptex) are: TEXMFOS=/Users/hraban/Library/texmf/tex/texmf-osx-intel TEXROOT=/Users/hraban/Library/texmf/tex Don't know if these are necessary: OWNPATH=/Users/hraban/Library/texmf/tex ARGPATH=/Users/hraban/Library/texmf/tex SCRIPTPATH=/Users/hraban/Library/texmf/tex/setuptex I've also TEXMFOS in my PATH. (Since I don't use TeX Live I can't help you further.) Any hints? At the moment I am looking to use just plain Luatex. I can only handle one set of confusing things at a time :) Then don't try to use PlainTeX ;-) Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Fonts
On Tuesday 21 September 2010 17:43:15 Henning Hraban Ramm wrote: Am 2010-09-21 um 23:27 schrieb John Culleton: On Friday 10 September 2010 15:54:00 Peter Schorsch wrote: You can list all local availble fonts with: mtxrun --script fonts --list --all More details under: http://wiki.contextgarden.net/Fonts_in_LuaTeX Tried all that on a fresh install of texlive 2010. Here are the results, or lack thereof: - - bash-3.1$ mtxrun --script fonts --list --all MTXrun | unknown script 'fonts.lua' or 'mtx-fonts.lua' It says clearly unknown script (i.e. not found), nothing to do with fonts. I guess you didn't set TEXMFOS and/or TEXROOT. Mine (with minimals' setuptex) are: TEXMFOS=/Users/hraban/Library/texmf/tex/texmf-osx-intel TEXROOT=/Users/hraban/Library/texmf/tex Don't know if these are necessary: OWNPATH=/Users/hraban/Library/texmf/tex ARGPATH=/Users/hraban/Library/texmf/tex SCRIPTPATH=/Users/hraban/Library/texmf/tex/setuptex I've also TEXMFOS in my PATH. (Since I don't use TeX Live I can't help you further.) Any hints? At the moment I am looking to use just plain Luatex. I can only handle one set of confusing things at a time :) Then don't try to use PlainTeX ;-) Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ Well I have been typesetting books in plain tex and pdftex for a decade or more. Supposedly luatex is a superset of pdftex that makes finding fonts easier and eliminates the generation of tmf files. But I seem to be sinking into a deeper swamp. Here is the base problem. All other publishing related programs on my system will a) look in /usr/share/fonts and b) list the fonts fond there in a window when selecting fonts. Laying aside b) for the moment it would be nice if some form of TeX (preferably not LaTeX) would join the party and find Type1, TTF and OTF fonts in the system standard location. Gimp does this, Scribus does this, Inkscape does this, Open Office Writer does this and so on. Luatex supposedly does this. But getting Luatex to work on a new standard distro , texlive 2010, seems to be a game of whackamole. I tried comp.text.tex but when no one there seemed to have the right answers and many of the names mentioned in the documentation were gurus here I thought I would ask how to get the luatex business set up. My goal is to use the stuff myself of course but also to describe how to do it in a book I am writing on Free Publishing Software. It does not appear that Luatex is suitable for a newbie to set up. Remember, the competition consists of programs where you download and install the program and font finding is automatic. I write for an impatient audience who want to have it all just work without a lot of experimentation and fuss and feathers. There does not yet seem to be a reliable single set of instructions for installing Luatex and setting it up properly. When there is I will revisit the program. Thanks for helping and sorry to have wasted your time. -- John Culleton Wexford Press Create Book Covers with Scribus Printable E-book 38 pages $5.95 http://www.booklocker.com/books/4055.html ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Fonts
Well I have been typesetting books in plain tex and pdftex for a decade or more. Supposedly luatex is a superset of pdftex that makes finding fonts easier and eliminates the generation of tmf files. Not if you use plain TeX. Unlike XeTeX, LuaTeX cannot find or use any more fonts than pdfTeX does. You need additional macros, that are present in ConTeXt, but in neither LaTeX nor (obviously) plain TeX. You can, though, use the luaotfload package with LuaLaTeX as well as (I think) plain LuaTeX, but Khaled should be able to tell you more about that. Arthur ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Fonts
On Tue, Sep 21, 2010 at 06:17:41PM -0400, John Culleton wrote: Well I have been typesetting books in plain tex and pdftex for a decade or more. Supposedly luatex is a superset of pdftex that makes finding fonts easier and eliminates the generation of tmf files. But I seem to be sinking into a deeper swamp. If you all what you want is plain TeX, then why you are looking for ConTeXt solutions, I mean you don't need ConTeXt nor ConTeXt file locating system (which does not use kpathsea) to use plain format. The issue you have is because your ConTeXt MkIV is not properly setup yet (true for fresh TeXLive 2010 installs). You need to run `luatools -generate` to generate the file database (used to locating files, similar to running texhash and likes, but TeXLive scripts does not run it by default). Then you need to set your system font paths, by setting OSFONTDIR, and ConTeXt will then be able find system fonts. However, you don't need any of then to use system fonts with plain, there are already packages for this (based on dome of ConTeXt code, but adapted to be self contained and ConTeXt independent). A small test file would be: \input luaotfload.sty % works for plain despite the .sty \font\pagella={name:TeX Gyre Pagella:script=latn;+onum} at 10pt \font\termes={file:texgyretermes-regular.otf:script=latn} at 10pt \pagella some text 12345\par \termes other text \bye This should work out of box on texlive (at first run it will take some time building font database). If it does not work, it is a bug. For LaTeX, just check fontspec documentation, and there is a lualatex-dev list on CTAN, and luatex list for general, non-ConTeXt questions. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___