Re: [NTG-context] Letter backaddress
On Fri, Jul 4, 2008 at 9:02 AM, Wolfgang Schuster [EMAIL PROTECTED] wrote: On Thu, Jul 3, 2008 at 5:12 PM, Oliver Buerschaper [EMAIL PROTECTED] wrote: I could support name=yes and alike but I can't drop the \setupletter[list=...] because you need it to define your own reference line with personalized elements, e.g. your working in a company a put a sign for the letter there plus the number of the office etc. I'm sorry, didn't think of that. It makes sense, of course. Another possibility would be removing the backaddress=yes switch completely. Then if backaddress data is supplied it's printed along with the line below and if not, well, then leave out the separator line. What do you think? Have you tried what will happen with a enabled backaddress and no value for backaddress, fromname and fromaddress are shown as backaddress but I don't rely on this feature and change it to waht you suggested. I've just tried this quickly and this seems even better … then what about removing the option backaddress=yes from \setupletterstyle and provide a key auto for backaddress in \setupletter? Thus: I don't remove backaddress from \setupletterstyle because each layer has a boolean switch and I don't want a backaddress on my letters. 1. No backaddress line \setupletter [fromname={Arthur Thor}, fromaddress={Hidden Street 2\\57895 Mysterytown}] 2. backaddress line generated from sender information \setupletter [fromname={Arthur Thor}, fromaddress={Hidden Street 2\\57895 Mysterytown}, backaddress=auto] 3. Custom backaddress \setupletter [fromname={Arthur Thor}, fromaddress={Hidden Street 2\\57895 Mysterytown}, backaddress={Thor Inc., Mystery Street 5, 59875 Hidden Town}] I uploaded a new release with the option yes, auto and no for the backaddress key, yes and auto use fromname and fromaddress, no sets no backaddress and you can write a cutomized backaddress with anything else as content for the backaddress key. I will move this option in the next relase from \setupletter[backaddress=...] to \setupletterstyle[backaddress][option][alternative=...] because it works also with normal text as argument for \setupletter[backaddress=...]. Regards 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Letter: address field
On Tue, Jul 8, 2008 at 3:29 PM, Wolfgang Schuster [EMAIL PROTECTED] wrote: On Tue, Jul 8, 2008 at 2:49 PM, Oliver Buerschaper [EMAIL PROTECTED] wrote: Dear Wolfgang, is it possible to centre the text block in the address field vertically? At the moment the address is typeset with a constant vertical offset (measured from the top) which causes lengthy address data to look slightly off balance … Try the following settings. The names can change. \setupletterstyle [address][dispatch] [height=0pt] \setupletterstyle [address][content] [location=normal, align={right,lohi}, height=\vsize] I put a new version online and names changed, the setups is now: \setupletterstyle [dispatch] [height=0pt] or \setupletterstyle [option] [dispatch=no] and \setupletterstyle [addressee] [location=normal, align={right,lohi}, height=\vsize] Regards 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Finish register sorting (was LuaTeX problems)
On Fri, Jul 4, 2008 at 9:37 AM, Hans Hagen [EMAIL PROTECTED] wrote: Wolfgang Schuster wrote: On Thu, Jul 3, 2008 at 8:21 PM, Tomi Lindberg [EMAIL PROTECTED] wrote: 2008/7/3, Wolfgang Schuster [EMAIL PROTECTED]: I wrote a sorter for finish but we should test it before it can be included. I'll give it a try later. And just by glancing there's an ordering error - 'å' should be before 'ä'. I assume I just add the luacode section to my environment, switch locations of 'å' and 'ä' and that's it? Yes, yes and yes. You have to switch ä and å but I corrected my version. i added the vector to sort-lan.lua There is something wrong in the encoding for the finish sorting. [51] = z, [53] = Ã¥, [55] = ä, [57] = ö, 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Letter backaddress
Hello, Sorry for this « silly » question but where can I download the last version of the letter module ? The contextgarden page¹ is empty… and I can't find anything on pragma.ade Olivier (another one still searching for true rules for french letter style, I'll add them on the frenchpunctuation² page…) [1] http://wiki.contextgarden.net/Letter [2] http://wiki.contextgarden.net/frenchpunctuation -- [Message tapé sur un clavier Bépo : http://www.clavier-dvorak.org ] http://nemolivier.blogspot.com ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] luatex: compiling with the context command
Alan Stone wrote: What's the equivalent texexec's --result option for the context compile command ? not yet implemented - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] PDF ISO Standard ISO 32000-1:2008
Martin Schröder wrote: Which is why I'm asking. Acro 9 produces 1.8? hm, i didn't test distiller but there were no new bet areference manuals so i think that not much changed in raw pdf (special kind of annotations is another matter) also, validation is now against the several standards and not against version so it might be that standards (pdf/x, pdf/a etc) replace the numbers I think you mean Acro 9 there, not PDF 1.9 :-) sure - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Letter backaddress
On Wed, Jul 9, 2008 at 9:51 AM, Olivier Guéry [EMAIL PROTECTED] wrote: Hello, Sorry for this « silly » question but where can I download the last version of the letter module ? The contextgarden page¹ is empty… and I can't find anything on pragma.ade http://modules.contextgarden.net/letter http://wolfgang.schuster.googlepages.com/letter Olivier (another one still searching for true rules for french letter style, I'll add them on the frenchpunctuation² page…) You can add your information to [1]. AFAIK there is no official letter style in france. I started to write I style a based on the lettre class for LaTeX but it's no finished and it's better to let user decide what layout thex want. [1] http://wiki.contextgarden.net/Letter [2] http://wiki.contextgarden.net/frenchpunctuation I tried myself to find information about letter in france. http://www.anglaisfacile.com/pages/mie/1lettre.php http://www.mdeduchinonais.fr/contenu.php?id_noeud=57id=11 http://www.aide-emploi.net/moti.htm http://french.about.com/library/weekly/aa111000.htm http://www.ctan.org/tex-archive/macros/latex/contrib/lettre/ http://www.la-lettre.com/ Regards, 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Running heads peculiarity
Taco Hoekwater wrote: John Culleton wrote: If I want the book title to appear on even pages and the chapter name on odd pages I hve to set up the pertinent command backwards as follows: \setupheadertexts[text] [chapter][pagenumber][pagenumber][Book Title] This is the wrong sequence per the manual on page 79. Has this been fixed or will this be fixed? Could be an error in the manual, iirc it has been like it is now for ages. indeed nothing has changed; this (possible) confusion comes from the fact that we need to handle single sided, double sided and mixed in the same command - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts with luatex
Alan Stone wrote: /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/5f7b9306dcbd6a966450acbb82901a81..tma are there really two dots there? ..tma - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Letter backaddress
2008/7/9 Wolfgang Schuster [EMAIL PROTECTED]: On Wed, Jul 9, 2008 at 9:51 AM, Olivier Guéry [EMAIL PROTECTED] wrote: Hello, Sorry for this « silly » question but where can I download the last version of the letter module ? The contextgarden page¹ is empty… and I can't find anything on pragma.ade http://modules.contextgarden.net/letter http://wolfgang.schuster.googlepages.com/letter Thank's. I put this links to the « garden » with a warning. Are you ok with this ? http://wiki.contextgarden.net/Letter O. -- [Message tapé sur un clavier Bépo : http://www.clavier-dvorak.org ] http://nemolivier.blogspot.com ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Letter backaddress
On Wed, Jul 9, 2008 at 10:18 AM, Olivier Guéry [EMAIL PROTECTED] wrote: 2008/7/9 Wolfgang Schuster [EMAIL PROTECTED]: On Wed, Jul 9, 2008 at 9:51 AM, Olivier Guéry [EMAIL PROTECTED] wrote: Hello, Sorry for this « silly » question but where can I download the last version of the letter module ? The contextgarden page¹ is empty… and I can't find anything on pragma.ade http://modules.contextgarden.net/letter http://wolfgang.schuster.googlepages.com/letter Thank's. I put this links to the « garden » with a warning. Are you ok with this ? http://wiki.contextgarden.net/Letter Accepted. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Adobe ArnoPro in mkiv
Hi all, I'm trying to use the Adobe ArnoPro font (just testing if it will work with ConTeXt). The font does work with ConTeXt/XeTeX, but not in mkiv. When I try to compile my test file with mkiv, I get this error message (which isn't very helpful to me): (/home/tas/texmf/tex/context/type-arnopro.tex (/home/tas/texmf/tex/ context/type-arnopro.mkiv MtxRun | return code: ? ...live/texmf-local/scripts/context/lua/mtx-context.lua:572: attempt to compare number with nil I'm using the latest beta and luatex 0.28.0 Can anybody explain what's going wrong here? Thanks Thomas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts with luatex
are there really two dots there? ..tma Yes indeed Hans. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Adobe ArnoPro in mkiv
Thomas A. Schmitz wrote: Hi all, I'm trying to use the Adobe ArnoPro font (just testing if it will work with ConTeXt). The font does work with ConTeXt/XeTeX, but not in mkiv. When I try to compile my test file with mkiv, I get this error message (which isn't very helpful to me): (/home/tas/texmf/tex/context/type-arnopro.tex (/home/tas/texmf/tex/ context/type-arnopro.mkiv MtxRun | return code: ? live/texmf-local/scripts/context/lua/mtx-context.lua:572: attempt to compare number with nil I'm using the latest beta and luatex 0.28.0 Can anybody explain what's going wrong here? what does texexec --lua do? (it looks like either luatex is not run or crashed; i'll try to give a more meaningful message) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts with luatex
Alan Stone wrote: are there really two dots there? ..tma Yes indeed Hans. that's weird, i'm stymied Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Adobe ArnoPro in mkiv
On Jul 9, 2008, at 10:53 AM, Hans Hagen wrote: what does texexec --lua do? (it looks like either luatex is not run or crashed; i'll try to give a more meaningful message) Hans Hmm, with texexec --lua, I get no errors on the console, but no pdf is produced, and the log file is empty. The last line I see on the console is again (/home/tas/texmf/tex/context/type-arnopro.tex (/home/tas/texmf/tex/ context/type-arnopro.mkiv Thomas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Adobe ArnoPro in mkiv
On Wed, Jul 9, 2008 at 11:18 AM, Thomas A. Schmitz [EMAIL PROTECTED] wrote: On Jul 9, 2008, at 10:53 AM, Hans Hagen wrote: what does texexec --lua do? (it looks like either luatex is not run or crashed; i'll try to give a more meaningful message) Hans Hmm, with texexec --lua, I get no errors on the console, but no pdf is produced, and the log file is empty. The last line I see on the console is again (/home/tas/texmf/tex/context/type-arnopro.tex (/home/tas/texmf/tex/ context/type-arnopro.mkiv Can you send the typescripts, it's weird to use different files for XeTeX and LuaTeX because one should work for both. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts with luatex
that's weird, i'm stymied How about a name change... WeirdoTeX seems rather appropriate? ;O) All jokes aside... What's the solution ? Alan ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Adobe ArnoPro in mkiv
On Jul 9, 2008, at 11:44 AM, Wolfgang Schuster wrote: Can you send the typescripts, it's weird to use different files for XeTeX and LuaTeX because one should work for both. Wolfgang I don't think you can use all the features with XeTeX, bit know precious little about XeTeX, my money is on luatex... Anyway, here is my typescript: \starttypescript [serif] [arnopro] \definefontsynonym [ArnoPro-Roman] [file:ArnoPro-Regular] [features=default] \definefontsynonym [ArnoPro-Bold] [file:ArnoPro-Bold] [features=default] \definefontsynonym [ArnoPro-Italic] [file:ArnoPro-Italic] [features=default] \definefontsynonym [ArnoPro-Bold-Italic][file:ArnoPro- BoldItalic] [features=default] \stoptypescript \starttypescript [serif] [arnopro] [name] \definefontsynonym [Serif] [ArnoPro-Roman] [features=default] \definefontsynonym [SerifItalic] [ArnoPro-Italic] [features=default] \definefontsynonym [SerifBold] [ArnoPro-Bold] [features=default] \definefontsynonym [SerifBoldItalic] [ArnoPro-Bold-Italic] [features=default] \definefontsynonym [SerifCaps] [Serif] [features=smallcaps] \stoptypescript \starttypescript [ArnoPro] \definetypeface [MyArnoPro] [rm] [serif][arnopro][default] \definetypeface [MyArnoPro] [mm] [math] [modern][default] \stoptypescript Thomas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Adobe ArnoPro in mkiv
Thomas A. Schmitz wrote: On Jul 9, 2008, at 10:53 AM, Hans Hagen wrote: what does texexec --lua do? (it looks like either luatex is not run or crashed; i'll try to give a more meaningful message) Hans Hmm, with texexec --lua, I get no errors on the console, but no pdf is produced, and the log file is empty. The last line I see on the console is again (/home/tas/texmf/tex/context/type-arnopro.tex (/home/tas/texmf/tex/ context/type-arnopro.mkiv can you send me the font and the file Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts with luatex
Had a look at the former context windows installation. When firing up scite the output window mentions loading scite-ctx.lua definition file. In ubuntu the scite output window informs attempt to call a string value Lua: error occurred while loading startup script Didn't give much attention to that one previously. Don't know whether that's the cause of the problem. Nevertheless, any idea how to set this straight ? Alan On Wed, Jul 9, 2008 at 12:03 PM, Alan Stone [EMAIL PROTECTED] wrote: that's weird, i'm stymied How about a name change... WeirdoTeX seems rather appropriate? ;O) All jokes aside... What's the solution ? Alan ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts with luatex
Alan Stone wrote: that's weird, i'm stymied How about a name change... WeirdoTeX seems rather appropriate? ;O) All jokes aside... What's the solution ? i have no clue (yet) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] IgnoreMarks flag is ignored in contextual chaining substitution OpenType tables
On Sun, Jul 06, 2008 at 01:18:03PM +0200, Hans Hagen wrote: Khaled Hosny wrote: 'calt' tables aren't applied if with combining marks, though IgnoreMarks flag is set. actually the machinery works ok, but there was an optimization branch that didn't take marks into account; i removed the opmimization now the green ones are the same Great. Now, what remains is the cursive attachments and I'll be able to use my font. Regards, Khaled Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- Khaled Hosny Arabic localizer and member of Arabeyes.org team signature.asc Description: Digital 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] chapter page on right.
On Tuesday 08 July 2008 06:58:32 pm Aditya Mahajan wrote: On Tue, 8 Jul 2008, John Culleton wrote: I have set up the \chapter command thus; \setuphead[chapter][page=right,style={\nimbua},header=high] where nimbua is a font. The chapter head appears on a recto (odd numbered) page as expected but the verso blank page inserted where necessary before the chapter head has a running header. It should be blank. I can kludge this up with a wrapper macro containing \ifodd\pageno etc. but it seems there should be a more Contextish way to handle it. See http://wiki.contextgarden.net/Titles#Truly_empty_pagebreak_before_c hapters Aditya That does it. Thanks very much. I will only suggest that since a blank page needs neither header nor footer that this fix be included some way in Context itself, so that every time a blank page is generated automatically it is shorn of these items. That is the usual practice in book layout according to my references. -- John Culleton Resources for every author and publisher: http://wexfordpress.com/tex/shortlist.pdf http://wexfordpress.com/tex/packagers.pdf http://www.creativemindspress.com/newbiefaq.htm http://www.gropenassoc.com/TopLevelPages/reference%20desk.htm ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] chapter page on right.
On Wed, Jul 9, 2008 at 3:13 PM, John Culleton [EMAIL PROTECTED] wrote: On Tuesday 08 July 2008 06:58:32 pm Aditya Mahajan wrote: On Tue, 8 Jul 2008, John Culleton wrote: I have set up the \chapter command thus; \setuphead[chapter][page=right,style={\nimbua},header=high] where nimbua is a font. The chapter head appears on a recto (odd numbered) page as expected but the verso blank page inserted where necessary before the chapter head has a running header. It should be blank. I can kludge this up with a wrapper macro containing \ifodd\pageno etc. but it seems there should be a more Contextish way to handle it. See http://wiki.contextgarden.net/Titles#Truly_empty_pagebreak_before_c hapters Aditya That does it. Thanks very much. I will only suggest that since a blank page needs neither header nor footer that this fix be included some way in Context itself, so that every time a blank page is generated automatically it is shorn of these items. That is the usual practice in book layout according to my references. \definepagebreak is a normal ConTeXt and not a fix, you could also use the values in \setuphead without the intermediate way. \setuphead[chapter][page={yes,header,footer,right}] 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] chapter page on right.
John Culleton wrote: That does it. Thanks very much. I will only suggest that since a blank page needs neither header nor footer that this fix be included some way in Context itself, so that every time a blank page is generated automatically it is shorn of these items. That is the usual practice in book layout according to my references. In my experience, in educational settings there often are headings and footers on such empty pages, so that it is absolutely clear that it was not a printing error. YMMV. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Finish register sorting (was LuaTeX problems)
[51] = z, [53] = Ã¥, [55] = ä, [57] = ö, Indeed, the UTF-8 encoding has been badly interpreted as Windows-1252, it seems (and then recoded back in UTF-8 :-) I attach the correctly encoded file (I also corrected “finish” :-) Arthur -- filename : sort-lan.lua -- comment : companion to sort-lan.tex -- author : Hans Hagen, PRAGMA-ADE, Hasselt NL -- copyright: PRAGMA ADE / ConTeXt Development Team -- license : see context related readme files if not versions then versions = { } end versions['sort-lan'] = 1.001 -- this is a rather preliminary and incomplete file -- maybe we should load this kind of stuff runtime -- english -- The next one can be more efficient when not indexed this way, but -- other languages are sparse so for the moment we keep this one. sorters.entries['en'] = { [ 1] = a, [ 3] = b, [ 5] = c, [ 7] = d, [ 9] = e, [11] = f, [13] = g, [15] = h, [17] = i, [19] = j, [21] = k, [23] = l, [25] = m, [27] = n, [29] = o, [31] = p, [33] = q, [35] = r, [37] = s, [39] = t, [41] = u, [43] = v, [45] = w, [47] = x, [49] = y, [51] = z, [ 2] = 1, [ 4] = 3, [ 6] = 5, [ 8] = 7, [10] = 9, [12] = 11, [14] = 13, [16] = 15, [18] = 17, [20] = 19, [22] = 21, [24] = 23, [26] = 25, [28] = 27, [30] = 29, [32] = 31, [34] = 33, [36] = 35, [38] = 37, [40] = 39, [42] = 41, [44] = 43, [46] = 45, [48] = 47, [50] = 49, [52] = 51, } sorters.mappings['en'] = { [a] = 1, [b] = 3, [c] = 5, [d] = 7, [e] = 9, [f] = 11, [g] = 13, [h] = 15, [i] = 17, [j] = 19, [k] = 21, [l] = 23, [m] = 25, [n] = 27, [o] = 29, [p] = 31, [q] = 33, [r] = 35, [s] = 37, [t] = 39, [u] = 41, [v] = 43, [w] = 45, [x] = 47, [y] = 49, [z] = 51, [A] = 2, [B] = 4, [C] = 6, [D] = 8, [E] = 10, [F] = 12, [G] = 14, [H] = 16, [I] = 18, [J] = 20, [K] = 22, [L] = 24, [M] = 26, [N] = 28, [O] = 30, [P] = 32, [Q] = 34, [R] = 36, [S] = 38, [T] = 40, [U] = 42, [V] = 44, [W] = 46, [X] = 48, [Y] = 50, [Z] = 52, } -- dutch sorters.replacements['nl'] = { { ij, 'y' }, { IJ, 'Y' } } sorters.entries ['nl'] = sorters.entries ['en'] sorters.mappings['nl'] = sorters.mappings['en'] -- czech local uc = unicode.utf8.char local ub = unicode.utf8.byte sorters.replacements['cz'] = { [1] = { ch, uc(0xFF01) } } sorters.entries['cz'] = { [ 1] = a, [ 2] = 1, [ 3] = b, [ 4] = c, [ 5] = uc(0x010D), -- ccaron [ 6] = d, [ 7] = uc(0x010F), -- dcaron [ 8] = e, [ 9] = 8, [10] = 8, [11] = f, [12] = g, [13] = h, [14] = ch, [15] = i, [16] = 15, [17] = j, [18] = k, [19] = l, [20] = m, [21] = n, [22] = uc(0x0147), -- ncaron [23] = o, [24] = p, [25] = q, [26] = r, [27] = uc(0x0147), -- rcaron [28] = s, [29] = uc(0x0161), -- scaron [30] = t, [31] = uc(0x0165), -- tcaron [32] = u, [33] = 32, [34] = 32, [35] = v, [36] = w, [37] = x, [38] = y, [49] = z, [40] = uc(0x017E), -- zcaron } sorters.mappings['cz'] = { ['a']= 1, -- a [uc(0x00E1)] = 2, -- aacute ['b']= 3, -- b ['c']= 4, -- c [uc(0x010D)] = 5, -- ccaron ['d']= 6, -- d [uc(0x010F)] = 7, -- dcaron ['e']= 8, -- e [uc(0x00E9)] = 9, -- eacute [uc(0x011B)] = 10, -- ecaron ['f']= 11, -- f ['g']= 12, -- g ['h']= 13, -- h [uc(0xFF01)] = 14, -- ch ['i']= 15, -- i [uc(0x00ED)] = 16, -- iacute ['j']= 17, -- j ['k']= 18, -- k ['l']= 19, -- l ['m']= 20, -- m ['n']= 21, -- n [uc(0x0147)] = 22, -- ncaron ['o']= 23, -- o ['p']= 24, -- p ['q']= 25, -- q ['s']= 26, -- r [uc(0x0147)] = 27, -- rcaron ['s']= 28, -- s [uc(0x0161)] = 29, -- scaron ['t']= 30, -- t [uc(0x0165)] = 31, -- tcaron ['u']= 32, -- u [uc(0x00FA)] = 33, -- uacute [uc(0x01F6)] = 34, -- uring ['v']= 35, -- v ['w']= 36, -- w ['x']= 37, -- x ['y']= 38, -- y ['z']= 49, -- z [uc(0x017E)] = 40, -- zcaron } -- German (by Wolfgang Schuster) -- DIN 5007-1 sorters.entries ['DIN 5007-1'] = sorters.entries ['en'] sorters.mappings ['DIN 5007-1'] = sorters.mappings['en'] -- DIN 5007-2 sorters.replacements['DIN 5007-2'] = { { ä, 'ae' }, { ö, 'oe' }, { ü, 'ue' }, { Ä, 'Ae' }, { Ö, 'Oe' }, { Ü, 'Ue' } } sorters.entries ['DIN 5007-2'] = sorters.entries ['en'] sorters.mappings['DIN 5007-2'] = sorters.mappings['en'] -- Duden sorters.replacements['Duden'] = { { ß, 's' } } sorters.entries ['Duden'] = sorters.entries ['en'] sorters.mappings['Duden'] = sorters.mappings['en'] -- new german sorters.entries ['de'] = sorters.entries ['en'] sorters.mappings['de'] =
Re: [NTG-context] fonts with luatex
are there really two dots there? ..tma Yes indeed Hans. that's weird, i'm stymied I saw that once, too, but regenerated the cache and didn't bother too much. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts with luatex
regenerated the cache Excuse me my ignorance... what do you mean by that Arthur ? Alan On Wed, Jul 9, 2008 at 4:15 PM, Arthur Reutenauer [EMAIL PROTECTED] wrote: are there really two dots there? ..tma Yes indeed Hans. that's weird, i'm stymied I saw that once, too, but regenerated the cache and didn't bother too much. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts with luatex
Excuse me my ignorance... what do you mean by that Arthur ? luatools --generate Anyway, I just meant to say that you're not the only one to whom this weird thing happened (the two dots), but now I can't find it any more on my machine. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts with luatex
Hans Hagen wrote: Alan Stone wrote: are there really two dots there? ..tma Yes indeed Hans. that's weird, i'm stymied I'm not :) You got that from a bug in the warning message, not the actual file name. input.luasuffix= '.tma' input.report(unable to save %s in %s.%s,dataname,name,input.luasuffix) So that the string format reduces to (unable to save %s in %s..tma,dataname,name) 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts with luatex
So that the string format reduces to (unable to save %s in %s..tma,dataname,name) Impressive :-) 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] IgnoreMarks flag is ignored in contextual chaining substitution OpenType tables
Khaled Hosny wrote: On Sun, Jul 06, 2008 at 01:18:03PM +0200, Hans Hagen wrote: Khaled Hosny wrote: 'calt' tables aren't applied if with combining marks, though IgnoreMarks flag is set. actually the machinery works ok, but there was an optimization branch that didn't take marks into account; i removed the opmimization now the green ones are the same Great. Now, what remains is the cursive attachments and I'll be able to use my font. so what's wrong with cursive? Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] IgnoreMarks flag is ignored in contextual chaining substitution OpenType tables
On Wed, Jul 09, 2008 at 05:18:18PM +0200, Hans Hagen wrote: Khaled Hosny wrote: On Sun, Jul 06, 2008 at 01:18:03PM +0200, Hans Hagen wrote: Khaled Hosny wrote: 'calt' tables aren't applied if with combining marks, though IgnoreMarks flag is set. actually the machinery works ok, but there was an optimization branch that didn't take marks into account; i removed the opmimization now the green ones are the same Great. Now, what remains is the cursive attachments and I'll be able to use my font. so what's wrong with cursive? Basically, it doesn't work at all. I sent a message earlier about this http://www.ntg.nl/pipermail/ntg-context/2008/032627.html. Regards, Khaled Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- Khaled Hosny Arabic localizer and member of Arabeyes.org team signature.asc Description: Digital 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts with luatex
You got that from a bug in the warning message, not the actual file name. The .tma and .tmc files are in /opt/context/tex/texmf-cache/ luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/ but have Date Modified 23/06/2008. :O( Alan On Wed, Jul 9, 2008 at 5:13 PM, Taco Hoekwater [EMAIL PROTECTED] wrote: Hans Hagen wrote: Alan Stone wrote: are there really two dots there? ..tma Yes indeed Hans. that's weird, i'm stymied I'm not :) You got that from a bug in the warning message, not the actual file name. input.luasuffix= '.tma' input.report(unable to save %s in %s.%s,dataname,name,input.luasuffix) So that the string format reduces to (unable to save %s in %s..tma,dataname,name) 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts with luatex
Tried Generate Formats (LuaTeX) from within SciTE... texmfstart texexec --autopdf --make --all --luatex TeXExec | using search method 'kpsefast' TeXExec | updating file database mktexlsr: /opt/context/tex/texmf: directory not writable. Skipping... mktexlsr: /opt/context/tex/texmf-context: directory not writable. Skipping... mktexlsr: /opt/context/tex/texmf-linux: directory not writable. Skipping... LuaTools | version 1.2.0 - 2006+ - PRAGMA ADE / CONTEXT LuaTools | variable SELFAUTOLOC set to /opt/context/tex/texmf-linux/bin LuaTools | variable SELFAUTODIR set to /opt/context/tex/texmf-linux LuaTools | variable SELFAUTOPARENT set to /opt/context/tex/ LuaTools | variable TEXMFCNF set to $TEXROOT/texmf{-local,-context,}/web2c LuaTools | loading /opt/context/tex/texmf/web2c/texmf.cnf LuaTools | preparing configuration for /opt/context/tex/texmf/web2c LuaTools | unable to save configuration in /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/eafbbdaaf07ecf8142ecf5e1c693b318..tma LuaTools | locating list of /opt/context/tex/texmf-project LuaTools | locating list of /opt/context/tex/texmf-fonts LuaTools | locating list of /opt/context/tex/texmf-local LuaTools | locating list of /opt/context/tex/texmf-linux LuaTools | locating list of /opt/context/tex/texmf-context LuaTools | locating list of /opt/context/tex/texmf-extra LuaTools | locating list of /opt/context/tex/texmf LuaTools | scanning path /opt/context/tex/texmf-linux LuaTools | 88 files found on 9 directories with 0 uppercase remappings LuaTools | scanning path /opt/context/tex/texmf-context LuaTools | 1370 files found on 125 directories with 0 uppercase remappings LuaTools | scanning path /opt/context/tex/texmf LuaTools | 3411 files found on 112 directories with 207 uppercase remappings LuaTools | preparing files for /opt/context/tex/texmf-context LuaTools | unable to save files in /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/5f7b9306dcbd6a966450acbb82901a81..tma LuaTools | preparing files for /opt/context/tex/texmf LuaTools | unable to save files in /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/3b345784234bafc7148851149a3f5528..tma LuaTools | preparing files for /opt/context/tex/texmf-linux LuaTools | unable to save files in /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/64fe47ca42a06b0d6010805018b4cbbc..tma LuaTools | LuaTools | runtime: 0.106 seconds TeXExec | using tex engine luatex TeXExec | using tex format path ./luatex TeXExec | unable to make format due to lack of permissions TeXExec | using mp engine mpost TeXExec | using mps format path . TeXExec | generating mps format metafun This is MetaPost, Version 1.005 (Web2C 7.5.5) (INIMP) (/opt/context/tex/texmf-context/web2c/natural.tcx) (/opt/context/tex/texmf-context/metapost/context/base/metafun.mp(/opt/context/tex/texmf-context/metapost/context/base/ mp-base.mp Preloading the plain mem file, version 0.63) (/opt/context/tex/texmf-context/metapost/context/base/mp-tool.mp) (/opt/context/tex/texmf-context/metapost/context/base/mp-spec.mp) (/opt/context/tex/texmf-context/metapost/context/base/mp-core.mp) (/opt/context/tex/texmf-context/metapost/context/base/mp-page.mp) (/opt/context/tex/texmf-context/metapost/context/base/mp-text.mp) (/opt/context/tex/texmf-context/metapost/context/base/mp-txts.mp) (/opt/context/tex/texmf-context/metapost/context/base/mp-shap.mp) (/opt/context/tex/texmf-context/metapost/context/base/mp-butt.mp) (/opt/context/tex/texmf-context/metapost/context/base/mp-char.mp) (/opt/context/tex/texmf-context/metapost/context/base/mp-step.mp) (/opt/context/tex/texmf-context/metapost/context/base/mp-grph.mp) (/opt/context/tex/texmf-context/metapost/context/base/mp-figs.mp) (/opt/context/tex/texmf-context/metapost/context/base/mp-mlib.mp) (/opt/context/tex/texmf-context/metapost/context/base/mp-grid.mp(/opt/context/tex/texmf-context/metapost/context/base/ mp-form.mp (/opt/context/tex/texmf/metapost/base/string.mp) (/opt/context/tex/texmf/metapost/base/marith.mp(/opt/context/tex/texmf/metapost/base/ string.mp (/opt/context/tex/texmf-context/metapost/context/base/ mp-func.mp) ) Beginning to dump on file metafun.mem (mem=metafun 2008.7.9) at most 3066 strings of total length 40863 49365 memory locations dumped; current usage is 1282236400 1788 symbolic tokens Transcript written on metafun.log. TeXExec | TeXExec | mps engine path: . TeXExec | TeXExec | TeXExec | runtime: 0.906651 Exit code: 1 Alan On Wed, Jul 9, 2008 at 7:00 PM, Alan Stone [EMAIL PROTECTED] wrote: You got that from a bug in the warning message, not the actual file name. The .tma and .tmc files are in /opt/context/tex/texmf-cache/ luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/ but have Date Modified 23/06/2008. :O( Alan ___ If your question is of
[NTG-context] \placebookmarks: opening with only topmost levels visible
From this minimal example, the resulting PDF file opens with chapter and section bookmarks. But it should open with just chapter bookmarks due to the second argument in this line: \placebookmarks [chapter,section] [chapter] The problem is mentioned on the wiki http://wiki.contextgarden.net/PDF_Bookmarks_and_Headers and I wasn't able to solve it by looking over the bookmark code in core-int.tex. I tried the example, with the same results, using Mk II 2008.05.21 (on my Debian i386 laptop), Mk II 2008.07.07 (live.contextgarden.net), and live Luatex. Any ideas? Should I post an issue on the tracker, just for reference? \setupinteraction[state=start] \setupinteractionscreen[option=bookmark] \placebookmarks [chapter,section] [chapter] \starttext \chapter{One} \section{One A} \input tufte \section{One B} \input knuth \stoptext ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] XeTeX and precise font sizes
Hello there! I was googling around, but couldn't really figure out how to use OpenType fonts with ConTeXt and XeTeX with precise sizes in points. I am trying to create a subsection style with Gentium 24pt. I am creating a typeface like it's recommended in the documentation: \definetypeface [Gentium][rm][Xserif][Gentium] Then I create my own subsection style: \setuphead [subsection] [alternative=inmargin, numbercolor=orange, style=\Gentium] So far so good, but it actually types the subsection out with some pre- determined font size. What I'm trying to do is get my subsections at the size of, say, precisely 24 pt. Stuff like \definetypeface [Gentium][rm][Xserif][Gentium] \definefont [Subs][Gentium at 24pt] apparently invokes non-XeTeX font routines (pardon my ignorance): kpathsea: Running mktextfm subsections mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input subsections This is METAFONT, Version 2.71828 (Web2C 7.5.6) kpathsea: Running mktexmf subsections ! I can't find file `subsections'. The best I was able to get was adding rscale \definetypeface [Gentium][rm][Xserif][Gentium][rscale=1.4] which is bad for two reasons: first, it's not logically correct, since I am planning to use my typeface for different sizes throughout the document, and second, I really want to control my sizes in points. Thanks in advance, Dima ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Filling frames with rounded corners
Is there any possibility to fill frames with rounded corners by defined color but not as a rectangle? I mean if I define \defineframed [frm][framecorner=round, frameoffset=20pt, background=color, backgroundcolor=color2] it ignores the rounded corners and offset and fills it like a regular rectangle. Czenek ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] XeTeX and precise font sizes
2008/7/10 Neiaglov Dmitry [EMAIL PROTECTED]: Hello there! I was googling around, you mis-googled :-) http://www.google.com/cse?q=gentiumcx=016640200293943433883:w-6slqs1kjgcof=FORID:0sa=Special+Search OpenType fonts with ConTeXt and XeTeX with precise sizes in points. I am trying to create a subsection style with Gentium 24pt. following code should be work. \starttypescript[serif][gentium-basic] \definefontsynonym[Serif] [GentiumBasic] \definefontsynonym[SerifItalic][GentiumBasicItalic] \definefontsynonym[SerifBold] [GentiumBasicBold] \definefontsynonym[SerifBoldItalic][GentiumBasicBoldItalic] \stoptypescript \starttypescript[serif][gentium-basic] \definefontsynonym[GentiumBasic] [file:GenBasR] [features=default] \definefontsynonym[GentiumBasicItalic][file:GenBasI] [features=default] \definefontsynonym[GentiumBasicBold] [file:GenBasB] [features=default] \definefontsynonym[GentiumBasicBoldItalic][file:GenBasBI][features=default] \stoptypescript \starttypescript[gentium-basic] \definetypeface[gentium][rm][serif][gentium-basic][default] \stoptypescript \usetypescript[gentium-basic] \setupcolors[state=start] \def\subsectfont{\setupbodyfont[gentium,24pt]} \setuphead [subsection] [alternative=inmargin, numbercolor=orange, style=\subsectfont] \starttext \section {a section} \subsection {a subsection} \input knuth \stoptext Cheers -- Diego Depaoli ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Status
Hi, I anyone got any status on the port? ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] listings.sty
Peter Münster pmlists at free.fr writes: Hello, I suggested to the author of the very feature rich LaTeX-Listings package, Carsten Heinz, to port this package to ConTeXt, and it seems, that he is interested. But before doing it, there are some questions: * What do Hans and other people thing about that? * listings.sty uses keyval.sty, how is the proper ConTeXt-way to do the same things as keyval, or should listings stay with keyval? Greetings, Peter Hi, I anyone got any status on the port? Here's the link for the package; http://www.ctan.org/tex-archive/macros/latex/contrib/listings/. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Using free Lucida, MinionPro and MyriadPro
abbg770 at city.ac.uk writes: Hi, Anyone tried using the MinionPro or MyriadPro thats ships with Adobe Reader 8? $ tree /opt/jdk1.6.0_06/jre/lib/fonts/ /opt/jdk1.6.0_06/jre/lib/fonts/ |-- LucidaBrightDemiBold.ttf |-- LucidaBrightDemiItalic.ttf |-- LucidaBrightItalic.ttf |-- LucidaBrightRegular.ttf |-- LucidaSansDemiBold.ttf |-- LucidaSansRegular.ttf |-- LucidaTypewriterBold.ttf |-- LucidaTypewriterRegular.ttf `-- fonts.dir $ tree /opt/jdk1.6.0_06/jre/lib/oblique-fonts/ /opt/jdk1.6.0_06/jre/lib/oblique-fonts/ |-- LucidaSansDemiOblique.ttf |-- LucidaSansOblique.ttf |-- LucidaTypewriterBoldOblique.ttf |-- LucidaTypewriterOblique.ttf `-- fonts.dir 0 directories, 5 files Assuming I've got \loadmapfile[texnansi-bandh-lucida.map] \definefontsynonym[LucidaBright-Demi] [texnansi-LucidaBrightDemiBold][encoding=texnansi] \definefontsynonym[LucidaBright-DemiItalic] [texnansi-LucidaBrightDemiItalic][encoding=texnansi] \definefontsynonym[LucidaBright-Italic] [texnansi-LucidaBrightItalic][encoding=texnansi] \definefontsynonym[LucidaBright] [texnansi-LucidaBrightRegular][encoding=texnansi] \definefontsynonym[LucidaSans-Demi] [texnansi-LucidaSansDemiBold][encoding=texnansi] \definefontsynonym[LucidaSans-DemiOblique] [texnansi-LucidaSansDemiOblique][encoding=texnansi] \definefontsynonym[LucidaSans-Oblique] [texnansi-LucidaSansOblique][encoding=texnansi] \definefontsynonym[LucidaSans] [texnansi-LucidaSansRegular][encoding=texnansi] \definefontsynonym[LucidaSans-TypewriterBold] [texnansi-LucidaTypewriterBold][encoding=texnansi] \definefontsynonym[LucidaSans-TypewriterBoldOblique] [texnansi-LucidaTypewriterBoldOblique][encoding=texnansi] \definefontsynonym[LucidaSans-TypewriterOblique] [texnansi-LucidaTypewriterOblique][encoding=texnansi] \definefontsynonym[LucidaSans-Typewriter] [texnansi-LucidaTypewriterRegular][encoding=texnansi] How would the typscript file be defined? 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Filling frames with rounded corners
On Wed, Jul 9, 2008 at 11:52 PM, 302302 [EMAIL PROTECTED] wrote: Is there any possibility to fill frames with rounded corners by defined color but not as a rectangle? I mean if I define \defineframed [frm][framecorner=round, frameoffset=20pt, background=color, backgroundcolor=color2] it ignores the rounded corners and offset and fills it like a regular rectangle. http://wiki.contextgarden.net/Framed#Rounded_Corners 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] XeTeX and precise font sizes
On Thu, Jul 10, 2008 at 1:02 AM, Diego Depaoli [EMAIL PROTECTED] wrote: 2008/7/10 Neiaglov Dmitry [EMAIL PROTECTED]: Hello there! I was googling around, you mis-googled :-) http://www.google.com/cse?q=gentiumcx=016640200293943433883:w-6slqs1kjgcof=FORID:0sa=Special+Search OpenType fonts with ConTeXt and XeTeX with precise sizes in points. I am trying to create a subsection style with Gentium 24pt. following code should be work. \starttypescript[serif][gentium-basic] \definefontsynonym[Serif] [GentiumBasic] \definefontsynonym[SerifItalic][GentiumBasicItalic] \definefontsynonym[SerifBold] [GentiumBasicBold] \definefontsynonym[SerifBoldItalic][GentiumBasicBoldItalic] \stoptypescript \starttypescript[serif][gentium-basic] \definefontsynonym[GentiumBasic] [file:GenBasR] [features=default] \definefontsynonym[GentiumBasicItalic][file:GenBasI] [features=default] \definefontsynonym[GentiumBasicBold] [file:GenBasB] [features=default] \definefontsynonym[GentiumBasicBoldItalic][file:GenBasBI][features=default] \stoptypescript \starttypescript[gentium-basic] \definetypeface[gentium][rm][serif][gentium-basic][default] \stoptypescript \usetypescript[gentium-basic] \setupbodyfont[gentium] \setupcolors[state=start] \def\subsectfont{\setupbodyfont[gentium,24pt]} \setuphead [subsection] [alternative=inmargin, numbercolor=orange, style=\subsectfont] \definefont[subsectfont][Serif at 24pt] % Gentium as bodyfont or \definefont[subsectfont][GentiumBasic at 24pt] % Gentium is not the bodyfont and \setuphead [subsection] [alternative=inmargin, numbercolor=orange, style=subsectfont] \starttext \section {a section} \subsection {a subsection} \input knuth \stoptext Cheers -- Diego Depaoli 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___