Re: [NTG-context] MetaPost Question

2015-12-06 Thread Alan BRASLAU
gt; label.top("tubular",(1.26cm,-1.1cm)); > > label.top("inside area",(1.28cm,-1.6cm)); > > label.top("($in^2$)",(1.28cm,-2.2cm)); > > > draw (3.25cm,-5cm) -- (3.25cm,0); > > drawarrow (3.25cm,-5) -- (3.25cm,0); > > drawarrow (3.25c

Re: [NTG-context] missing reference of items

2015-12-04 Thread Alan BRASLAU
you use descriptions: > > \definedescription[bibitem][title=yes] > > \definereferenceformat [bibtitle] [type=title,left={[},right={]}] > \definereferenceformat [bibpage] [type=page] > > \starttext > > \startbibitem[reference=Ramm 2015,title=Ramm 2015] > Ramm, H

Re: [NTG-context] Problem to place a label in an environment \startMPcode \stopMPcode

2015-12-31 Thread Alan BRASLAU
; > > draw for i=0 upto n-1: vert[i] .. endfor cycle withcolor red ; > > draw (0,0)--vert[0] withcolor green ; > > draw (0,0)--vert[5] withcolor green ; > > draw (0,0) --(vert[0]+vert[5])/2 dashed evenly ; > > % label.urt("C",vert[1]) ; > > > \stopMP

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

2015-12-22 Thread Alan BRASLAU
Wolfgang, Can you explain to us why it should be preferable for ConTeXt users to employ \frac12 rather than the native TeX construction {1\over 2}? I understand that the macro \frac does some additional trickery but the two constructions should *always* yield identical results (when keyed-in

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

2015-12-22 Thread Alan BRASLAU
las (as we physicists tend to abuse) also leads to ugly mathematics. Alan On Tue, 22 Dec 2015 17:30:22 -0500 Aditya Mahajan <adit...@umich.edu> wrote: > On Tue, 22 Dec 2015, Alan BRASLAU wrote: > > > Wolfgang, > > > > Can you explain to us why it should be preferable

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

2015-12-23 Thread Alan BRASLAU
On Wed, 23 Dec 2015 16:52:22 +0100 Hans Hagen wrote: > > Of course, Donald Knuth disagrees with \frac from the point of view > > of the aesthetics of the syntax. > > Are you sure he disagrees? For instance \frac {12} {34} is less code > than { {12} \over {34} } and all over

[NTG-context] natural tables and columndistance/spaceinbetween

2015-11-25 Thread Alan BRASLAU
In natural tables http://wiki.contextgarden.net/TABLE the parameters columndistance=dimension, and spaceinbetween=dimension, will set the gaps between columns and rows, respectively. Is there some way of specifying row gaps for specific rows? For example, say that I only want a gap after the

[NTG-context] \startalignment

2016-01-12 Thread Alan BRASLAU
Hello, Jean-Michel pointed out to me the following curiosity: \starttext \input tufte \startalignment[middle] \input ward \stopalignment \input tufte \stoptext The startalignment applies to the preceding text, too. Strange... I never noticed this before as I have the habit of coding

Re: [NTG-context] \startalignment

2016-01-12 Thread Alan BRASLAU
On Tue, 12 Jan 2016 21:07:38 +0100 Hans Hagen wrote: > >> The startalignment applies to the preceding text, too. Strange... > > It’s a normal behaviour for TeX, the question is should > > \startalignment end the previous paragraph or not. > > when tex breaks a paragraph into

Re: [NTG-context] Bug in command \framed

2016-01-12 Thread Alan BRASLAU
On Tue, 12 Jan 2016 21:09:47 +0100 Jannik Voges wrote: > Hello, > > > it seems that the command \framed in the newest beta (from today?) is > buggy. Minimal example: > > \starttext > \framed{bla} > \stoptext It appears that there is at present a mis-match between

Re: [NTG-context] Bug in command \framed

2016-01-12 Thread Alan BRASLAU
linux 32 and 64bit as well as freebsd 32 and 64bit should all be beta-0.87.0. Alan On Wed, 13 Jan 2016 00:07:16 +0100 Pablo Rodriguez wrote: > On 01/12/2016 10:21 PM, Hans Hagen wrote: > > [...] > > the windows version is ok (0.87.2 so really the latest from trunk) > > > > so,

Re: [NTG-context] Simple font size changes command

2016-06-12 Thread Alan BRASLAU
On Thu, 9 Jun 2016 21:47:07 + wrote: > Dear all, > > > In a simple document using only 1 font but with different sizes what > are the easiest switch commands to change font size locally ? I am > aware of \tfa, \tfx etc …. but they do not seem to size in absolute >

Re: [NTG-context] Simple font size changes command

2016-06-12 Thread Alan BRASLAU
On Sun, 12 Jun 2016 16:57:26 + wrote: > I was also a bit surprised with \tf behaviour when used inside > a scope of another one leading to 2 different sizes in output, as in > > {\tfd Foo {\tfx Bar1}} {\tfx Bar2} Baz. > > For the sake of knowledge I would be

Re: [NTG-context] Citations and links

2016-06-13 Thread Alan BRASLAU
On Mon, 13 Jun 2016 12:38:39 +0200 Nicola wrote: > When I use \cite[Author:2016], the (Author, 2016) in the output is > hyperlinked to the reference. But when I use > \cite[Author1:2016,Author2:2015], the resulting > (Author1, 2016 and Author2, 2015) is not hyperlinked.

Re: [NTG-context] Citations and links

2016-06-13 Thread Alan BRASLAU
, 13 Jun 2016 18:18:36 +0200 Nicola <nvitacolo...@gmail.com> wrote: > On 2016-06-13 14:29:37 +0000, Alan BRASLAU said: > > > On Mon, 13 Jun 2016 12:38:39 +0200 > > Nicola <nvitacolo...@gmail.com> wrote: > > > >> When I use \cite[Author:2016], the (Au

Re: [NTG-context] Flushleft formula

2016-06-16 Thread Alan BRASLAU
On Thu, 16 Jun 2016 18:18:58 -0400 Aditya Mahajan wrote: > And some stage, it will be nice to discuss the possiblility of adding > background to formulas, especially aligned formulas. something like a \setupformula

Re: [NTG-context] Latin setupmathematics

2016-06-16 Thread Alan BRASLAU
On Fri, 17 Jun 2016 01:02:48 +0200 Hans Åberg wrote: > The idea is avoiding clashes between variables and constants, like > this: > > \starttext > > \setupmathematics[default=normal] > > $푒 = ∑_{푖=1}^∞ e^{i-푖}$ > > \setupmathematics[default=italic] > > $푒 = ∑_{푖=1}^∞

[NTG-context] MetaPost and externalfigure() REQUEST FOR COMMENTS

2016-01-10 Thread Alan BRASLAU
Hello, INTRODUCTION MetaPost, in fact Metafun, has extensions to include external figures as well as typeset text. For example: \startMPcode draw externalfigure("cow") ; \stopMPcode would be the equivalent to the ConTeXt command. \externalfigure [cow] However, for historical reasons (coming

Re: [NTG-context] Binaries for Linux (warning)

2016-01-18 Thread Alan BRASLAU
On Mon, 18 Jan 2016 09:44:43 +0100 Mojca Miklavec wrote: > Hi, > > Alan now tried compiling the luatex binaries for Linux on Debian > rather than on some ancient CentOS (like he did in the past). > > In case that any Linux user experiences problems, please let

Re: [NTG-context] TeX markup in \setupinteraction for PDF metadata fields

2016-01-17 Thread Alan BRASLAU
On Sun, 17 Jan 2016 20:09:56 +0100 Wolfgang Schuster wrote: > But, if I want to use the title etc. in the title page, should I do > something like: > > \starttitlepagemakeup > \getvariable{document}{metadata:title} > \stoptitlepagemakeup > It depends, when you want

Re: [NTG-context] TeX markup in \setupinteraction for PDF metadata fields

2016-01-17 Thread Alan BRASLAU
On Sun, 17 Jan 2016 19:27:31 +0100 Wolfgang Schuster wrote: > > Kate F > > 17. Januar 2016 um 18:53 > > On 17 January 2016 at 17:00, Wolfgang Schuster > > > > I don't know, actually. In this case these are values which remain > > constant

Re: [NTG-context] Accessibility and Tagged PDF/A, Footnotes showing

2016-01-18 Thread Alan BRASLAU
On Mon, 18 Jan 2016 22:38:56 +0100 Hans Hagen wrote: > On 1/18/2016 8:26 PM, Ursula Hermann wrote: > > Hello Hans and Dr. Dominik Klein! > > > > Today I found a Thread about Accessibility from last Juli! > > > > > > I work at the University in Vienna, and I work with students,

[NTG-context] Hyphenation of chemical names

2016-02-06 Thread Alan BRASLAU
ConTeXt has troubles hyphenating chemical names, which in organic chemistry can be funny things such as N-(4-n-alkoxybenzylidene)-4’-alkylaniline. The names can get much worse... The rules for hyphenating in chemistry are well defined. Without putting specific hyphenating hints into the names

Re: [NTG-context] \usemodule[pgfplots] fails

2016-02-08 Thread Alan BRASLAU
On Mon, 8 Feb 2016 17:08:04 +0100 Mojca Miklavec wrote: > On 8 February 2016 at 16:56, Andreas Schneider wrote: > > > > FWIW, I cannot even find the module pgfplots. Apparently it is no > > longer in the modules repository (for the minimals). > > For

Re: [NTG-context] columnsets

2016-02-09 Thread Alan BRASLAU
On Tue, 9 Feb 2016 20:05:01 +0100 Hans Hagen wrote: > I'm currently reimplementing columnsets and I'm wondering how many > users there are of this mechanism. How bad is it if the more obscure > features go away and others show up. I have used and liked columnsets, so I vote for

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

2016-02-13 Thread Alan BRASLAU
On Sat, 13 Feb 2016 02:14:10 +0100 Pablo Rodriguez wrote: > I guess \em is your friend here: Yes, silly me, of course \em nests well with bold as does mathematics: \starttext This is $τεχ$. \bf This is $τεχ$. \stoptext Alan

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

2016-02-13 Thread Alan BRASLAU
On Sat, 13 Feb 2016 10:53:22 +0100 Wolfgang Schuster wrote: > There are a few font switches which change the style dependant on the > current style Thanks for this table; I wikified it (under Font Switches, of course). It mysteriously introduces \typeface, \swapface

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

2016-02-13 Thread Alan BRASLAU
On Sat, 13 Feb 2016 11:47:52 +0100 Wolfgang Schuster <schuster.wolfg...@gmail.com> wrote: > > Alan BRASLAU <mailto:alan.bras...@cea.fr> > > 13. Februar 2016 um 11:30 > > > > I wonder, though, is there anything similar to boldsmallcapitals? > > Does th

Re: [NTG-context] two issues with interactive hyperlinks (please comment)

2016-02-23 Thread Alan BRASLAU
On Tue, 23 Feb 2016 14:30:25 + Christoph Reller wrote: > (btw, footnotes will always be sort of a pain as they are > rendered in special ways, but footnotes should be forbidden anyway; > if a doc is also for screen endnotes are way better) > > I agree with you

Re: [NTG-context] Example of quality typesetting (sic.)

2016-02-22 Thread Alan BRASLAU
On Mon, 22 Feb 2016 18:46:36 +0100 Pablo Rodriguez wrote: > Good typography isn’t a software program, but a craft. (I guess... ) > > Your example scared me. My goodness! I have tried \setupalign [nothyphenated,verytolerant,stretch] % hz? \definefontfeature [nokern]

Re: [NTG-context] two issues with interactive hyperlinks (please comment)

2016-02-22 Thread Alan BRASLAU
On Mon, 22 Feb 2016 20:13:27 +0100 Hans Hagen wrote: > btw, imo docs for screen should be designed for screen (or one should > make two versions, one for screen, one for print) and footnotes > should be pop ups or roll-overs but the free acrobat alternatives are > not clever

Re: [NTG-context] two issues with interactive hyperlinks (please comment)

2016-02-23 Thread Alan BRASLAU
On Mon, 22 Feb 2016 23:54:00 +0100 Martin Schröder <mar...@oneiros.de> wrote: > 2016-02-22 21:40 GMT+01:00 Alan BRASLAU <alan.bras...@cea.fr>: > > This makes me think: Is there some "standard" way for a PDF to > > contain both versions? > > Adobe intr

[NTG-context] Example of quality typesetting (sic.)

2016-02-22 Thread Alan BRASLAU
Hello, I was dismayed to read the February newsletter published by a large University: the attached extract shows a nice example of the quality of the typesetting... It is in French, but that doesn't matter, anyone can see the result independent of the language. I share it with the ConTeXt list

Re: [NTG-context] Example of quality typesetting (sic.)

2016-02-22 Thread Alan BRASLAU
I should add that the newsletter was apparently composed using Adobe InDesign! Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] documentation sprint at 10th ConTeXt meeting

2016-01-25 Thread Alan BRASLAU
On Mon, 25 Jan 2016 17:44:09 +0100 Hans Hagen wrote: > > I would like to propose a documentation sprint at the meeting in > > Kalenberg this fall to improve the situation. > > sure, just mail an abstract to Alan (who chairs the prog committee) Documentation is an ongoing

Re: [NTG-context] ConTeXt vs Beamer

2016-01-25 Thread Alan BRASLAU
On Mon, 25 Jan 2016 21:11:06 +0100 Saša Janiška wrote: > Hello, > > I have just checked that my first post to this list was more than > 10yrs ago (end of 2002). Then I was working on some full-sized books > and ended up with LyX/LaTex. Later, had few attempts to switch to >

Re: [NTG-context] invert colors in \externalfigure

2016-01-20 Thread Alan BRASLAU
On Wed, 20 Jan 2016 17:56:53 +0100 Pablo Rodriguez wrote: > On 01/20/2016 01:19 PM, Wolfgang Schuster wrote: > >> Pablo Rodriguez 20. Januar 2016 um 13:10 > >> [...] > >> How can I invert the colors in the external figure without having > >> to edit the image file? > >> > >> Many

Re: [NTG-context] Accessibility and Tagged PDF/A, Footnotes showing

2016-01-19 Thread Alan BRASLAU
On Tue, 19 Jan 2016 09:24:58 +0100 Ursula Hermann wrote: > Yes, i know, it is because I am working with Word until now, but > would like to change to ConTeXt. If I set there a footnote, then > there comes an pop-up window with the text. The pop-up appears under

[NTG-context] 10th ConTeXt users' meeting

2016-01-19 Thread Alan BRASLAU
Happy New Years¹, fellow ConTeXt users, The 10th ConTeXt Meeting will take place on September 25-October 1, 2016 at Het Doevehuis in Kalenberg, about 35 km from Hasselt, the Netherlands. http://meeting.contextgarden.net/2016/ Having been *designated* as a member (and chairman!) of the program

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

2016-02-12 Thread Alan BRASLAU
Hi, Basic font switches are bold (\bf), italic (\it), slanted (\sl), ... and one can have bolditalic (\bi), boldslated (\bs), etc. We also have style=bold, style=slanted, etc. Is there some way to manipulate font switches so that \bold{This text is \slated{bold}} for example, would put the word

Re: [NTG-context] horizontal list of sections/topics?

2016-02-12 Thread Alan BRASLAU
On Fri, 12 Feb 2016 23:36:47 +0100 "Thomas A. Schmitz" wrote: > Hi, > > this is a quick question before I start coding: for my next > presentation style, I would like to have a list of topics with the > current topic highlighted. There are already two styles in >

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-16 Thread Alan BRASLAU
e a reference math should appear rather as displayed math. Alan -- Alan Braslau CEA DSM-IRAMIS-SPEC CNRS UMR 3680 Orme des Merisiers 91191 Gif-sur-Yvette cedex FRANCE tel: +33 1 69 08 73 15 fax: +33 1 69 08 87 86 mailto:alan.bras...@cea.fr __

Re: [NTG-context] tip

2016-02-16 Thread Alan BRASLAU
On Tue, 16 Feb 2016 11:30:50 +0100 Hans Hagen wrote: > Can we get a guide? > > some day ... but your observations are quite ok ... You could Wikify it! ;-) Alan ___ If your question is of

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-16 Thread Alan BRASLAU
On Tue, 16 Feb 2016 17:20:04 +0100 Hans Hagen <pra...@wxs.nl> wrote: > On 2/16/2016 4:59 PM, Marco Patzer wrote: > > On Tue, 16 Feb 2016 08:21:42 -0700 > > Alan BRASLAU <alan.bras...@cea.fr> wrote: > > > >> I do note that the VIM syntax highli

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-17 Thread Alan BRASLAU
On Wed, 17 Feb 2016 10:44:43 +0100 Hans Hagen wrote: > also, but don't tell alan, there is this: > > \m[i:tight]{} > > i:default, i:tight, i:half, i:fixed I spy... I would suggest that one would set (inline) math spacing and other options (like \mathscriptsmode) globally

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-17 Thread Alan BRASLAU
On Wed, 17 Feb 2016 13:24:53 -0500 Aditya Mahajan wrote: > I am curious to know if there is ANYONE who types in a lot of math > and regularly uses \m{...} or \math{...}. I still use $$ and use > \math{..} or \mathematics{...} only when generating output from lua > code:

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-17 Thread Alan BRASLAU
On Thu, 18 Feb 2016 00:40:39 +0100 Pablo Rodriguez wrote: > Excuse me, Alan, this is exclamation in Spanish (and only in Spanish). Bigre ! Of course, I know that. > Just out of curiosity, why do you think he should have chosen that? I was attempting to make some fun with this

[NTG-context] placefigure and listoffigures

2016-03-15 Thread Alan BRASLAU
Hi, How can one suppress the addition of a placed figure to the listoffigures? In the following MWE, list=no places "no" as an alternative to the (blank) title. Alan \starttext \startplacefigure [location=inmargin,number=no,list=no] \externalfigure [cow] [width=1cm] \stopplacefigure \input

Re: [NTG-context] placefigure and listoffigures

2016-03-15 Thread Alan BRASLAU
On Tue, 15 Mar 2016 23:01:46 +0100 Wolfgang Schuster wrote: > \startplacefigure [location={inmargin,none}] Thank you, clean and elegant (and much easier than Willi's suggestion). The syntax is a bit magical, though ("location" of the caption). Alan

Re: [NTG-context] Are nested sections possible?

2016-03-11 Thread Alan BRASLAU
On Fri, 11 Mar 2016 09:36:01 +0100 Pablo Rodriguez wrote: > Sorry, Mica, but which is the gain in nesting sections (whether > possible or not) over using subsections and subsubsections? > > I can hardly imagine the sense in the point you’re making. (Sorry, it > must be my fault.)

Re: [NTG-context] Are nested sections possible?

2016-03-15 Thread Alan BRASLAU
the test attached - only the case 3 works universally with the > \start-\stopstructurelevel; any mixing of sectioning styles doesn't > yield a desired result. > > Best regards, > > Lukas > > > On Sat, 12 Mar 2016 01:53:18 +0100, Alan BRASLAU > <alan.bras...@cea.fr>

Re: [NTG-context] PDF Signature Fields

2016-03-09 Thread Alan BRASLAU
One has to be EXTREMELY careful with these "features". Currently, there are so-called PDF forms, but they are far from fully functional. I suspect that the specifications are not clear and are not respected in any case. I will give a concrete example: The American Tax agency, IRS, provides a

Re: [NTG-context] Are nested sections possible?

2016-03-15 Thread Alan BRASLAU
On Tue, 15 Mar 2016 18:10:27 +0100 "Thomas A. Schmitz" wrote: > But don't let anyone > tell you that explicit names are "antiquated." They make TeX or xml > source documents so much more readable! And when you have to retrace > five levels of \startsectionlevels

Re: [NTG-context] new user needs help with ConTeXt installation and configuration

2016-03-09 Thread Alan BRASLAU
On Wed, 9 Mar 2016 22:04:53 +0100 L.S.-Soc wrote: > i read on TeX exchange that it's best to subscribe to this mailing > list in order to get help with ConTeXt. but since i only see advanced > stuff related posts i would like to ask politely if this is the right > place to

Re: [NTG-context] MPinstance

2016-04-07 Thread Alan BRASLAU
On Thu, 7 Apr 2016 12:14:39 +0200 Hans Hagen wrote: > On 4/7/2016 11:20 AM, dr. Hans van der Meer wrote: > > I do not understand the info in the ConTeXt wiki on setupMPinstance. > > > > The syntax is specified as \setupMPinstance[...][...,...=...,...0 > > [...] name > > format

Re: [NTG-context] \startuseMPgraphic

2016-04-11 Thread Alan BRASLAU
On Mon, 11 Apr 2016 22:10:02 +0900 Jeong Dal wrote: > BTW, if I change “orange” to “red” or “green”, it is working fine. I > think that “orange” is not the predefined color. There is no color > “orange” in the MetaFun manual either. Defined MP colors are: color black, white,

Re: [NTG-context] framedtext

2016-04-11 Thread Alan BRASLAU
Would it not be better to use ConTeXt alignment, rather than the TeX primitives \hfil and \hfill? \starttext \startframedtext[left][frame=on,offset=0pt,width=broad,align=flushleft] left \stopframedtext \startframedtext[middle][frame=on,offset=0pt,width=broad,align=middle] centered

Re: [NTG-context] Redirect compilation to another .pdf?

2016-04-09 Thread Alan BRASLAU
On Sat, 9 Apr 2016 22:11:29 +0200 Lukáš Procházka wrote: > Let's have A.tex to be compiled and an existing A.pdf which cannot be > written into, e.g. due to being open by a viewer. This is only an issue for Windows users... Alan

Re: [NTG-context] Consistent random number generation

2016-04-05 Thread Alan BRASLAU
On Tue, 5 Apr 2016 17:43:53 -0400 Aditya Mahajan wrote: > Is it possible to generate consistent random numbers across multiple > operating systems. Then they are not random! Why not save your chosen "random" paths to files? Alan

Re: [NTG-context] Square pens and dash pattern

2016-04-05 Thread Alan BRASLAU
On Tue, 5 Apr 2016 19:44:33 -0400 Aditya Mahajan wrote: > There appears to be a metapost bug with square pens and dash patterns: I confirm that dashed anything with a pensquare does not dash. Alan

Re: [NTG-context] \startuseMPgraphic

2016-04-11 Thread Alan BRASLAU
Thank you Wolfgang, this is a very good explanation. One can simplify one's code, perhaps, by defining MP colors from ConTeXt colors, as in: color orange ; orange := \MPcolor{orange} ; Then, one can use orange. There is not much point in redefining the other colors (red, green, blue,

[NTG-context] subsentences

2016-03-19 Thread Alan BRASLAU
One can obtain language-dependent marking for sub-sentences through the use of |<| this is an aside |>| or through the command \startsubsentence ... \stopsubsentence or the (depreciated?) \subsentence{...}. I have several questions, and the source code appears to hold traces of previous long

Re: [NTG-context] interaction in a chapter footer

2016-03-03 Thread Alan BRASLAU
On Thu, 3 Mar 2016 22:42:22 +0100 Hans Hagen wrote: > \startsetups chapter:footer > {\goto{\CONTEXT\ > garden}[url(http://http://wiki.contextgarden.net)]} \stopsetups > > \definetext >[chapterfooter] >[footer] >[\setups{chapter:footer}] Thanks, I believe that

Re: [NTG-context] \definedescription and setupdescription options

2016-03-06 Thread Alan BRASLAU
On Fri, 4 Mar 2016 16:52:12 +0100 Wolfgang Schuster wrote: > Take a look at the attached files for the valid keys for the > description and enumeration environments. I am not managing use of lists of enumerations. \defineenumeration [fact] [list=fact]

Re: [NTG-context] Enumeration lists (was: \definedescription and setupdescription options)

2016-03-06 Thread Alan BRASLAU
On Mon, 7 Mar 2016 04:42:09 +0100 Wolfgang Schuster wrote: > \defineenumeration > [fact] > [list=fact] > > \starttext > > \startfact [title=First fact] > Many commands in \CONTEXT\ are obvious. > \stopfact > > \placelist [enumeration:fact] [criterium=all] > >

Re: [NTG-context] Custom syntax highlighting

2016-03-02 Thread Alan BRASLAU
On Wed, 2 Mar 2016 11:45:54 +0100 Nicola wrote: > > You don't need scite installed so it's quite efficient as it's the > > method that is used, not the binary (and the context related lexers > > ship with the context distribution). > > That's clear now, thanks! Hans

[NTG-context] interaction in a chapter footer

2016-03-03 Thread Alan BRASLAU
Hello, Is it possible (without being too cleaver) to include interaction (a hyperlink) in a chapter footer? Alan M(non-)WE: \setupinteraction [state=start] \definetext [chapterfooter] [footer] [{\goto{\CONTEXT\ garden}[url(http://http://wiki.contextgarden.net)]}] \setuphead [chapter]

Re: [NTG-context] Skipped figure numbers

2016-04-01 Thread Alan BRASLAU
On Fri, 1 Apr 2016 11:17:07 +0100 Aidan Nichol wrote: > combinations only give regular grid. Sometimes you want an irregular > grid. Use a nested combination. Alan ___ If your question is

Re: [NTG-context] Skipped figure numbers

2016-03-31 Thread Alan BRASLAU
On Thu, 31 Mar 2016 17:51:07 -0400 Aditya Mahajan wrote: > @Hans: Does it make sense to disable \incrementcounter if > \trialtypesetting is active? I was going to suggest such things... Here is a case where a float is not being used as a floating object in that we want to

Re: [NTG-context] Questions about Scite lexers

2016-04-13 Thread Alan BRASLAU
On Wed, 13 Apr 2016 17:39:57 +0200 Hans Hagen wrote: > > 5) May I rely on this feature to be stable? > > yes (i use it myself) The following is slightly off-topic of the present thread... Hans, we finally understood while at the ConTeXt conference at Nasbinals that your

Re: [NTG-context] command reference not searchable

2016-05-19 Thread Alan BRASLAU
I can search this document using any and all pdf tools to which I have access on my system. Alan On Thu, 19 May 2016 16:49:31 + "Meer, Hans van der" wrote: > Checked again also on a MacBook, definitely not searchable here. > I am running El Capitan, and the command

Re: [NTG-context] win64 : luatex is not recognize as an internal command

2016-05-24 Thread Alan BRASLAU
On Tue, 24 May 2016 18:56:44 +0200 Hans Hagen wrote: > or is your console slow (if you > run a lot from the console it makes sense to use 'conemu' as consoles > - on any os - take some runtime due to the way tex flushes) On any OS?? I believe that conemu is a Windows-specific

Re: [NTG-context] Thick border of one side of TR/TD

2016-05-17 Thread Alan BRASLAU
On Tue, 17 May 2016 23:09:16 +0200 Wolfgang Schuster wrote: > How to achieve this? > https://mailman.ntg.nl/pipermail/ntg-context/2016/084481.html In case Wolfgang's answer was not clear: use "extreme" tables (\startxtable) rather than "natural" tables (\bTABLE).

Re: [NTG-context] Overlays as background in textbackground

2016-05-18 Thread Alan BRASLAU
Here is a trick (due to Hans, of course) to produce a watermark image. You can play with the idea in order to produce your own effect. \definecolor [percent] [s=1,a=1,t=.9] \externalfigure [cow] [background={foreground,color},backgroundcolor=percent] Alan On Wed, 18 May 2016 11:55:11 +

Re: [NTG-context] What are your ten (10) favorite typography books of the last 50 years? (*not* OT)

2016-05-15 Thread Alan BRASLAU
For those who want to play with the bibliography/publications module... see attached. Warning: there were many errors in the references, and I corrected the most obvious but otherwise did not check any of the data. Note also that some information (such as publishers or addresses) are missing.

Re: [NTG-context] custom cite in \externalfigure

2016-05-06 Thread Alan BRASLAU
On Fri, 6 May 2016 09:47:39 +0200 eidenbenz wrote: > the problem is that I need the control the width of externalfigure in > the text. With the above solution I have to define a different cite > rendering for every possible width I need in my layout. Maybe, don't set

Re: [NTG-context] custom cite in \externalfigure

2016-05-04 Thread Alan Braslau
On Wed, 4 May 2016 21:31:46 + "Eidenbenz Michael" wrote: > what seems strange to me is that \cite[filename] works as such, but > not as an argument to \externalfigure The \externalfigure tries to do quite a lot with its argument(s). You can use \placecitation

Re: [NTG-context] [OT] Full-width justification (xkcd)

2016-05-09 Thread Alan BRASLAU
On Mon, 9 May 2016 10:51:23 +0200 Hans Hagen wrote: > > Wasn't in obvious that I was joking? > > (Even though deep down I feared someone would reply with "here it > > is".) > > well, its more like challenging us (in fact i remember messing a bit > with this

Re: [NTG-context] Something got wrong here

2016-07-28 Thread Alan BRASLAU
c. One can setup the citation reference numbers to be placed high like footnote references, if desired. Alan -- Alan Braslau CEA DSM-IRAMIS-SPEC CNRS UMR 3680 Orme des Merisiers 91191 Gif-sur-Yvette cedex FRANCE tel: +33 1 69 08 73 15 fax: +33 1 69 08 87

Re: [NTG-context] How to extend btx rendering?

2016-07-18 Thread Alan BRASLAU
On Mon, 18 Jul 2016 15:06:06 +0200 Henri Menke wrote: > But I don't want to edit any system files, because this is not > portable. Also I don't want to have a copy of this file in my project > directory, because this is just redundant. > > How can I add the two fields

Re: [NTG-context] Ka-Pow comic book effect?

2016-07-18 Thread Alan BRASLAU
On Mon, 18 Jul 2016 11:59:42 -0400 Pavneet Arora wrote: > Would anyone have a template on how to create a comic book “Ka-Pow” > effect (or something similar) as per: > >

Re: [NTG-context] Wrong alignment in natural tables?

2016-07-18 Thread Alan BRASLAU
On Mon, 18 Jul 2016 18:45:30 +0200 cryo shock wrote: > Can you verify that it's working like expected? Because when I > compile it with latest beta i have the opposite alignment. I assume that you want align=flushleft and align=flushright, rather than (ragged)left and

Re: [NTG-context] How to extend btx rendering?

2016-07-18 Thread Alan BRASLAU
On Mon, 18 Jul 2016 20:05:52 +0200 Henri Menke wrote: > I think it would be advantageous to also have the eprint/howpublished > field available for @article such that I can link the arXiv even > though an article has been published. This way people without > subscription

Re: [NTG-context] (again) PDF info fields

2016-07-17 Thread Alan BRASLAU
t; In the bookmarks, \ConTeXt\ is rendered as ConTEXT. Since “The > TeXbook” only mentions \TeX and no \TEX, would it be possible to > preroll \TeX, \ConTeXt and \LaTeX as TeX, ConTeXt and LaTeX? > > Many thanks for your help, > > Pablo -- Alan Braslau CEA DSM-IRAMIS-SPEC CNRS UMR 3

Re: [NTG-context] alignment problem in a table

2016-07-19 Thread Alan BRASLAU
On Tue, 19 Jul 2016 15:19:11 +0200 Fabrice Couvreur wrote: > The third column of matrix is not centered vertically and > horizontally. You should note that it is NECESSARY to present a MINIMAL Working Example, that is stripped-down to ONLY the minimum necessary to

Re: [NTG-context] replacement for \getcitedata

2016-07-12 Thread Alan BRASLAU
On Tue, 12 Jul 2016 10:51:06 +0200 Michael Eidenbenz wrote: > is there a way to extract data from the bib database to use it in a > macro? > > something like a replacement for the old \getcitedata \cite[title] [Eidenbenz2016] (Any field can be obtained with this

Re: [NTG-context] replacement for \getcitedata

2016-07-12 Thread Alan BRASLAU
On Tue, 12 Jul 2016 20:39:27 +0200 Michael Eidenbenz wrote: > but i'm encountering my old problem: > > \externalfigure[\cite[file][Eidenbenz2016]] > > gives me an error. This is not the right approach, as explained earlier. Alan

Re: [NTG-context] Different colors in LaTeX and ConTeXt

2016-07-12 Thread Alan BRASLAU
What is the fuss? \starttext \startMPcode draw origin--right scaled 1cm withpen pencircle scaled 1pt withcolor gray ; \stopMPcode \stoptext works just fine... :-) Alan ___ If your question is of

Re: [NTG-context] Product-component structure

2016-07-11 Thread Alan BRASLAU
On Mon, 11 Jul 2016 13:01:58 +0200 Procházka Lukáš Ing. wrote: > - Single components can be compiled successfully, too; sections here > are NOT NUMBERED as in the final document. A nagging question that I have always had about structure is that it would be rather nice if

Re: [NTG-context] ppchTeX

2016-07-07 Thread Alan BRASLAU
On Wed, 6 Jul 2016 18:23:57 +0200 Henri Menke wrote: > Dear list, > > I just wanted to check whether chemical structures typeset in ConTeXt > can be exported as XML. Therefore I wanted to setup a simple example > with ppchTeX. I copied example 3.1 from the manual [1] >

Re: [NTG-context] Equivalent of extras option in new bibliography system?

2016-07-01 Thread Alan Braslau
On Fri, 1 Jul 2016 19:13:26 +0200 Nicola wrote: > It does not seem to work with my example. The output of the MWE below > is: > > (Author, 2016 XXX) (Author, 2016) > The comma seems the culprit. Yes. Consider: \cite[righttext={{, p.~24},{, p.~xx}}]

Re: [NTG-context] Bibliography

2017-02-07 Thread Alan Braslau
On Tue, 7 Feb 2017 13:24:07 +0100 Jean-Pierre Delange wrote: > But I don't understand why the word 'Author' is printed at the end of > each line as the following minimal sample below shows it, e.g. : > Aristote (n.d.). Les Politiques. Author. Cicéron (n.d.). Tusculanes, > V,

Re: [NTG-context] Bibliography sorting order by Czech alphabet in Context

2017-02-08 Thread Alan Braslau
16--121}, > journal = {{Varia Thracica}}, > title = {{Article Title}}, > year = {2011} > } > > @book{Chichikova1978, > address = {Oxford}, > author = {Chichikova, Maria and Dimitrov, Dimitur P. and Alexieva, > Marguerite and Author, Name}, > isbn = {0-86054-003-0},

Re: [NTG-context] URL styling in btx bibliography

2017-02-04 Thread Alan Braslau
On Sat, 4 Feb 2017 09:10:33 -0700 Alan Braslau <alan.bras...@cea.fr> wrote: > On Fri, 3 Feb 2017 17:26:35 -0500 > Rik Kabel <cont...@rik.users.panix.com> wrote: > > > Is there a user-level control for the styling of urls in the new > > bibliography system? I

Re: [NTG-context] URL styling in btx bibliography

2017-02-04 Thread Alan Braslau
On Fri, 3 Feb 2017 17:26:35 -0500 Rik Kabel wrote: > Is there a user-level control for the styling of urls in the new > bibliography system? I use > > \setupurl[style=\addff{f:ns}\ss] > > (where f:ns is a fontfeature definition for lining/new style > numerals)

Re: [NTG-context] A better \definesymbol sought

2017-01-22 Thread Alan Braslau
On Sun, 22 Jan 2017 22:39:53 -0500 Rik Kabel wrote: > So, how can I make the inner glyph (‘?’ in the example below) > transparent, so that the background shows through along with anything > else that lives on a lower layer? I’ve seen a method for constructed >

Re: [NTG-context] nested colors problem

2017-01-20 Thread Alan Braslau
On Fri, 20 Jan 2017 21:42:16 +0100 Peter Rolf wrote: > Maybe intended behaviour, maybe a bug. Donno. Not a bug: color and transparency are not the same thing. Alan ___ If your question is of

Re: [NTG-context] A better \definesymbol sought

2017-01-20 Thread Alan Braslau
On Fri, 20 Jan 2017 22:33:40 -0500 Rik Kabel wrote: > Can anyone suggest a better way to compose such symbols than using > the raw TeX commands used here? Is there a more ConTeXt-ish way to do > this? Is it possible to get options to center the glyphs from which >

Re: [NTG-context] Questions on new bibliography system (btx)

2017-02-21 Thread Alan Braslau
On Tue, 21 Feb 2017 18:46:18 -0500 Rik Kabel wrote: > I have a few questions about the new bibliography system. The > following example code illustrates the problems. > > \startbuffer[TestBib] > @OTHER{Author1975a, >author = {An Author}, >

Re: [NTG-context] new lua/stack error

2017-02-21 Thread Alan Braslau
x/context/base/mkiv/lpdf-ini.lua:367> > > > > [C]: in function 'tostring' > > > > ...eXt/tex/texmf-context/tex/context/base/mkiv/lpdf-ini.lua:342: in > > function > > <...eXt/tex/texmf-context/tex/context/base/mkiv/lpdf-ini.lua:317> > > > >

<    3   4   5   6   7   8   9   10   11   12   >