[NTG-context] issue with lpath containing a hyphen

2016-11-18 Thread Pablo Rodriguez
in the quote is to remove "\letterpercent" in the lpath. I guess I must be doing something wrong in this sample. In my real document, I cannot simply remove it, I get an error. As a general consideration, houw about making not mandatory to escape characters in lpaths? This would ease the trasl

Re: [NTG-context] avoid newline after definestartstop

2016-10-26 Thread Michael Eidenbenz
[rightquotation] #1 \stopnarrower} \starttext \startCitation \input knuth \stopCitation \footnote{This is a Quote of Donald Knuth} \input knuth \stoptext > On 26 Oct 2016, at 18:40, Wolfgang Schuster <schuster.wolfg...@gmail.com> > wrote: > >> Michael Eid

Re: [NTG-context] avoid newline after definestartstop

2016-10-26 Thread Wolfgang Schuster
an one paragraph in the Citation environment. \definestartstop [Citation] [ before={\hangindent=20mm\hangafter=0\symbol[leftquotation]}, after={\removeunwantedspaces\symbol[rightquotation]}, ] \starttext \startCitation \input tufte \stopCitation \footnote{This is a Quote of Donald Knuth} \input

Re: [NTG-context] avoid newline after definestartstop

2016-10-26 Thread Michael Eidenbenz
={\removeunwantedspaces\symbol[rightquotation]}, ] \starttext \startCitation \input tufte \stopCitation \footnote{This is a Quote of Donald Knuth} \input tufte \stoptext ___ If your question is of interest to others as well, please

Re: [NTG-context] Text editors

2016-10-25 Thread Henning Hraban Ramm
or Shift-Tab to indent/outdent (not: replace text with tab) - mark some text, type brace/bracket/quote to surround, not replace, the text - mark text, click-and-move to move (not copy), alt-click to copy - mouse movement/scrolling must never change the file/buffer (problem of many tab widgets) - jus

Re: [NTG-context] avoid newline after definestartstop

2016-10-24 Thread Thomas A. Schmitz
]\StopCitation{~»\footnote{#1}\stopnarrower} \starttext \input tufte \StartCitation \input knuth \StopCitation{This is a Quote of Donald Knuth} \stoptext % end quotation-note.tex Indeed instead of the quotation marks « and » you can put whatever you wish. If you have quotations without footnotes

Re: [NTG-context] avoid newline after definestartstop

2016-10-24 Thread Wolfgang Schuster
ything after is belongs to a new paragraph. thanks michael \definestartstop[Citation] [before={\startnarrower[left,right]\startquotation}, after={\stopquotation\stopnarrower\dontleavehmode}] You can do the same with a custom quote environment: \definedelimitedtext [Citation] [quotation] [left

Re: [NTG-context] avoid newline after definestartstop

2016-10-24 Thread Pablo Rodriguez
er paragraph? I mean, do you think it isn’t clear enough that this is quote? Just in case it might be useful, Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well, please add an entry to the Wi

Re: [NTG-context] avoid newline after definestartstop

2016-10-24 Thread Michael Eidenbenz
fine[1]\StopCitation{~»\footnote{#1}\stopnarrower} > > \starttext > \input tufte > \StartCitation > \input knuth > \StopCitation{This is a Quote of Donald Knuth} > \stoptext > % end quotation-note.tex > > Indeed instead of the quotation marks « and » you can put whatever yo

Re: [NTG-context] avoid newline after definestartstop

2016-10-24 Thread Otared Kavian
} \starttext \input tufte \StartCitation \input knuth \StopCitation{This is a Quote of Donald Knuth} \stoptext % end quotation-note.tex Indeed instead of the quotation marks « and » you can put whatever you wish. If you have quotations without footnotes, then you may define another start-stop. Best

Re: [NTG-context] avoid newline after definestartstop

2016-10-24 Thread Michael Eidenbenz
stop[Citation] >[before={\startnarrower[left,right]\startquotation}, > after={\stopquotation\stopnarrower\dontleavehmode}] > > \starttext > \input tufte > \startCitation > \input knuth > \stopCitation > \footnote{This is a Quote of Donald Knu

[NTG-context] avoid newline after definestartstop

2016-10-20 Thread Michael Eidenbenz
\dontleavehmode}] \starttext \input tufte \startCitation \input knuth \stopCitation \footnote{This is a Quote of Donald Knuth} \stoptext ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Resume module with moderncv interface

2016-10-10 Thread Wolfgang Schuster
begin example \usemodule[resume] %\useresumestyle[casual-blue] \useresumestyle[classic-blue] \setupresumeoptions [bodyfont=calluna] \setupresume [firstname=John, familyname=Doe, title=Resumé title (optional),% classic style only quote=My quote,% casual style only image={\external

Re: [NTG-context] prevent indent after usage of defined itemgroup

2016-10-03 Thread Hans Hagen
On 10/3/2016 5:19 PM, Otared Kavian wrote: Hi Mikael, I didn’t know the difference between \noindent and \noindentation… It reminds me of the subtle difference between \quote and \quotation, but I cannot tell you why there is such a difference. \noindent is a so called primitive operation

Re: [NTG-context] prevent indent after usage of defined itemgroup

2016-10-03 Thread Otared Kavian
Hi Mikael, I didn’t know the difference between \noindent and \noindentation… It reminds me of the subtle difference between \quote and \quotation, but I cannot tell you why there is such a difference. Regarding the issue with the integral sign being too close to the line of text, since you

Re: [NTG-context] page range reference (how to compare references)

2016-09-23 Thread MF
tart"}) if pagestart ~= pagestop then   context("-")   context.ref({"page"}, {label .. ":stop"}) end   end   function userdata.printpagerange(label) userdata.printrange("page", "pages", label)   end } \def\printpagerange#1

[NTG-context] page range reference (how to compare references)

2016-09-23 Thread MF
Hello list, I'm trying to reference a page range (think of a long quote spanning on 2 pages). I need to discriminate ranges collapsing to one page from "real" ranges (2 or more pages): "1-1" should become "1", while "1-2" should stay like that. Here's a

Re: [NTG-context] Math letters in commands

2016-09-13 Thread Hans Åberg
> \catcode`\‘=\active > \def‘#1’{\csname #1\endcsname} > \to ... > > only tokens get added to the register ... so the ‘ after the \def is not > active (yet) > > in addition when tex sees a $ it will look for a next token (in case it's a $ > for display mode) and it s

Re: [NTG-context] Math letters in commands

2016-09-12 Thread Hans Hagen
en you do \appendtoks \catcode`\‘=\active \def‘#1’{\csname #1\endcsname} \to ... only tokens get added to the register ... so the ‘ after the \def is not active (yet) in addition when tex sees a $ it will look for a next token (in case it's a $ for display mode) and it sees a quote (no eve

Re: [NTG-context] Wrong hyphenation when using patterns={fr,agr}

2016-08-10 Thread Jean-Pierre Delange
patterns for french and ancien greek languages, I noticed there are wrong hyphenations at quote char as shown in following MWE. Is this expected behavior by using the patterns= key in such a way ? Using ConTeXt ver: 2016.08.08 21:28 MKIV beta fmt: 2016.8.9 int: english/English

Re: [NTG-context] Wrong hyphenation when using patterns={fr,agr}

2016-08-10 Thread Hans Hagen
On 8/9/2016 11:21 PM, josephcan...@gmail.com wrote: Dear all, Combining patterns for french and ancien greek languages, I noticed there are wrong hyphenations at quote char as shown in following MWE. Is this expected behavior by using the patterns= key in such a way ? I see: languages

[NTG-context] Wrong hyphenation when using patterns={fr,agr}

2016-08-09 Thread josephcanedo
Dear all, Combining patterns for french and ancien greek languages, I noticed there are wrong hyphenations at quote char as shown in following MWE. Is this expected behavior by using the patterns= key in such a way ? Using ConTeXt ver: 2016.08.08 21:28 MKIV beta fmt: 2016.8.9 int: english

Re: [NTG-context] lua tables - how do you cope?

2016-07-30 Thread Arthur Reutenauer
hich fits nicely in the description you quote. Best, Arthur ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.

Re: [NTG-context] Bug with setuplanguage

2016-06-05 Thread Aditya Mahajan
\c!midsentence=\cyrdash, \c!leftsentence=\cyrdash, \c!rightsentence=\cyrdash, ] \protect \setupbodyfont[dejavu] \starttext Normal text|<|English \mainlanguage[ru] Normal text|<|Russian \stoptext The pdf shows: Normal text—English Normal text„Russian Why the quote instead o

Re: [NTG-context] Bug with setuplanguage

2016-06-05 Thread Wolfgang Schuster
yrdash, \c!rightsentence=\cyrdash, ] \protect \setupbodyfont[dejavu] \starttext Normal text|<|English \mainlanguage[ru] Normal text|<|Russian \stoptext The pdf shows: Normal text—English Normal text„Russian Why the quote instead of the emdash. The output is okay is if \mainlanguage i

[NTG-context] Bug with setuplanguage

2016-06-04 Thread Aditya Mahajan
] \starttext Normal text|<|English \mainlanguage[ru] Normal text|<|Russian \stoptext The pdf shows: Normal text—English Normal text„Russian Why the quote instead of the emdash. The output is okay is if \mainlanguage is set before |<| is used for the f

Re: [NTG-context] LaTeX reledmac: what about ConTeXt ?

2016-05-16 Thread Jean-Pierre Delange
;>I have no idea. I don’t read logs most of the times. >> To quote Shakespeare: “all’s well, that ends well”. > 2. I was not very convinced by the \doreverse command involving in > the 2 columns balance issue, but I don't understand why the last > paragraph at the end of the

Re: [NTG-context] LaTeX reledmac: what about ConTeXt ?

2016-05-16 Thread Pablo Rodriguez
Xt complains about it during the parsing process ? I have no idea. I don’t read logs most of the times. To quote Shakespeare: “all’s well, that ends well”. > 2. I was not very convinced by the \doreverse command involving in > the 2 columns balance issue, but I don't understand why the las

Re: [NTG-context] ’Undefined control sequence’ with basic example

2016-04-29 Thread Wolfgang Schuster
\startsection[ reference=sec:Two, title={Section Two}, ] [a_variable={some value}] a_variable=\quote{\structureuservariable{a_variable}}. \startsubsection[ reference=sec:Two:Sec, title={Here’s a subsection}, ] In this subsection there’s some text\ldots \stopsubsection \stopsection \stoptext but r

[NTG-context] ’Undefined control sequence’ with basic example

2016-04-29 Thread Saša Janiška
_variable={some value}] a_variable=\quote{\structureuservariable{a_variable}}. \startsubsection[ reference=sec:Two:Sec, title={Here’s a subsection}, ] In this subsection there’s some text\ldots \stopsubsection \stopsection \stoptext but running it under Debian (Sid) gives: [gour@atmar

Re: [NTG-context] Alignment for narrower text

2016-04-02 Thread Wolfgang Schuster
Hans Hagen <mailto:pra...@wxs.nl> 1. April 2016 um 09:21 On 3/31/2016 9:28 PM, Jan Tosovsky wrote: On 2016-03-31 Hans Hagen wrote: On 3/30/2016 8:55 PM, Jan Tosovsky wrote: On 2014-01-30 Jan Tosovsky wrote: I'd expect that starting french quote sign outside the left text edge - sim

Re: [NTG-context] Alignment for narrower text

2016-04-01 Thread Jan Tosovsky
ing prohibits protrusion > >> > > Are there alternative ways? > > you should use leftskip (\startnarrower...) in such cases thanks, but I am lost here. The following has impact on the left margin and it doesn't help to hang the initial quote... \definefontfamily[palatino][rm][Palati

Re: [NTG-context] Alignment for narrower text

2016-04-01 Thread Hans Hagen
On 3/31/2016 9:28 PM, Jan Tosovsky wrote: On 2016-03-31 Hans Hagen wrote: On 3/30/2016 8:55 PM, Jan Tosovsky wrote: On 2014-01-30 Jan Tosovsky wrote: I'd expect that starting french quote sign outside the left text edge - similarly like it is aligned the main flow when the hanging feature

Re: [NTG-context] Alignment for narrower text

2016-03-31 Thread Jan Tosovsky
On 2016-03-31 Hans Hagen wrote: > On 3/30/2016 8:55 PM, Jan Tosovsky wrote: > > On 2014-01-30 Jan Tosovsky wrote: > >> > >> I'd expect that starting french quote sign outside the left > >> text edge - similarly like it is aligned the main flow when

Re: [NTG-context] Alignment for narrower text

2016-03-30 Thread Hans Hagen
On 3/30/2016 8:55 PM, Jan Tosovsky wrote: On 2014-01-30 Jan Tosovsky wrote: I'd expect that starting french quote sign outside the left text edge - similarly like it is aligned the main flow when the hanging feature is enabled. Now I've found it works as expected when the indenting

Re: [NTG-context] Alignment for narrower text

2016-03-30 Thread Jan Tosovsky
On 2014-01-30 Jan Tosovsky wrote: > > I'd expect that starting french quote sign outside the left text edge - > similarly like it is aligned the main flow when the hanging feature is > enabled. > > Now I've found it works as expected when the indenting is di

Re: [NTG-context] Hanging punctuation misalignment in footnotes

2016-03-29 Thread Jan Tosovsky
/sample.tex > > One problem is the way how context places the footnote number in > front of the text, by default context uses the \llap command to move > the number into the left margin but this prevents also the protrusion > of the opening quote. You can avoid this problem

Re: [NTG-context] different \setupdelimitedtext for notes

2016-03-06 Thread Wolfgang Schuster
s text. \startblockquote This is a quote\footnote{This is a footnote. \startblockquote This is another quote.\stopblockquote} \stopblockquote \stoptext How can I have differet setups for blockquotes in footnotes? \startsetups[note:blockquote] \setupdelimitedtext [blockquote] [before={

[NTG-context] different \setupdelimitedtext for notes

2016-03-06 Thread Pablo Rodriguez
This is a quote\footnote{This is a footnote. \startblockquote This is another quote.\stopblockquote} \stopblockquote \stoptext How can I have differet setups for blockquotes in footnotes? Many thanks for your help, Pablo -- http://www.ousia.tk

Re: [NTG-context] font switches: bold, slanted, etc.

2016-02-13 Thread Pablo Rodriguez
marks about list members :-). There is a Latin quote from Horace («Ars poetica», 359, http://www.perseus.tufts.edu/hopper/text?doc=Hor.+Ars+369=Perseus%3Atext%3A1999.02.0064 [of course, Thomas knows way better than myself, since I’m not even an amateur]): quandoque bonus dormitat Homerus which translat

Re: [NTG-context] interactive reference

2016-02-04 Thread Taco Hoekwater
ture: it is better not to quote back messages like that to the list, it just serves to give more attention to the post, and it makes removal from the archives harder. Best wishes, Taco ___ If your question is of

Re: [NTG-context] \quote inside \emph

2016-01-18 Thread Hans Hagen
On 1/18/2016 3:19 AM, Aditya Mahajan wrote: On Mon, 18 Jan 2016, Wolfgang Schuster wrote: Hans Hagen 18. Januar 2016 um 00:56 we could change it (i don't care too much as i've never use them nested) up to you/wolfgang/... to decide Remove the default setting and for

Re: [NTG-context] \quote inside \emph

2016-01-17 Thread Hans Hagen
On 1/16/2016 6:55 PM, Aditya Mahajan wrote: On Sat, 16 Jan 2016, Alan Bowen wrote: When used in inside \emph, \quote puts the words cited into roman face. Thus, \starttext \emph{The \quote{Problemata} in Medieval Times} \emph{The \quote{\emph{Problemata}} in Medieval Times} \stoptext

Re: [NTG-context] \quote inside \emph

2016-01-17 Thread Wolfgang Schuster
Hans Hagen 18. Januar 2016 um 00:56 we could change it (i don't care too much as i've never use them nested) up to you/wolfgang/... to decide Remove the default setting and for completeness sake add style/color settings to the paragraph alternative.

Re: [NTG-context] \quote inside \emph

2016-01-17 Thread Aditya Mahajan
On Mon, 18 Jan 2016, Wolfgang Schuster wrote: Hans Hagen 18. Januar 2016 um 00:56 we could change it (i don't care too much as i've never use them nested) up to you/wolfgang/... to decide Remove the default setting and for completeness sake add style/color settings to

[NTG-context] \quote inside \emph

2016-01-16 Thread Alan Bowen
When used in inside \emph, \quote puts the words cited into roman face. Thus, \starttext \emph{The \quote{Problemata} in Medieval Times} \emph{The \quote{\emph{Problemata}} in Medieval Times} \stoptext This seems odd. Should \quote not leave the style of the text as it is? That is, should

Re: [NTG-context] \quote inside \emph

2016-01-16 Thread Wolfgang Schuster
Alan Bowen <mailto:bowenala...@gmail.com> 16. Januar 2016 um 15:26 When used in inside \emph, \quote puts the words cited into roman face. Thus, \starttext \emph{The \quote{Problemata} in Medieval Times} \emph{The \quote{\emph{Problemata}} in Medieval Times} \stoptext This see

Re: [NTG-context] \quote inside \emph

2016-01-16 Thread Alan Bowen
I am inclined to agree, Aditya. At least it *is* odd in English typography. Still thanks for the fix. Alan On Sat, Jan 16, 2016 at 12:55 PM, Aditya Mahajan <adit...@umich.edu> wrote: > On Sat, 16 Jan 2016, Alan Bowen wrote: > > When used in inside \emph, \quote puts the words c

Re: [NTG-context] \quote inside \emph

2016-01-16 Thread Aditya Mahajan
On Sat, 16 Jan 2016, Alan Bowen wrote: When used in inside \emph, \quote puts the words cited into roman face. Thus, \starttext \emph{The \quote{Problemata} in Medieval Times} \emph{The \quote{\emph{Problemata}} in Medieval Times} \stoptext This seems odd. Should \quote not leave the style

Re: [NTG-context] \quote inside \emph

2016-01-16 Thread Alan Bowen
Thanks, Wolfgang! Alan On Sat, Jan 16, 2016 at 11:31 AM, Wolfgang Schuster < schuster.wolfg...@gmail.com> wrote: > Alan Bowen <bowenala...@gmail.com> > 16. Januar 2016 um 15:26 > When used in inside \emph, \quote puts the words cited into roman face. > Thus, > > \

Re: [NTG-context] strange output in math display mode

2015-12-23 Thread Wolfgang Schuster
hematicians tend to \quote{overuse} \over when they first begin to typeset their own work on a system like \TEX." ... At one point, I went back to using \over rather than \frac as the later was broken and gave no output. This has since been fixed, but I stayed with \over as I find primary oper

Re: [NTG-context] strange output in math display mode

2015-12-23 Thread Hans Hagen
On 12/23/2015 3:19 AM, Alan BRASLAU wrote: So it it a TeX programming limitation. The risk of leading to an exponential number of branches is addressed by Knuth at the beginning of Chapter 17 of the TeXbook (p. 139): "Mathematicians tend to \quote{overuse} \over when they first begin to ty

Re: [NTG-context] strange output in math display mode

2015-12-22 Thread Alan BRASLAU
So it it a TeX programming limitation. The risk of leading to an exponential number of branches is addressed by Knuth at the beginning of Chapter 17 of the TeXbook (p. 139): "Mathematicians tend to \quote{overuse} \over when they first begin to typeset their own work on a system like

Re: [NTG-context] How to put title and counter of the enumeration env. in the FrameTitle?

2015-12-04 Thread Jeong Dal
, background=FunnyFrame, offset=\bodyfontsize, increment=yes, width=\textwidth, after={\doglobal\increment\ThmNumber}]%\overlaywidth]% \def\FrameTitle#1% {\setMPtext{FunnyFrame}{\hbox spread 1em{\hss\strut\ss\bf #1\hss}}} \starttext This is a test for Framed Theorem. I'd like to put \quote{Theorem \#1

[NTG-context] How to put title and counter of the enumeration env. in the FrameTitle?

2015-12-03 Thread Jeong Dal
\FrameTitle#1% {\setMPtext{FunnyFrame}{\hbox spread 1em{\hss\strut\ss\bf\white #1\hss}}} \starttext This is a test for Framed Theorem. \StTheorem This is a theorem in the Funny Frame. \SpTheorem I'd like to put \quote{Theorem \#1(Some Title)} in a small frame and the main text in the big frame

Re: [NTG-context] meaning of error message?

2015-11-29 Thread Alan Bowen
gt; «{μέν}» in this sentence [lines 23–24]: a clause such as «{οἱ δὲ ἐπιμερεῖϲ > οὔ}» (\quote{whereas epimeric do not}) is surely missing due to scribal > mistake. I regard the correction as certain, given the strictly analogous > structure of the immediately following sentence. Nothing

Re: [NTG-context] meaning of error message?

2015-11-28 Thread Wolfgang Schuster
side them the subclauses in contraposition are regularly marked by the canonical «{μέν \dots δέ}». Moreover, every «{μέν}» is answered by a «{δέ}». The only exception is the «{μέν}» in this sentence [lines 23–24]: a clause such as «{οἱ δὲ ἐπιμερεῖϲ οὔ}» (\quote{whereas epimeric do not}) is surely mi

Re: [NTG-context] meaning of error message?

2015-11-25 Thread Alan Bowen
ion are regularly marked by the canonical «{μέν \dots δέ}». Moreover, every «{μέν}» is answered by a «{δέ}». The only exception is the «{μέν}» in this sentence [lines 23–24]: a clause such as «{οἱ δὲ ἐπιμερεῖϲ οὔ}» (\quote{whereas epimeric do not}) is surely missing due to scribal mistake. I reg

Re: [NTG-context] New btx code problem with quote protrusion, redux

2015-11-02 Thread Rik Kabel
On 2015-11-02 04:05, Hans Hagen wrote: On 11/2/2015 9:53 AM, Hans Hagen wrote: \definefontfeature [default][protrusion=quality] btw that is bad, should be: \definefontfeature [default][default][protrusion=quality] as adding protrusion out of some quality argument doesn't go well with

Re: [NTG-context] New btx code problem with quote protrusion, redux

2015-11-02 Thread Hans Hagen
On 10/23/2015 8:40 PM, Rik Kabel wrote: At Wolfgang’s request, a new thread for this subject. I have cleaned up the example from the July 5 posting, but the problems are the same as shown there. In July Alan suggested that there might a bug here, but nothing has been done to address it since

Re: [NTG-context] New btx code problem with quote protrusion, redux

2015-11-02 Thread Hans Hagen
On 11/2/2015 9:53 AM, Hans Hagen wrote: \definefontfeature [default][protrusion=quality] btw that is bad, should be: \definefontfeature [default][default][protrusion=quality] as adding protrusion out of some quality argument doesn't go well with removing kerns and ligatures Hans

Re: [NTG-context] New btx code problem with quote protrusion, redux

2015-10-26 Thread Wolfgang Schuster
Rik Kabel 23. Oktober 2015 um 20:40 At Wolfgang’s request, a new thread for this subject. I have cleaned up the example from the July 5 posting, but the problems are the same as shown there. In July Alan suggested that there might a bug here, but nothing

Re: [NTG-context] New btx code problem with quote protrusion

2015-10-23 Thread Wolfgang Schuster
Rik Kabel 22. Oktober 2015 um 23:31 On 2015-07-05 19:21, Alan BRASLAU wrote: > On Sun, 5 Jul 2015 18:52:40 -0400 > Rik Kabel wrote: > >> Is this a bug, or simply something not yet ready with the new regime, >> or am I doing

Re: [NTG-context] New btx code problem with quote protrusion, redux

2015-10-23 Thread Rik Kabel
On 2015-10-23 14:40, Rik Kabel wrote: At Wolfgang’s request, a new thread for this subject. I have cleaned up the example from the July 5 posting, but the problems are the same as shown there. In July Alan suggested that there might a bug here, but nothing has been done to address it since

[NTG-context] New btx code problem with quote protrusion, redux

2015-10-23 Thread Rik Kabel
At Wolfgang’s request, a new thread for this subject. I have cleaned up the example from the July 5 posting, but the problems are the same as shown there. In July Alan suggested that there might a bug here, but nothing has been done to address it since then. Wolfgang suggested

Re: [NTG-context] New btx code problem with quote protrusion

2015-10-22 Thread Rik Kabel
On 2015-07-05 19:21, Alan BRASLAU wrote: On Sun, 5 Jul 2015 18:52:40 -0400 > Rik Kabel wrote: > >> Is this a bug, or simply something not yet ready with the new regime, >> or am I doing something wrong? > > This looks like a bug/interference in a situation that

[NTG-context] Register sort method for unicode quotes

2015-10-05 Thread Rik Kabel
Is there a sort method that can be specified for register sorts that will ignore unicode quote marks (“‘’”) in the same way that primes ("') are ignored. This was asked in 2010 (http://www.mail-archive.com/ntg-context@ntg.nl/msg51348.html) and not answered. It is still a pr

[NTG-context] Questions on registers, and on processors used with registers

2015-10-04 Thread Rik Kabel
ast requirement would be served by building a list with the quote number and quotation precis, suppressing the page numbers with pagenumber=\gobbleoneargument. But placelist does not seem to behave as one would hope. The example in the wiki for setuplist (shown below) does not print the numbers (1.

[NTG-context] Question on register sort order and default method

2015-09-27 Thread Rik Kabel
] \starttext \index{Abc, def}\index{Abcdef, ghi}\index{abc, def}\index{abcdef, ghi} \subject{Placeindex with no explicit method} \placeindex \subject{Placeindex with \quote{default} method} \placeindex[method=default] \stoptext Where can documentation of the four defined methods

[NTG-context] New btx code problem with quote protrusion

2015-07-05 Thread Rik Kabel
List folk: In the MWE below, everything builds cleanly if the \setupdelimitedtext line is removed. With it removed, however, quote marks protrusion looks poor when nearby quote marks in non-quotation text is allowed to protrude. The happens when there is a citation in a footnote

Re: [NTG-context] New btx code problem with quote protrusion

2015-07-05 Thread Alan BRASLAU
On Sun, 5 Jul 2015 18:52:40 -0400 Rik Kabel cont...@rik.users.panix.com wrote: Is this a bug, or simply something not yet ready with the new regime, or am I doing something wrong? This looks like a bug/interference in a situation that was not tested... Alan

Re: [NTG-context] Problem with rfc4180splitter in last beta?

2015-06-15 Thread Jaroslav Hajtmar
(inpcsvfile) local mycsvsplitter = utilities.parsers.rfc4180splitter{ separator = ',', quote = '', } if gCSVHeader then gTableRows, gColumnNames = mycsvsplitter(currentlyprocessedcsvfile,true) inspect(gTableRows) inspect(gColumnNames) else gTableRows

Re: [NTG-context] Problem with rfc4180splitter in last beta?

2015-06-15 Thread Jaroslav Hajtmar
= io.loaddata(inpcsvfile) local mycsvsplitter = utilities.parsers.rfc4180splitter{ separator = ',', quote = '', } if gCSVHeader then gTableRows, gColumnNames = mycsvsplitter(currentlyprocessedcsvfile,true) inspect(gTableRows) inspect(gColumnNames) else

[NTG-context] Problem with rfc4180splitter in last beta (sticking point was found... maybe)

2015-06-15 Thread Jaroslav Hajtmar
= ',', quote = '', } if gCSVHeader then gTableRows, gColumnNames = mycsvsplitter(currentlyprocessedcsvfile,true) inspect(gTableRows) inspect(gColumnNames) for i=1,#gTableRows[1] do gColNames[tostring(gColumnNames[i])] = i -- for indexing use

[NTG-context] Problem with rfc4180splitter in last beta?

2015-06-15 Thread Jaroslav Hajtmar
, when compiled by last beta version of standalone gColNames={} gColumnNames={} local inpcsvfile='csvfile.txt' local currentlyprocessedcsvfile = io.loaddata(inpcsvfile) local mycsvsplitter = utilities.parsers.rfc4180splitter{ separator = ',', quote

Re: [NTG-context] Index items (additional question)

2015-04-19 Thread Robert Blackstone
On 16 Apr 2015, at 15:38 , Hans Hagen pra...@wxs.nl gave me the following: \startluacode document.indexentries = { [rule] = [[Rule(s)]], [ruleimperfect] = [[+ \quote{imperfect to perfect, from}]], [galilei] = [[Galilei, Vincenzo

Re: [NTG-context] Index items (additional question)

2015-04-19 Thread Hans Hagen
On 4/19/2015 9:47 AM, Robert Blackstone wrote: On 16 Apr 2015, at 15:38 , Hans Hagen pra...@wxs.nl gave me the following: \startluacode document.indexentries = { [rule] = [[Rule(s)]], [ruleimperfect] = [[+ \quote{imperfect to perfect, from

Re: [NTG-context] Index items (additional question)

2015-04-19 Thread Robert Blackstone
)]], [ruleimperfect] = [[+ \quote{imperfect to perfect, from}]], [galilei] = [[Galilei, Vincenzo]], } function document.getindexentry(n) context(\\index[%s]{%s},n,document.indexentries[n] or ( .. n .. )) end \stopluacode \unexpanded\def\InEn[#1]% {\ctxlua

Re: [NTG-context] Index items

2015-04-16 Thread Hans Hagen
. \startluacode document.indexentries = { [rule] = [[Rule(s)]], [ruleimperfect] = [[+ \quote{imperfect to perfect, from}]], [galilei] = [[Galilei, Vincenzo]], } function document.getindexentry(n) context(\\index[%s]{%s},n,document.indexentries[n

Re: [NTG-context] Index items

2015-04-16 Thread Robert Blackstone
. \startluacode document.indexentries = { [rule] = [[Rule(s)]], [ruleimperfect] = [[+ \quote{imperfect to perfect, from}]], [galilei] = [[Galilei, Vincenzo]], } function document.getindexentry(n) context(\\index[%s]{%s},n

Re: [NTG-context] Index items

2015-04-15 Thread Robert Blackstone
Blackstone \starttext That this rule% \index[Rule]{Rule(s)}%% \index[RuleImperfect]{ + \quote{imperfect to perfect, from}} was not applied by everybody is for example shown in {\em Fronimo}% \index[Galilei]{Galilei

Re: [NTG-context] Change behavior for \getbuffer

2015-03-28 Thread Alan BRASLAU
. \startbuffer A \stopbuffer \starttext A \getbuffer \stoptext I have noticed this, too. Furthermore, \startbuffer B \stopbuffer \starttext A \inlinebuffer \stoptext *also* produces A B and A \quote{\inlinebuffer} produces A ` B´ Alan

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-20 Thread Gerben Wierda
*line]}] \starttext \chapter{Knuth} \writetolist[chapter]{}{}\GotoPar \input knuth \stoptext end example Thanks. I tried this % Every chapter starts with a quote on the LHS page: \setuphead [chapter] [page=, before={\setups[chapter:before]}, after={\setups

[NTG-context] [MetaFun] Decorating running text

2015-03-18 Thread Norbert Melzer
) \stopMPcode} \starttext The word \Shogun\ shall be decorated with the crown shown in fig~\in[fig:crown]: \placefigure[here][fig:crown]{The crown that shall decorate the \quote{g} in \quotation{Shogun}}{ \startMPcode fill (-20,-17.5)--(20,-17.5)--(30,12.5)--(10,-2.5)--(0,17.5)--(-10,-2.5

[NTG-context] indentnext=auto

2015-03-17 Thread Idris Samawi Hamid ادريس سماوي حامد
. \setupindenting[big,yes] % Do not indent the first line of a block quote \setupdelimitedtext[blockquote][before={\blank[medium] \setupindenting[no]},after={\blank[medium]}] % Do not indent the first line after a block quote \setupdelimitedtext[blockquote][indentnext=auto

Re: [NTG-context] indentnext=auto

2015-03-17 Thread Wolfgang Schuster
the indentnext=auto mechanism. But with \start|stopparagraph it doesn't seem to work: See attached. \setupindenting[big,yes] % Do not indent the first line of a block quote \setupdelimitedtext[blockquote][before={\blank[medium] \setupindenting[no]},after={\blank[medium

Re: [NTG-context] indentnext=auto

2015-03-17 Thread Idris Samawi Hamid ادريس سماوي حامد
On Tue, 17 Mar 2015 15:04:32 -0600, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 17.03.2015 um 21:30 schrieb Idris Samawi Hamid ادريس سماوي حامد \setupindenting[big,yes] % Do not indent the first line of a block quote \setupdelimitedtext[blockquote][before

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-16 Thread Gerben Wierda
Thanks. I tried this % Every chapter starts with a quote on the LHS page: \setuphead [chapter] [page=, before={\setups[chapter:before]}, after={\setups[chapter:after]}] \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-15 Thread Gerben Wierda
, Nindent=0em, Slope=0em, Ante=, FontHook=, TextFont=\sc, Image=no] % Every chapter starts with a quote on the LHS page: \setuphead [chapter] [page=, before={\setups[chapter:before]}, after={\setups

[NTG-context] Exporting highlights

2015-03-15 Thread Idris Samawi Hamid ادريس سماوي حامد
; } delimited[detail=quotation]:after, delimitedblock[detail=quotation]:after { content : \201D ; } delimited[detail=quote]:before, delimitedblock[detail=quote]:before { content : \2018 ; } delimited[detail=quote]:after, delimitedblock[detail=quote]:after { content : \2019 ; } delimited

[NTG-context] setup for paragraph styles

2015-03-12 Thread mf
, signatures? They are paragraphs often made by a few words, with a different alignment, margins, style and vertical space above and below. For a long quote I've seen that I can use: \definedelimitedtext[MySpecialText] \setupdelimitedtext[MySpecialText] Are those the right commands for my purpose

Re: [NTG-context] mkiv and lettrine

2015-03-10 Thread Gerben Wierda
that roughness and ambiguity aren't imperfections, they are what make the \stoptext I’d like to - Have ``L in the initial (quote mark + L) - Have the initial a bit in the margin, but not fully - Have the top of the initial not rise above the top of the first line On 10 Mar 2015, at 18:35, luigi scarso

Re: [NTG-context] mkiv and lettrine

2015-03-10 Thread Hans Hagen
into a wise old man, he came to understand that roughness and ambiguity aren't imperfections, they are what make the \stoptext I’d like to - Have ``L in the initial (quote mark + L) - Have the initial a bit in the margin, but not fully - Have the top of the initial not rise above the top

Re: [NTG-context] CSV scanners built in ConTeXt - feature or bug?

2015-02-26 Thread Hans Hagen
On 2/26/2015 1:40 AM, Jaroslav Hajtmar wrote: \starttext \startluacode local mycsvsplitter = utilities.parsers.rfc4180splitter{ separator = ,, quote = '', } local crap = io.loaddata(data.txt) -- with header variant local tablerows, columnname = mycsvsplitter(crap,true) inspect

[NTG-context] CSV scanners built in ConTeXt - feature or bug?

2015-02-25 Thread Jaroslav Hajtmar
{ separator = ,, quote = '', } local crap = io.loaddata(data.txt) -- with header variant local tablerows, columnname = mycsvsplitter(crap,true) inspect(tablerows) inspect(columnname) -- without header variant -- local tablerows = mycsvsplitter(crap) -- inspect(tablerows) for i=1,#tablerows do

Re: [NTG-context] Different versions of Lua and error in the same versions of ConTeXt (Fedora vs Win7)

2015-02-24 Thread Hans Hagen
On 2/24/2015 2:13 PM, Jaroslav Hajtmar wrote: This library is loaded automatically? Or as a module? always present local mycsvsplitter = utilities.parsers.rfc4180splitter() local mycsvsplitter = utilities.parsers.rfc4180splitter { separator = ; quote = '', } Hans

Re: [NTG-context] need defaults for \definehighlight

2015-02-09 Thread Keith Schultz
this). Also, many authors of text, do think along the lines of markup in their coding and do use \em, but simply \it, \bf for emphasis! Similarly, many use quotation characters/glyphs in stead of \quotation and \quote. If we are exporting to xml then we should catch these cases! Basically, any

Re: [NTG-context] need defaults for \definehighlight

2015-02-08 Thread Hans Hagen
On 2/8/2015 3:40 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: On Sun, 08 Feb 2015 07:01:31 -0700, Hans Hagen pra...@wxs.nl wrote: the only reason why highlight exists is that it can be used to tag stuff that is otherwise untagged in the exporter to xml Ok, so I suppose \quote

Re: [NTG-context] need defaults for \definehighlight

2015-02-08 Thread Idris Samawi Hamid ادريس سماوي حامد
untagged in the exporter to xml Ok, so I suppose \quote and \quotation already work in the exporter. The following iteration then: = \unprotect \definehighlight[\v!italic] [\c!command=\v!no,\c!style=\v!italic] \definehighlight[\v!bold ] [\c!command=\v!no,\c!style=\v!bold

Re: [NTG-context] need defaults for \definehighlight

2015-02-08 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 08 Feb 2015 07:01:31 -0700, Hans Hagen pra...@wxs.nl wrote: the only reason why highlight exists is that it can be used to tag stuff that is otherwise untagged in the exporter to xml Ok, so I suppose \quote and \quotation already work in the exporter. The following iteration

<    1   2   3   4   5   6   7   8   9   >