[NTG-context] footnotes: conversion = numberconversion
Hi Hans, since it took me a while to figure this out: could you please change the occurrences of conversion in strc-not.mkiv to numberconversion? conversion doesn't do anything, and it was a bit frustrating to see the very examples from the source were not working. Thanks, and 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] footnotes: conversion = numberconversion
On Mon, 20 Jun 2011 08:38:34 +0200 Thomas Schmitz tschm...@uni-bonn.de wrote: Hi Hans, since it took me a while to figure this out: could you please change the occurrences of conversion in strc-not.mkiv to numberconversion? conversion doesn't do anything, and it was a bit frustrating to see the very examples from the source were not working. Thanks, and best Thomas Oh, and while I'm at it: this looks like a bug to me: \starttext This is just a test!{\setupfootnotes[numberconversion=set 2]\footnote{With a footnote attached.}} This is just a test!\footnote{With a footnote attached.} \stoptext The first note has * as a marker, the second is numbered 2, but it should be 1. 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] math: how to display ≔?
On 20-6-2011 1:01, Paul Menzel wrote: Am Dienstag, den 14.06.2011, 16:18 +0200 schrieb Hans Hagen: On 14-6-2011 12:51, Paul Menzel wrote: probably this is again a font problem, but I just want to report that the definition symbol ≔ (colon equal) [1] I am able to insert directly using Neo layout [2] is not displayed. The virtual lm does not has that symbol so I've added it. Testing this it looks like the composed := is used, since both are not aligned vertically. Is that correct? (I do not know anything about lm or fonts in general.) indeed, for a real one you have to use the upcoming lm-math - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \lohi{…}{…}
Hi Hans, something goes wrong with \lohi{high}{low}. inline: Bildschirmfoto 2011-06-20 um 11.08.34.png \starttext \lohi{high}{low} \stoptext Greeting Andreas___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Letter module : \enableregime for accents not working within the letter environment
On 20-6-2011 5:31, Wolfgang Schuster wrote: Am 20.06.2011 um 01:43 schrieb Mathieu Dupont: Hi, In the following example, accents between \startletter and \stopletter only are not working. How could this be fixed ? It depends on Hans because it’s a buffer problem: Fixed in next beta (for WS: it's more a viafile related problem .. as internally we have already utf-8 we need to prevent the current regime to be applied again). 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] export: tilde problems
On Mon, Jun 20, 2011 at 7:22 AM, Reviczky, Adam adam.revic...@kcl.ac.uk wrote: Hi The following minimal example gives a broken xml: --- \setupinteraction[state=start] \setupbackend[export=test.xml] \starttext \goto{projects.dcs.kcl.ac.uk/~reviczky}[url(http://projects.dcs.kcl.ac.uk/~reviczky/)] \stoptext --- XML Parsing Error: not well-formed Location: file:///home/reviczky/Downloads/test/test.xml Line Number 10, Column 139: This is ok, but it' low level. \setupinteraction[state=start] \setupbackend[export=test.xml] \starttext \bgroup \catcode`\~=11 \goto{projects.dcs.kcl.ac.uk/~reviczky}[url(http://projects.dcs.kcl.ac.uk/~reviczky/)] \egroup \stoptext The right way should be something like \startcatacodetable table identifier \goto{projects.dcs.kcl.ac.uk/~reviczky}[url(http://projects.dcs.kcl.ac.uk/~reviczky/)] \stopcatcodetable but I'n not able to find the right table identifier The tilde sign has a #A0; value in the xml, shouldn't that be a #126;? yes, I think so. -- 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] \lohi{…}{…}
On 20-6-2011 11:10, Andreas Harder wrote: Hi Hans, something goes wrong with \lohi{high}{low}. fixed in next beta - 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] footnotes: conversion = numberconversion
Am 20.06.2011 um 08:42 schrieb Thomas Schmitz: Oh, and while I'm at it: this looks like a bug to me: \starttext This is just a test!{\setupfootnotes[numberconversion=set 2]\footnote{With a footnote attached.}} This is just a test!\footnote{With a footnote attached.} \stoptext The first note has * as a marker, the second is numbered 2, but it should be 1. When you need a footnote with a different symbol then create a new one. 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] export: tilde problems
On 20-6-2011 7:22, Reviczky, Adam wrote: The tilde sign has a #A0; value in the xml, shouldn't that be a #126;? better is #xA0; Also the tilde in the destination= and url= properties for link have a space(?) instead. no, it's the utf character 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] footnotes: conversion = numberconversion
On Mon, 20 Jun 2011 14:30:13 +0200 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 20.06.2011 um 08:42 schrieb Thomas Schmitz: Oh, and while I'm at it: this looks like a bug to me: \starttext This is just a test!{\setupfootnotes[numberconversion=set 2]\footnote{With a footnote attached.}} This is just a test!\footnote{With a footnote attached.} \stoptext The first note has * as a marker, the second is numbered 2, but it should be 1. When you need a footnote with a different symbol then create a new one. Wolfgang How? I can only see the option of creating a whole new set of footnotes, which is not at all what I want: \definenote[Ack][numberconversion=set 2, rule=off] \setupfootnotes[rule=off] \starttext This is just a test!\Ack{With a footnote attached.} This is just a test!\footnote{With a footnote attached.} \stoptext How do I get rid of the vertical space between both sets? And how do I make sure that the notes are printed in the right order? 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] footnotes: conversion = numberconversion
Am 20.06.2011 um 14:56 schrieb Thomas Schmitz: How? I can only see the option of creating a whole new set of footnotes, which is not at all what I want: The following is the best i can do (to change the symbol each \MyNote you need a counter for it): \define[1]\MyNote {\bgroup \savenumber [footnote]% \resetnumber[footnote]% \setupnote[footnote][numberconversion=set 2]% \footnote{#1}% \restorenumber[footnote]% \egroup} \starttext This is just a test!\MyNote{With a footnote attached.} This is just a test!\footnote{With a footnote attached.} \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] export: tilde problems
better is #xA0; I see, I should've used the \lettertilde instead then, sorry. no, it's the utf character So what would be the correct way to do this then? --- \setupinteraction[state=start] \setupbackend[export=test.xml] \starttext \bgroup \catcode`\~=11 \goto{projects.dcs.kcl.ac.uk/\lettertilde reviczky}[url(http://projects.dcs.kcl.ac.uk/~reviczky/)] \egroup \stoptext --- The above solution works (as suggested by luigi), but it doesn't look that good. How can I pass on the tilde in the url without the catcode? 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] export: tilde problems
So what would be the correct way to do this then? Right, so is this ok, or is there a better way? --- \setupinteraction[state=start] \setupbackend[export=test.xml] \starttext \goto{projects.dcs.kcl.ac.uk/\lettertilde reviczky}[url(http://projects.dcs.kcl.ac.uk/\string~reviczky/)] \stoptext --- 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 ___
[NTG-context] url bug with frenchpunctuation
Hi, I am no french, but this *must* be wrong: a space after http?! Run this minimal example, please: \starttext \mainlanguage[fr]\setcharacterspacing[frenchpunctuation] test, in: \hyphenatedurl{http://www.test.fr}. \stoptext Could someone confirm ... and (is necessary) Hans can fix this? Thanks, 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] export: tilde problems
On Mon, Jun 20, 2011 at 3:47 PM, Reviczky, Adam adam.revic...@kcl.ac.uk wrote: So what would be the correct way to do this then? Right, so is this ok, or is there a better way? --- \setupinteraction[state=start] \setupbackend[export=test.xml] \starttext \goto{projects.dcs.kcl.ac.uk/\lettertilde reviczky}[url(http://projects.dcs.kcl.ac.uk/\string~reviczky/)] \stoptext --- at least for simmetry... \setupinteraction[state=start] \setupbackend[export=test.xml] \starttext \goto{projects.dcs.kcl.ac.uk/\string~reviczky}[url(http://projects.dcs.kcl.ac.uk/\string~reviczky/)] \stoptext -- 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] export: tilde problems
Am 20.06.2011 um 15:47 schrieb Reviczky, Adam: So what would be the correct way to do this then? Right, so is this ok, or is there a better way? \asciimode but you’re no longer able to add comments to your document and for inline math you need \formula{…}. 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] footnotes: conversion = numberconversion
On Mon, 20 Jun 2011 15:39:21 +0200 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 20.06.2011 um 14:56 schrieb Thomas Schmitz: How? I can only see the option of creating a whole new set of footnotes, which is not at all what I want: The following is the best i can do (to change the symbol each \MyNote you need a counter for it): \define[1]\MyNote {\bgroup \savenumber [footnote]% \resetnumber[footnote]% \setupnote[footnote][numberconversion=set 2]% \footnote{#1}% \restorenumber[footnote]% \egroup} \starttext This is just a test!\MyNote{With a footnote attached.} This is just a test!\footnote{With a footnote attached.} \stoptext Wolfgang Thanks Wolfgang! This starred footnote is often used for acknowledgments etc. in articles, and it's always the first note, often appended to the title. So I come back to my first attempt: this does work, and unless one wants unusual symbols in the middle of ordinary footnotes, seems like the easiest solution: \setupfootnotes[rule=off] \starttext This is just a test!{\setupfootnotes[numberconversion=set 2]\footnote{With a footnote attached.}\resetnumber[footnote]} This is just a test!\footnote{With a footnote attached.} \stoptext 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 ___
[NTG-context] \star not working
Hi Can someone confirm this: --- \starttext \star \stoptext --- Nothing shows up in the PDF. ConTeXt is current version: 2011.06.20 10:47 (it is fine on live.contextgarden.net, and worked a couple of days ago). 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] export: graphic url (special chars?)
On Mon, 20 Jun 2011, Reviczky, Adam wrote: Further, if the url has a % symbol then the name property stops at that, see: --- \setupbackend[export=test.xml] \enabledirectives[schemes.cleanmethod=md5] \def\googlechart {\begingroup \setcatcodetable\vrbcatcodes \dodoubleempty\dogooglechart} \def\dogooglechart[#1][#2]% {\endgroup \externalfigure[#1][method=png,#2]} You could try (untested) \def\googlechart[#1][#2]% {\externalfigure[#1][...]% \endgroup} or \def\dogooglechart[#1][#2]% {\useexternalfigure[googlechart][#1]% \endgroup \externalfigure[googlechart][...]} \starttext \googlechart[http://chart.apis.google.com/chart?chs=350x220cht=p3chd=s:G99pchdl=2|1|1|6|2|0|52|52|2|2|1|1|2|2|2|2|2|1|1|2|2|1|1|1|2|1|1chdlp=bchp=0.1chl=fsharp|gettext|gettext-base|Others%20%2824%29chma=95,95chtt=Launchpad+Statistics+for+%7Ereviczky+-+ppachts=676767,13.5][factor=max] \stoptext --- gives: name='http://chart.apis.google.com/chart?chs=350x220cht=p3chd=s:G99pchdl=2|1|1|6|2|0|52|52|2|2|1|1|2|2|2|2|2|1|1|2|2|1|1|1|2|1|1chdlp=bchp=0.1chl=fsharp|gettext|gettext-base|Others' Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \star not working
Am 20.06.2011 um 16:12 schrieb Reviczky, Adam: Hi Can someone confirm this: --- \starttext \star \stoptext --- Nothing shows up in the PDF. Use $\star$ or \symbol[star]. 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] export: graphic url (special chars?)
You could try (untested) \def\googlechart[#1][#2]% {\externalfigure[#1][...]% \endgroup} Thanks, but it has the same result. \def\dogooglechart[#1][#2]% {\useexternalfigure[googlechart][#1]% \endgroup \externalfigure[googlechart][...]} That screws up the url in the css (gives a url(googlechart) in the css). Btw. this is not really about google charts, I just took that as an example. 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] url bug with frenchpunctuation
On 20-6-2011 3:46, Steffen Wolfrum wrote: I am no french, but this *must* be wrong: a space after http?! Run this minimal example, please: \starttext \mainlanguage[fr]\setcharacterspacing[frenchpunctuation] test, in: \hyphenatedurl{http://www.test.fr}. \stoptext if it's wrong in that case, it's probably wrong in many cases, but you can prevent it with \appendtoks \resetcharacterspacing \to \everyhyphenatedurl - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \star not working
Use $\star$ or \symbol[star]. Thanks, but both will use the math font (in my case: https://github.com/khaledhosny/euler-otf) which doesn't have this symbol. Missing character: There is no ⋆ (U+22C6) in font euler! Using \star only worked as a workaround until recently. I'm not doing anything wrong here, am I? I'm looking at: --- \usetypescript[palatino] \definetypeface [palatino] [mm] [math] [euler] [euler][rscale=1.03] \definetypeface [boldmath] [mm] [boldmath][euler][euler][rscale=1.03] \setupbodyfont[palatino,11pt] \starttext $\star$ \symbol[star] \star \stoptext --- 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] \star not working
2011/6/20 Reviczky, Adam adam.revic...@kcl.ac.uk: Use $\star$ or \symbol[star]. Thanks, but both will use the math font (in my case: https://github.com/khaledhosny/euler-otf) which doesn't have this symbol. Missing character: There is no ⋆ (U+22C6) in font euler! Using \star only worked as a workaround until recently. I'm not doing anything wrong here, am I? I'm looking at: --- \usetypescript[palatino] \definetypeface [palatino] [mm] [math] [euler] [euler][rscale=1.03] \definetypeface [boldmath] [mm] [boldmath][euler][euler][rscale=1.03] \setupbodyfont[palatino,11pt] \starttext $\star$ \symbol[star] \star \stoptext --- Adam This came up a while ago, I believe this is the solution: http://www.mail-archive.com/ntg-context@ntg.nl/msg47703.html Vedran ___ 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] export: tilde problems
On 20-6-2011 3:47, Reviczky, Adam wrote: So what would be the correct way to do this then? Right, so is this ok, or is there a better way? --- \setupinteraction[state=start] \setupbackend[export=test.xml] \starttext \goto{projects.dcs.kcl.ac.uk/\lettertilde reviczky}[url(http://projects.dcs..kcl.ac.uk/\string~reviczky/)] \stoptext It's a side effect of ~ becoming a utf character for nbsp. I'll change the definition to: \unexpanded\edef~{\utfchar{00A0}} Then you get this: \goto{a.c.d/~reviczky}[url(http://a.c.d/~reviczky)] \goto{\hyphenatedurl{a.c.d/~reviczky}}[url(http://a.c.d/~reviczky)] Which is what one can expect. 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 ___
[NTG-context] netiquette (was: \star not working)
Dear Adam, Am Montag, den 20.06.2011, 15:49 +0100 schrieb Reviczky, Adam: could you please use a mail program which sets the correct header fields so that threading is working [1]? Use $\star$ or \symbol[star]. Reading this quoted line, I am guessing you are using the reply to feature of your mail program, but it is not threaded correctly. […] Thanks, Paul PS: Thank you for using interleaved posting style already! [1] http://en.opensuse.org/openSUSE:Mailing_list_netiquette signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \star not working
This came up a while ago, I believe this is the solution: http://www.mail-archive.com/ntg-context@ntg.nl/msg47703.html Thanks. So if I want to typeset the star in non-math mode instead, how do I do that? I just tested it (\star) with version: 2011.06.19 14:17, and there it works. With version: 2011.06.20 10:47 it doesn't. 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] export: tilde problems
It's a side effect of ~ becoming a utf character for nbsp. I'll change Yeah, I completely forgot about that, because it was natural in an url. the definition to: \unexpanded\edef~{\utfchar{00A0}} Then you get this: \goto{a.c.d/~reviczky}[url(http://a.c.d/~reviczky)] \goto{\hyphenatedurl{a.c.d/~reviczky}}[url(http://a.c.d/~reviczky)] Which is what one can expect. Cheers. 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] netiquette (was: \star not working)
could you please use a mail program which sets the correct header fields so that threading is working [1]? I know, sorry about that, but I couldn't figure out why this doesn't work when I'm at the university. Any hints appreciated (for outlook web). 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] \star not working
Am 20.06.2011 um 16:49 schrieb Reviczky, Adam: Use $\star$ or \symbol[star]. Thanks, but both will use the math font (in my case: https://github.com/khaledhosny/euler-otf) which doesn't have this symbol. Pagella has it and with “\setupsymbolset[text]” context looks first if the text font has it before it tries to take it from the math font. \setupbodyfont[pagella-euler] \setupsymbolset[text] \starttext \symbol[star] \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] Right-to-left Floating
On 20-6-2011 12:44, Marc Trius wrote: Hi, I am having a problem with floats in a right-to-left document. It appears that I am getting the empty space for the image on the right side where it should be, but the image itself gets superimposed on the text on the left side. \setupalign[r2l] \starttext \setupexternalfigures[location={local,default}] \placefigure[left,none,fit][]{}{\externalfigure[cow][scale=500]} \input tufte \stoptext Thank you for your help. quick fix in next beta (awaiting proper bidi layout model) 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 ___
[NTG-context] ConTeXt Minimals: How to install fonts?
Dear ConTeXt folks, I want to use Neo Euler (euler-otf) and was wondering if there is an option for `first-setup.sh` to install fonts? What is the recommended way to install fonts? Using a GNU/Linux distribution should I use those tools to install fonts? I read [2], [3] and [4] but could not find a definite way besides copying the files to the corresponding directories. Thanks, Paul [1] https://github.com/khaledhosny/euler-otf [2] http://wiki.contextgarden.net/ConTeXt_Minimals/Structure#fonts [3] http://wiki.contextgarden.net/Fonts [4] http://www.ntg.nl/pipermail/ntg-context/2010/052632.html signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] footnotes: conversion = numberconversion
On 20-6-2011 4:01, Thomas Schmitz wrote: On Mon, 20 Jun 2011 15:39:21 +0200 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 20.06.2011 um 14:56 schrieb Thomas Schmitz: How? I can only see the option of creating a whole new set of footnotes, which is not at all what I want: The following is the best i can do (to change the symbol each \MyNote you need a counter for it): \define[1]\MyNote {\bgroup \savenumber [footnote]% \resetnumber[footnote]% \setupnote[footnote][numberconversion=set 2]% \footnote{#1}% \restorenumber[footnote]% \egroup} \starttext This is just a test!\MyNote{With a footnote attached.} This is just a test!\footnote{With a footnote attached.} \stoptext Wolfgang Thanks Wolfgang! This starred footnote is often used for acknowledgments etc. in articles, and it's always the first note, often appended to the title. So I come back to my first attempt: this does work, and unless one wants unusual symbols in the middle of ordinary footnotes, seems like the easiest solution: \setupfootnotes[rule=off] \starttext This is just a test!{\setupfootnotes[numberconversion=set 2]\footnote{With a footnote attached.}\resetnumber[footnote]} As we already can disable a number it's no big deal to add the option for an alternative symbol: \setupfootnotes[rule=off] \definenote[starrednote][footnote][numberconversion=set 2] \setupnote[footnote][symbol={$*$}] \starttext This is just a test!\footnote {Just a footnote (a).} This is just a test!\starrednote{Just a footnote (b).} This is just a test!\footnote[-]{Just a footnote (-).} This is just a test!\footnote[+]{Just a footnote (+).} This is just a test!\footnote {Just a footnote (c).} This is just a test!\starrednote{Just a footnote (d).} This is just a test!\footnote {Just a footnote (e).} \typefile{symbols-001.tex} \stoptext I'll put a beta on the ftp (as I needed to adapt some description related code and as usual I'll have made some typos so you depend on Wolfgang's checking. Wolfgang: we have a new key 'symbol' for enumerations and footnotes.) On the agenda is a merged flush of notes so that you can have a new instance and flush in the same order (I remember experimenting with it but probably never finished it). 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 - symbols-001.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \star not working
On Mon, 20 Jun 2011, Wolfgang Schuster wrote: Am 20.06.2011 um 16:49 schrieb Reviczky, Adam: Use $\star$ or \symbol[star]. Thanks, but both will use the math font (in my case: https://github.com/khaledhosny/euler-otf) which doesn't have this symbol. Pagella has it and with “\setupsymbolset[text]” context looks first if the text font has it before it tries to take it from the math font. Could we just add a \textstar in char-def.lua? (And maybe use that to redefine \symbol[star]) Aditya___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] More chemic module woes
On 19-6-2011 2:25, Kip Warner wrote: Hey list, I am running ConTeXt version 2011.06.17 16:50 pulled from Adam's PPA. From the Chemistry wiki article here, http://wiki.contextgarden.net/Chemistry , I am attempted to compile the water reaction example here: \usemodule[chemic] \startformula \chemical{2H_2,+,O_2,-,2H_2O} \stopformula The image following it on the wiki looks as one would expect, but mine does not. I compiled the same code, but bracketed with \startstoptext and my generated PDF contains literally the following: 2H 2,+,O 2,–,2H 2O Something's not right. Any ideas? I have tried it both with and without the texlive-math-extra package installed. chemical support is not includes so best not load the chem module \chemical{2H_2,+,O_2,-,2H_2O} \startformula \chemical{2H_2}{}{} \stopformula \startformula \inlinechemical{2H_2,+,O_2,-,2H_2O} \stopformula \startchemicalformula \chemical{S} \chemical{+} \chemical{O_2} \chemical{GIVES}{violent} \chemical{\+{4}{S}\-{2}{O_2}} \stopchemicalformula the last case is bugged (i'll look into it, probably some interference with recent math) 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] ConTeXt Minimals: How to install fonts?
Paul, Look in http://wiki.contextgarden.net/Fonts_in_LuaTeX ~Marc On Mon, 20 Jun 2011 19:07:55 +0200 Paul Menzel paulepan...@users.sourceforge.net wrote: Dear ConTeXt folks, I want to use Neo Euler (euler-otf) and was wondering if there is an option for `first-setup.sh` to install fonts? What is the recommended way to install fonts? Using a GNU/Linux distribution should I use those tools to install fonts? I read [2], [3] and [4] but could not find a definite way besides copying the files to the corresponding directories. Thanks, Paul [1] https://github.com/khaledhosny/euler-otf [2] http://wiki.contextgarden.net/ConTeXt_Minimals/Structure#fonts [3] http://wiki.contextgarden.net/Fonts [4] http://www.ntg.nl/pipermail/ntg-context/2010/052632.html -- Marc Trius derpay...@riseup.net The enemy is the gramophone mind, whether or not one agrees with the record that is being played at the moment. --- George Orwell ___ 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] \star not working
On 20-6-2011 7:50, Aditya Mahajan wrote: Could we just add a \textstar in char-def.lua? (And maybe use that to redefine \symbol[star]) what unicode? - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \placecontent (\placemylist) problem in last beta
Hello ConTeXist. When I create my own list of content, so there is a repetition of chapter numbers in the list of contents. Is it a bug in last minimals? In previous versions it worked OK! Thanx Jaroslav Here is my minimal example: \definelist[Ichap] \definelist[IIchap] \definecombinedlist[mylist][Ichap, IIchap][level=IIchap] \definehead[Ichap][chapter] \definehead[IIchap][section] \starttext \placemylist \Ichap{Chapter 1} \IIchap{Section 1.1} \IIchap{Section 1.2} \Ichap{Chapter 2} \IIchap{Section 2.1} \IIchap{Section 2.2} \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \placecontent (\placemylist) problem in last beta
Am 20.06.2011 um 23:12 schrieb Jaroslav Hajtmar: Hello ConTeXist. When I create my own list of content, so there is a repetition of chapter numbers in the list of contents. Is it a bug in last minimals? In previous versions it worked OK! Thanx Jaroslav Here is my minimal example: \definelist[Ichap] \definelist[IIchap] Remove these two lines, \definehad already does this. 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] Editors
I'm new to ConTeXt, coming from LaTeX. Are there any linux text editors that are at all useful for creating context documents? In the archives of this list, I read one or two discussions about making Kile more compatible, but the issue seems to have been dropped. ___ 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] \placecontent (\placemylist) problem in last beta
Thanx Wolfgang. It is working OK now. Surprised me that in previous versions it was OK. Jaroslav Dne 20.6.2011 23:17, Wolfgang Schuster napsal(a): Am 20.06.2011 um 23:12 schrieb Jaroslav Hajtmar: Hello ConTeXist. When I create my own list of content, so there is a repetition of chapter numbers in the list of contents. Is it a bug in last minimals? In previous versions it worked OK! Thanx Jaroslav Here is my minimal example: \definelist[Ichap] \definelist[IIchap] Remove these two lines, \definehad already does this. 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] Editors
On Mon 20 Jun 2011, H. Hodges wrote: I'm new to ConTeXt, coming from LaTeX. Are there any linux text editors that are at all useful for creating context documents? There is a summary table in the wiki at http://wiki.contextgarden.net/Text_Editors . Apart from the ones listed there is also http://code.google.com/p/textadept/ , which I believe has ConTeXt support. For what it's worth, I use GNU emacs / AUCTeX, which works well for me, though I don't really use many of the AUCTeX features. Hope this helps, Pont ___ 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] footnotes: conversion = numberconversion
Am 20.06.2011 um 19:28 schrieb Hans Hagen: I'll put a beta on the ftp (as I needed to adapt some description related code and as usual I'll have made some typos so you depend on Wolfgang's checking. You mean like this :) -\def\enumerationsignalp{-}% 1 == enabled +\def\enumerationsignalp{+}% 1 == enabled -\def\enumerationsignalm{+}% 2 == disabled but symbol +\def\enumerationsignalm{-}% 2 == disabled but symbol Wolfgang: we have a new key 'symbol' for enumerations and footnotes.) Added! 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] \placecontent (\placemylist) problem in last beta
On 20-6-2011 11:29, Jaroslav Hajtmar wrote: Thanx Wolfgang. It is working OK now. Surprised me that in previous versions it was OK. wat previous versions? definehead has always defined lists and as some inheritance and setup is involved, defining the list again can interfere 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 ___
[NTG-context] List of bibliography problem in mkiv minimals
Hello ConTeXist again, I found an irregularity in the functioning of the latest minimals beta version and earlier versions. When a create list of bibliography (in a my little special format), then item numbers are aligned left, whereas previously been aligned to the right. In addition, the number of items and this item almost no space (especially when double-digit item number). Previously everything (for example in TexLive MKIV version of ConTeXt) was OK! Here is example of result: Now: [1] item 2 [2] item 1 [3] item 4 [4] item 3 [5] item 5 [6] item 6 [7] item 7 [8] item 8 [9] item 9 [10]item 10 [11]item 11 [12]item 12 Earlier: [1] item 2 [2] item 1 [3] item 4 [4] item 3 [5] item 5 [6] item 6 [7] item 7 [8] item 8 [9] item 9 [10] item 10 [11] item 11 [12] item 12 Is there any way to get the original (earlier) settings? Thanx Jaroslav Here is my minimal example: \setupbibtex[database={samplebib}] % Content of file samplebib.bib : % % @MISC{1,note={item 1}} % @MISC{2,note={item 2}} % @MISC{3,note={item 3}} % @MISC{4,note={item 4}} % @MISC{5,note={item 5}} % @MISC{6,note={item 6}} % @MISC{7,note={item 7}} % @MISC{8,note={item 8}} % @MISC{9,note={item 9}} % @MISC{10,note={item 10}} % @MISC{11,note={item 11}} % @MISC{12,note={item 12}} % @MISC{13,note={item 13}} % @MISC{14,note={item 14}} % @MISC{15,note={item 15}} % \setuppublications[setupinteraction=start, alternative=ams, sorttype=cite, criterium=cite] \setuppublicationlayout[misc]{% \insertnote } \starttext Cite \cite[2], \cite[1]. Next cite \cite[4], \cite[3], \cite[5] and \cite[6]. Other \cite[7], \cite[8], \cite[9], and \cite[10]. Last cite \cite[11] and \cite[12]. \blank[big] List: \placepublications %[criterium=all] \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \placecontent (\placemylist) problem in last beta
Hello Hans. Previously I was using ConTeXt (MKIV) in TeXLive 2010. Here is log: This is LuaTeX, Version beta-0.60.2-2010071421 (Web2C 2010) (rev 3736) ConTeXt ver: 2010.05.24 13:05 MKIV fmt: 2010.9.21 int: english/english Now I re-editing old things so they function in the last beta minimals and occasionally I encounter any problems... Jaroslav Dne 20.6.2011 23:58, Hans Hagen napsal(a): On 20-6-2011 11:29, Jaroslav Hajtmar wrote: Thanx Wolfgang. It is working OK now. Surprised me that in previous versions it was OK. wat previous versions? definehead has always defined lists and as some inheritance and setup is involved, defining the list again can interfere 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] More chemic module woes
On Mon, 2011-06-20 at 20:03 +0200, Hans Hagen wrote: chemical support is not includes so best not load the chem module Hey Hans, Sorry, I don't follow. Do you mean chemical support is included by default and you don't need to explicitly load the module? Are you saying that the chemic module is deprecated? Or something else? \chemical{2H_2,+,O_2,-,2H_2O} \startformula \chemical{2H_2}{}{} \stopformula \startformula \inlinechemical{2H_2,+,O_2,-,2H_2O} \stopformula \startchemicalformula \chemical{S} \chemical{+} \chemical{O_2} \chemical{GIVES}{violent} \chemical{\+{4}{S}\-{2}{O_2}} \stopchemicalformula the last case is bugged (i'll look into it, probably some interference with recent math) Hans Ok, I replaced \chemical with \inlinechemical in my code, along with replacing the GIVES with + signs and it came up working. Thank you for your help. =) -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___