Re: [NTG-context] Overriding / redefining / disabling standard commands

2018-06-26 Thread Alan Braslau
On Tue, 26 Jun 2018 09:35:06 +0200 Hans Hagen wrote: > On 6/26/2018 4:44 AM, Rik Kabel wrote: > > > I thought that the ability to override a command like \index might > > be generally useful, and so brought it up to the list when I could > > not find a way to do it. > could be but only when it

Re: [NTG-context] Overriding / redefining / disabling standard commands

2018-06-25 Thread Alan Braslau
On Mon, 25 Jun 2018 20:50:51 -0400 Rik Kabel wrote: > On 6/25/2018 20:11, Alan Braslau wrote: > > On Mon, 25 Jun 2018 19:11:30 -0400 > > Rik wrote: > > > >> On 6/25/2018 17:52, Wolfgang Schuster wrote: > >>> \startmode[ebook] >

Re: [NTG-context] Overriding / redefining / disabling standard commands

2018-06-25 Thread Alan Braslau
On Mon, 25 Jun 2018 19:11:30 -0400 Rik wrote: > On 6/25/2018 17:52, Wolfgang Schuster wrote: > > \startmode[ebook] > > \setupbackend[export=yes] > > \stopmode > > > > \starttext > > > > \index{Knuth}\input knuth > > > > \index{Ward}\input ward > > > > \index{Zapf}\input zapf > > > > \startnotmode

Re: [NTG-context] latest beta and \seeindex

2018-06-25 Thread Alan Braslau
"Mathematics is the art of giving the same name to different things. It is enough that these things, though differing in matter, should be similar in form, to permit their being, so to speak, cast in the same mold. When the language has been carefully chosen, one is surprised to discover that all p

Re: [NTG-context] bidi in footnotes

2018-06-21 Thread Alan Braslau
On Thu, 21 Jun 2018 06:20:45 -0600 Idris Samawi Hamid ادريس سماوي حامد wrote: > Many thanks. Question: Is this use of setups now the "official" or > preferred way to handle footnote typography options? On the surface, > it appears to be overkill. For the declaration > > \setupdirections[bidi=g

Re: [NTG-context] Questions to PDF/A compliant documents: missing ICC files?

2018-06-18 Thread Alan Braslau
On Mon, 18 Jun 2018 17:20:15 +0200 Tomas Hala wrote: > Hi all, > > at http://wiki.contextgarden.net/PDF/A I found the following: > > " > In ConTeXt mkiv, in order to create such a compliant PDF/A file, one > can do as follows: first install (or check that they are present) the > following c

Re: [NTG-context] xml, language, btx problems

2018-06-17 Thread Alan Braslau
On Sun, 17 Jun 2018 19:52:35 +0200 "Thomas A. Schmitz" wrote: > However, this implies a \starttext. And the btxdefinitions need to be > loaded before \starttext, or so it seems. Thomas, Why would the definitions need to be loaded before \starttext? The bibliographic data can be loaded independ

[NTG-context] 12th ConTeXt Meeting (2018)

2018-06-15 Thread Alan Braslau
Gentle ConTeXt user, * Do you still struggle with lua? (I do, because it is magic and mysterious) * Are you baffled by MetaPost? (because MetaPost is beautiful and particular) * Are you itching to get Hans to fix this or fix that? (or are you willing to learn what you are doing wrong) *

Re: [NTG-context] \seeindex with subentries

2018-06-08 Thread Alan Braslau
This has been reported before... BTW, how should cat+Siamese be formatted? cat 1 Burmese 1 obese, see Siamese or cat 1 Burmese 1 obese, see cat, Siamese Clearly the second case would be needed for \seeindex{pet+obese}{cat+Siamese} with pet obese, see cat, Siamese Alan On Fri, 8

Re: [NTG-context] How to scale math with text?

2018-06-05 Thread Alan Braslau
jan wrote: > On Mon, 4 Jun 2018, Alan Braslau wrote: > > > On Tue, 5 Jun 2018 10:37:12 +1200 > > Henri Menke wrote: > > > >> Dear list, > >> > >> probably I'm just missing something obvious. How can I scale the > >> math font s

Re: [NTG-context] How to scale math with text?

2018-06-04 Thread Alan Braslau
On Tue, 5 Jun 2018 10:37:12 +1200 Henri Menke wrote: > Dear list, > > probably I'm just missing something obvious. How can I scale the > math font size to match the text font size locally? In the following > MWE text is scaled to 10pt but math still appears at 12pt. > > \starttext > {\tfx ABC

Re: [NTG-context] metafun: error when I call the same function twice consecutively.

2018-06-01 Thread Alan Braslau
On Fri, 01 Jun 2018 20:29:41 +0900 Jeong Dal wrote: > After inserting a line “save x, y;”, it works. This is also defined as "clearxy ;" For those learning MetaPost, simplifying, z is defined as "(x,y)" so one can write z = (a,b) ; This is an EQUATION in MetaPost (x,y) = (a,b) ;

Re: [NTG-context] question about MP drawing with dir

2018-05-24 Thread Alan Braslau
On Thu, 24 May 2018 21:01:59 +0200 Pablo Rodriguez wrote: > dir seems magic to me. I don’t understand how it works, not even how > it can be used for drawing not having an origin. All MP drawings have an origin (0,0). (dir angle) returns a pair on a unit circle surrounding the origin, i.e. (cos

Re: [NTG-context] question about followtext in MP

2018-05-24 Thread Alan Braslau
On Thu, 24 May 2018 18:11:05 +0200 Pablo Rodriguez wrote: > paging through the manuals, Metafun seems easier than MetaPost. > > I think it will take me a while to understand the basics of it. Metafun is an extension to MetaPost, providing some useful tools and improving on some "standard" MetaP

Re: [NTG-context] Defining command with optional and mandatory arguments

2018-05-24 Thread Alan Braslau
On Thu, 24 May 2018 11:24:34 +0200 Christoph Reller wrote: > Thank you Hraban for pointing me to the wiki. I was aware of this page > but it contains only the case of mandatory arguments in curly braces > {} not in brackets []. One must *not* confuse with the LaTeX convention where "mandatory" a

Re: [NTG-context] question about followtext in MP

2018-05-23 Thread Alan Braslau
On Wed, 23 May 2018 21:06:42 +0200 Pablo Rodriguez wrote: > On 05/23/2018 07:19 PM, Alan Braslau wrote: > > On Wed, 23 May 2018 18:40:14 +0200 Pablo Rodriguez wrote: > >> > >> I have tried to add the shifted option to the path definition and > >> drawing a

Re: [NTG-context] question about followtext in MP

2018-05-23 Thread Alan Braslau
On Wed, 23 May 2018 18:40:14 +0200 Pablo Rodriguez wrote: > I have the following sample: > > \starttext > \edef\TextInside{Just follow the tokens} > \startMPpage > path p ; p := reverse halfcircle scaled .6TextWidth; > path q ; q := halfcircle rotatedaround (origin, 180) >

Re: [NTG-context] question about followtext in MP

2018-05-23 Thread Alan Braslau
On Wed, 23 May 2018 18:05:07 +0200 Hans Hagen wrote: > > Is there any way to set origin to another value than (0, 0) in MP? > > > > I realize it might sound weird, but it would make things easier in > > an example that I’m working on. > redefining origin is a bad idea (don't expect help if you

Re: [NTG-context] question about followtext in MP

2018-05-23 Thread Alan Braslau
On Wed, 23 May 2018 17:50:27 +0200 Pablo Rodriguez wrote: > Is there any way to set origin to another value than (0, 0) in MP? What does this mean, mathematically that is? Of course, you can always shift an image anywhere (or in general apply any transformation), thus effectively changing the o

Re: [NTG-context] Trim blank space of a PDF page

2018-05-23 Thread Alan Braslau
Do these tools work vectorally, that is identify the drawing extent and adjust the boundingbox appropriately, or do they (especially gs) convert to an image and then crop? I use MP to read the pdf and then crop, but to a fixed closed path. The problem here appears to seek an autocrop. Alan On W

Re: [NTG-context] \vfrac (math mode)

2018-05-22 Thread Alan Braslau
On Tue, 22 May 2018 14:30:16 -0400 (EDT) Aditya Mahajan wrote: > On Tue, 22 May 2018, Alan Braslau wrote: > > > \Unskewed is undefined/unrecognized. > > It is \Uskewed (not\Unskewed). > > Aditya My typo! Also, requires extra braces: \def\vfrac#1#2{{{#1} \

Re: [NTG-context] \vfrac (math mode)

2018-05-22 Thread Alan Braslau
Hi Massi, \Unskewed is undefined/unrecognized. Enabling Opentype math (somehow) or perhaps an experimental version of luatex is needed? Alan On Tue, 22 May 2018 18:29:30 +0200 MF wrote: > Hi Alan, try this: > > \def\vFrac#1#2{#1 \Uskewed / #2} > > \starttext > $\frac{2_1}{m}$ > > ${2_1 \Us

[NTG-context] \vfrac (math mode)

2018-05-21 Thread Alan Braslau
Is there a version of the vulgarfraction that works in math mode? MWE: \starttext $\vfrac{2_1}{m}$ \stoptext Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : n

Re: [NTG-context] table and tabulate "negative" extra spacing

2018-05-21 Thread Alan Braslau
On Mon, 21 May 2018 15:47:41 -0400 (EDT) Aditya Mahajan wrote: > On Mon, 21 May 2018, Alan Braslau wrote: > > > Hello, > > > > In \starttable and \starttabulate, one can add extra blank space > > between rows using \TB[...]. > > > > Is there some

[NTG-context] table and tabulate "negative" extra spacing

2018-05-21 Thread Alan Braslau
Hello, In \starttable and \starttabulate, one can add extra blank space between rows using \TB[...]. Is there some way to add "negative" spacing, that is to tighten or reduce the spacing between any two rows? Thanks, Alan _

Re: [NTG-context] Including part of a program source file

2018-04-21 Thread Alan Braslau
Can't one also use matching strings in the range={,}, (with the command \typefile)? Alan On Sat, 21 Apr 2018 17:29:58 +0200 Wolfgang Schuster wrote: > The verbatim commands have a range key which let you select parts of > the code, > you can use line numbers to include a small block (e.g. rang

[NTG-context] numberstopper in \setupcaptions

2018-04-19 Thread Alan Braslau
Hello list members, I am not sure how to achieve the following functionality: Using \startplacefigure, I would like to place a number stopper *only* when the caption text is non-empty, i.e. Figure 1 Figure 2: A cow This would be achieved through \setupcaption [figure] using numberstopper= I b

Re: [NTG-context] columnset + floats = bad

2018-04-16 Thread Alan Braslau
Hans points out that you need to use: \setuplayout [grid=yes] with columnsets (and floats). You can also try "pagecolumns", yet another mechanism, each has its own charm. ;-) Alan On Tue, 17 Apr 2018 12:59:46 +1200 Henri Menke wrote: > Dear list, > > I wanted to make a conference poster in

Re: [NTG-context] \setupfloatcaption align=

2018-04-12 Thread Alan Braslau
On Thu, 12 Apr 2018 18:11:08 +0200 Hans Hagen wrote: > On 4/12/2018 5:54 PM, Alan Braslau wrote: > > On Thu, 12 Apr 2018 10:09:58 +0200 > > Hans Hagen wrote: > > > >> tolerance in text/par alignment is just that: adding tolerance and > >> it is bou

Re: [NTG-context] \setupfloatcaption align=

2018-04-12 Thread Alan Braslau
On Thu, 12 Apr 2018 10:09:58 +0200 Hans Hagen wrote: > tolerance in text/par alignment is just that: adding tolerance and it > is bound to align and it only kicks in in par building and there is > not always a par involved Why does a float caption not build a paragraph? Does a \framed sometimes

Re: [NTG-context] \setupfloatcaption align=

2018-04-11 Thread Alan Braslau
On Wed, 11 Apr 2018 22:41:41 +0200 Hans Hagen wrote: > > Question2: What is going on with \setupfloatcaption ? > some heuristics to determine the best width ... so that you still get > a reasonable caption with very narrow figures and not excessive > captions with too wide figures and when poss

[NTG-context] \setupfloatcaption align=

2018-04-11 Thread Alan Braslau
Hello list, According to the interface files (texmf-context/tex/context/interface/mkiv) \setupfloatcaption takes an align= parameter (inherits from \setupalign). Additionally, it suggests that the location= parameter can take the keywords tolerant, verytolerant and stretch. None of this appears t

Re: [NTG-context] Build for Alpine Linux

2018-04-10 Thread Alan Braslau
On Tue, 10 Apr 2018 11:05:12 + Brian Hunt wrote: > from a code maintenance and testing > perspective I'd be more concerned about a regression or > misinterpretation to an unescaped carat that breaks the detection on > zsh Doesn't *everybody* use zsh? ;-)

Re: [NTG-context] Saving Metafun Graphic for use outside ConTeXt

2018-04-05 Thread Alan Braslau
On Thu, 5 Apr 2018 15:28:34 +0100 Keith McKay wrote: > I use a mac-mini and it seems that mupdf, of which mutools is part > off, does not have a macOS version, or I would have to build from > source. However it looks like I can use Inkscape with a wee bit > thought to do pretty much the same. mu

Re: [NTG-context] BTX subsystem fubar, borked, failing with current (2018-04-02) beta

2018-04-03 Thread Alan Braslau
On Tue, 3 Apr 2018 16:07:52 -0400 Rik Kabel wrote: > Hmmm. Not here. Log attached. Puzzling lines: > > └─► grep "^publications" publications-quick-example.log > publications    > adding bib data to set 'default' from source > 'C:/ConTeXt/tex/texmf-context/doc/context/sources/general/manuals/pub

Re: [NTG-context] BTX subsystem fubar, borked, failing with current (2018-04-02) beta

2018-04-03 Thread Alan Braslau
On Tue, 3 Apr 2018 14:52:49 -0400 Rik Kabel wrote: > MWE from page 4 of mkiv-publications (same example found at in the > Garden ) produces: > > with an empty bibliography. > > I get similar results with other documents that processed cleanly in

Re: [NTG-context] Circled text in metapost

2018-04-02 Thread Alan Braslau
This is very easy to do in MetaPost, but you should not expect the mailing list to design your graphic for you. Alan On Mon, 2 Apr 2018 19:21:05 +0200 Gerhard Kugler wrote: > Perhaps it is better if I send the final graphic which I have > prorammed with the programming langguage "logo". See at

Re: [NTG-context] Circled text in metapost

2018-04-02 Thread Alan Braslau
On Mon, 2 Apr 2018 15:16:11 +0200 Hans Hagen wrote: > \useMPlibrary[txt] > > \starttext > > \startuseMPgraphic{followtokens} > path RotPath ; RotPath := halfcircle scaled 7cm rotated 180 ; > for i=1 upto 6 : > draw halfcircle scaled (i*cm) rotated 180 ; > endfor ; > \sto

Re: [NTG-context] Circled text in metapost

2018-03-30 Thread Alan Braslau
Hello, luatex includes the MetaPost library MPlib, so MetaPost code is called and then injected into the output stream. As a user, it is useful to know that MP is in fact called in two passes, thus twice, and this can have some unexpected consequences when not programmed cleanly. Global variable s

Re: [NTG-context] Circled text in metapost

2018-03-29 Thread Alan Braslau
On Thu, 29 Mar 2018 12:43:56 +0200 Gerhard Kugler wrote: > One misunderstanding made by my post: I want to write the text curved > as a (half-)circle. Take a look at the Metafun manual. Alan ___ If your question is

Re: [NTG-context] export breaks float placement

2018-03-04 Thread Alan Braslau
On Sun, 4 Mar 2018 13:51:39 +0100 Henning Hraban Ramm wrote: > > normally you will run like "context --mode=export > > --result=myexport" or so where you wrap settings specific to an > > export in modes > > I (can) run several "results" for most of my projects, e.g. lowres, > print res, impose

Re: [NTG-context] export breaks float placement

2018-03-03 Thread Alan Braslau
On Sat, 3 Mar 2018 10:47:52 -0500 (EST) Aditya Mahajan wrote: > On Sat, 3 Mar 2018, Henning Hraban Ramm wrote: > > > And I can’t accept that the option of exporting to XML would (more > > or less) drastically and needlessly change the print layout! At > > least _please_ make it an option! > >

Re: [NTG-context] export breaks float p

2018-02-27 Thread Alan Braslau
On Tue, 27 Feb 2018 15:41:41 +0100 Henning Hraban Ramm wrote: > Try to compile this with and without the first line: > > > \setupbackend[export=yes] > > \starttext > > \input tufte > \placefigure[right]{}{% > \externalfigure[hacker][width=.33\textwidth]% > }% > \input tufte > \input tufte >

Re: [NTG-context] Learning how to use \setupbtxrendering

2018-02-18 Thread Alan Braslau
On Sun, 18 Feb 2018 20:33:37 +0100 Wolfgang Schuster wrote: > > Rik Kabel <mailto:cont...@rik.users.panix.com> > > 18. Februar 2018 um 20:22 > > On 2018-02-18 12:07, Alan Braslau wrote: > >> On Sun, 18 Feb 2018 11:58:40 -0500 > >> Rik Kabel wrote: &g

Re: [NTG-context] Learning how to use \setupbtxrendering

2018-02-18 Thread Alan Braslau
On Sun, 18 Feb 2018 19:23:25 +0100 Hans Hagen wrote: > On 2/18/2018 7:07 PM, Rik Kabel wrote: > > On 2018-02-18 12:23, Thomas A. Schmitz wrote: > >> On 02/18/2018 06:07 PM, Alan Braslau wrote: > >>> title={The Cambridge Companion to {\em Ulysses}}, > >>

Re: [NTG-context] Learning how to use \setupbtxrendering

2018-02-18 Thread Alan Braslau
On Sun, 18 Feb 2018 11:58:40 -0500 Rik Kabel wrote: > Indeed, it is hard to imagine a BibTeX file devoid of such markup. > How would one indicate the (reverse) emphasis of a quoted book title, > as in /The Cambridge Companion to /Ulysses, except by indicating the > emphasis of "Ulysses" and letti

Re: [NTG-context] Learning how to use \setupbtxrendering

2018-02-17 Thread Alan Braslau
HANS: there is one specific comment for you, below. On Sat, 17 Feb 2018 15:27:03 +0100 Otared Kavian wrote: > Dear all, > > I am in the process of learning how to use the bibliography mechanism > in mkiv, and I would lik eto understand the meanings of the various > parameters in the command: >

Re: [NTG-context] italic correction after math

2018-02-14 Thread Alan Braslau
On Wed, 14 Feb 2018 10:12:22 +0100 Ulrike Fischer wrote: > > ⟂ U+27C2 \perp, for example. This is a "show-stopper" for me. > > Works ok for me on latex + windows: > > \documentclass{article} > \usepackage{unicode-math} > \setmathfont{Cambria Math} > \begin{document}\pagestyle{empty} > $ 2

Re: [NTG-context] italic correction after math

2018-02-13 Thread Alan Braslau
On Wed, 14 Feb 2018 00:13:16 +0100 Hans Hagen wrote: > > Cambria is missing math characters... > really? which ones (that the others do have .. afaik gyre have some > less than cambria) ⟂ U+27C2 \perp, for example. This is a "show-stopper" for me. It does NOT get reported by \enabletrackers [fo

Re: [NTG-context] italic correction after math

2018-02-13 Thread Alan Braslau
On Tue, 13 Feb 2018 16:26:10 +0100 Hans Hagen wrote: > (so in practice for serious math i only use cambria or lucida) Cambria is missing math characters... ___ If your question is of interest to others as well, pleas

Re: [NTG-context] Spurious space in \definestartstop

2018-01-30 Thread Alan Braslau
Might I add that the use of a command containing spaces in its name is spurious. Try: \definestartstop[spuriusspacea] \startspuriusspacea ... \stopspuriuspsacea, and then come up with a better name! Alan On Tue, 30 Jan 2018 21:24:41 +0100 Wolfgang Schuster wrote: > > Henri Menke

[NTG-context] bold formulas

2018-01-29 Thread Alan Braslau
How to display a bold formula (here Bragg's law): \starttext \startformula \bf 2d\sin θ_n = nλ \stopformula \stoptext The problem is that \sin is not bold. Suggestions on better practice? Alan ___ If

Re: [NTG-context] Support for musl

2018-01-21 Thread Alan Braslau
On Mon, 22 Jan 2018 09:49:49 +1300 Henri wrote: > In that process I noticed that the setuptex script doesn't > have a shebang but requires bash compatibility.  Could you please add > > #!/bin/bash > > to the script as the very first line? NO Nothing in it should be BAsh requiring, so this

Re: [NTG-context] Labels and Enumerations

2018-01-13 Thread Alan Braslau
How about: \setupitemize[each][text][before=] Alan On Sat, 13 Jan 2018 16:17:54 -0500 Rik Kabel wrote: > I would like to request the restoration of labels (\definelabel) to > full citizenship in MKIV. While enumerations are more flexible in > many ways, they cannot replace one particular use of

Re: [NTG-context] xtables: rowwise, columnwise, and cellwise opera

2018-01-07 Thread Alan Braslau
On Sun, 07 Jan 2018 14:13:11 +0100 Wolfgang Schuster wrote: > > Reality does not match the manual page you quated. > > I recommend that you test before you send out manual pages which > > are not accurate with the actual processing. > > The description for the \startxcell command was written t

Re: [NTG-context] xtables: rowwise, columnwise, and cellwise opera

2018-01-06 Thread Alan Braslau
ot; wrote: > > No it wont compile with two groups. It takes the second as content. > It may be a version difference. But it likewise would not work as is > for me with puting the key=value into the 1st bracket pair. > > Version parsing difference? > > Alan Braslau

Re: [NTG-context] xtables: rowwise, columnwise, and cellwise operations

2018-01-05 Thread Alan Braslau
No, in ConTeXt one NEVER, EVER mixes key=value lists with simple keywords (parsing would otherwise be very less efficient). The feature to be able to declare a "namespace" (such as the one called "suffix") having particular values of its parameters is really powerful. Think of it as "xtable:suffix

Re: [NTG-context] \vec{} arrow length?

2017-12-27 Thread Alan Braslau
On Wed, 27 Dec 2017 22:44:50 +0100 Hans Hagen wrote: > On 12/27/2017 7:01 PM, Alan Braslau wrote: > > Why is the \vec{} arrow too short in some cases? > > Compare $\vec{X}$ to $\vec{Y}$. > > > > The MWE below looks wrong in the default font > > and is

[NTG-context] \vec{} arrow length?

2017-12-27 Thread Alan Braslau
Why is the \vec{} arrow too short in some cases? Compare $\vec{X}$ to $\vec{Y}$. The MWE below looks wrong in the default font and is even uglier when pagella is used. Alan %\setupbodyfont [pagella] \starttext $\vec{X}$ vs. $\vec{Y}$ \stoptext __

Re: [NTG-context] Module for Markdown: any volunteer to make a ConTeXt interface?

2017-12-24 Thread Alan Braslau
On Sun, 24 Dec 2017 16:01:27 +0100 Gour wrote: > On Sat, 23 Dec 2017 15:04:35 -0700 > Alan Braslau wrote: > > > This analysis is not quite correct. > > Thank you for your input. > > > I use the "bibliography" subsystem as a general database

Re: [NTG-context] Module for Markdown: any volunteer to make a ConTeXt interface?

2017-12-23 Thread Alan Braslau
This analysis is not quite correct. The mkiv bibliography system is not rigid at all, in fact it is eminently configurable. However, the APA specification that is programmed is rigidly adhered to, and it is up to the responsibility of the user to configure any desired deviations. The outstanding

Re: [NTG-context] \listfigures in context..

2017-12-16 Thread Alan Braslau
AKA \placelistoffigures [criterium=all] Alan On Sat, 16 Dec 2017 18:26:10 +0100 Otared Kavian wrote: > Hi John, > > You are maybe looking for > > \placelist[figure] > > Best regards: OK > > > > On 16 Dec 2017, at 18:13, John Culleton > > wrote: > > > > > > Latex has a \llistfigures co

Re: [NTG-context] \cite not working with notes in xtables

2017-12-12 Thread Alan Braslau
Michael, Hans seems to have fixed this problem, which was an obscure lua issue having to do with collecting references interacting badly with trial typesetting, as is done in xtables. The correction should make it to the beta soon. Alan On Tue, 5 Dec 2017 21:06:59 +0100 Michael Eidenbenz wrote

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-06 Thread Alan Braslau
On Wed, 06 Dec 2017 23:32:45 +0100 Wolfgang Schuster wrote: > You’re using the command \cornflowerbluein in your setups (probably > for the header or footer) > to change the color of the page number but ConTeXt doesn’t create > individual commands > anymore for colors which are loaded from the c

Re: [NTG-context] \cite not working with notes in xtables

2017-12-05 Thread Alan Braslau
Hans, Including the second \caption (note) leads to: publications> no entry 'tufte' found in dataset 'bib' publications> no entry 'tufte' found in dataset 'bib' Strange... Alan On Tue, 5 Dec 2017 21:06:59 +0100 Michael Eidenbenz wrote: > Hello List, > > I have this MWE that reflects

Re: [NTG-context] Adjust rendering of BibTeX entries

2017-11-23 Thread Alan Braslau
You are trying to use the obsolete mkii bibtex module. The documentation for mkiv-publications is included with the distribution. Alan On Thu, 23 Nov 2017 12:29:07 +0100 Dr. Thomas Möbius wrote: > Dear list, > > I would like to render BibTeX-entries with the provided > APA-style, however, in

Re: [NTG-context] Problem with \seeindex and two + entries

2017-11-15 Thread Alan Braslau
On Wed, 15 Nov 2017 09:55:04 -0700 Alan Braslau wrote: > Hello, > > I wish to confirm the following "bug" (or feature request). > > Alan > > > https://mailman.ntg.nl/pipermail/ntg-context/2017/087966.html > > > ConTeXters, > > > > An

[NTG-context] Problem with \seeindex and two + entries

2017-11-15 Thread Alan Braslau
Hello, I wish to confirm the following "bug" (or feature request). Alan https://mailman.ntg.nl/pipermail/ntg-context/2017/087966.html > ConTeXters, > > An index register entry with two + components does not get set > properly. With the following example, the text “/see Mmm+Plus/” > should be

Re: [NTG-context] Reproducible PDF output

2017-11-12 Thread Alan Braslau
On Sun, 12 Nov 2017 09:37:33 +0100 Henning Hraban Ramm wrote: > Am 2017-11-11 um 21:06 schrieb Pablo Rodriguez : > > > I always use contextjit instead of context, because it’s faster. > > > > Other than speed, I think there is no other difference. > > Sometimes it has its own bugs, like at t

Re: [NTG-context] problems with XML export

2017-11-12 Thread Alan Braslau
Hans made some changes a while ago. Enabling export, floats are handled differently, notably side floats become location=here. Hans tells me that this derives from how the xml export is constructed, and this makes handling certain bugs with the export possible. I have urged Hans to consider, if t

Re: [NTG-context] How to remove that "Oxford Comma" in a bibliography?

2017-11-08 Thread Alan Braslau
\setupbtx [apa:list:author] [separator:3={\btxnobreakspace\textampersand\space}] % last of a list (But note that the "Oxford" comma is now not only officially accepted, but it is also part of the APA specification, often not fully respected.) Alan On Wed, 8 Nov 2017 13:49:23 +000 Tobias Be

Re: [NTG-context] Two requests for new btx subsystem

2017-10-30 Thread Alan Braslau
On Mon, 30 Oct 2017 10:00:24 -0400 Rik wrote: > The most recent update (ConTeXt  ver: 2017.10.29 15:44 MKIV beta > fmt: 2017.10.30  int: english/english) has broken \cite processing. I > now get the author name (poorly formatted) instead of the translator, > and instead of the title, with the ex

Re: [NTG-context] [CG-members] Free fonts for ConTeXt discussion @ Maibach meeting

2017-10-20 Thread Alan Braslau
On Fri, 20 Oct 2017 10:29:43 +0200 Hans Hagen wrote: > % quite old feature > > \enabletrackers[fonts.missing=replace] > > % or (deleting them) > > \enabletrackers[fonts.missing] This is *really* useful. Some missing glyphs can be corrected by putting certain characters in math mode (surrounde

[NTG-context] ANNOUNCEMENT: ConTeXt "nodes" module (in core).

2017-10-15 Thread Alan Braslau
Gentle ConTeXt users: Following the presentation made at the ConTeXt users' meeting in September in Maiburg, Germany, we are pleased to announce the introduction of a new ConTeXt module for the drawing of nodal diagrams. Thanks to the efforts of Hans Hagen, it has been integrated into the core

Re: [NTG-context] compiling the mkiv-publications manual

2017-10-04 Thread Alan Braslau
> On 4 Oct 2017, at 15:06, luigi scarso wrote: > > On Wed, Oct 4, 2017 at 10:55 PM, Alan Braslau > wrote: >> You must not be looking at the latest version. The latest version of the manual source, as f

Re: [NTG-context] Troubleshooting pdf bookmarks

2017-10-04 Thread Alan Braslau
> On 29 Sep 2017, at 00:24, Pablo Rodriguez wrote: > >>> >>> Does the latest version of MuPDF show the bookmarks? >> >> mupdf shows bookmarks? > > MuPDF-1.11 displays bookmarks (see attached image). > > This is the GL version, I don’t know how to do that in the X11 version > (I don’t even kn

Re: [NTG-context] flowwcharts etc.

2017-10-04 Thread Alan Braslau
Besides the charts module, I am working on a "nodes" (MetaPost) module, presented at the last ConTeXt meeting. The documentation is almost completed. Alan > On 30 Sep 2017, at 13:50, Hans Hagen wrote: > > On 9/30/2017 8:57 PM, John Culleton wrote: >> A decade or so ago I read about a program c

Re: [NTG-context] compiling the mkiv-publications manual

2017-10-04 Thread Alan Braslau
You must not be looking at the latest version. > On 4 Oct 2017, at 04:29, luigi scarso wrote: > >> tex error > tex error on line 58 in file publications- >> database.tex: ! Undefined control sequence >> >> l.58 \startBTX > hm it seems that it's defined only if atpragma mode is enabled. _

Re: [NTG-context] Troubleshooting pdf bookmarks

2017-09-28 Thread Alan Braslau
On Thu, 28 Sep 2017 13:55:29 +0200 Pablo Rodriguez wrote: > > As most of my > > customers are likely to use Acrobat Reader, I'm not really worried > > about the bookmarks not showing up in other readers. Why SumatraPDF > > shows bookmarks in test environment, but not in the proper one is an > > e

Re: [NTG-context] Metafun "Structure-Trees"

2017-09-13 Thread Alan Braslau
What exactly do you mean? (we can build tree diagrams with Metapost) Alan > On 13 Sep 2017, at 12:43, Ursula Hermann wrote: > > Hello! > > My question is: Is it possible to make „Structure Trees“ for English > Sentences with „Categorial Grammar“? Sorry, I have no example. > > Thanks > >

[NTG-context] How to "terminate" or break from a side float?

2017-09-04 Thread Alan Braslau
Hi, Below is a MWE achieving the desired behavior, but is a messy solution. Given a side float, how can one "terminate" filling text or break to after the side float? There *must* be a very simple and proper command to do this, but I have not found it. Alan \starttext \startplacefigure [loc

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-08-20 Thread Alan Braslau
Perhaps try: \automigrateinserts this is needed to handle footnotes within a box. Alan On Mon, 21 Aug 2017 11:15:49 +1000 Brian Ballsun-Stanton wrote: > Hey folks, trying to be a good citizen, I added (And quoted) this > message onto the wiki: > > http://wiki.contextgarden.net/TABLE#Footnote

Re: [NTG-context] (again) issues with typing

2017-08-16 Thread Alan Braslau
On Wed, 16 Aug 2017 23:45:30 +0200 Pablo Rodriguez wrote: > I have to explain to newcomers (in my Spanish introduction to ConTeXt) > what comments are and multiple lines don’t affect the final PDF > document. For such a document, it can be very useful to put code snippets into buffers and then u

Re: [NTG-context] (My) problem with percent sign in URLs -- about Wiki

2017-08-15 Thread Alan Braslau
Is there not some way to "protect" a literal string to be taken verbatim where no character be active, for it is messy to have to "clean-up" data such as a url. Alan On Tue, 15 Aug 2017 19:07:54 +0200 Wolfgang Schuster wrote: > > Are there some other predefined "\letterxxx" commands? > \lett

Re: [NTG-context] Bibliography in MKIV, custom rendering

2017-08-13 Thread Alan Braslau
On Sat, 12 Aug 2017 23:13:08 -0400 Rik Kabel wrote: > So organization will simply become a stand-in for author but with > different parsing rules. A book will require an author or editor or > organization. The first two will be parsed for surname, given name, > and so on, while the last will no

Re: [NTG-context] Bibliography in MKIV, custom rendering

2017-08-12 Thread Alan Braslau
On Fri, 11 Aug 2017 14:58:53 -0400 Rik Kabel wrote: > The lack of either an author or an editor is currently flagged in > ConTeXt as an error for books and perhaps other bibtex entry types as > well. Or do you mean to apply this recommendation to only the > electronic type or some other limited

Re: [NTG-context] combined / compressed / collapsed page and numbered citation references in bibliographies

2017-08-12 Thread Alan Braslau
On Sat, 12 Aug 2017 20:32:17 -0400 Rik Kabel wrote: > I noticed that in bibliographies, page indexing combines runs of two > or more pages (pp. 150­–151), as does page number compression in > registers, while it takes three or more numbered citations to cause a > similar collapse (per the MKIV-Pu

Re: [NTG-context] Interaction in bibliographies

2017-08-12 Thread Alan Braslau
On Sat, 12 Aug 2017 20:31:23 -0400 Rik Kabel wrote: > MKIV Publications > , > page 46, states: > > If interaction is active (\setupinteraction[state=start]), then > these page numbers will be hyperlinks back to the citatio

Re: [NTG-context] tilde in math

2017-08-11 Thread Alan Braslau
On Fri, 11 Aug 2017 16:15:06 +0200 Hans Hagen wrote: > Question: does anyone rely on ~ being active and a nbsp in math mode? Hi Hans, This is quite common practice in the TeX world. I have configured my text editor to highlight the utf-8 nbsp, and I use it largely in text mode. However, it is

[NTG-context] Bibliography in MKIV, custom rendering

2017-08-11 Thread Alan Braslau
Hello, You find a need to modify the rendering of the bibliography as you are misusing the bibtex data entry. Here is your example, corrected: 1) @electronic is more appropriate than @misc; 2) Apple Inc. is not a name so you should not be using author: organization is more appropriate. Note tha

Re: [NTG-context] BUG: Colour spilling in btxrendering

2017-08-09 Thread Alan Braslau
Hans has made changes to interaction in the latest beta, that I am only now starting to test. Indeed, using the APS specification in bibliographies, interaction was not limited to specific fields such as titles or urls as is intended. This will be fixed. Alan On Tue, 8 Aug 2017 23:33:19 +0200 Pa

Re: [NTG-context] Metafun: setting pen size in properties

2017-07-24 Thread Alan Braslau
On Mon, 24 Jul 2017 10:26:25 +0200 Hans Hagen wrote: > On 7/24/2017 1:40 AM, Aditya Mahajan wrote: > > Hi, > > > > Is it possible to set pen width using properties(...)? The > > following does not work (the color is set, but not the pen width): > > > > \starttext > > \startMPcode > > property p

Re: [NTG-context] Metafun: setting pen size in properties

2017-07-23 Thread Alan Braslau
withproperties is an experimental, metafun extension that appears to cover color and pre/postscripts. It could be extended to cover withpen, etc. Look at mp-mplib.mkiv. properties() returns an image object that can hold many things. The graph package does similar tricks. Alan On Sun, 23 Jul 2

Re: [NTG-context] Extensible arrows in ConTeXT

2017-07-22 Thread Alan Braslau
On Fri, 21 Jul 2017 12:31:33 +0200 Mathias Schickel wrote: > > $\xrightarrow{}{}$ > > This throws errors. Any idea why? > > > $\xrightoverleftarrow{}{33°C}$ > > This does work. Sadly it is not the arrow I want to have. MWE: \starttext $A \xrightarrow{}{} B$ \stoptext No problem here. Alan

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-15 Thread Alan Braslau
On Wed, 12 Jul 2017 19:05:26 +0200 Hans Hagen wrote: > best play with textbackgrounds > > \starttext > > \starttextbackground > \dorecurse{10}{test\footnote{tufte}: \input tufte\par} > \stoptextbackground > > \stoptext > I have found the following to be necessary when using textbackground, e

Re: [NTG-context] Extensible arrows in ConTeXT

2017-07-14 Thread Alan Braslau
On Fri, 14 Jul 2017 11:33:14 +0200 Mathias Schickel wrote: > Dear list, > > I want to typeset an extensible arrow as described in this document: > http://dl.contextgarden.net/myway/matharrows.pdf > Sadly I get errors > if I use \xrightarrow (eve

Re: [NTG-context] No cross-references in scrollmode

2017-07-13 Thread Alan Braslau
On Thu, 13 Jul 2017 11:58:24 +0200 Andreas Becker wrote: > cat source.tex | context --pipe > > Instead of the number, "??" is printed in the PDF document. Do you expect TeX to make several passes on piped input? Also, see Hans' previous answer. Alan

Re: [NTG-context] Position of standard footnotes that are set-up in floats

2017-06-12 Thread Alan BRASLAU
On Mon, 12 Jun 2017 15:46:06 +0200 Hans Hagen wrote: > > and create a footnote with the graphic's source, that I want to be > > placed as simple footnote at the bottom of the page. CTX, LuaTX do > > this just fine. ... > that's pretty hard to achieve (maybe some day) Are you sure from a styli

Re: [NTG-context] mathradical defaults to "normal", should it perhaps be "default"?

2017-06-07 Thread Alan BRASLAU
On Wed, 7 Jun 2017 18:03:35 +0200 Hans Hagen wrote: > > I have been massacred on this list for ever preferring \over to > > \frac... > > and because of the many {} you then need you get these mismatch > errors ... but, you can make > > \unexpanded\def\fakefrac#1#2{{{#1}\over{#2}}} The syntax

Re: [NTG-context] mathradical defaults to "normal", should it perhaps be "default"?

2017-06-07 Thread Alan BRASLAU
On Wed, 7 Jun 2017 17:12:44 +0200 Otared Kavian wrote: > The results are correct using \over in both cases, while the first > one is weird when using \frac and I have been massacred on this list for ever preferring \over to \frac... __

<    1   2   3   4   5   6   7   8   9   10   >