Re: [NTG-context] Small capitals broken in latest beta?
Am 02.04.2011 um 00:40 schrieb C.: > Hello, > could it be that in the latest beta (ConTeXt ver: 2011.03.30 11:21 MKIV) > the font feature 'small capitals' is broken? It works but you need “script=latn”. \usemodule[simplefonts] \setmainfont[Minion Pro][expansion=quality,protrusion=quality,script=latn] \starttext {\sc Smallcaps} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Small capitals broken in latest beta?
Hello, could it be that in the latest beta (ConTeXt ver: 2011.03.30 11:21 MKIV) the font feature 'small capitals' is broken? Can someone who has Minion Pro test this, please? I'm using \usemodule[simplefonts] \definefontfeature[smcp][default][smcp=yes] \def\sc{\addff{smcp}} \definefontfeature[allc][default][smcp=yes,c2sc=yes] \def\allc{\addff{allc}} \setmainfont[Minion Pro][expansion=quality, protrusion=quality] \starttext {\sc Test} {\allc Test} \stoptext No small capitals :( ___ 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] chapter and section titles in margin of each page
That seems to Work. Grid alignment does also work, as long as the whitespace before and after section/chapter heads is a multiple of lineheight. Thank you. > -Ursprüngliche Nachricht- > Von: Wolfgang Schuster [mailto:schuster.wolfg...@googlemail.com] > Gesendet: Donnerstag, 31. März 2011 23:17 > An: mailing list for ConTeXt users > Betreff: Re: [NTG-context] chapter and section titles in margin of each page > > > Am 31.03.2011 um 19:17 schrieb C.: > > > Hello, > > > > this is nice: > > > http://wiki.contextgarden.net/Headers_and_Footers#Marginal_headings_a > n > > d_cent > > ered_headings > > However, the text in the margin has not the same interlinespace as the > > main text and that looks weird. > > See http://i52.tinypic.com/91rc.png > > The only solution I came up with is using \framed: > > > > \startsetups[text a] > > \framed[align=flushleft, > > height=24\lineheight, > > width=\rightmarginwidth, > > frame=off > > ] > > {\getmarking[section]} > > \stopsetups > > > > The drawback seems to be that with this, I can not use \raised , so I > > have to enlarge the frame (It says "A box is expected here" when I > > try to raise the frame). > > > > Is there a better solution? > > \setuplayout[grid=yes] > > \setuppagenumbering[alternative=doublesided] > > \setuptexttexts[margin][][\setups{text a}][\setups{text b}][] > > \startsetups[text a] > \framed > [frame=off, >offset=0pt, >width=broad, >height=\vsize, >align={high,flushleft}, >top={\blank[12*line]}] > {\getmarking[chapter]} > \stopsetups > > \startsetups[text b] > \framed > [frame=off, >offset=0pt, >width=broad, >height=\vsize, >align={high,flushright}, >top={\blank[12*line]}] > {\getmarking[section]} > \stopsetups > > \showframe\showgrid > > \starttext > > \chapter{Chapter Knuth Testing} > > \section{Section Knuth Testing} > > \dorecurse{20}{\input knuth\par} > > \stoptext > > > P.S: Bonus points: Align baselines of margin text and main text. > > Does only work when you enable grid typesetting. > > Wolfgang > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] string 'space' instead of space ' ' in Russian/Ukranian translations
Hi! While converting translations to lang-txt.lua many spaces in Russian and Ukranian translations were replaced by the string "space". See attached patch.--- lang-txt.lua.old 2011-04-02 01:45:04.0 +0400 +++ lang-txt.lua 2011-04-02 01:46:56.0 +0400 @@ -459,13 +459,13 @@ pl="", pt="", ro="", -ru="наspaceÑÑÑаниÑеspace", +ru="на ÑÑÑаниÑе ", sk="", sl="na strani ", sv="pÃ¥ sida ", tk="", tr="", -ua="наspaceÑÑоÑÑнÑÑspace", +ua="на ÑÑоÑÑнÑÑ ", vi="", }, }, @@ -784,13 +784,13 @@ pl="Ilustracja ", pt="Figura ", ro="Figura ", -ru="РиÑÑнокspace", +ru="РиÑÑнок ", sk="Obrázok ", sl="Slika ", sv="Figur ", tk="Surat", tr="Åekil ", -ua="ÐалÑнокspace", +ua="ÐалÑнок ", vi="Hình ", }, }, @@ -857,13 +857,13 @@ pl="Grafika ", pt="Gráfico ", ro="Graficul ", -ru="ÐÑаÑикspace", +ru="ÐÑаÑик ", sk="Graf ", sl="Slika ", sv="Grafik ", tk="Grafik", tr="Grafik", -ua="ÐÑаÑикspace", +ua="ÐÑаÑик ", vi="Äá» thá»", }, }, @@ -892,13 +892,13 @@ pl="", pt="", ro="", -ru="Ñм.spaceвÑÑе", +ru="Ñм. вÑÑе", sk="", sl="glej zgoraj", sv="se ovan", tk="", tr="", -ua="ÑкspaceпоказаноspaceвиÑе", +ua="Ñк показано виÑе", vi="", }, }, @@ -926,13 +926,13 @@ pl="", pt="", ro="", -ru="Ñм.spaceниже", +ru="Ñм. ниже", sk="", sl="glej spodaj", sv="se nedan", tk="", tr="", -ua="ÑкspaceпоказаноspaceнижÑе", +ua="Ñк показано нижÑе", vi="", }, }, @@ -963,13 +963,13 @@ pl="Intermezzo ", pt="Intermédio ", ro="Intermezzo ", -ru="ÐÑÑавкаspace", +ru="ÐÑÑавка ", sk="Intermezzo ", sl="Intermezzo ", sv="Intermezzo ", tk="Arakesme", tr="", -ua="ÐÑÑавкаspace", +ua="ÐÑÑавка ", vi="intermezzo", }, }, @@ -1217,13 +1217,13 @@ pl="wiersz ", pt="linha ", ro="linia ", -ru="ÑÑÑокаspace", +ru="ÑÑÑока ", sk="riadok ", sl="vrstica ", sv="rad ", tk="setir", tr="satır ", -ua="ÑÑдокspace", +ua="ÑÑдок ", vi="dòng ", }, }, @@ -1254,13 +1254,13 @@ pl="wiersze ", pt="linhas ", ro="liniile ", -ru="ÑÑÑокиspace", +ru="ÑÑÑоки ", sk="riadky ", sl="vrstice ", sv="rader ", tk="setirler", tr="satırlar ", -ua="ÑÑдкиspace", +ua="ÑÑдки ", vi="dòng ", }, }, @@ -1613,13 +1613,13 @@ pl="", pt="", ro="", -ru="ÑÑÑаниÑаspace", +ru="ÑÑÑаниÑа ", sk="", sl="stran ", sv="Sida ", tk="", tr="", -ua="ÑÑоÑÑнкаspace", +ua="ÑÑоÑÑнка ", vi="", }, }, @@ -1650,13 +1650,13 @@ pl="UstÄp ", pt="Parte ", ro="Partea ", -ru="ЧаÑÑÑspace", +ru="ЧаÑÑÑ ", sk="ÄasÅ¥ ", sl="Del ", sv="Del ", tk="Bölüm", tr="Cilt ", -ua="ЧаÑÑинаspace", +ua="ЧаÑÑина ", vi="Phần ", }, }, @@ -1760,13 +1760,13 @@ pl="", pt="", ro="", -ru="Ñм.space", +ru="Ñм. ", sk="", sl="glej ", sv="se ", tk="", tr="", -ua="див.space", +ua="див. ", vi="", }, }, @@ -2017,13 +2017,13 @@ pl="Tabela ", pt="Tabela ", ro="Tabelul ", -ru="ТаблиÑаspace", +ru="ТаблиÑа ", sk="Tabuľka ", sl="Tabela ", sv="Tabell ", tk="Tablisa", tr="Tablo ", -ua="ТаблиÑÑspace", +ua="ТаблиÑÑ ", vi="Bảng ", }, }, @@ -2167,13 +2167,13 @@ pl="Skrócenie", pt="Abreviaturas", ro="Abrevieri", -ru="СпиÑокspaceÑокÑаÑений", +ru="СпиÑок ÑокÑаÑений", sk="Skratky", sl="Kratice", sv="Förkortningar", tk="Gysgaltmalar", tr="Kısaltmalar", -ua="ÐеÑелÑкspaceÑкоÑоÑенÑ", +ua="ÐеÑелÑк ÑкоÑоÑенÑ", vi="Chữ viết tắt", }, }, @@ -2241,13 +2241,13 @@ pl="Ilustracje", pt="Figuras", ro="Figuri", -ru="СпиÑокspaceиллÑÑÑÑаÑий", +ru="СпиÑок иллÑÑÑÑаÑий", sk="Obrázkov", sl="Slike", sv="Figurer", tk="Suratlar", tr="Åekiller", -ua="ÐеÑелÑкspaceÑлÑÑÑÑаÑÑй", +ua="ÐеÑелÑк ÑлÑÑÑÑаÑÑй", vi="Danh sách hình vẽ", }, }, @@ -2278,13 +2278,13 @@ pl="Grafika", pt="Gráficos", ro="Grafice", -ru="СпиÑокspaceгÑаÑиков", +ru="СпиÑок гÑаÑиков", sk="Gr
Re: [NTG-context] something's wrong with arranging
Hi Willi, shoot, I had a very vague memory that you had recently posted about this, but didn't find anything; thanks for pointing this out! So Hans is on the job, I guess... I hope you had a nice time in Bremen! All best Thomas On Apr 1, 2011, at 9:25 PM, Willi Egger wrote: > Hi Thomas, > > that is precisely what I detected and mailed to the list some days ago. The > issue was discussed at the Dante meeting in Bremen. It appears that it could > have to do with the changes Hans made in connection with the paper-setup > discussion held on the list recently. Some of the default values in the > setuplayout were changed then. I do hope that this will work again in the > next beta release. > > Kind regards > > Willi ___ 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] problem with printing pdf files (MKIV on Mac)
On Fri, Apr 1, 2011 at 19:50, Florian Wobbe wrote: > > FYI: the issue is official now and related to printing OpenType PostScript > fonts (i.e. Linux Biolinum). Mac users, you may want to consider not > upgrading to 10.6.7 right now. > > See also: > http://reviews.cnet.com/8301-13727_7-20048314-263.html > http://discussions.apple.com/thread.jspa?threadID=2792142 > http://discussions.apple.com/thread.jspa?threadID=2791830 I wish it was a first april joke. Thanks a lot for this notice. (I forwarded the message to xetex and luatex mailing lists.) 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] something's wrong with arranging
Hi Thomas, that is precisely what I detected and mailed to the list some days ago. The issue was discussed at the Dante meeting in Bremen. It appears that it could have to do with the changes Hans made in connection with the paper-setup discussion held on the list recently. Some of the default values in the setuplayout were changed then. I do hope that this will work again in the next beta release. Kind regards Willi On 1 Apr 2011, at 21:05, Thomas A. Schmitz wrote: > Hi all, > > something doesn't work with arranging pages in the latest beta. Minimal > example: > > \setuppapersize[A6][A4] > > \setuparranging[2*4] > > \starttext > > \dorecurse{24}{\input tufte \page} > > \stoptext > > Only the first two sheets are properly arranged. Must be pretty recent, it > worked about two weeks ago. > > All best > > 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 : 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 ___
[NTG-context] something's wrong with arranging
Hi all, something doesn't work with arranging pages in the latest beta. Minimal example: \setuppapersize[A6][A4] \setuparranging[2*4] \starttext \dorecurse{24}{\input tufte \page} \stoptext Only the first two sheets are properly arranged. Must be pretty recent, it worked about two weeks ago. All best 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with printing pdf files (MKIV on Mac)
> Maybe related: > > Printing on a network printer (from a Mac through Skim) prints the first page > correctly, at the top of the second page it prints: > > ERROR: invalidfont > OFFENDING COMMAND:definefont > > STACK: > > /Font > -dictionary~ > /YYMGGN+LinBiolinumO > > > Printing from Acrobat Professional works correctly. FYI: the issue is official now and related to printing OpenType PostScript fonts (i.e. Linux Biolinum). Mac users, you may want to consider not upgrading to 10.6.7 right now. See also: http://reviews.cnet.com/8301-13727_7-20048314-263.html http://discussions.apple.com/thread.jspa?threadID=2792142 http://discussions.apple.com/thread.jspa?threadID=2791830 Best, Florian ___ 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] rscale (only for integers?)
Am 01.04.2011 um 19:28 schrieb Steffen Wolfrum: > My aim was to find one solution that fits in both cases (once running only a > component, then running the entire product). You can set the font before \starttext where the typeface and the size are set with two separate \setupbodyfont commands: \definetypeface [times] [rm] [serif] [times] [default] \definetypeface [times] [ss] [sans] [helvetica] [default] [rscale=2] \setupbodyfont[times] \setupbodyfont[10.1pt] \starttext text {\ss text} \stoptext or you use Thomas solution which works even when you set the font after \starttext (which is the case with products/components): \definetypeface [times] [rm] [serif] [times] [default] \definetypeface [times] [ss] [sans] [helvetica] [default] [rscale=2] \setupbodyfont[times] \setupbodyfont[10.1pt] \starttext text {\ss text} \stoptext > That's why I assumed the project file could serve for both. No because the project is loaded too late. 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] rscale (only for integers?)
Am 01.04.2011 um 19:23 schrieb Wolfgang Schuster: > > Am 01.04.2011 um 12:15 schrieb Steffen Wolfrum: > >> >> Am 01.04.2011 um 11:36 schrieb Wolfgang Schuster: >> >>> It does also work when you switch to the “times” typeface *before* >>> \starttext and change the size *after* \starttext: >>> ... >> >>> \setupbodyfont[times] >>> ... >>> \starttext >>> ... >>> \setupbodyfont[10.5pt] >> >> >> An interesting distinction! >> >> Only, where is the corresponding point in context's >> project(-product/component)- structure? >> Probably not in included environment files. >> >> Maybe in the project file? Like this: >> >> \startproject MyProject >> >> % Here ? >> >> \product MyProduct >> >> % Or here ? >> >> \stopproject > > As you process only the product or component the project file is wrong. > > When you process the product \startproduct is your \starttext and when > you process only a single component \startcomponent is your \starttext. My aim was to find one solution that fits in both cases (once running only a component, then running the entire product). That's why I assumed the project file could serve for both. If this is not true: do I have to write your distinction into the product AND in each componend file?! Steffen ___ 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] rscale (only for integers?)
Am 01.04.2011 um 12:15 schrieb Steffen Wolfrum: > > Am 01.04.2011 um 11:36 schrieb Wolfgang Schuster: > >> It does also work when you switch to the “times” typeface *before* >> \starttext and change the size *after* \starttext: >> ... > >> \setupbodyfont[times] >> ... >> \starttext >> ... >> \setupbodyfont[10.5pt] > > > An interesting distinction! > > Only, where is the corresponding point in context's > project(-product/component)- structure? > Probably not in included environment files. > > Maybe in the project file? Like this: > > \startproject MyProject > > % Here ? > > \product MyProduct > > % Or here ? > > \stopproject As you process only the product or component the project file is wrong. When you process the product \startproduct is your \starttext and when you process only a single component \startcomponent is your \starttext. 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] Bibliography -- complete inline citations in footnotes
Hi Andreas, does this module not work with current beta? Or did I miss something? \expandoneargafter \lowercase {\defaultciterepeat } \secondoftwoarguments #1#2->#2 ...er \lowercase {\defaultciterepeat }} . \firstoftwoarguments #1#2->#1 \@@ddfootnotetitle ...te [alternative=data][key]}} \expandoneargafter \doifno... \dododescriptioncomponent ...onparameter \c!title }}}\endgroup \fi \fi \fi \... ... l.35 ...=1.5, suffix={Some manual inserted text.}] ? Process aborted Steffen Am 21.01.2010 um 12:22 schrieb Andreas Schneider: > I did assemble such a solution (with much help from Hans and Wolfgang). It's > not enough to put it into a complete module yet (although I will probably do > that sometime soon) and it currently only works with a recent beta of MkIV. > (It can also be changed easily to work with MkII, but it won't correctly > recognize repeating citations over page breaks ... long story ;-)) > > Just put the attached file into the same dir (or near) your document where > you want to use it and include it with "\module[mycite]". > > To use it simply replace \cite[key] with something like \mycite[key] > [page=123, chapter=1.5, suffix={Some manual inserted text.}] > These three parameters are each optional. > Since I wrote this for a German document, you may also want to modify the > strings in the head of t-mycite.tex. ("Ebenda" = "Ibidem", "S." = Page, > "vgl." = compare/reference, "Kap." = chapter) > > Best Regards, > 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] Gradient in table header
On 7 March 2011 20:11, Henning Hraban Ramm wrote: > Am 2011-03-07 um 10:24 schrieb Felix Ingram: >> >> Okay. I've heard of this Metapost thing. After further investigation >> it doesn't look as scary as I first thought. I can't seem to find >> anything saying that gradient fills are supported directly but I've >> found a few examples of drawing multiple shapes with changing colours >> which will recreate the effect, so I'll start with those. Just a quick follow up in case Google points anyone this way: it looks as though the linear_shade function will produce nice looking gradients. Some examples can be found in: http://www.pragma-ade.com/general/manuals/metafun-p.pdf I will post again once(/if) I solve this for tables. Felix ___ 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] rscale (only for integers?)
Am 01.04.2011 um 11:36 schrieb Wolfgang Schuster: > It does also work when you switch to the “times” typeface *before* \starttext > and change the size *after* \starttext: > ... > \setupbodyfont[times] > ... > \starttext > ... > \setupbodyfont[10.5pt] An interesting distinction! Only, where is the corresponding point in context's project(-product/component)- structure? Probably not in included environment files. Maybe in the project file? Like this: \startproject MyProject % Here ? \product MyProduct % Or here ? \stopproject Steffen ___ 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] Minimal example for Cyrillic
On Fri, Apr 1, 2011 at 07:47, Aleksandr Sinicyn wrote: > I use minimal context distribution for linux obtained by > "first-setup.sh" script from > "http://wiki.contextgarden.net/ConTeXt_Minimals";. Where can this > cm-super or lh font can be downloaded from and where it should be > placed? You can place them to tex/texmf-local/ or tex/texmf-fonts/ in TDS structure (it has to start with "fonts" and then you can either follow TDS or put all the files inside fonts/data/). But I'm not even sure which fonts are used for cm-like Cyrillic. You can download them from CTAN (http://ctan.org/tex-archive/fonts) or (more reliably) from TeX Live (http://ctan.org/tex-archive/systems/texlive/tlnet/archive) or MikTeX since they are guaranteed to be in proper TDS structure. You only need to know how to unpack them. On Mac I had xzdec somewhere in macports (and it also comes with TeX Live), while on linux I took source and compiled it myself. 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] Minimal example for Cyrillic
On Fri, Apr 1, 2011 at 00:14, Thomas A. Schmitz wrote: > Your example is very nice, and I appreciate that you took the time to comment > all this. But actually, all you need is: > > \setupbodyfont[gentium,12pt] > > and then your text. Explanation: gentium is in the minimal distribution, > there's a typescript for it > (context/tex/texmf/tex/context/third/gentium/type-gentium.tex), and if the > bodyfont and the typescript have the same name, context will find it > automagically. Mojca, did we add something about this to the wiki? That was a rhetorical question, right? :) 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] rscale (only for integers?)
Am 01.04.2011 um 00:09 schrieb Thomas A. Schmitz: > > On Mar 31, 2011, at 5:22 PM, Steffen Wolfrum wrote: > >> Hi, >> >> in a typescript I need to set sansserif font proportional bigger than serif >> font. >> Using "rscale"? >> As far as I have seen this only works when integers are used for bodyfont: >> >> \starttypescript [times] >> \definetypeface [times] [ss] [sans][helvetica] [default] >> [rscale=10.2] >> \stoptypescript >> >> \usetypescript[times] >> %\setupbodyfont[times,10pt] % <- try this ... >> \setupbodyfont[times,10.1pt] % <- ... and then this >> >> \starttext >> >> Test \ss{text} >> >> \stoptext >> >> >> >> Unfortunately the sizes for bodyfont and footnotes are specified by >> publisher (10.1pt and 8.5pt). >> >> Is there a chance to get rscale working even for theses decimal fractions? >> >> Steffen > > You need: > > \starttypescript [serif] [default] [size] > \definebodyfont [10.1pt] [rm] [default] > \stoptypescript > > \definebodyfontenvironment[10.1pt] > > But I doubt that there is any visible difference between 10pt and 10.1pt (and > due to rounding errors, there may be no difference at all). It does also work when you switch to the “times” typeface *before* \starttext and change the size *after* \starttext: \definetypeface [times] [rm] [serif] [times] [default] \definetypeface [times] [ss] [sans] [helvetica] [default] [rscale=2] \setupbodyfont[times] %\setupbodyfont[times,10.5pt] % fails \starttext %text {\ss text} \setupbodyfont[10.5pt] text {\ss text} \switchtobodyfont[8.5pt] text {\ss text} \stoptext 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] rscale (only for integers?)
On Apr 1, 2011, at 11:00 AM, Steffen Wolfrum wrote: > Ok, but something still is missing The bodyfont doesn't get bigger here: > > > > \starttypescript [times] > \definetypeface [times] [ss] [sans][helvetica] [default] > [rscale=10.2] > \stoptypescript > > > \starttypescript [serif] [default] [size] > \definebodyfont [10.5pt] [rm] [default] > \stoptypescript > > > \definebodyfontenvironment[10.5pt] > > \usetypescript[times] > \setupbodyfont[times,10.5pt] > > \setupfootnotes[bodyfont={rm,8.5pt}] > > \definestartstop[quote] > [before={\setupnarrower[left=10pt,right=0pt]\startnarrower[left,right]\switchtobodyfont[8.5pt]\setupinterlinespace[line=10.5pt]},after={\stopnarrower}] > > > \starttext > > Test {\ss text} test\footnote{text {\ss text} test} test. > > \startquote > test {\ss text} \input ward \par > \stopquote > > \stoptext That's because you defined your bodyfont only for serif, so simply add \starttypescript [sans] [default] [size] \definebodyfont [10.5pt] [ss] [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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] rscale (only for integers?)
Am 01.04.2011 um 00:09 schrieb Thomas A. Schmitz: > > On Mar 31, 2011, at 5:22 PM, Steffen Wolfrum wrote: > >> Hi, >> >> in a typescript I need to set sansserif font proportional bigger than serif >> font. >> Using "rscale"? >> As far as I have seen this only works when integers are used for bodyfont: >> >> \starttypescript [times] >> \definetypeface [times] [ss] [sans][helvetica] [default] >> [rscale=10.2] >> \stoptypescript >> >> \usetypescript[times] >> %\setupbodyfont[times,10pt] % <- try this ... >> \setupbodyfont[times,10.5pt] % <- ... and then this >> >> \starttext >> >> Test \ss{text} >> >> \stoptext >> >> >> >> Unfortunately the sizes for bodyfont and footnotes are specified by >> publisher (10.5pt and 8.5pt). >> >> Is there a chance to get rscale working even for theses decimal fractions? >> >> Steffen > > You need: > > \starttypescript [serif] [default] [size] > \definebodyfont [10.5pt] [rm] [default] > \stoptypescript > > \definebodyfontenvironment[10.5pt] Ok, but something still is missing The bodyfont doesn't get bigger here: \starttypescript [times] \definetypeface [times] [ss] [sans][helvetica] [default] [rscale=10.2] \stoptypescript \starttypescript [serif] [default] [size] \definebodyfont [10.5pt] [rm] [default] \stoptypescript \definebodyfontenvironment[10.5pt] \usetypescript[times] \setupbodyfont[times,10.5pt] \setupfootnotes[bodyfont={rm,8.5pt}] \definestartstop[quote] [before={\setupnarrower[left=10pt,right=0pt]\startnarrower[left,right]\switchtobodyfont[8.5pt]\setupinterlinespace[line=10.5pt]},after={\stopnarrower}] \starttext Test {\ss text} test\footnote{text {\ss text} test} test. \startquote test {\ss text} \input ward \par \stopquote \stoptext --- Steffen ___ 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] Wiki discussion: Fwd: Re: Ctx wiki
Hi, - its name is still "\doif" - and not like "Reference/en/doif..." I have moved the page to Reference/en/doif... (BTW: It seems to me better if all commands appeared without (the common) "Reference/en/", but OK, now I'd like to achieve the normal look of reference items; so how to get "Reference/en/doif...".) I know it's ugly, but I won't change anything. Once the "\doif..." page was created (somewhere?), how to "move" it to "Reference/en/doif..."? I am not sure if normal users (not sysops) can move pages. - When I'm prompted for creation of a new page (for a missing item), I have no option where; I just can create one. So if I've created a (bad) "\doif..." page, how to "transform" it to a "Reference/en/doif..." page? - I.e. 1) to change location and 2) to remove the leading "\" from the page name? see above. One can move pages, but I am not so sure who can do that. - You may still view and/or edit the "\doif..." page source, especially: {{Reference|name=doif...|attributes=}} ... [[Category:Reference/en|doif]] (BTW: What is affected by "Reference|name=doif..." That's a template. See http://wiki.contextgarden.net/index.php?title=Reference/en/doif...&action=edit and what by "Category:Reference/en|doif"? Thats a category. Category pages with links are automatically created if you say Category:. - Seem similar, but I'm using "doif..." (with 3 dots) in the former case and "doif" in the latter one. Last thing: The title "\doif..." appears TWICE on the page http://wiki.contextgarden.net/%5Cdoif... - how to make it show just once? The first is the title of the page (Reference/en/doif...) and the second is the exact name of the command. No real perfect solution, but it's just the way it is. I'd appreciate if we can move this discussion to the public mailing list. Thanks Patrick ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Wiki discussion: Fwd: Re: Ctx wiki
Hello, thanks for the hints - On Thu, 31 Mar 2011 14:20:37 +0200, Patrick Gundlach wrote: Hi Lukáš, just insert [[Category:Reference/en|doif]] at the bottom of the page. OK, I did and a new valid link was created: http://wiki.contextgarden.net/%5Cdoif... But: - its name is still "\doif" - and not like "Reference/en/doif..." (BTW: It seems to me better if all commands appeared without (the common) "Reference/en/", but OK, now I'd like to achieve the normal look of reference items; so how to get "Reference/en/doif...".) The page should not be "http://wiki.contextgarden.net/%5Cdoif"; but at "http://wiki.contextgarden.net/Reference/en/doif";. And it might be helpful to follow the scheme of the other commands (see the source for http://wiki.contextgarden.net/Reference/en/color for example) Yes, that's a good complex and simple example (I was looking for such one). and fill out the "form" that is inside {{ }}. Done. If I remember correctly then you can say __NOTOC__ somewhere on the page that prevents creating a toc. And you should follow the example on the other references pages. OK. I'd guess that \ is an invalid character in an URL, but I don't know. We have decided to omit the \ in the command names, because all commands start with a backslash. HTH, Patrick Once the "\doif..." page was created (somewhere?), how to "move" it to "Reference/en/doif..."? - When I'm prompted for creation of a new page (for a missing item), I have no option where; I just can create one. So if I've created a (bad) "\doif..." page, how to "transform" it to a "Reference/en/doif..." page? - I.e. 1) to change location and 2) to remove the leading "\" from the page name? - You may still view and/or edit the "\doif..." page source, especially: {{Reference|name=doif...|attributes=}} ... [[Category:Reference/en|doif]] (BTW: What is affected by "Reference|name=doif..." and what by "Category:Reference/en|doif"? - Seem similar, but I'm using "doif..." (with 3 dots) in the former case and "doif" in the latter one. Last thing: The title "\doif..." appears TWICE on the page http://wiki.contextgarden.net/%5Cdoif... - how to make it show just once? Lukas ___ 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] Wiki discussion: Fwd: Re: Ctx wiki
Hi Lukáš, Several questions: - http://wiki.contextgarden.net/%5Cdoif... The item about "\doif..." was intended to appear in the reference/en, but it doesn't. How to provide it? just insert [[Category:Reference/en|doif]] at the bottom of the page. The page should not be "http://wiki.contextgarden.net/%5Cdoif"; but at "http://wiki.contextgarden.net/Reference/en/doif";. And it might be helpful to follow the scheme of the other commands (see the source for http://wiki.contextgarden.net/Reference/en/color for example) and fill out the "form" that is inside {{ }}. - http://wiki.contextgarden.net/%5Cstartitemize The item "\staritemize" creates (automatic?) table of contents, but bellow the first table (why?). Is it possible 1) to avoid the TOC creation or 2) to determine another TOC location? If I remember correctly then you can say __NOTOC__ somewhere on the page that prevents creating a toc. And you should follow the example on the other references pages. - Why there is "%5C" in the links above? Any way how to avoid this? I'd guess that \ is an invalid character in an URL, but I don't know. We have decided to omit the \ in the command names, because all commands start with a backslash. HTH, Patrick ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Wiki discussion: Fwd: Ctx wiki
Hello, I passed first trials contributing wiki - http://wiki.contextgarden.net/Special:Contributions/LuP. Several questions: - http://wiki.contextgarden.net/%5Cdoif... The item about "\doif..." was intended to appear in the reference/en, but it doesn't. How to provide it? - http://wiki.contextgarden.net/%5Cstartitemize The item "\staritemize" creates (automatic?) table of contents, but bellow the first table (why?). Is it possible 1) to avoid the TOC creation or 2) to determine another TOC location? - Why there is "%5C" in the links above? Any way how to avoid this? Pls, feel free to modify my initial experienceless wiki code - I'll recognize your modifications, so I may avoid bad ways in the future. Best regards, Lukas ___ 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 ___