Re: [NTG-context] Typescripts for MathTimePro 2? (was MathTime Lite fonts for free)
On Wed, Aug 18, 2010 at 01:55, Aditya Mahajan wrote: > On Tue, 17 Aug 2010, Hans Hagen wrote: > >> On 17-8-2010 8:27, Vnpenguin wrote: >>> >>> On Tue, Aug 17, 2010 at 20:16, Hans Hagen wrote: >>> > On 17-8-2010 7:56, Vnpenguin wrote: >>> > > > Only *.pfb file are ok ? >>> > > plus afm and for math tfm >>> > >>> Done. >>> >>> > > > \setupbodyfont[mathtimes] >>> > > > > > > \starttext >>> > > > test $e=mc^2$ >>> > > > \stoptext >>> > > > > > > > That does not work. In the PDF file I see only >>> > > > > > > > "TeXGyreTermes-Regular" >>> > > font. >>> > > no messages concerning missing fonts in the log? >>> > >>> Log file attached. >>> Here are some files of MT Pro 2: >>> >>> >>> 19/02/2009 03:00 19 690 mt2bbdf.pfb >>> 19/02/2009 03:00 738 mt2bbdf.pfm >>> 19/02/2009 03:00 704 mt2bbdf.tfm >>> 19/02/2009 03:00 19 443 mt2bbds.pfb >>> 19/02/2009 03:00 738 mt2bbds.pfm >>> 19/02/2009 03:00 712 mt2bbds.tfm >> >> >> so, the wrong names are used ... as I don't have these fonts you or >> someone has to do it: > > Are we talking about mathtime pro fonts or mathtime pro lite fonts? The lite > version was availabe for free, so I can try to make typescripts for them. > But I do not have the pro version. > Here is full list of PFB files: http://pastebin.com/EX1ECWSx ___ 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] (Open) Solaris & minimals
I've been been OpenSolaris user, but mainly as a big "data pot". Attempts with Minimals were cut short, because my OpenSolaris install had issues with updates. Seeing the news... No so sure if my need will be there. Mac serves me fine for the time being. Martin > ... is there still any interest for OpenSolaris support in > minimals? > > (At the moment OpenSolaris binaries are supposed to work, > even though > most probably nobody uses them.) > > Mojca ___ 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] Debian_installation - repositories not found
In attempting to install ConTeXt on Debian sid as per http://wiki.contextgarden.net/Debian_installation I added these to my /etc/apt/sources.list : # for texlive deb http://people.debian.org/~preining/TeX/ tl2007/ deb-src http://people.debian.org/~preining/TeX/ src/ # for lmodern deb http://people.debian.org/~preining/TeX/ lmodern/ deb-src http://people.debian.org/~preining/TeX/ lmodern/ # for context deb http://people.debian.org/~preining/TeX/ context/ deb-src http://people.debian.org/~preining/TeX/ context/ But when running aptitude update: Err http://people.debian.org lmodern/ Packages 404 Not Found [IP: 206.12.19.5 80] Err http://people.debian.org lmodern/ Sources 404 Not Found [IP: 206.12.19.5 80] Err http://people.debian.org context/ Packages 404 Not Found [IP: 206.12.19.5 80] Err http://people.debian.org context/ Sources 404 Not Found [IP: 206.12.19.5 80] Are there other repositories to point to for the most recent packages? Maybe these are just temporarily unavailable? Or am I missing something else? Thanks for any suggestions, John -- John Magolske http://B79.net/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] Typescripts for MathTimePro 2? (was MathTime Lite fonts for free)
On Tue, 17 Aug 2010, Hans Hagen wrote: On 17-8-2010 8:27, Vnpenguin wrote: On Tue, Aug 17, 2010 at 20:16, Hans Hagen wrote: > On 17-8-2010 7:56, Vnpenguin wrote: > > > Only *.pfb file are ok ? > > plus afm and for math tfm > Done. > > > \setupbodyfont[mathtimes] > > > > > > \starttext > > >test $e=mc^2$ > > > \stoptext > > > > > > > That does not work. In the PDF file I see only "TeXGyreTermes-Regular" > > font. > > no messages concerning missing fonts in the log? > Log file attached. Here are some files of MT Pro 2: 19/02/2009 03:0019 690 mt2bbdf.pfb 19/02/2009 03:00 738 mt2bbdf.pfm 19/02/2009 03:00 704 mt2bbdf.tfm 19/02/2009 03:0019 443 mt2bbds.pfb 19/02/2009 03:00 738 mt2bbds.pfm 19/02/2009 03:00 712 mt2bbds.tfm so, the wrong names are used ... as I don't have these fonts you or someone has to do it: Are we talking about mathtime pro fonts or mathtime pro lite fonts? The lite version was availabe for free, so I can try to make typescripts for them. But I do not have the pro version. 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] xits font in ~/.fonts
On Tue, 17 Aug 2010, Hans Hagen wrote: \starttext \definedfont[file:STIXGeneral at 100pt] test \stoptext (I don't have stix fonts so testing with xtis) \starttext \definedfont[file:xits-regular.otf at 100pt] test \stoptext gives define fonts> forced type otf of xits-regular not found define fonts> font with name xits-regular is not found define fonts> unknown font xits-regular, loading aborted define fonts> unable to define xits-regular.otf as \**thedefinedfont** (which is consistent with the previous error message). The error message says "font with ***name*** xits-regular is not found". Not sure if name means font name or file name. As Khalid said, \starttext \definedfont[name:XITS at 100pt] test \stoptext works as expected. mtxrun --script font --list can find xits-regular but luatools --locate cannot. I don't think that should matter. Some diagnostic information: * The result of $mtxrun --script font --list --all | grep xits-regular xits xits /home/adityam/.fonts/xits-math/xits-regular.otf (No fontname, instead the font location is given). * The result of $mtxrun --script font --list --file --pattern=xits-regular.otf xits normal normal normal normal xits /home/adityam/.fonts/xits-math/xits-regular.otf conflict: regular (What does the conflict: regular flag mean) * Custom setuptex file TEXMFOS=/opt/context-minimals/texmf-linux export TEXMFOS TEXMFCACHE=$HOME/texmf-cache export TEXMFCACHE unset TEXINPUTS MPINPUTS MFINPUTS PATH=$TEXMFOS/bin:$PATH export PATH OSFONTDIR="$HOME/.fonts;/usr/share/fonts;" export OSFONTDIR (No other customizations of the environments). I have no idea what is going on here. Can it be a linux vs windows things? Can someone else on linux (with xits fonts in OSFFONTDIR) test the above examples? Hans, is there some tracing that I can enable to see how the fonts are being searched? 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] Fwd: complicated layout - impostion
As far as I know you can not use two arranging-instructions in the same file. So my answer would be no. May be that one could get it done with left - right page setups using layers Willi On 17 Aug 2010, at 15:28, Honza Pohanka wrote: > Thank you for answer. I was aware about two document workaround, but can the > same be done using only one document? > > regards > Jan > > Dne Mon, 09 Aug 2010 10:02:53 +0200 Willi Egger napsal(a): > >> Hi Jan, >> >> Indeed a demanding layout. --- As I see it, this will become a two step >> build: >> >> Create two documents containing the recto layout and the verso layout. >> 1st document made up with \setuparranging [2*4] >> 2nd document made up with \setuparranging[2UP] >> >> In the second step you can combine the two documents into one: >> >> \starttext >> \insertpages [sample1.pdf][width=0pt] >> \insertpages [sample2.pdf][width=0pt] >> \stoptext >> >> Kind regards >> >> Willi >> Begin forwarded message: >> >>> Subject: [NTG-context] complicated layout - impostion >>> Date: Fri, 30 Jul 2010 12:00:29 +0200 >>> From: Jan Pohanka >>> Reply-To: mailing list for ConTeXt users >>> To: ntg-context@ntg.nl >>> >>> Hallo, >>> I need to create a document with complicated layout. >>> >>> four A6 pages on one side of A4 sheet (two upper ones with bottom up) >>> two A5 landscape pages on back side of A4 sheet (upper one with bottom up) >>> >>> How can I reach this in Context please? >>> \setuppapersize[A6][A4] >>> \setuparranging[2*4] >>> This code works fine for A6 pages, but I'm not sure how to include also A5 >>> landscape pages. >>> >>> Whole work should end with a document similar to >>> http://www.eprona.com/kdp/data/skladacka2010.pdf >>> >>> greetings Jan >>> >>> >>> -- >>> Tato zpráva byla vytvořena převratným poštovním klientem Opery: >>> http://www.opera.com/mail/ >>> ___ >>> 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 >>> ___ >> >> ___ >> 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 >> ___ > > > -- > Tato zpráva byla vytvořena převratným poštovním klientem Opery: > http://www.opera.com/mail/ > ___ > 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 > ___ ___ 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] [PATCH] small corrections for the ConTeXt-correspondence manual
[Adding Wolfgang explicitely to CC.] Am Sonntag, den 15.08.2010, 19:03 +0200 schrieb Paul Menzel: > Dear ConTeXt folks, > > > this is my first post and I am looking forward to get more acquainted > with ConTeXt. > > I read the ConTeXt-correspondence manual (module letter [1]) and > attached you will find some formal fixes for the source files gotten > from [2]. If I should sent each patch as a separate message, please tell > me. > > I was not able to get a PDF created with my Debian Sid/unstable system, > so I could not test my changes. > > $ texexec correspondence.tex > […] > ! Undefined control sequence. > l.139 \doifolderversionelse > > \contextversion{\currentmoduleparameter\c!context... > > I hope this is the right way to contact the authors and to submit the > patches. If not, please tell me the preferred way. > > As a last remark, I would really love to see the sources and > documentation of modules under SCM so contributing would be easier. > There are some free services for free software projects as for example > Gitorious [3]. Is everyone busy or was my message overlooked? > Thanks, > > Paul > > > [1] http://modules.contextgarden.net/letter > [2] ftp://tug.ctan.org/pub/tex-archive/macros/context/contrib/context-letter > [3] http://www.gitorious.org/ signature.asc Description: This is a digitally signed message part ___ 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] Protrusion and expansion in simplefonts not working in latest beta?
On 17-8-2010 9:00, Vianney le Clément wrote: Could you expand a bit more on this? My understanding was that setting protrusion=quality without \setupalign[hanging] did nothing, but of course I may be completely wrong. true but it also creates more font data so it uses more memory and slows down font loading 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] Typescripts for MathTimePro 2? (was MathTime Lite fonts for free)
On 17-8-2010 8:27, Vnpenguin wrote: On Tue, Aug 17, 2010 at 20:16, Hans Hagen wrote: On 17-8-2010 7:56, Vnpenguin wrote: Only *.pfb file are ok ? plus afm and for math tfm Done. \setupbodyfont[mathtimes] \starttext test $e=mc^2$ \stoptext That does not work. In the PDF file I see only "TeXGyreTermes-Regular" font. no messages concerning missing fonts in the log? Log file attached. Here are some files of MT Pro 2: 19/02/2009 03:0019 690 mt2bbdf.pfb 19/02/2009 03:00 738 mt2bbdf.pfm 19/02/2009 03:00 704 mt2bbdf.tfm 19/02/2009 03:0019 443 mt2bbds.pfb 19/02/2009 03:00 738 mt2bbds.pfm 19/02/2009 03:00 712 mt2bbds.tfm so, the wrong names are used ... as I don't have these fonts you or someone has to do it: - entry for mathtimespro in type-otf.mkiv - make a mathtimespro-math.lfg (copy from mathtimes-math.lfg with other names or provide a list of comparable names) - maybe extra vectors for math-vfu.lua (but best leave that to mojca, aditya and me and just provide the info) as a starter you can provide us a list of mathtimes mathtimespro name proname plus a relevant map file 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] PDF's generated by XeTeX and LuaTeX, font licensing
On 17-8-2010 8:18, Arthur Reutenauer wrote: Just included the used characters, not the whole font file. Some of the other tables are also stripped down (not only the 'glyf' table), so that the embedded font is not complete. In fact, some programs will refuse to open the font if we extract it from the PDF, which is precisely the idea of a subsetted font (you can't use the PDF to retrieve the font). I wonder about these webfonts .. the whole model is based on good will and no abuse .. it's a comparable issue. 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] Protrusion and expansion in simplefonts not working in latest beta?
Am 17.08.10 21:00, schrieb Vianney le Clément: On Tue, Aug 17, 2010 at 20:23, Wolfgang Schuster wrote: \setmainfont[Tex Gyre Bonum][protrusion=quality,expansion=quality] Thanks, that does the trick. Any reason why we cannot set these settings as module parameters anymore? To set both features for all fonts you can use \setupsimplefonts[expansion=quality,protrusion=quality]. 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 ___
Re: [NTG-context] Protrusion and expansion in simplefonts not working in latest beta?
On Tue, Aug 17, 2010 at 20:23, Wolfgang Schuster wrote: > \setmainfont[Tex Gyre Bonum][protrusion=quality,expansion=quality] Thanks, that does the trick. Any reason why we cannot set these settings as module parameters anymore? 2010/8/17 Hans Hagen : > please keep the original key names (protrusion and expansion) as it's > already complex enough .. nowhere we use the term microtypography and it is > a rather meaningless term as there is much micro going on Ok, that's rational. No problem, I can live without it. >> to take care of the first two lines of the previous example. Or at >> least imply \setupalign[hanging] when setting the protrusion parameter >> and similarly for the expansion parameter. > > in many case you don't want to use them both at the same time Could you expand a bit more on this? My understanding was that setting protrusion=quality without \setupalign[hanging] did nothing, but of course I may be completely wrong. Thanks, Vianney ___ 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] Typescripts for MathTimePro 2? (was MathTime Lite fonts for free)
On Tue, Aug 17, 2010 at 20:16, Hans Hagen wrote: > On 17-8-2010 7:56, Vnpenguin wrote: > >> Only *.pfb file are ok ? > > plus afm and for math tfm > Done. >>> \setupbodyfont[mathtimes] >>> >>> \starttext >>> test $e=mc^2$ >>> \stoptext >>> >> >> That does not work. In the PDF file I see only "TeXGyreTermes-Regular" >> font. > > no messages concerning missing fonts in the log? > Log file attached. Here are some files of MT Pro 2: ... 19/02/2009 03:0019 690 mt2bbdf.pfb 19/02/2009 03:00 738 mt2bbdf.pfm 19/02/2009 03:00 704 mt2bbdf.tfm 19/02/2009 03:0019 443 mt2bbds.pfb 19/02/2009 03:00 738 mt2bbds.pfm 19/02/2009 03:00 712 mt2bbds.tfm ... Thanks mt.log Description: Binary data mt.tex Description: TeX document ___ 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] Protrusion and expansion in simplefonts not working in latest beta?
Am 17.08.10 20:11, schrieb Vianney le Clément: Hello, Protrusion and expansion seem to be not working anymore when using the simplefonts module in the latest betas. I used to write something like \usemodule[simplefonts][protrusion=quality,expansion=quality] \setupalign[hanging,hz] \setmainfont[Tex Gyre Bonum] \setmainfont[Tex Gyre Bonum][protrusion=quality,expansion=quality] 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 ___
Re: [NTG-context] PDF's generated by XeTeX and LuaTeX, font licensing
> Just included the used characters, not the whole font file. Some of the other tables are also stripped down (not only the 'glyf' table), so that the embedded font is not complete. In fact, some programs will refuse to open the font if we extract it from the PDF, which is precisely the idea of a subsetted font (you can't use the PDF to retrieve the font). 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] Protrusion and expansion in simplefonts not working in latest beta?
On 17-8-2010 8:11, Vianney le Clément wrote: Hello, Protrusion and expansion seem to be not working anymore when using the simplefonts module in the latest betas. I used to write something like \usemodule[simplefonts][protrusion=quality,expansion=quality] \setupalign[hanging,hz] \setmainfont[Tex Gyre Bonum] but that doesn't give me any of the nice effects anymore. Has something changed in the interface to access those features? BTW, I would definitely love an option in simplefonts to take care of this whole setup at once. Something like \setupmodule[simplefonts][microtypography=yes] please keep the original key names (protrusion and expansion) as it's already complex enough .. nowhere we use the term microtypography and it is a rather meaningless term as there is much micro going on to take care of the first two lines of the previous example. Or at least imply \setupalign[hanging] when setting the protrusion parameter and similarly for the expansion parameter. in many case you don't want to use them both at the same time 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] Typescripts for MathTimePro 2? (was MathTime Lite fonts for free)
On 17-8-2010 7:56, Vnpenguin wrote: Only *.pfb file are ok ? plus afm and for math tfm \setupbodyfont[mathtimes] \starttext test $e=mc^2$ \stoptext That does not work. In the PDF file I see only "TeXGyreTermes-Regular" font. no messages concerning missing fonts in the log? - 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 ___
[NTG-context] Protrusion and expansion in simplefonts not working in latest beta?
Hello, Protrusion and expansion seem to be not working anymore when using the simplefonts module in the latest betas. I used to write something like \usemodule[simplefonts][protrusion=quality,expansion=quality] \setupalign[hanging,hz] \setmainfont[Tex Gyre Bonum] but that doesn't give me any of the nice effects anymore. Has something changed in the interface to access those features? BTW, I would definitely love an option in simplefonts to take care of this whole setup at once. Something like \setupmodule[simplefonts][microtypography=yes] to take care of the first two lines of the previous example. Or at least imply \setupalign[hanging] when setting the protrusion parameter and similarly for the expansion parameter. Thanks, Vianney ___ 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] Typescripts for MathTimePro 2? (was MathTime Lite fonts for free)
On Tue, Aug 17, 2010 at 01:37, Hans Hagen wrote: > On 15-8-2010 8:15, Vnpenguin wrote: >> >> 2009/12/17 Boštjan Vesnicer: >>> >>> Do the typescripts for the MathTime fonts exist? >> >> I have the same question. Anyone could give us some typescripts for >> MathTimePro 2 please. > > (1) make a directory texmf-fonts/fonts/data/mathtimes > (2) copy the fonts there Only *.pfb file are ok ? > (3) run mtxrun --generate > (4) test if it works: > > \setupbodyfont[mathtimes] > > \starttext > test $e=mc^2$ > \stoptext > That does not work. In the PDF file I see only "TeXGyreTermes-Regular" font. Thanks, ___ 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] xits font in ~/.fonts
I also had problems at first with the XITS fonts, especially with the built-in typescripts. First, make sure that you have put the fonts somewhere ConTeXt can find them, and run mtxrun --script font --reload You can check that they have installed properly by running mtxrun --script font --list --all --pattern=xits* and you should see a list of the fonts. Then, copy the typescript from the XITS font zip file which you can get from Khaled's website. Put this in the root directory of your .tex file (or in a suitable place in the ConTeXt tree) and load it in your preamble with \usetypescriptfile[type-xits] I then loaded the font with \usetypescript[xits] \setupbodyfont[xits] You might get conflict with the internal typescipt (although I didn't, if I remember correctly); if so, rename [xits] in the typescript to [my-xits], then do \usetypescript[my-xits] \setupbodyfont[my-xits] On 17/08/2010 18:04, Hans Hagen wrote: On 17-8-2010 6:01, Khaled Hosny wrote: On Tue, Aug 17, 2010 at 05:26:19PM +0200, Hans Hagen wrote: On 17-8-2010 4:53, Khaled Hosny wrote: On Tue, Aug 17, 2010 at 03:08:23PM +0200, Hans Hagen wrote: On 17-8-2010 3:00, Khaled Hosny wrote: The typescript uses file names, however ConTeXt can not load system fonts by filename. Hans, I think it would be nice to be able to load fonts by either font name or file name regardless of where they reside (I'm not sure how easy is that, though, with luaotfload and kpse setting OSFONTDIR is all what I need, since kpathsea appends it to its font searching paths). \starttext \definedfont[vera at 50pt] test \definedfont[file:vera.ttf at 100pt] test \stoptext works quite ok on my machine and the log reports: so it must be something in the typescripts .. maybe the old names? This works for me, but not with .otf fonts. \starttext \definedfont[file:STIXGeneral at 100pt] test \stoptext I'm getting unpredictable results here, some fonts are found and some are not, but I can't identify a pattern, I thought it is related to symbolic links but could not prove it (replacing symlinks by a copy, and updating the databases but still the font is not found by file name). files in OSFONTDIR normally are located runtime (no database) .. depends a bit on the configuration 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 ___ -- Michael Murphy MPhys Institute für Quanteninformationsverarbeitung Universität Ulm Albert-Einstein-Allee 11 89081 Ulm Deutschland tel +49 731 50 22931 fax +49 731 50 22839 www.quantenbit.de ___ 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] Does Makempy still work?
On 17-8-2010 6:15, Cedric Mauclair wrote: I think I will do that or investigate the dynload problem to get pstoedit 3.44 to work. or both -) - 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] Does Makempy still work?
I think I will do that or investigate the dynload problem to get pstoedit 3.44 to work. Thanks a lot. -- Cédric On Tue, Aug 17, 2010 at 18:12, Hans Hagen wrote: > Hi, > > \starttext > \startMPcode > graphictext > "$e=mc^2$" > scaled 10 > dashed evenly > withdrawcolor .7blue > withfillcolor .7white > withpen pencircle scaled 2pt ; > \stopMPcode > \stoptext > > there is a file *-mpgraph.pdf afterwards and that looks ok, but the mpy file > has only three paths so it must be something in pstoedit (or gs) > > you can consider sending the pdf file to the maintainer (or convince luigi > to look into it as he knows gs well) > > 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] Does Makempy still work?
Thats what I figured out. I have the 3.50 version as it is the only I can build on my machine. All prior versions configure well but do not compile due to some dynload problem. (dynload.cpp:141:6: error: #elif with no expression). When I launch "pstoedit -f mpost", it only outputs the "e", "m" and "c". -- Cédric On Tue, Aug 17, 2010 at 18:08, Hans Hagen wrote: > On 17-8-2010 10:53, Cedric Mauclair wrote: >> >> \starttext \startMPcode input mp-grph ; beginfig(1) ; graphictext "$e=mc^2$" scaled 10 dashed evenly withdrawcolor .7blue withfillcolor .7white withpen pencircle scaled 2pt ; endfig ; \stopMPcode \stoptext > > looks like a bug in pstoedit as indeed the = and ^ are gone > > 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] Does Makempy still work?
Hi, \starttext \startMPcode graphictext "$e=mc^2$" scaled 10 dashed evenly withdrawcolor .7blue withfillcolor .7white withpen pencircle scaled 2pt ; \stopMPcode \stoptext there is a file *-mpgraph.pdf afterwards and that looks ok, but the mpy file has only three paths so it must be something in pstoedit (or gs) you can consider sending the pdf file to the maintainer (or convince luigi to look into it as he knows gs well) 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] Does Makempy still work?
On 17-8-2010 10:53, Cedric Mauclair wrote: \starttext \startMPcode input mp-grph ; beginfig(1) ; graphictext "$e=mc^2$" scaled 10 dashed evenly withdrawcolor .7blue withfillcolor .7white withpen pencircle scaled 2pt ; endfig ; \stopMPcode \stoptext looks like a bug in pstoedit as indeed the = and ^ are gone 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] xits font in ~/.fonts
On 17-8-2010 6:01, Khaled Hosny wrote: On Tue, Aug 17, 2010 at 05:26:19PM +0200, Hans Hagen wrote: On 17-8-2010 4:53, Khaled Hosny wrote: On Tue, Aug 17, 2010 at 03:08:23PM +0200, Hans Hagen wrote: On 17-8-2010 3:00, Khaled Hosny wrote: The typescript uses file names, however ConTeXt can not load system fonts by filename. Hans, I think it would be nice to be able to load fonts by either font name or file name regardless of where they reside (I'm not sure how easy is that, though, with luaotfload and kpse setting OSFONTDIR is all what I need, since kpathsea appends it to its font searching paths). \starttext \definedfont[vera at 50pt] test \definedfont[file:vera.ttf at 100pt] test \stoptext works quite ok on my machine and the log reports: so it must be something in the typescripts .. maybe the old names? This works for me, but not with .otf fonts. \starttext \definedfont[file:STIXGeneral at 100pt] test \stoptext I'm getting unpredictable results here, some fonts are found and some are not, but I can't identify a pattern, I thought it is related to symbolic links but could not prove it (replacing symlinks by a copy, and updating the databases but still the font is not found by file name). files in OSFONTDIR normally are located runtime (no database) .. depends a bit on the configuration 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] xits font in ~/.fonts
On Tue, Aug 17, 2010 at 05:26:19PM +0200, Hans Hagen wrote: > On 17-8-2010 4:53, Khaled Hosny wrote: > >On Tue, Aug 17, 2010 at 03:08:23PM +0200, Hans Hagen wrote: > >>On 17-8-2010 3:00, Khaled Hosny wrote: > >> > >>>The typescript uses file names, however ConTeXt can not load system > >>>fonts by filename. Hans, I think it would be nice to be able to load > >>>fonts by either font name or file name regardless of where they reside > >>>(I'm not sure how easy is that, though, with luaotfload and kpse setting > >>>OSFONTDIR is all what I need, since kpathsea appends it to its font > >>>searching paths). > >> > >>\starttext > >> > >>\definedfont[vera at 50pt] test > >>\definedfont[file:vera.ttf at 100pt] test > >> > >>\stoptext > >> > >>works quite ok on my machine and the log reports: > >> > >> > >> > >>so it must be something in the typescripts .. maybe the old names? > > > >This works for me, but not with .otf fonts. > > \starttext > > \definedfont[file:STIXGeneral at 100pt] test > > \stoptext > > I'm getting unpredictable results here, some fonts are found and some are not, but I can't identify a pattern, I thought it is related to symbolic links but could not prove it (replacing symlinks by a copy, and updating the databases but still the font is not found by file name). -- 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] How to use local setups in selected components of a project only
On 9-8-2010 9:34, Elias Oltmanns wrote: Compiling project.tex results in both sections being unnumbered. Compiling just compb.tex yields the expected result. Apparently, the setups of localenv stay in effect for all components processed subsequently. indeed, local is not local in the sense of grouped, it just permits nesting ; you need to use grouping to localize settings What is the recommended approach to such a problem? Do I have to undo local setups manually at the end of a component? grouping - 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] textext vs. btex ... etex
On 17-8-2010 4:32, Oliver Buerschaper wrote: Hi, I've been trying to troubleshoot a problem with TeX labels I ran into the other day... finally I discovered that 1. MkIV (textext) includes TeX material as one single chunk apparently while MkII (btex ... etex) used to include a decomposable picture and that 2. the anchor point is completely different! Is there any way to restore both the "individual addressing" of glyphs and the MkII anchor point in MkIV? This would be crucial for a customized labelling macro... Best, Oliver P.S. Why is "h," included as one piece in MkII? the fact that you have pieces in mkii is a side effect of dvitomp turning dvi output in mp pictures; in the process it combines glyphs that have no kerning and whatever spacing becomes shifts in mkiv the text is treated as a whole and that will not change so, if in mkiv you want pieces, you need to textext each snippet that you want as such keep in mind that the way mkii (read: external tex processing and dvitomp) works is quite unpredictable 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] xits font in ~/.fonts
On 17-8-2010 4:53, Khaled Hosny wrote: On Tue, Aug 17, 2010 at 03:08:23PM +0200, Hans Hagen wrote: On 17-8-2010 3:00, Khaled Hosny wrote: The typescript uses file names, however ConTeXt can not load system fonts by filename. Hans, I think it would be nice to be able to load fonts by either font name or file name regardless of where they reside (I'm not sure how easy is that, though, with luaotfload and kpse setting OSFONTDIR is all what I need, since kpathsea appends it to its font searching paths). \starttext \definedfont[vera at 50pt] test \definedfont[file:vera.ttf at 100pt] test \stoptext works quite ok on my machine and the log reports: so it must be something in the typescripts .. maybe the old names? This works for me, but not with .otf fonts. \starttext \definedfont[file:STIXGeneral at 100pt] test \stoptext - 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] xits font in ~/.fonts
On Tue, Aug 17, 2010 at 03:08:23PM +0200, Hans Hagen wrote: > On 17-8-2010 3:00, Khaled Hosny wrote: > > >The typescript uses file names, however ConTeXt can not load system > >fonts by filename. Hans, I think it would be nice to be able to load > >fonts by either font name or file name regardless of where they reside > >(I'm not sure how easy is that, though, with luaotfload and kpse setting > >OSFONTDIR is all what I need, since kpathsea appends it to its font > >searching paths). > > \starttext > > \definedfont[vera at 50pt] test > \definedfont[file:vera.ttf at 100pt] test > > \stoptext > > works quite ok on my machine and the log reports: > > > > so it must be something in the typescripts .. maybe the old names? This works for me, but not with .otf fonts. -- 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] PDF's generated by XeTeX and LuaTeX, font licensing
On Tue, Aug 17, 2010 at 04:34:57PM +0200, Taco Hoekwater wrote: > On 08/17/2010 03:05 PM, Khaled Hosny wrote: > >>> > >>>Do PDF's generated by XeTeX and LuaTeX "subset the font" in this way? > >> > >>Yes, this is the default. So unless you have manually interfered, the > >>included fonts are always subsetted. > > > >I'm interested in the other way around, how can I tell luatex (or > >context) to not subset the font, > > \enabledirectives[fonts.embedall] Thanks. > >and I read that some recent version of > >PDF specification allow embedding of unchanged opentype fonts (as > >compared to converting them to type1 fonts), does luatex support (or > >plan to support) that feature? > > In LuaTeX, we are not converting to Type1, OpenType fonts are always > embedded as CID Type0C, Truetype as CID TrueType. But some OT tables > are stripped for efficiency reasons (GSUB and GPOS, for example). I can't tell a difference :) I'm just interested in being able to extract the full font from PDF with all tables and stuff (they are my fonts, so the legal side is sorted out), but I don't actually have a use case for that :) 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 ___
Re: [NTG-context] PDF's generated by XeTeX and LuaTeX, font licensing
On 08/17/2010 03:05 PM, Khaled Hosny wrote: Do PDF's generated by XeTeX and LuaTeX "subset the font" in this way? Yes, this is the default. So unless you have manually interfered, the included fonts are always subsetted. I'm interested in the other way around, how can I tell luatex (or context) to not subset the font, \enabledirectives[fonts.embedall] and I read that some recent version of PDF specification allow embedding of unchanged opentype fonts (as compared to converting them to type1 fonts), does luatex support (or plan to support) that feature? In LuaTeX, we are not converting to Type1, OpenType fonts are always embedded as CID Type0C, Truetype as CID TrueType. But some OT tables are stripped for efficiency reasons (GSUB and GPOS, for example). Best wishes, Taco ___ 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] textext vs. btex ... etex
Hi, I've been trying to troubleshoot a problem with TeX labels I ran into the other day... finally I discovered that 1. MkIV (textext) includes TeX material as one single chunk apparently while MkII (btex ... etex) used to include a decomposable picture and that 2. the anchor point is completely different! Is there any way to restore both the "individual addressing" of glyphs and the MkII anchor point in MkIV? This would be crucial for a customized labelling macro... Best, Oliver P.S. Why is "h," included as one piece in MkII? mkii2.mp Description: Binary data mkii2.pdf Description: Adobe PDF document mkiv2.tex Description: Binary data mkiv2.pdf Description: Adobe PDF document ___ 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] (Open) Solaris & minimals
On Tue, Aug 17, 2010 at 11:32, Mojca Miklavec wrote: > Based on the following message: > > http://www.h-online.com/open/news/item/Oracle-turns-its-back-on-OpenSolaris-1059239.html > ... is there still any interest for OpenSolaris support in minimals? > No, for me :) Linux & Windows are ok :) ___ 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] Fwd: complicated layout - impostion
Thank you for answer. I was aware about two document workaround, but can the same be done using only one document? regards Jan Dne Mon, 09 Aug 2010 10:02:53 +0200 Willi Egger napsal(a): Hi Jan, Indeed a demanding layout. --- As I see it, this will become a two step build: Create two documents containing the recto layout and the verso layout. 1st document made up with \setuparranging [2*4] 2nd document made up with \setuparranging[2UP] In the second step you can combine the two documents into one: \starttext \insertpages [sample1.pdf][width=0pt] \insertpages [sample2.pdf][width=0pt] \stoptext Kind regards Willi Begin forwarded message: Subject: [NTG-context] complicated layout - impostion Date: Fri, 30 Jul 2010 12:00:29 +0200 From: Jan Pohanka Reply-To: mailing list for ConTeXt users To: ntg-context@ntg.nl Hallo, I need to create a document with complicated layout. four A6 pages on one side of A4 sheet (two upper ones with bottom up) two A5 landscape pages on back side of A4 sheet (upper one with bottom up) How can I reach this in Context please? \setuppapersize[A6][A4] \setuparranging[2*4] This code works fine for A6 pages, but I'm not sure how to include also A5 landscape pages. Whole work should end with a document similar to http://www.eprona.com/kdp/data/skladacka2010.pdf greetings Jan -- Tato zpráva byla vytvořena převratným poštovním klientem Opery: http://www.opera.com/mail/ ___ 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 ___ ___ 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 ___ -- Tato zpráva byla vytvořena převratným poštovním klientem Opery: http://www.opera.com/mail/ ___ 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] \framed \placelist
Am 17.08.2010 um 00:49 schrieb taco: > Andreas Harder wrote: >> Hi all, >> if I try to put \placelist in \framed an error (You can't use `\prevdepth' >> in restricted horizontal mode) occurs. >> \starttext >> \framed >> [background=color,backgroundcolor=gray] >> {\placelist[section]} >> \dorecurse{10}{\section{test #1} \input tufte } >> \stoptext >> So what is the way to put a background behind the list? > > putting it in a \vbox works, but \startframedtext ... \stopframedtext is > nicer: > > \startframedtext > [background=color,width=\the\hsize,backgroundcolor=gray] > \placelist[section] > \stopframedtext Thanks Taco, this helps. Greeting Andreas___ 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] xits font in ~/.fonts
On 17-8-2010 3:00, Khaled Hosny wrote: The typescript uses file names, however ConTeXt can not load system fonts by filename. Hans, I think it would be nice to be able to load fonts by either font name or file name regardless of where they reside (I'm not sure how easy is that, though, with luaotfload and kpse setting OSFONTDIR is all what I need, since kpathsea appends it to its font searching paths). \starttext \definedfont[vera at 50pt] test \definedfont[file:vera.ttf at 100pt] test \stoptext works quite ok on my machine and the log reports: so it must be something in the typescripts .. maybe the old names? - 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] PDF's generated by XeTeX and LuaTeX, font licensing
On Tue, Aug 17, 2010 at 08:47:58AM +0200, Taco Hoekwater wrote: > On 08/17/2010 08:47 AM, John Magolske wrote: > >Reading through the license of a commercial font I'm interested in, > >I see it stipulated for PDF files created that: > > > > "... a reader or user cannot create new content using one of our > > fonts in a PDF application ... the complete font is not embedded" > > > >And in an email correspondence with the vendor: > > > > "We just ask that you subset the font when exporting the PDFs ..." > > > >Do PDF's generated by XeTeX and LuaTeX "subset the font" in this way? > > Yes, this is the default. So unless you have manually interfered, the > included fonts are always subsetted. I'm interested in the other way around, how can I tell luatex (or context) to not subset the font, and I read that some recent version of PDF specification allow embedding of unchanged opentype fonts (as compared to converting them to type1 fonts), does luatex support (or plan to support) that feature? 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 ___
Re: [NTG-context] xits font in ~/.fonts
On Sun, Aug 15, 2010 at 12:44:40PM -0400, Aditya Mahajan wrote: > Hi, > > I cannot use xits fonts if they are placed in $HOME/.fonts. > > For example, if I use > > \setupbodyfont[xits] > > I get a series of messages > > define fonts> forced type otf of xits-regular not found > define fonts> font with name xits-regular is not found > define fonts> unknown font xits-regular, loading aborted > define fonts> unable to define xits-regular.otf as \*xits11ptrmtfc* The typescript uses file names, however ConTeXt can not load system fonts by filename. Hans, I think it would be nice to be able to load fonts by either font name or file name regardless of where they reside (I'm not sure how easy is that, though, with luaotfload and kpse setting OSFONTDIR is all what I need, since kpathsea appends it to its font searching paths). > > > I also tried to use the fonts with simplefonts. > > \usemodule[simplefonts] > \setmainfont[XITS] > \setmathfont[XITS Math] > > falls back to LM math while AFAIK, simple fonts don't support math fonts beyond the pre-defined typescripts. [...] > Other fonts in $HOME/.fonts, in particular cambria, work with both > methods. > > \setupbodyfont[cambria] Because the typescript references font names. > and > > \usemodule[simplefonts] > \setmainfont[Cambria] > \setmathfont[Cambria] > > both work. Because there already a working typescript? 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 ___
Re: [NTG-context] Does Makempy still work?
I tried some other text and it appears that it can display (some) maths, but no text. graphictext "something" scaled 10 withdrawcolor red withfillcolor green withpen pencircle scaled 2pt ; doesn't work either. P.S. : I am sorry, I just noticed the object of the message does not start like the others. -- Cédric On Tue, Aug 17, 2010 at 10:55, Cedric Mauclair wrote: > I forgot to mention that the spacing is correct though nothing appears > (file included). > > -- Cédric > > > > On Tue, Aug 17, 2010 at 10:53, Cedric Mauclair > wrote: >> I thought this would come with TeXlive or ConTeXt. It solved the >> problem obviously, sorry for not trying it before calling for help. >> Also, I removed "beginfig...endfig;" from the tex file. >> >> However, now I can only see "e mc". No "=" nor "2". Is there a special >> version of pstoedit to install? I got mine from >> http://www.helga-glunz.homepage.t-online.de/pstoedit/. >> >> -- Cédric >> >> >> >> On Tue, Aug 17, 2010 at 10:45, Hans Hagen wrote: >>> On 17-8-2010 9:49, Cedric Mauclair wrote: Hi everybody, I tried to make a Metapost outline by following the mmakempy manual but it didn't work. As I saw that "makempy" and "makempy.bat" files were removed in 2010 (I don't remember the date), my question is: is it still usable/valid feature? I processed the example from the manual, both from a standalone mp file and a tex file (which follows): \starttext \startMPcode input mp-grph ; beginfig(1) ; graphictext "$e=mc^2$" scaled 10 dashed evenly withdrawcolor .7blue withfillcolor .7white withpen pencircle scaled 2pt ; endfig ; \stopMPcode \stoptext It sucessfully created the test-mpgraph.pdf with the text processed by TeX but the result page is blank, though it seems the "graphic" is on a line by itself (seen from another document where all the lines go down). When the mp file is processed with "mtxrun --script mptopdf", it warns of a width and height of less than 1in when it tries to convert from ps to pdf. When the tex file is processed with "mtxrun --script context", it complains that metapost had a problem flushing a literal and that it couldn't find pstoedit. Of course, this could be the problem, but I have no idea of how I could get around this. By the way, I use the TeXlive 2010 pretest. >>> >>> >>> do you have pstoedit installed? >>> >>> - >>> 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] Typescripts for MathTimePro 2? (was MathTime Lite fonts for free)
On Tue, Aug 17, 2010 at 01:37, Hans Hagen wrote: > On 15-8-2010 8:15, Vnpenguin wrote: >> >> 2009/12/17 Boštjan Vesnicer: >>> >>> Do the typescripts for the MathTime fonts exist? >> >> I have the same question. Anyone could give us some typescripts for >> MathTimePro 2 please. > > (1) make a directory texmf-fonts/fonts/data/mathtimes > (2) copy the fonts there > (3) run mtxrun --generate > (4) test if it works: > > \setupbodyfont[mathtimes] > > \starttext > test $e=mc^2$ > \stoptext > > The free version seems to be lm compatible so that should work I guess given > that the same mapping is used. For the pro variant (with extra scripts) the > vfu file probably needs to be extended with vectors the those. > > Hans > Thank you, I'll try it, Regards ___ 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] Trouble with customising section heads
Hi, \namedheadnumber{chapter} gives the real number (ie an integer) of the chapter. Of course, this could be used with other headings. -- Cédric On Tue, Aug 17, 2010 at 11:53, Elias Oltmanns wrote: > Elias Oltmanns wrote: >> For the record: >> >> Elias Oltmanns wrote: >>> In the attempt to customise my section headings by means of >>> \setuphead[section][...command=] >>> I followed the instructions at >>> http://wiki.contextgarden.net/Figures_in_Headings#Figures_in_Headings >>> . >> [...] >>> As it turns out, neither MkII nor MkIV processes the attached example >>> as expected: >>> MkII The table of contents is incomplete, even though the wiki says >>> it shouldn't be; >> >> The solution seems to be to use deeptextcommand instead of textcommand. >> >>> MkIV \currentheadnumber seems to be 0 all the time. >> >> Apart from Wolfgang's solution, I have now realised that MkIV allows to >> use command instead of textcommand / numbercommand and still produces a >> complete table of contents. Accordingly, the setups look like this: >> \setuphead[section][command=\Myhead] >> \def\Myhead#1#2{% >> Sect #1} > > Well, actually, when I really need just a number as in > \def\Myhead#1#2{\externalfigure[chapter-\currentheadnumber]} > I'm still in trouble as far as MkIV is concerned. Can I somehow extract > that number from the argument? Or can MkIV be changed to provide > \currentheadnumber as does MkII? Personally, I'm content with using MkII > right now. So, I'm asking out of curiosity here and for the purpose of > updating the wiki page referenced above. > > Regards, > > Elias > ___ > 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 > ___ > ___ 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] Trouble with customising section heads
Elias Oltmanns wrote: > For the record: > > Elias Oltmanns wrote: >> In the attempt to customise my section headings by means of >> \setuphead[section][...command=] >> I followed the instructions at >> http://wiki.contextgarden.net/Figures_in_Headings#Figures_in_Headings >> . > [...] >> As it turns out, neither MkII nor MkIV processes the attached example >> as expected: >> MkII The table of contents is incomplete, even though the wiki says >> it shouldn't be; > > The solution seems to be to use deeptextcommand instead of textcommand. > >> MkIV \currentheadnumber seems to be 0 all the time. > > Apart from Wolfgang's solution, I have now realised that MkIV allows to > use command instead of textcommand / numbercommand and still produces a > complete table of contents. Accordingly, the setups look like this: > \setuphead[section][command=\Myhead] > \def\Myhead#1#2{% > Sect #1} Well, actually, when I really need just a number as in \def\Myhead#1#2{\externalfigure[chapter-\currentheadnumber]} I'm still in trouble as far as MkIV is concerned. Can I somehow extract that number from the argument? Or can MkIV be changed to provide \currentheadnumber as does MkII? Personally, I'm content with using MkII right now. So, I'm asking out of curiosity here and for the purpose of updating the wiki page referenced above. Regards, Elias ___ 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] (Open) Solaris & minimals
Based on the following message: http://www.h-online.com/open/news/item/Oracle-turns-its-back-on-OpenSolaris-1059239.html ... is there still any interest for OpenSolaris support in minimals? (At the moment OpenSolaris binaries are supposed to work, even though most probably nobody uses them.) Mojca ___ 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] Does Makempy still work?
I forgot to mention that the spacing is correct though nothing appears (file included). -- Cédric On Tue, Aug 17, 2010 at 10:53, Cedric Mauclair wrote: > I thought this would come with TeXlive or ConTeXt. It solved the > problem obviously, sorry for not trying it before calling for help. > Also, I removed "beginfig...endfig;" from the tex file. > > However, now I can only see "e mc". No "=" nor "2". Is there a special > version of pstoedit to install? I got mine from > http://www.helga-glunz.homepage.t-online.de/pstoedit/. > > -- Cédric > > > > On Tue, Aug 17, 2010 at 10:45, Hans Hagen wrote: >> On 17-8-2010 9:49, Cedric Mauclair wrote: >>> >>> Hi everybody, >>> >>> I tried to make a Metapost outline by following the mmakempy manual >>> but it didn't work. As I saw that "makempy" and "makempy.bat" files >>> were removed in 2010 (I don't remember the date), my question is: is >>> it still usable/valid feature? >>> >>> I processed the example from the manual, both from a standalone mp >>> file and a tex file (which follows): >>> \starttext >>> \startMPcode >>> input mp-grph ; >>> >>> beginfig(1) ; >>> graphictext >>> "$e=mc^2$" >>> scaled 10 >>> dashed evenly >>> withdrawcolor .7blue >>> withfillcolor .7white >>> withpen pencircle scaled 2pt ; >>> endfig ; >>> \stopMPcode >>> \stoptext >>> >>> It sucessfully created the test-mpgraph.pdf with the text processed by >>> TeX but the result page is blank, though it seems the "graphic" is on >>> a line by itself (seen from another document where all the lines go >>> down). When the mp file is processed with "mtxrun --script mptopdf", >>> it warns of a width and height of less than 1in when it tries to >>> convert from ps to pdf. When the tex file is processed with "mtxrun >>> --script context", it complains that metapost had a problem flushing a >>> literal and that it couldn't find pstoedit. Of course, this could be >>> the problem, but I have no idea of how I could get around this. By the >>> way, I use the TeXlive 2010 pretest. >> >> >> do you have pstoedit installed? >> >> - >> 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 >> - >> > makempy.pdf Description: Adobe PDF document ___ 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] Does Makempy still work?
I thought this would come with TeXlive or ConTeXt. It solved the problem obviously, sorry for not trying it before calling for help. Also, I removed "beginfig...endfig;" from the tex file. However, now I can only see "e mc". No "=" nor "2". Is there a special version of pstoedit to install? I got mine from http://www.helga-glunz.homepage.t-online.de/pstoedit/. -- Cédric On Tue, Aug 17, 2010 at 10:45, Hans Hagen wrote: > On 17-8-2010 9:49, Cedric Mauclair wrote: >> >> Hi everybody, >> >> I tried to make a Metapost outline by following the mmakempy manual >> but it didn't work. As I saw that "makempy" and "makempy.bat" files >> were removed in 2010 (I don't remember the date), my question is: is >> it still usable/valid feature? >> >> I processed the example from the manual, both from a standalone mp >> file and a tex file (which follows): >> \starttext >> \startMPcode >> input mp-grph ; >> >> beginfig(1) ; >> graphictext >> "$e=mc^2$" >> scaled 10 >> dashed evenly >> withdrawcolor .7blue >> withfillcolor .7white >> withpen pencircle scaled 2pt ; >> endfig ; >> \stopMPcode >> \stoptext >> >> It sucessfully created the test-mpgraph.pdf with the text processed by >> TeX but the result page is blank, though it seems the "graphic" is on >> a line by itself (seen from another document where all the lines go >> down). When the mp file is processed with "mtxrun --script mptopdf", >> it warns of a width and height of less than 1in when it tries to >> convert from ps to pdf. When the tex file is processed with "mtxrun >> --script context", it complains that metapost had a problem flushing a >> literal and that it couldn't find pstoedit. Of course, this could be >> the problem, but I have no idea of how I could get around this. By the >> way, I use the TeXlive 2010 pretest. > > > do you have pstoedit installed? > > - > 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] Does Makempy still work?
On 17-8-2010 9:49, Cedric Mauclair wrote: Hi everybody, I tried to make a Metapost outline by following the mmakempy manual but it didn't work. As I saw that "makempy" and "makempy.bat" files were removed in 2010 (I don't remember the date), my question is: is it still usable/valid feature? I processed the example from the manual, both from a standalone mp file and a tex file (which follows): \starttext \startMPcode input mp-grph ; beginfig(1) ; graphictext "$e=mc^2$" scaled 10 dashed evenly withdrawcolor .7blue withfillcolor .7white withpen pencircle scaled 2pt ; endfig ; \stopMPcode \stoptext It sucessfully created the test-mpgraph.pdf with the text processed by TeX but the result page is blank, though it seems the "graphic" is on a line by itself (seen from another document where all the lines go down). When the mp file is processed with "mtxrun --script mptopdf", it warns of a width and height of less than 1in when it tries to convert from ps to pdf. When the tex file is processed with "mtxrun --script context", it complains that metapost had a problem flushing a literal and that it couldn't find pstoedit. Of course, this could be the problem, but I have no idea of how I could get around this. By the way, I use the TeXlive 2010 pretest. do you have pstoedit installed? - 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 ___
[NTG-context] Does Makempy still work?
Hi everybody, I tried to make a Metapost outline by following the mmakempy manual but it didn't work. As I saw that "makempy" and "makempy.bat" files were removed in 2010 (I don't remember the date), my question is: is it still usable/valid feature? I processed the example from the manual, both from a standalone mp file and a tex file (which follows): \starttext \startMPcode input mp-grph ; beginfig(1) ; graphictext "$e=mc^2$" scaled 10 dashed evenly withdrawcolor .7blue withfillcolor .7white withpen pencircle scaled 2pt ; endfig ; \stopMPcode \stoptext It sucessfully created the test-mpgraph.pdf with the text processed by TeX but the result page is blank, though it seems the "graphic" is on a line by itself (seen from another document where all the lines go down). When the mp file is processed with "mtxrun --script mptopdf", it warns of a width and height of less than 1in when it tries to convert from ps to pdf. When the tex file is processed with "mtxrun --script context", it complains that metapost had a problem flushing a literal and that it couldn't find pstoedit. Of course, this could be the problem, but I have no idea of how I could get around this. By the way, I use the TeXlive 2010 pretest. Thanks. -- Cédric ___ 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] PDF's generated by XeTeX and LuaTeX, font licensing
于 2010年08月17日 15:30, Giulio Bertellini 写道: What exactly does it mean to subset the fonts, when the fonts are included in a PDF? Just included the used characters, not the whole font file. ___ 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] PDF's generated by XeTeX and LuaTeX, font licensing
What exactly does it mean to subset the fonts, when the fonts are included in a PDF? giulio giulio bertellini On Tue, Aug 17, 2010 at 8:47 AM, Taco Hoekwater wrote: > On 08/17/2010 08:47 AM, John Magolske wrote: > >> Reading through the license of a commercial font I'm interested in, >> I see it stipulated for PDF files created that: >> >> "... a reader or user cannot create new content using one of our >> fonts in a PDF application ... the complete font is not embedded" >> >> And in an email correspondence with the vendor: >> >> "We just ask that you subset the font when exporting the PDFs ..." >> >> Do PDF's generated by XeTeX and LuaTeX "subset the font" in this way? >> > > Yes, this is the default. So unless you have manually interfered, the > included fonts are always subsetted. > > Best wishes, > Taco > > > ___ > 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 > > ___ > ___ 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] Trouble with customising section heads
For the record: Elias Oltmanns wrote: > In the attempt to customise my section headings by means of > \setuphead[section][...command=] > I followed the instructions at > http://wiki.contextgarden.net/Figures_in_Headings#Figures_in_Headings > . [...] > As it turns out, neither MkII nor MkIV processes the attached example > as expected: > MkII The table of contents is incomplete, even though the wiki says > it shouldn't be; The solution seems to be to use deeptextcommand instead of textcommand. > MkIV \currentheadnumber seems to be 0 all the time. Apart from Wolfgang's solution, I have now realised that MkIV allows to use command instead of textcommand / numbercommand and still produces a complete table of contents. Accordingly, the setups look like this: \setuphead[section][command=\Myhead] \def\Myhead#1#2{% Sect #1} Regards, Elias ___ 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 ___