Re: [NTG-context] URLs in color including underbar

2015-05-18 Thread Alexander Shukaev
​​ \definebar[urlbar][underbar] \setupurl[style=\mono\urlbar,color=blue] ​Interesting, thank you, Hans, it indeed works as expected. Could you supplement this with some explanations, i.e. why this one works compared to using plain `underbar'?​ I assume that the `color' key is overridden

[NTG-context] URLs in color including underbar

2015-05-18 Thread Alexander Shukaev
Hello, So far I came up with the following solution: \setupurl[ style={\mono\underbar}, color={blue}, ] \def \url{% \dosingleargument \dourl } \def \dourl[#1]{% \begingroup \setupbar[% style={\urlparameter{style}}, color={\urlparameter{color}}, ]% \from[#1]%

[NTG-context] [BUG]: `referenceprefix' in `\setuphead' ruins `\cite'

2015-05-29 Thread Alexander Shukaev
Hello, I think I've experienced a severe bug here. Consider the following: \setuphead [chapter][% referenceprefix={chapter}, ] ... \cite[xxx] ... \startpublication[ k={xxx}, t={...}, a={...}, y={...}, ] ... \stoppublication \startchapter [title={BIBLIOGRAPHY}] \whitespace

Re: [NTG-context] [BUG]: `referenceprefix' in `\setuphead' ruins `\cite'

2015-05-29 Thread Alexander Shukaev
On Fri, May 29, 2015 at 5:20 PM, Alexander Shukaev haroo...@gmail.com wrote: Hello, I think I've experienced a severe bug here. Consider the following: ​​ \setuphead [chapter][% referenceprefix={chapter}, ] ... \cite[xxx] ... \startpublication[ k={xxx}, t

Re: [NTG-context] Hash (Pound) Sign (#) in `\biburl'

2015-06-01 Thread Alexander Shukaev
On Sun, May 31, 2015 at 1:00 PM, Pablo Rodriguez oi...@gmx.es wrote: On 05/30/2015 11:04 AM, Alexander Shukaev wrote: Hello, I ran into the problem with `\biburl': \biburl{http://computing.llnl.gov/tutorials/mpi_performance/#Protocols} [...] Do you have any suggestions on how

[NTG-context] `\setupcite[num][compress={no}] is ignored in the '2015.02.03 23:55' version of ConTeXt

2015-06-01 Thread Alexander Shukaev
Hello, it looks like \setupcite[num][compress={no}] has no effect in the '2015.02.03 23:55' version of ConTeXt. Note that I also have \setuppublications[refcommand={num}] I hope I didn't miss anything. Kind regards, Alexander

[NTG-context] Hash (Pound) Sign (#) in `\biburl'

2015-05-30 Thread Alexander Shukaev
Hello, I ran into the problem with `\biburl': \biburl{http://computing.llnl.gov/tutorials/mpi_performance/#Protocols} reports an error due to '#'. Escaping \biburl{http://computing.llnl.gov/tutorials/mpi_performance/\#Protocols} does compile and is displayed correctly, but when clicking this

Re: [NTG-context] Smart Acronym Pluralization (`y' or `ie' before `s')

2015-05-24 Thread Alexander Shukaev
On Sun, May 24, 2015 at 11:17 AM, Hans Hagen pra...@wxs.nl wrote: On 5/24/2015 1:39 AM, Alexander Shukaev wrote: Hello, Consider the following: \definesynonyms [ACRONYM] [ACRONYMS] [\FULL] [\SHORT] ​​ \ACRONYM{DLL}{Dynamic-Link Librar\doifnextcharelse{s}{ie}{y}} Why \FULL{DLL}s

Re: [NTG-context] Force to display page number on the `makeup' page

2015-05-24 Thread Alexander Shukaev
Thanks, Wolfgang, that indeed does the trick. A related question. I've noticed that global `whitespace' setup is not recognized by `makeup' environment, i.e. \setupwhitespace[line] \definemakeup [abstractpage] \startabstractpagemakeup % `whitespace' is definitely not `line'.

Re: [NTG-context] How to properly `\setuplayout' for several pages and then restore back?

2015-05-24 Thread Alexander Shukaev
On Sun, May 24, 2015 at 11:20 AM, Hans Hagen pra...@wxs.nl wrote: On 5/23/2015 8:36 PM, Alexander Shukaev wrote: Hello, I have a table of contents that now has grown to span several pages. Before that I used the following setup: \definemakeup [contentspage] \setupmakeup [contentspage

[NTG-context] Force to display page number on the `makeup' page

2015-05-24 Thread Alexander Shukaev
Hello, I have a special `makeup' for the abstract page: \definemakeup [abstractpage] I also have general `makeup' setup: \setupmakeup[ doublesided={no}, pagestate={start}, page={yes}, ] The footer is available from general `layout' setup: \setuplayout[ footer={16pt},

[NTG-context] Smart Acronym Pluralization (`y' or `ie' before `s')

2015-05-23 Thread Alexander Shukaev
Hello, Consider the following: \definesynonyms [ACRONYM] [ACRONYMS] [\FULL] [\SHORT] \ACRONYM{DLL}{Dynamic-Link Librar\doifnextcharelse{s}{ie}{y}} Why \FULL{DLL}s does not do what I expect it to do? I assume that it's because `\doifnextcharelse' expands before `\FULL'. So how to achieve

[NTG-context] How to properly `\setuplayout' for several pages and then restore back?

2015-05-23 Thread Alexander Shukaev
Hello, I have a table of contents that now has grown to span several pages. Before that I used the following setup: \definemakeup [contentspage] \setupmakeup [contentspage][% footerstate={stop}, headerstate={stop}, pagestate={stop}, page={yes}, bottom={\vfill},