Re: [NTG-context] MkIV italic correction?
Dohyun Kim wrote: Considering current state that we don't know any fonts that has ITLC table, it would be better than nothing to implement italic correction as follows. In the following code, fontdata is a table returned by the function fonts.define.read. local param = fontdata.parameters local italicangle = fontdata.shared.otfdata.metadata.italicangle if italicangle and italicangle 0 then local uwidth = fontdata.shared.otfdata.metadata.uwidth or 40 local factor = fontdata.factor or 655.36 param.slant = - math.tan(italicangle*math.pi/180) * param.quad for i,v in pairs(fontdata.characters) do local gl = fontdata.descriptions[i] local it = (gl.boundingbox[3] - gl.width + uwidth*0.5) * factor if it 0 then v.italic = it end end end there are seleveral solutions: - extend the font with this info (faster but then it's always there which might not be ok as it's an approximation) - calculate it after loading (which is what you propose) in the mkiv code we do have a hook for that kind of things so this is then what i propose. watch how we don't scale here, we just add an entry to the shared data as that's where we hook in; the real implementation would look slightly different as an optimization is possible \starttext \startluacode table.insert(fonts.triggers,itlc) local function itlc(tfmdata,value) if value then -- the magic 40 and it formula come from Dohyun Kim local fontdata = tfmdata.shared.otfdata or tfmdata.shared.afmdata local metadata = fontdata and fontdata.metadata if metadata then local italicangle = metadata.italicangle if italicangle and italicangle ~= 0 then local uwidth = (metadata.uwidth or 40)/2 for unicode, d in next, tfmdata.descriptions do local it = d.boundingbox[3] - d.width + uwidth if it ~= 0 then d.italic = it end end end end end end fonts.initializers.base.otf.itlc = itlc fonts.initializers.node.otf.itlc = itlc fonts.initializers.base.afm.itlc = itlc fonts.initializers.node.afm.itlc = itlc \stopluacode \definedfont[SerifItalic*default at 24pt] test\/test \definefontfeature[xdefault][default][itlc=yes] \definedfont[SerifItalic*xdefault at 24pt] test\/test \stoptext i could add it to the generic code (although i'm not going to add all the other context goodies to the generic code definitely not as long as they're experimental) - 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] Arial
On Tue, 26 May 2009, Vyatcheslav Yatskovsky wrote: If you have Windows OS, then please \usetypescriptfile[type-win] \usetypescript[arial]\setupbodyfont[arial, 12pt] I'm being asked to use Arial font (not my choice!) I am using Windows, but the above did nothing - I ended up with the default serif font. You can also use helevetica. Most people will not notice the difference. So, \usetypescript[postscript] \setupbodyfont[ss, 12pt] Aditya The above changed the font to sans serif, but it doesn't look like Helvetica (or Arial), it looks like the default sans serif font I get when I put \setupbodyfont[sans, 12pt] on its own. Is this Latin Modern Sans? Richard Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration Number: 2416188 Registered in England and Wales. Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU. CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium. Please consider the environment before printing this e-mail ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Arial
Am 27.05.2009 um 10:34 schrieb richard.steph...@converteam.com: \usetypescriptfile[type-win] \usetypescript[arial]\setupbodyfont[arial, 12pt] I'm being asked to use Arial font (not my choice!) I am using Windows, but the above did nothing - I ended up with the default serif font. You need XeTeX to let this work. You can also use helevetica. Most people will not notice the difference. So, \usetypescript[postscript] \setupbodyfont[ss, 12pt] The above changed the font to sans serif, but it doesn't look like Helvetica (or Arial) The second line has to be \setupbodyfont[postscript,ss] and with a recent ConTeXt version you can write \usetypescript[helvetica] \setupbodyfont[helvetica] 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] newbie question (\crlf)
Am 27.05.2009 um 00:49 schrieb Vyatcheslav Yatskovsky: Thanks for all! I have just one notice: to completely simulate \centeredbox, I need \vfill before and after. \define[2]\maketitlepage {\starttextmakeup[align=middle] \vfill{\bfd#1} \blank Version #2\vfill \stoptextmakeup} \define[2]\maketitlepage {\startstandardmakeup[align=middle,pagestate=start,page=yes] {\bfd#1} \blank Version #2 \stopstandardmakeup} 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] bug in MarkIV ? section numbering
Amaël Broustet wrote: Is the first example the expected behavior ? I would better have think to something like 1 Blabla 1.0.1 bla actually, it should be (cf mkii) 1 Blabla 1 bla - 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 ___
[NTG-context] bug in content interaction
Hi all, with the newest ConTeXt (2009.05.27 11:27 MKIV) and luatex (beta-0.41.0-2009052623) I get a strange effect. If i use \placecontent all is as expected, but if I use \completecontent the click on chapter 3 in the table of content jumps to chapter 2 in the pdf. 2 jumps to 1. A click on chapter 1 has no effect. My file: \setupinteraction[state=start] \mainlanguage[de] \starttext \completecontent %\placecontent \chapter{Die Häuslichkeit} Mein Vater war ein Kaufmann. Er bewohnte einen Teil des ersten Stockwerkes eines mäßig großen Hauses in der Stadt, in welchem er zur Miete war… \chapter{Der Wanderer} Ich verfuhr mit der Rente, welche mir der Vater ausgesetzt hatte, gut. Daher wurde nach einiger Zeit mein Kreis erweitert, wie es der Vater versprochen hatte… \chapter{Die Einkehr} Eines Tages ging ich von dem Hochgebirge gegen das Hügelland hinaus. Ich wollte nehmlich von einem Gebirgszuge in einen andern übersiedeln und meinen Weg dahin durch einen Teil des offenen Landes nehmen… \stoptext Greetings Lutz ___ 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] bug in MarkIV ? section numbering
Amaël Broustet wrote: Dear all, the following example : ... \chapter{Blabla} \subsection{bla} ... is numbered 1 Blabla 11 bla The problem appears only if I skip the \section step. In fact \chapter{Blabla} \section{Bla} \subsection{bla} solved in upcoming beta - 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] define an incremental personal bullet of item
Dear Hans, Thank you for your code. I tested it using ConTeXt and LuaTeX, but I got following error. (/Users/graph/ConTeXtBeta/tex/texmf-context/tex/context/base/pdfr- def.tex) (./test-lua.tuo) systems : begin file test-lua at line 2 ! Argument of \MyCircledNumber has an extra }. inserted text \par to be read again } \doattributes ...name #1...@ea \endcsname \fi {#4} \dostopattributes \dolistitem ...evel \c!style \c!color {\listitem } \fi \fi } \ifconditional \f... \complexdoitemgroupitem ...obreak \fi \dolistitem \relax \ifconditional \pac... to be read again t ... l.15 \dorecurse{20}{\item test \recurselevel} ? However, I don't see any extra }. I just copy your code and run it. Thank you again Best regards, Dalyoung ___ 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] define an incremental personal bullet of item
Hi, It works here with: This is LuaTeX, Version beta-0.40.1-2009050813 (Web2C 7.5.7) ConTeXt ver: 2009.05.26 17:57 MKIV fmt: 2009.5.26 int: english/ english KR Willi On May 27, 2009, at 3:22 PM, dalyoung wrote: Dear Hans, Thank you for your code. I tested it using ConTeXt and LuaTeX, but I got following error. (/Users/graph/ConTeXtBeta/tex/texmf-context/tex/context/base/pdfr- def.tex) (./test-lua.tuo) systems : begin file test-lua at line 2 ! Argument of \MyCircledNumber has an extra }. inserted text \par to be read again } \doattributes ...name #1...@ea \endcsname \fi {#4} \dostopattributes \dolistitem ...evel \c!style \c!color {\listitem } \fi \fi } \ifconditional \f... \complexdoitemgroupitem ...obreak \fi \dolistitem \relax \ifconditional \pac... to be read again t ... l.15 \dorecurse{20}{\item test \recurselevel} ? However, I don't see any extra }. I just copy your code and run it. Thank you again Best regards, Dalyoung __ _ 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 ___
[NTG-context] LilyPond module 2009-05-27
I'm a bit proud to announce the latest version of the LilyPond bridge module. Download: http://modules.contextgarden.net/t-lilypond Documentation: http://wiki.contextgarden.net/LilyPond and, of course: http://lilypond.org/doc/v2.12/Documentation/ Changes: - Code cleanup (partly by Wolfgang) - Works with LuaTeX (ConTeXt MkIV) *only*! Also dropped support for EPS inclusion. - Uses subdirectories for temporary and created files to keep your working directory clean The included PDF is still the old one, because ConTeXt's processing of modules is broken. It makes no big sense anyway. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] define an incremental personal bullet of item
dalyoung schrieb: Dear Hans, Thank you for your code. I tested it using ConTeXt and LuaTeX, but I got following error. (/Users/graph/ConTeXtBeta/tex/texmf-context/tex/context/base/pdfr-def.tex) (./test-lua.tuo) systems : begin file test-lua at line 2 ! Argument of \MyCircledNumber has an extra }. inserted text \par to be read again } \doattributes ...name #1...@ea \endcsname \fi {#4} \dostopattributes \dolistitem ...evel \c!style \c!color {\listitem } \fi \fi }\ifconditional \f... \complexdoitemgroupitem ...obreak \fi \dolistitem \relax \ifconditional \pac... to be read again t ... l.15 \dorecurse{20}{\item test \recurselevel} ? However, I don't see any extra }. I just copy your code and run it. I did the same (copy run) and both marks work here. Must be some problem with your tex installation... Best wishes, Peter Thank you again Best regards, Dalyoung ___ 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 ___
[NTG-context] Page number in the middle of the margin
Dear all, as said by the title of the e-mail, I try to put the page number in the middle (both vertically and horizontally) of the margin. I tried a custom command like \def\mypagenumber#1{% \vfill #1 \vfill } \setuppagenumbering{location=margin,command=\mypagenumber} but, unfortunately, I got an error message on the \vfill. Is there a direct way to place my page number ? Regards, -- Flavien. Quantum objects are completely crazy but, at least, they are all crazy in the same way. R.P. Feynman. ___ 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] Page number in the middle of the margin
Hi, This I would approach with the layer-mechanism. Willi On May 27, 2009, at 3:40 PM, Flavien Lambert wrote: Dear all, as said by the title of the e-mail, I try to put the page number in the middle (both vertically and horizontally) of the margin. I tried a custom command like \def\mypagenumber#1{% \vfill #1 \vfill } \setuppagenumbering{location=margin,command=\mypagenumber} but, unfortunately, I got an error message on the \vfill. Is there a direct way to place my page number ? Regards, -- Flavien. Quantum objects are completely crazy but, at least, they are all crazy in the same way. R.P. Feynman. __ _ 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] Page number in the middle of the margin
Flavien Lambert wrote: Dear all, as said by the title of the e-mail, I try to put the page number in the middle (both vertically and horizontally) of the margin. I tried a custom command like \def\mypagenumber#1{% \vfill #1 \vfill } \setuppagenumbering{location=margin,command=\mypagenumber} but, unfortunately, I got an error message on the \vfill. Is there a direct way to place my page number ? (no vfill in hmode) \midaligned{#1} - 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] Funny setuphead[section] behaviour
Vyatcheslav Yatskovsky wrote: Hello, Funny enough, but when I provide after={\nowhitespace} in \setuphead [section] in the latest mkiv beta, it affects *subsection* instead. (That is, subsection's afterspace is eaten). Full code: \setuphead [section][ number=yes, align=right, after={\nowhitespace}, style={\switchtobodyfont[arialblack]\bf}] can you make a better (more complexe) example? - 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] subsection numbering
Amaël Broustet wrote: Dear all, I got a problem with the numbering of subsections : they are numbered using the \currentheadnumber of the heading containing the \subsection attached an example and the output. whow ... \char`\\{}currentheadnumber easier ... \type{\currentheadnumber} - 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] Arial
\usetypescriptfile[type-win] \usetypescript[arial]\setupbodyfont[arial, 12pt] should work in mkiv (LuaTeX) only. Best Vyatcheslav ___ 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] Seeking a Deeper ConTeXt: Questions for Initializing
On Tue, May 26, 2009 at 7:07 PM, Bruce D'Arcus bdarcus.li...@gmail.comwrote: John Haltiwanger john.haltiwanger at gmail.com writes: [...] Markdown with RDFa on the side will suit quite nicely, thanks to pandoc. Actually, you can embed the RDFa within the markdown files if you like. div property=x:section # Introduction Test. /div Pandoc will just pass it on to the output XHTML (though throw it out for the context). But it's admittedly a little awkward to have to wrap the markdown with XHTML every time to want to add a triple. Probably the biggest barrier for semanticality so far has been what a struggle it is to incorporate into a fluid workflow. For instance yes that is a pain to mix the markup and RDFa, but even more so if you are coding straight XHTML (though visually it would look a bit less awkward, XHTML is already so verbose that adding in the semanticality feels annoyingly burdensome.) If only markdown had some syntax for it, like |x:test # Introduction |x:section Test. || Wishful thinking. Cheers, John C. Haltiwanger ___ 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] Size of \copyright
Hello all, I would like to include a very small copyright notice, e.g. {\tfxx \copyright 2009 Acme Co Ltd} but the © does not shrink with the text. How do I change the size of \copyright? Thanks, Richard Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration Number: 2416188 Registered in England and Wales. Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU. CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium. Please consider the environment before printing this e-mail ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Size of \copyright
richard.steph...@converteam.com wrote: Hello all, I would like to include a very small copyright notice, e.g. {\tfxx \copyright 2009 Acme Co Ltd} but the © does not shrink with the text. How do I change the size of \copyright? EC encoding does not reserve a slot for the copyright symbol, so in default mkii, it is being built up from (math) macros, a bit like how it used to work in plain TeX. Options are: switch to a different font encoding, switch to mkiv or xetex, or do something like this: {\switchtobodyfont[xx]\copyright 2009 Acme Co Ltd} 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] Size of \copyright
I would like to include a very small copyright notice, e.g. {\tfxx \copyright 2009 Acme Co Ltd} but the © does not shrink with the text. How do I change the size of \copyright? EC encoding does not reserve a slot for the copyright symbol, so in default mkii, it is being built up from (math) macros, a bit like how it used to work in plain TeX. Options are: switch to a different font encoding, switch to mkiv or xetex, or do something like this: {\switchtobodyfont[xx]\copyright 2009 Acme Co Ltd} Best wishes, Taco That works, thanks. Best regards, Richard Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration Number: 2416188 Registered in England and Wales. Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU. CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium. Please consider the environment before printing this e-mail ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] subsection numbering
Thanks for the tip ! Le mercredi 27 mai 2009 à 16:38 +0200, Hans Hagen a écrit : Amaël Broustet wrote: Dear all, I got a problem with the numbering of subsections : they are numbered using the \currentheadnumber of the heading containing the \subsection attached an example and the output. whow ... \char`\\{}currentheadnumber easier ... \type{\currentheadnumber} - 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 ___ ___ 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] bug in MarkIV ? section numbering
I will test tonight, thanks. Amaël Le mercredi 27 mai 2009 à 14:12 +0200, Hans Hagen a écrit : Amaël Broustet wrote: Dear all, the following example : ... \chapter{Blabla} \subsection{bla} ... is numbered 1 Blabla 11 bla The problem appears only if I skip the \section step. In fact \chapter{Blabla} \section{Bla} \subsection{bla} solved in upcoming beta - 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 ___ ___ 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] bug in content interaction
Lutz Haseloff wrote: Hi all, with the newest ConTeXt (2009.05.27 11:27 MKIV) and luatex (beta-0.41.0-2009052623) I get a strange effect. If i use \placecontent all is as expected, but if I use \completecontent the click on chapter 3 in the table of content jumps to chapter 2 in the pdf. 2 jumps to 1. A click on chapter 1 has no effect. fixed in next beta - 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] KR itemize fails with latest beta
Matthijs Kooijman wrote: Hi, I've downloaded the beta today, which fails on one of my itemizes using the KR numbering scheme. I'm using MkIV context, with the following file: \starttext \startitemize[KR] \item Foo \stopitemize \stoptext fixed in next beta - 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] Interaction not working?
Khaled Hosny wrote: Here is a minimal example: \setupinteraction[state=start] \setupcolors [state=start] \useURL[wiki][http://wiki.contextgarden.net][][\ConTeXt\ wiki] \starttext \from[wiki] \stoptext Which typesets something like the expanded text of \ConTeXt macro instead of the expected hyperlink. interesting bug - 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 ___
[NTG-context] Beta version 2009.05.27 16:26, \footnote and \section
Hi Hans, The issue I reported some time ago regarding \scetion and \footnote with mkiv, is still there: mkiv, LuaTeX version 40, LuaTeX revision 1, (LuaTeX date stamp 2009050813), ConTeXt version 2009.05.27 16:26. The issue is as follows: the text of the \footnote used in the title of a \section does not show up at the bottom of the page: here is a minimal test: %%% begin example \starttext \section{Testing a section\footnote{Actually for testing footnotes in the title of a section\dots}} % This footnote does not show up \startitemize \item test\footnote{This is a silly remark\dots} \item test\footnote{This is a silly remark, inside an item\dots} \stopitemize test\footnote{This is another silly remark but outside items\dots} \stoptext end example Best regards: OK ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
Thomas A. Schmitz wrote: Would be nice to hear about these bugs; some of the have been posted several times, but we never heard back about them. weren't you going to make me a zip? - 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] Beta version 2009.05.27 16:26, \footnote and \section
Otared Kavian wrote: Hi Hans, The issue I reported some time ago regarding \scetion and \footnote with mkiv, is still there: mkiv, LuaTeX version 40, LuaTeX revision 1, (LuaTeX date stamp 2009050813), ConTeXt version 2009.05.27 16:26. ok, solved in next beta - 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] beta
On May 27, 2009, at 7:04 PM, Hans Hagen wrote: Thomas A. Schmitz wrote: Would be nice to hear about these bugs; some of the have been posted several times, but we never heard back about them. weren't you going to make me a zip? Will do during the weekend. (I'm at a conference in Belgium right now.) 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Page number in the middle of the margin
Sorry, I wasn't clear. \midalign{} put the page number in the (horizontal) middle of the margin in the bottom. What I would like to do is to put the page number in the vertical middle of the page. 2009/5/27 Hans Hagen pra...@wxs.nl Flavien Lambert wrote: Dear all, as said by the title of the e-mail, I try to put the page number in the middle (both vertically and horizontally) of the margin. I tried a custom command like \def\mypagenumber#1{% \vfill #1 \vfill } \setuppagenumbering{location=margin,command=\mypagenumber} but, unfortunately, I got an error message on the \vfill. Is there a direct way to place my page number ? (no vfill in hmode) \midaligned{#1} - 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 ___ -- Flavien. Quantum objects are completely crazy but, at least, they are all crazy in the same way. R.P. Feynman. ___ 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] beta
Thomas A. Schmitz wrote: On May 27, 2009, at 7:04 PM, Hans Hagen wrote: Thomas A. Schmitz wrote: Would be nice to hear about these bugs; some of the have been posted several times, but we never heard back about them. weren't you going to make me a zip? Will do during the weekend. (I'm at a conference in Belgium right now.) ok, have fun btw, what happened with that plan for a meeting about this critical edition project -) 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] Page number in the middle of the margin
Flavien Lambert wrote: Sorry, I wasn't clear. \midalign{} put the page number in the (horizontal) middle of the margin in the bottom. What I would like to do is to put the page number in the vertical middle of the page. 2009/5/27 Hans Hagen pra...@wxs.nl Flavien Lambert wrote: Dear all, as said by the title of the e-mail, I try to put the page number in the middle (both vertically and horizontally) of the margin. I tried a custom command like \def\mypagenumber#1{% \vfill #1 \vfill } \setuppagenumbering{location=margin,command=\mypagenumber} but, unfortunately, I got an error message on the \vfill. Is there a direct way to place my page number ? (no vfill in hmode) \midaligned{#1} then make a vbox of vsize around it - 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 ___
[NTG-context] TexPaste alpha - my Win application converting Word/HTML to TeX
Hello, I'm glad to report that I made a simple application (sorry, only forWindows at the moment) that coverts text from Ms Word (or other editors) or HTML pages (web sites) into TeX. DOWNLOAD LINK (280 KB): http://ul.to/hmpy60 The app recognizes at the moment only following formats/tags: Bold (b), Italic (i), Header 1 (h1), Header 2 (h2), Header 3 (h3). It coverts NOBREAK_SPACE (A0) into ~, nbsp into \enskip, quot; into , amp; into \, and lt; gt; into . It is UTF-8 ready. USAGE: copy desired text fragment from Word or web page into clipboard, and click big Get... button and see the result in the bottom field. Click Copy Result to get TeX-formatted text back into the clipboard, and paste it into your editor. KNOW ISSUES: Some crap from Word formatting like !-- -- tags happens to leak, but it is easier at the moment to delete it manually. And sorry... awful interface. It is very-very first alpha, I want to show it just as proof-of-concept and to get some feedback. Actually, I did it for myself to simplyfy conversion from Word into TeX. I have some documents to be converted (e.g., lecture notes), and this happens to be easy task with my tool :). Best, Vyatcheslav ___ 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] define an incremental personal bullet of item
Thank you for the checking. I typed the text and run it. At this time, it worked. There may be a garbage attached during the process of copy and paste. By the way, is it possible to modify this code to use circled character a, b, c, ...? By using the command \sym{symbol}, I may use them, but is there a automatic way of doing that? Thank you again. Best regards, Dalyoug ___ 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] Beta version 2009.05.27 16:26, \footnote and \section
On 27 mai 09, at 23:25, Hans Hagen wrote: […] ok, solved in next beta Thanks for your attention: I will test that beta. Best regards: OK ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___