Re: [NTG-context] More headache with \setuphead

2015-02-01 Thread Pablo Rodriguez
On 02/01/2015 12:26 AM, Rob Heusdens wrote: Related post: section with \sethupead[section][alternative=text]; other type of section misbehaves.. [...] Can anyone advise? Hi Rob, how about providing a sample that can be copied, pasted and compiled and a brief description of what you get and

[NTG-context] Code that run in Metapost but not in starMPcode enviroment

2015-02-01 Thread Akira Kakuto
What is wrong with this code? Interestingly it seems to work in mkii, probably because mkii calls external metafun: context --pdftex --passon=--shell-escape test.tex test.pdf is attached. Best, Akira test.pdf Description: Adobe PDF document

[NTG-context] How to place text to the right of a brace

2015-02-01 Thread Fabrice Couvreur
Hi, Wolfgang wrote, there was some time already, a nice macro to draw a brace. In the code below, how to have the arrow and the text to the right of the brace ? Best regards, Fabrice \startuseMPgraphic{accolade} z1 = (-233,0) ; z2 = (-220,22) ; z3 = (-155,211) ; z4 = (-200,690) ; z5 =

Re: [NTG-context] How to place text to the right of a brace

2015-02-01 Thread Pablo Rodriguez
On 02/01/2015 01:39 PM, Fabrice Couvreur wrote: Hi, Wolfgang wrote, there was some time already, a nice macro to draw a brace. In the code below, how to have the arrow and the text to the right of the brace? Hi Fabrice, this does what you asked (vertical centering might be achieved with a

Re: [NTG-context] Code that run in Metapost but not in starMPcode enviroment

2015-02-01 Thread Hans Hagen
On 2/1/2015 12:29 PM, DesdeChaves wrote: I'm trying to draw some random arrows using Metapost. For that I use a piece of code from fpast that in found at stackexchange http://tex.stackexchange.com/questions/179745/generating-random-arrows-in-tikz/180111#180111 Unfortunately this code does not

Re: [NTG-context] Font switching on title page

2015-02-01 Thread Pablo Rodriguez
On 02/01/2015 11:37 AM, Jörg Weger wrote: I have started to design a title page for a paper. First comes an information block at bodyfont size \tf (all in sans serif), followed by the title of the paper in \bfd, then the author (=me) in \bfa. The information block that follows then should

Re: [NTG-context] Font switching on title page

2015-02-01 Thread Pablo Rodriguez
On 02/01/2015 01:00 PM, Jörg Weger wrote: Thank you very much Pablo, indeed it helps :) Meanwhile I had found a solution by putting as well title and subtitle (author name) into groups \begingroup ... \endgroup but your braces solution is less typing and less distraction from the text.

Re: [NTG-context] Code that run in Metapost but not in starMPcode enviroment

2015-02-01 Thread Akira Kakuto
Interestingly it seems to work in mkii, probably because mkii calls external metafun: Sorry, I didn't notice explanation by Hans. Best, Akira ___ If your question is of interest to others as well, please add an

Re: [NTG-context] Font switching on title page

2015-02-01 Thread Jörg Weger
Thank you very much Pablo, indeed it helps :) Meanwhile I had found a solution by putting as well title and subtitle (author name) into groups \begingroup ... \endgroup but your braces solution is less typing and less distraction from the text. Greetings Jörg On 01.02.2015 12:04, Pablo

[NTG-context] Citing a PhD dissertation

2015-02-01 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, ConTeXt currently follows archaic BibTeX conventions in labeling doctoral dissertations for bibliography. So we have the tag 'phdthesis' as in \startpublication[k=hamid98, t=phdthesis, a=Hamid, y=1998,

[NTG-context] PDF document statistics (character count incl. spaces)?

2015-02-01 Thread Jörg Weger
Is there a way to report the “character count including spaces” of the resulting PDF in ConTeXt? Greetings Jörg ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] Font switching on title page

2015-02-01 Thread Jörg Weger
I have started to design a title page for a paper. First comes an information block at bodyfont size \tf (all in sans serif), followed by the title of the paper in \bfd, then the author (=me) in \bfa. The information block that follows then should be in bodyfont size again, but it isn’t, it

[NTG-context] Code that run in Metapost but not in starMPcode enviroment

2015-02-01 Thread DesdeChaves
I'm trying to draw some random arrows using Metapost. For that I use a piece of code from fpast that in found at stackexchange http://tex.stackexchange.com/questions/179745/generating-random-arrows-in-tikz/180111#180111 Unfortunately this code does not work in context (request for a solution

[NTG-context] A note on Arabic names in bibliographies and indices

2015-02-01 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear Syndicate, The current bibliography handler uses the following for authors: \type{\author[junior]{firstnames}[inits]{von}{surname}} Now in Arabic we have something similar to the 'von' field: the definite article 'al-', 'ibn', etc. Just as with 'von' we want to ignore them in the

[NTG-context] short field no longer accepts control sequences

2015-02-01 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear Cabal, Things like the following used to work, now give an error: \starttext \setuppublications[alternative=apa] \startpublication[k=corbin81, t=book, a=Corbin, y=1981, s=\hbox{}Corbin81]

Re: [NTG-context] PDF document statistics (character count incl. spaces)?

2015-02-01 Thread Aditya Mahajan
On Sun, 1 Feb 2015, Jörg Weger wrote: Is there a way to report the “character count including spaces” of the resulting PDF in ConTeXt? Given that these counts are never accurate, how about pdftotext filename followed by wc filename

[NTG-context] comments in bbl files broken

2015-02-01 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear Knights, Comments used to work in bbl files but no longer: == \starttext \setuppublications[alternative=apa] \startpublication[k=corbin81, t=book, a=Corbin, y=1981, s=Corbin81] \author[]{Henry}[H.]{}{Corbin} %

Re: [NTG-context] A note on Arabic names in bibliographies and indices

2015-02-01 Thread Keith J. Schultz
Hi Idris, All, We have here the classical database problem of finding a format that fits all. But, as any body working with databases knows this will not work with a rigid format. Here we have 3 fields for the authors can can be misused. The von is the most problematic. It seems due to its

[NTG-context] Bug? Interaction between criterium=cite and sectioning

2015-02-01 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, When sectioning is combined with the bibliography handler, \placepublications [criterium=cite] stops working. For example (also attached): = \starttext \setuppublications[alternative=apa] \startpublication[k=corbin81, t=book, a=Corbin,

Re: [NTG-context] PDF document statistics (character count incl. spaces)?

2015-02-01 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 01 Feb 2015 14:12:54 -0700, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: \setupspellchecking[state=start,method=2] \starttext \input knuth \stoptext Slightly off-topic: Just as Wolfgang's reply came in I was setting up a new version of http://tinyspell.com/ Editor-based

Re: [NTG-context] PDF document statistics (character count incl. spaces)?

2015-02-01 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 01 Feb 2015 15:11:48 -0700, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 01.02.2015 um 22:32 schrieb Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu: words shorter than four letters aren’t taken into account. I get *some* words shorter than four letters in

Re: [NTG-context] PDF document statistics (character count incl. spaces)?

2015-02-01 Thread Jörg Weger
Is the character count “wc --char textfile” returns with or without blank spaces? (Which is important for me.) “man wc” doesn’t talk about that. I had hoped there was a better way than to edit the result of “pdftotext” in my text editor or in libreoffice writer (deleting unnecessary carriage

Re: [NTG-context] PDF document statistics (character count incl. spaces)?

2015-02-01 Thread Wolfgang Schuster
Am 01.02.2015 um 22:32 schrieb Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu: words shorter than four letters aren’t taken into account. I get *some* words shorter than four letters in the output, so there must be some other logic going on… Do you have a few examples?

Re: [NTG-context] PDF document statistics (character count incl. spaces)?

2015-02-01 Thread Hans Hagen
On 2/1/2015 10:06 PM, Jörg Weger wrote: Is the character count “wc --char textfile” returns with or without blank spaces? (Which is important for me.) “man wc” doesn’t talk about that. I had hoped there was a better way than to edit the result of “pdftotext” in my text editor or in libreoffice

Re: [NTG-context] A note on Arabic names in bibliographies and indices

2015-02-01 Thread Hans Hagen
On 2/1/2015 4:06 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear Syndicate, The current bibliography handler uses the following for authors: \type{\author[junior]{firstnames}[inits]{von}{surname}} Looks mkii cq. th eold bin system ... no more time will be spent on that (by me). Now

Re: [NTG-context] PDF document statistics (character count incl. spaces)?

2015-02-01 Thread Wolfgang Schuster
Am 01.02.2015 um 22:06 schrieb Jörg Weger joerg73@googlemail.com: Is the character count “wc --char textfile” returns with or without blank spaces? (Which is important for me.) “man wc” doesn’t talk about that. I had hoped there was a better way than to edit the result of “pdftotext”

Re: [NTG-context] Code that run in Metapost but not in starMPcode enviroment

2015-02-01 Thread Hans Hagen
On 2/1/2015 3:31 PM, Akira Kakuto wrote: Interestingly it seems to work in mkii, probably because mkii calls external metafun: Sorry, I didn't notice explanation by Hans. The problem with variables in metapost is that they are global by default (unless 'save'd in a group or vardef). This

Re: [NTG-context] short field no longer accepts control sequences

2015-02-01 Thread Hans Hagen
On 2/1/2015 4:27 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear Cabal, Things like the following used to work, now give an error: s=\hbox{}Corbin81] This is not mission-critical in my case, I can live without it at least for now, but it did used to work. May be

Re: [NTG-context] short field no longer accepts control sequences

2015-02-01 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 01 Feb 2015 17:56:31 -0700, Hans Hagen pra...@wxs.nl wrote: On 2/1/2015 4:27 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear Cabal, Things like the following used to work, now give an error: s=\hbox{}Corbin81] This is not mission-critical in my case, I can

Re: [NTG-context] comments in bbl files broken

2015-02-01 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 01 Feb 2015 08:16:27 -0700, Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu wrote: Dear Knights, Comments used to work in bbl files but no longer: == \starttext \setuppublications[alternative=apa] \startpublication[k=corbin81, t=book,

Re: [NTG-context] section with \sethupead[section][alternative=text]; other type of section misbehaves..

2015-02-01 Thread Hans Hagen
On 2/1/2015 7:28 AM, Pablo Rodriguez wrote: On 01/31/2015 11:10 PM, Rob Heusdens wrote: [...] If you define summary as a duplicate of section, the former will inherit properties from the latter. All you have to do is refine the unwanted features in summary. A very stupid example:

Re: [NTG-context] Bug? Interaction between criterium=cite and sectioning

2015-02-01 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 01 Feb 2015 13:32:57 -0700, Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu wrote: Dear gang, When sectioning is combined with the bibliography handler, \placepublications [criterium=cite] stops working. For example (also attached): = \starttext

Re: [NTG-context] Citing a PhD dissertation

2015-02-01 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 01 Feb 2015 07:24:00 -0700, Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu wrote: Dear gang, ConTeXt currently follows archaic BibTeX conventions in labeling doctoral dissertations for bibliography. So we have the tag 'phdthesis' as in \startpublication[k=hamid98,