[NTG-context] sources of http://www.pragma-ade.com/general/manuals/style.pdf
Hello, I am a beginner with Context, and would like to know if there is a way to get the sources of the following document : http://www.pragma-ade.com/general/manuals/style.pdf I am trying to adapt the style I use with Latex (that is to say : http://mirrors.ctan.org/macros/latex/contrib/classicthesis/ClassicThesis.pdf), and this document has some features which might be useful for it. Moreover I don't know how to make the command width=66\averagecharacterwidth work, if I see the sources I may be successful in trying to make it work. Sincerely -- Alexandre KRISPIN ___ 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 Viewer Navigation Tree
Kip Warner wrote: Hey folks, I'm not sure where to be looking, as this may well be a feature already implemented in ConTeXt or its lower level dependencies. I couldn't find anything in the mailing archives, nor in the reference manual or wiki. In my PDF viewer Evince, I have a navigation tree in the side bar that allows me quick access to various parts of some PDF documents. When I was using Texinfo, this was generated automatically for each @chapter / @section / @subsection / etc when the PDF was being written out. I noticed this doesn't appear to happen automatically with ConTeXt. How does one go about doing the same in ConTeXt? Try \setupinteraction[state=start]. ___ 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] combining character (unicode 0364)
anyway, if it fails, in order to check it we need a complete example + font of course, sorry! here it is the minimal example and the typescript (which is based on the one by Wolfgang Schuster). please find the font attached. Thanks! \usetypescript[djajunicode] \setupbodyfont[djajunicode,18pt] \starttext combined characters: aͤoͤuͤ\par precomposed letters: \stoptext % DJA Junicode typescript, based on Wolfgang Schuster’s type-junicode.tex \definefontfeature[default][% script=latn, mode=node, mark=yes, mkmk=yes, liga=yes, % dlig=yes, % hlig=yes, ccmp=yes, calt=yes, locl=yes ] \starttypescript [serif] [djajunicode] \setups[font:fallback:serif] \definefontsynonym [Serif] [DJA-Junicode-Regular] [features=default] \definefontsynonym [SerifItalic] [DJA-Junicode-Italic] [features=default] \definefontsynonym [SerifBold] [DJA-Junicode-Bold] [features=default] \definefontsynonym [SerifBoldItalic] [DJA-Junicode-BoldItalic] [features=default] \stoptypescript \starttypescript [serif] [djajunicode] \definefontsynonym [DJA-Junicode-Regular] [name:djajunicoderegular][features=default] \definefontsynonym [DJA-Junicode-Italic] [name:djajunicodeitalic] [features=default] \definefontsynonym [DJA-Junicode-Bold] [name:djajunicodebold] [features=default] \definefontsynonym [DJA-Junicode-BoldItalic] [name:djajunicodeBoldItalic] [features=default] \stoptypescript \starttypescript [djajunicode] \definetypeface [djajunicode] [rm] [serif] [djajunicode] [default] \definetypeface [djajunicode] [mm] [math] [xits] [default] \quittypescriptscanning \stoptypescript \endinput Am 15.06.11 09:58, schrieb Hans Hagen: On 15-6-2011 8:51, Daniel Schopper wrote: Hi, ok, I checked the font in indesign (well…) and there the positioning worked as expected. I’ll update ConTeXt, hopefully that helps… anyway, if it fails, in order to check it we need a complete example + font 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] dejavu math fallback?
On 16-6-2011 3:47, Reviczky, Adam wrote: Hi Using math with dejavu as the bodyfont produces: ! Math error: parameter \Umathquad\displaystyle is not set. minimal example: --- \setupbodyfont[dejavu] \starttext $e = mc^2$ \stoptext --- Installing the xits-math (https://github.com/khaledhosny/xits-math/) solves the problem. Shouldn't there be a fallback to lmmath or similar? xits is part of the minimals \setupbodyfont[dejavu] will load the predefined dejavu rm/ss/tt/mm combination and one can define another one if needed (just copy the 6 lines and replace the mm one) making a complex fallback mechanism is not worth the trouble 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] combining character (unicode 0364)
On 16-6-2011 10:18, Daniel Schopper wrote: \usetypescript[djajunicode] \setupbodyfont[djajunicode,18pt] \starttext combined characters: aͤoͤuͤ\par precomposed letters: \stoptext % DJA Junicode typescript, based on Wolfgang Schuster’s type-junicode.tex \definefontfeature[default][% script=latn, mode=node, mark=yes, mkmk=yes, liga=yes, %dlig=yes, %hlig=yes, ccmp=yes, calt=yes, locl=yes ] \starttypescript [serif] [djajunicode] \setups[font:fallback:serif] \definefontsynonym [Serif] [DJA-Junicode-Regular] [features=default] \definefontsynonym [SerifItalic] [DJA-Junicode-Italic] [features=default] \definefontsynonym [SerifBold] [DJA-Junicode-Bold] [features=default] \definefontsynonym [SerifBoldItalic] [DJA-Junicode-BoldItalic] [features=default] \stoptypescript \starttypescript [serif] [djajunicode] \definefontsynonym [DJA-Junicode-Regular] [name:djajunicoderegular][features=default] \definefontsynonym [DJA-Junicode-Italic] [name:djajunicodeitalic] [features=default] \definefontsynonym [DJA-Junicode-Bold] [name:djajunicodebold] [features=default] \definefontsynonym [DJA-Junicode-BoldItalic] [name:djajunicodeBoldItalic] [features=default] \stoptypescript \starttypescript [djajunicode] \definetypeface [djajunicode] [rm] [serif] [djajunicode] [default] \definetypeface [djajunicode] [mm] [math] [xits] [default] \quittypescriptscanning \stoptypescript \endinput with the junicode downloaded from ctan, and using: \definefontfeature [default] [script=latn, mode=node, mark=yes, mkmk=yes, liga=yes, % dlig=yes, % hlig=yes, ccmp=yes, calt=yes, locl=yes] \starttypescript [serif] [djajunicode] \setups[font:fallback:serif] \definefontsynonym [Serif] [Junicode-Regular] [features=default] \definefontsynonym [SerifItalic] [Junicode-Italic] [features=default] \definefontsynonym [SerifBold] [Junicode-Bold] [features=default] \definefontsynonym [SerifBoldItalic] [Junicode-BoldItalic] [features=default] \stoptypescript \starttypescript [serif] [djajunicode] \definefontsynonym [Junicode-Regular][file:junicoderegular] [features=default] \definefontsynonym [Junicode-Italic] [file:junicodeitalic] [features=default] \definefontsynonym [Junicode-Bold] [file:junicodebold] [features=default] \definefontsynonym [Junicode-BoldItalic] [file:junicodeBoldItalic] [features=default] \stoptypescript \starttypescript [djajunicode] \definetypeface [djajunicode] [rm] [serif] [djajunicode] [default] \definetypeface [djajunicode] [mm] [math] [xits][default] \quittypescriptscanning \stoptypescript \setupbodyfont[djajunicode,18pt] \starttext combined characters: aͤoͤuͤ\par precomposed letters: \stoptext I get two times aou with e's on top. I also get a message about an unsupported coverage contextsub which I will look into. 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] dejavu math fallback?
xits is part of the minimals It is certainly on contextgarden: http://minimals.contextgarden.net/current/fonts/extra/xits/fonts/opentype/public/xits/ But I don't think it comes with the minimals. I just did a fresh minimals setup and it gives me the same: ! Math error: parameter \Umathquad\displaystyle is not set. along with lines like: fontsdefining forced type otf of xits-math not found I also can't find the otf files in the minimals setup (bin, tex). I hope it's not just me ... Adam ___ 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] Placing figures flush right and captions in the margin
On 15.06.2011 15:15, Wolfgang Schuster wrote: Am 15.06.2011 um 10:17 schrieb Hans Hagen: Did you check the details.pdf manualal? This won’t help because it’s ConTeXt’s fault. This is a quick fix for strc-flt.mkiv but the leftmargin etc. keys are then ignored when the caption is placed in the margin. %\def\locatefloatbox % {\alignstrutmode\zerocount % \shiftalignedline % {\floatparameter\c!leftmargin }{\floatparameter\c!rightmargin}% % {\floatparameter\c!innermargin}{\floatparameter\c!outermargin}% % \alignedline{\floatparameter\c!location}\v!middle} \def\locatefloatbox {\alignstrutmode\zerocount \doifnotcommon{\floatcaptionparameter\c!location}{\v!outermargin,\v!innermargin,\v!leftmargin,\v!rightmargin} {\shiftalignedline {\floatparameter\c!leftmargin }{\floatparameter\c!rightmargin}% {\floatparameter\c!innermargin}{\floatparameter\c!outermargin}}% \alignedline{\floatparameter\c!location}\v!middle} Your solution doesn't seems to work, I still don't see a caption anywhere when using location=rightmargin. When I inserted your fix I stumbled upon the fact that there is \def\locatebcaptionbox below \def\locatefloatbox. You provided a fix for \locatefloatbox, but shouldn't it be for \locatecaptionbox? I have no clues about the internals of ConTeXt, but I tried the following: \def\locatecaptionbox {\alignstrutmode\zerocount \doifnotcommon{\floatcaptionparameter\c!location}{\v!outermargin,\v!innermargin,\v!leftmargin,\v!rightmargin} {\shiftalignedline {\floatcaptionparameter\c!leftmargin }{\floatcaptionparameter\c!rightmargin}% {\floatcaptionparameter\c!innermargin}{\floatcaptionparameter\c!outermargin}}% \alignedline{\floatparameter\c!location}\v!middle} Note that I just translated your fix to \locatecaptionbox. At least it didn't throw an error! The reason why the caption disappears is that you put it in \everyrightofalignedline and the content is replaced with the rightmargin skip in the \shiftalignedline command. Wolfgang My attempt at understanding that explanation: The caption is placed to the right of aligned line (because it is supposed to got into the margin?), and for all things that are placed that way, \everyrightofalignedline is called. And that macro replaces the caption with a skip, but should instead skip across the margin skip and then place the caption? Regards Christoph ___ 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] dejavu math fallback?
Hi list, On Thu, Jun 16, 2011 at 11:16, Reviczky, Adam adam.revic...@kcl.ac.uk wrote: xits is part of the minimals It is certainly on contextgarden: http://minimals.contextgarden.net/current/fonts/extra/xits/fonts/opentype/public/xits/ But I don't think it comes with the minimals. I just did a fresh minimals setup and it gives me the same: ! Math error: parameter \Umathquad\displaystyle is not set. along with lines like: fonts defining forced type otf of xits-math not found I also can't find the otf files in the minimals setup (bin, tex). I hope it's not just me ... It's not. Is there a simple/smart way to add these to the minimals, in texmf-local maybe ? -- Cédric Adam ___ 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] combining character (unicode 0364)
Ok, I updated again and this works now beautifully in the current beta 2011.06.16. 00:34. Thanks a lot! Daniel Am 16.06.11 10:35, schrieb Hans Hagen: On 16-6-2011 10:18, Daniel Schopper wrote: \usetypescript[djajunicode] \setupbodyfont[djajunicode,18pt] \starttext combined characters: aͤoͤuͤ\par precomposed letters: \stoptext % DJA Junicode typescript, based on Wolfgang Schuster’s type-junicode.tex \definefontfeature[default][% script=latn, mode=node, mark=yes, mkmk=yes, liga=yes, % dlig=yes, % hlig=yes, ccmp=yes, calt=yes, locl=yes ] \starttypescript [serif] [djajunicode] \setups[font:fallback:serif] \definefontsynonym [Serif] [DJA-Junicode-Regular] [features=default] \definefontsynonym [SerifItalic] [DJA-Junicode-Italic] [features=default] \definefontsynonym [SerifBold] [DJA-Junicode-Bold] [features=default] \definefontsynonym [SerifBoldItalic] [DJA-Junicode-BoldItalic] [features=default] \stoptypescript \starttypescript [serif] [djajunicode] \definefontsynonym [DJA-Junicode-Regular] [name:djajunicoderegular] [features=default] \definefontsynonym [DJA-Junicode-Italic] [name:djajunicodeitalic] [features=default] \definefontsynonym [DJA-Junicode-Bold] [name:djajunicodebold] [features=default] \definefontsynonym [DJA-Junicode-BoldItalic] [name:djajunicodeBoldItalic] [features=default] \stoptypescript \starttypescript [djajunicode] \definetypeface [djajunicode] [rm] [serif] [djajunicode] [default] \definetypeface [djajunicode] [mm] [math] [xits] [default] \quittypescriptscanning \stoptypescript \endinput with the junicode downloaded from ctan, and using: \definefontfeature [default] [script=latn, mode=node, mark=yes, mkmk=yes, liga=yes, % dlig=yes, % hlig=yes, ccmp=yes, calt=yes, locl=yes] \starttypescript [serif] [djajunicode] \setups[font:fallback:serif] \definefontsynonym [Serif] [Junicode-Regular] [features=default] \definefontsynonym [SerifItalic] [Junicode-Italic] [features=default] \definefontsynonym [SerifBold] [Junicode-Bold] [features=default] \definefontsynonym [SerifBoldItalic] [Junicode-BoldItalic] [features=default] \stoptypescript \starttypescript [serif] [djajunicode] \definefontsynonym [Junicode-Regular] [file:junicoderegular] [features=default] \definefontsynonym [Junicode-Italic] [file:junicodeitalic] [features=default] \definefontsynonym [Junicode-Bold] [file:junicodebold] [features=default] \definefontsynonym [Junicode-BoldItalic] [file:junicodeBoldItalic] [features=default] \stoptypescript \starttypescript [djajunicode] \definetypeface [djajunicode] [rm] [serif] [djajunicode] [default] \definetypeface [djajunicode] [mm] [math] [xits] [default] \quittypescriptscanning \stoptypescript \setupbodyfont[djajunicode,18pt] \starttext combined characters: aͤoͤuͤ\par precomposed letters: \stoptext I get two times aou with e's on top. I also get a message about an unsupported coverage contextsub which I will look into. 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] combining character (unicode 0364)
On 16-6-2011 10:18, Daniel Schopper wrote: anyway, if it fails, in order to check it we need a complete example + font of course, sorry! here it is the minimal example and the typescript (which is based on the one by Wolfgang Schuster). please find the font attached. the next beta will also do f\utfchar{E0} and jͤ beware: in that font the alternative f (narrower) is internally named falternative while it's better to use f.alternative because in that case proper tounicode entries can be constructed and copy/paste in pdf can be supported (a font buglet) 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] PNG file corrupted by ASCII conversion
minimal example --- \starttext \placefigure{}{\externalfigure[mill.png]} \stoptext --- LuaTeX in minimals beta-0.70.1-2011051923 (rev 4277) and latest trunk beta-0.71.0-2011061600 (rev 4301) are both affected. mill.png itself seems to be corrupted. E.g., display complains: improper image header `mill.png' @ error/png.c/ReadPNGImage/2957. Regards, Hartmut -- NEU: FreePhone - kostenlos mobil telefonieren! Jetzt informieren: http://www.gmx.net/de/go/freephone ___ 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] règles typographiques
Hi, I just came across this compilation: http://unicode.org/udhr/n/notes_fra.html Is this (exactly) what is implemented in ConTeXT with \setcharacterspacing[frenchpunctuation] ? Thank you, 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] PNG file corrupted by ASCII conversion
On Thu, Jun 16, 2011 at 2:50 PM, Hartmut Henkel hartmut_hen...@gmx.de wrote: minimal example --- \starttext \placefigure{}{\externalfigure[mill.png]} \stoptext --- LuaTeX in minimals beta-0.70.1-2011051923 (rev 4277) and latest trunk beta-0.71.0-2011061600 (rev 4301) are both affected. mill.png itself seems to be corrupted. E.g., display complains: improper image header `mill.png' @ error/png.c/ReadPNGImage/2957. Regards, Hartmut For sure it was ok during Brejlov meeting. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] PNG file corrupted by ASCII conversion
mill.png itself seems to be corrupted. E.g., display complains: improper image header `mill.png' @ error/png.c/ReadPNGImage/2957. For sure it was ok during Brejlov meeting. ~$ pngcheck -v mill.png File: mill.png (154867 bytes) File is CORRUPTED. It seems to have suffered DOS-Unix conversion. ERRORS DETECTED in mill.png ...that's what pngcheck says. Regards, Hartmut -- NEU: FreePhone - kostenlos mobil telefonieren! Jetzt informieren: http://www.gmx.net/de/go/freephone ___ 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] PNG file corrupted by ASCII conversion
On Thu, Jun 16, 2011 at 3:06 PM, Hartmut Henkel hartmut_hen...@gmx.de wrote: mill.png itself seems to be corrupted. E.g., display complains: improper image header `mill.png' @ error/png.c/ReadPNGImage/2957. For sure it was ok during Brejlov meeting. ~$ pngcheck -v mill.png File: mill.png (154867 bytes) File is CORRUPTED. It seems to have suffered DOS-Unix conversion. ERRORS DETECTED in mill.png ...that's what pngcheck says. yes, here the same with latest minimals. I was able to find a minimals of 16 May 2011, and mill.png it's ok. -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] PNG file corrupted by ASCII conversion
On 16-6-2011 3:06, Hartmut Henkel wrote: mill.png itself seems to be corrupted. E.g., display complains: improper image header `mill.png' @ error/png.c/ReadPNGImage/2957. For sure it was ok during Brejlov meeting. ~$ pngcheck -v mill.png File: mill.png (154867 bytes) File is CORRUPTED. It seems to have suffered DOS-Unix conversion. ERRORS DETECTED in mill.png that's what pngcheck says. I'll try to do a more strict zip then. 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] MTXrun | resolvers: warning: no lua configuration files found
On 15-6-2011 8:31, Stappers wrote: While following http://wiki.contextgarden.net/Debian_installation for installing context_2010.07.30-1_all.deb did bring the step Best use a more recent version (with matching luatex/mkiv) or use the minimals. 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] règles typographiques
Am 16.06.2011 um 14:51 schrieb Steffen Wolfrum: Hi, I just came across this compilation: http://unicode.org/udhr/n/notes_fra.html Is this (exactly) what is implemented in ConTeXT with \setcharacterspacing[frenchpunctuation] ? Yes but context adds before the colon only a small space and not a word space. 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] Placing figures flush right and captions in the margin
Am 16.06.2011 um 11:28 schrieb Christoph Redecker: Your solution doesn't seems to work, I still don't see a caption anywhere when using location=rightmargin. When I inserted your fix I stumbled upon the fact that there is \def\locatebcaptionbox below \def\locatefloatbox. You provided a fix for \locatefloatbox, but shouldn't it be for \locatecaptionbox? I have no clues about the internals of ConTeXt, but I tried the following: No, my fix was correct but it’s not a final solution because it disables the “leftmargin” and “rightmargin” keys when you place the caption in the margin. 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] Placing figures flush right and captions in the margin
Your solution doesn't seems to work, I still don't see a caption anywhere when using location=rightmargin. When I inserted your fix I stumbled upon the fact that there is \def\locatebcaptionbox below \def\locatefloatbox. You provided a fix for \locatefloatbox, but shouldn't it be for \locatecaptionbox? I have no clues about the internals of ConTeXt, but I tried the following: No, my fix was correct but it’s not a final solution because it disables the “leftmargin” and “rightmargin” keys when you place the caption in the margin. Wolfgang In that case I don't understand how I can place a caption in the margin. Should the MWE I included in my first post work now, or not? Regards Christoph ___ 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] règles typographiques
2011/6/16 Wolfgang Schuster schuster.wolfg...@googlemail.com: Am 16.06.2011 um 14:51 schrieb Steffen Wolfrum: Hi, I just came across this compilation: http://unicode.org/udhr/n/notes_fra.html Is this (exactly) what is implemented in ConTeXT with \setcharacterspacing[frenchpunctuation] ? Yes but context adds before the colon only a small space and not a word space. How could one modify that? Thanks. -- Cédric 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 ___ ___ 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] Placing figures flush right and captions in the margin
Am 16.06.2011 um 18:14 schrieb Christoph Redecker: In that case I don't understand how I can place a caption in the margin. Should the MWE I included in my first post work now, or not? Hans included the patch in the core, update your installation in this will work: \setuplayout [width=11cm, rightmargin=6cm] \setupcaption [figure] [width=\rightmarginwidth, location={rightmargin,high}] \starttext \placefigure{\input ward }{\externalfigure[cow]} \stoptext You can control the vertical position of the caption with the three values “high”, “low” and “middle” for the location key. 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] règles typographiques
Am 16.06.2011 um 18:14 schrieb Cedric Mauclair: Yes but context adds before the colon only a small space and not a word space. How could one modify that? \setupcharacterspacing [frenchpunctuation] [003A] [left=1] % default: left=.25 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] règles typographiques
2011/6/16 Wolfgang Schuster schuster.wolfg...@googlemail.com: Am 16.06.2011 um 18:14 schrieb Cedric Mauclair: Yes but context adds before the colon only a small space and not a word space. How could one modify that? \setupcharacterspacing [frenchpunctuation] [003A] [left=1] % default: left=.25 Nice! -- Cédric 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 ___ ___ 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] Placing figures flush right and captions in the margin
Hans included the patch in the core, update your installation in this will work: \setuplayout [width=11cm, rightmargin=6cm] \setupcaption [figure] [width=\rightmarginwidth, location={rightmargin,high}] \starttext \placefigure{\input ward }{\externalfigure[cow]} \stoptext You can control the vertical position of the caption with the three values “high”, “low” and “middle” for the location key. Wolfgang Thank you very much! The importance of explicitly setting the caption width was not obvious to me. Regards Christoph ___ 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] sources of http://www.pragma-ade.com/general/manuals/style.pdf
On 16-6-2011 1:51, Alexandre Krispin wrote: I am a beginner with Context, and would like to know if there is a way to get the sources of the following document : http://www.pragma-ade.com/general/manuals/style.pdf Those sources are not public, at least not now. Also, the document is partially updated (and moved to mkiv) and I need to pick up that thread. I am trying to adapt the style I use with Latex (that is to say : http://mirrors.ctan.org/macros/latex/contrib/classicthesis/ClassicThesis.pdf), and this document has some features which might be useful for it. Moreover I don't know how to make the command width=66\averagecharacterwidth work, if I see the sources I may be successful in trying to make it work. The \averagecharacterwidth code sits in lang-frk.mkiv (mkii) but I must admit that it is an experiment that needs an update. (If you need it I can make a proper mkiv version.) 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 ___