Re: [NTG-context] Hyphenatedurl: custom line-break symbol, disable stretching
Am 30.07.2014 um 23:02 schrieb Joshua Krämer : > Dear list, > > I typeset URLs with \hyphenatedurl, and have two questions. > > (1) Is there a feature available to insert a custom symbol when a > line-break occurs, e.g. \hookleftarrow? \setuplayout[width=4cm] \starttext \hyphenatedurl{http://optimist.optimist/optimist/optimist.optimist#optimist} \def\hyphenatedurlseparator{→} \hyphenatedurl{http://optimist.optimist/optimist/optimist.optimist#optimist} \stoptext > (2) How can I disable the stretching between characters? I've tried > the following without success: > > \setupurl [space=no] > > \setupurl [urlspace=no] > > \unprotect > \def\lang_url_space{} > \protect 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] Hyphenatedurl: custom line-break symbol, disable stretching
Dear list, I typeset URLs with \hyphenatedurl, and have two questions. (1) Is there a feature available to insert a custom symbol when a line-break occurs, e.g. \hookleftarrow? (2) How can I disable the stretching between characters? I've tried the following without success: \setupurl [space=no] \setupurl [urlspace=no] \unprotect \def\lang_url_space{} \protect Thanks and kind regards, Joshua ___ 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] s-edu-01.cld
Where to find s-edu-01.cld mentioned in Context Lua Documents? I use minimals, just updated, --modules="all" --engine="luatex". Also tried --modules="s-edu-01.cld" as well as Google. ___ 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] Typesetting file names with ~
Am 30.07.2014 um 14:21 schrieb Tomas Hala : > Hi Lukáš, > > I know these two ways: > > \hyphenatedurl{d:/xx/~/yyy} > \type{d:/xx/~/yyy} There is also \hyphenatedfilename{d:/xx/~/yyy} which is a synonym for \hyphenatedurl. 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] Typesetting file names with ~
Hello, On Wed, 30 Jul 2014 14:21:09 +0200, Tomas Hala wrote: \type{d:/xx/~/yyy} that's it; thanks. Lukas Cheers, Tom -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 241 096 751 Fax: +420 244 461 038 ___ 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] Typesetting file names with ~
Hi Lukáš, I know these two ways: \hyphenatedurl{d:/xx/~/yyy} \type{d:/xx/~/yyy} Cheers, Tom Wed, Jul 30, 2014 ve 02:09:43PM +0200 Procházka Lukáš Ing. - Pontex s. r. o. napsal(a): # Hello, # # which is the best way to typeset text (aka file names) containing tilde so that the tilde be visible? # # I guess there is a something like (inline) "verbatim" mode which makes ~ (and maybe % $ etc.) visible... # # I need to typeset e.g. # # d:/Lukas/~/abc.def # # and I'd like avoid "translating" ~ into e.g. \textasciitilde. # # Best regards, # # Lukas # # # -- # Ing. Lukáš Procházka [mailto:l...@pontex.cz] # Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] # Bezová 1658 # 147 14 Praha 4 # # Tel: +420 241 096 751 # Fax: +420 244 461 038 # ___ 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] Typesetting file names with ~
Hello, which is the best way to typeset text (aka file names) containing tilde so that the tilde be visible? I guess there is a something like (inline) "verbatim" mode which makes ~ (and maybe % $ etc.) visible... I need to typeset e.g. d:/Lukas/~/abc.def and I'd like avoid "translating" ~ into e.g. \textasciitilde. Best regards, Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 241 096 751 Fax: +420 244 461 038 ___ 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] snappedmath is now dropped?
On 7/30/2014 10:22 AM, Xan wrote: Thanks, On 7/28/2014 11:01 AM, Xan wrote: Hi, Are you delete the command \snappedmath? I get that: ! Undefined control sequence. system > tex > error on line 834 in file /home/xan/SYNC/cepasud-raw/classe/ESPA3/planificació/Tema2-Àlgebra/80-juntat.conTeXt: Undefined control sequence ... works here command is available in mkiv ... but, when checking I saw that there is an error: line 461 of math-ini.mkiv should be \dp\scratchbox\strutdp Is the current version patched? I want to upgrade minimals distro, isn't? yes, patched, but you need to figure out why the command gave an undefined -- - 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] A bug color in tikz
Hi, It's an annoying bug of TikZ with ConTexT: in some circumstances, the content after a tikzpicture is coloured. I refered it [here](http://www.ntg.nl/pipermail/ntg-context/2014/077374.html), and it's also present in the latest version of the minimals. Anyone could check it if he/she finds a bug. Thanks, Xan. ___ 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] Anyone could help me with this error in filter module?
On 7/30/2014 10:27 AM, Xan wrote: Am 28.07.2014 um 16:15 schrieb Xan : Hi, Any hint on that [https://github.com/adityam/filter/issues/17], please? Don’t use \doifmode{…}{…} etc. with buffers or environments which rely on a buffer because you disable the function to keep end of lines in the input. What you have to do in this case is to use the \startmode or \startnotmode commands. Wolfgang Thanks Wolfgang and Aditya. This behaviour of doifmode is not documented in the wiki. Can anyone could add it it is unrelated to doifmode but a general tex property: if you pass arguments the catcodes are frozen \startmode[foo] \stopmode can be tried as alternative as that one doesn't pick up arguments - 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] Anyone could help me with this error in filter module?
> Am 28.07.2014 um 16:15 schrieb Xan : > > > Hi, > > > > Any hint on that [https://github.com/adityam/filter/issues/17], please? > > Don’t use \doifmode{…}{…} etc. with buffers or environments which rely on a > buffer because you disable the function to keep end of lines in the input. > > What you have to do in this case is to use the \startmode or \startnotmode > commands. > > Wolfgang Thanks Wolfgang and Aditya. This behaviour of doifmode is not documented in the wiki. Can anyone could add it Xan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problem with the verbosity of XML
> On 7/28/2014 1:13 PM, Xan wrote: > > This is a minimal and isolate example > > > > You can see that {\bf Hola} is not processed. > > well, because you want to typeset it as is: > > Hola {\bf a} > > why should be treated as tex? > > \startxmlsetups xml:demo:pas > \startitem > \xmlflush{#1} > \stopitem > \stopxmlsetups > > versus: > > \startxmlsetups xml:demo:pas > \startitem > \xmlflushcontext{#1} > \stopitem > \stopxmlsetups Mmm... thanks. Very much Xan ___ 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] snappedmath is now dropped?
> Thanks, > On 7/28/2014 11:01 AM, Xan wrote: > > Hi, > > > > Are you delete the command \snappedmath? > > > > I get that: > > > > > > ! Undefined control sequence. > > > > system > tex > error on line 834 in file > > /home/xan/SYNC/cepasud-raw/classe/ESPA3/planificació/Tema2-Àlgebra/80-juntat.conTeXt: > > Undefined control sequence ... > > works here command is available in mkiv ... but, when checking I > saw that there is an error: > > line 461 of math-ini.mkiv should be > > \dp\scratchbox\strutdp Is the current version patched? I want to upgrade minimals distro, isn't? Thanks, Xan ___ 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] Spam pages to be removed from Contextgarden
On Tue, Jul 29, 2014 at 11:32 PM, Nicolas Girard wrote: > Hi folks, > > two spam pages were recently added to Contextgarden: > - http://wiki.contextgarden.net/how_to_get_a_google_plus_account > - > http://wiki.contextgarden.net/Significant_Elements_In_google_authorship_code_-_Some_Insights > > Could someone with the appropriate credentials delete them ? Thanks a lot for pointing this out. Removed. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problem with List of Abbreviations
On 7/30/2014 9:36 AM, Robert Blackstone wrote: On 29 Jul 2014, Hans Hagen wrote: Can you check if this gives the wanted effects: \unprotect \setupsimplelist [\v!sorting] [\c!headstyle=\simplelistparameter\c!synonymstyle, \c!headcolor=\simplelistparameter\c!synonymcolor, \c!style=\simplelistparameter\c!textstyle, \c!color=\simplelistparameter\c!textcolor] \protect Yes it does, but for a mixed list it seems too general. Ok, so better not make that default then. This would have worked ok too: \completelistofabbreviations[criterium=all,headstyle=\bf,style=\bi] This one works OK. These lists have become more sophisticated deep down. And Wolfgang Schuster wrote: You have to use abbreviation (singular form) \setupsynonyms[abbreviation][?] and Use the optional argument: \abbreviation[EM]{\em EM}{?} This works perfectly too. Thank you both, Hans and Wolfgang. Almost embarras du choix now. KInd regards, Robert ___ 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 ___ -- - 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] Problem with List of Abbreviations
On 29 Jul 2014, Hans Hagen wrote: > > Can you check if this gives the wanted effects: > > \unprotect > > \setupsimplelist > [\v!sorting] > [\c!headstyle=\simplelistparameter\c!synonymstyle, >\c!headcolor=\simplelistparameter\c!synonymcolor, >\c!style=\simplelistparameter\c!textstyle, >\c!color=\simplelistparameter\c!textcolor] > > \protect Yes it does, but for a mixed list it seems too general. > > This would have worked ok too: > > \completelistofabbreviations[criterium=all,headstyle=\bf,style=\bi] This one works OK. > > These lists have become more sophisticated deep down. And Wolfgang Schuster wrote: > > > You have to use abbreviation (singular form) > > \setupsynonyms[abbreviation][?] and > > Use the optional argument: > > \abbreviation[EM]{\em EM}{?} > This works perfectly too. Thank you both, Hans and Wolfgang. Almost embarras du choix now. KInd regards, Robert ___ 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 ___