Re: [NTG-context] How to define an array of pens

2020-06-22 Thread Alan Braslau
On 22/06/20 01:17, Otared Kavian wrote: for j = -1 step 1 until 1 : MyPens[j] := pencircle scaled 2pt ; % I would like to say here (2+j) pt endfor MyPens[j] := pencircle scaled (2+j)*pt ; pt is just a variable, and one can write 2pt implicitly implying the mul

Re: [NTG-context] LSP support

2020-06-27 Thread Alan Braslau
A start: lua-lsp A Language Server for Lua code, written in Lua. Supports Lua 5.1-5.3 and Luajit Alan On 27/06/20 04:13, Saša Janiška wrote: Hello, yesterday while exploring features/plugins of Kakoune (https://kakoune.org/) editor I, naturally, asked about ConTeXt/LaTeX support and was told

Re: [NTG-context] Translation of ConTeXt interface

2020-06-27 Thread Alan Braslau
fonte ? (police) principale ? (corps) ... Alan On 26/06/20 16:04, Garulfo wrote: Math. I get the following error : fonts  > preloading latin modern fonts (second stage) fonts  > defining > font with asked name 'fichier' is not found using lookup 'file' fonts  > defining > unknown font 'fic

Re: [NTG-context] Broken PDF with latest MkIV

2020-07-12 Thread Alan Braslau
On 12/07/20 03:48, Henning Hraban Ramm wrote: Hi, I just installed the latest ConTeXt MkIV (LuaTeX 2.06 20200706 + ConTeXt MkIV 2020.07.09 14:51) to check if the CG journal will look the same as with my "old” installation (LuaTeX 1.11 7215 + ConTeXt MkIV 2020.01.30 14:13). All looks well in Pr

[NTG-context] \documentvariable (used in environment)

2020-07-22 Thread Alan Braslau
Hello, I have put the following in an environment \startenvironment MYENVIRONMENT \setupdocument [metadata:title={\documentvariable{title}}, metadata:subtitle={\documentvariable{subtitle}}, metadata:author={\documentvariable{author}}, metadata:keywords={\documentvariable{keywords}}]

Re: [NTG-context] \documentvariable (used in environment)

2020-07-24 Thread Alan Braslau
On 22/07/20 22:36, Wolfgang Schuster wrote: What exactly doesn't work and do you get the same problems when you set the values in the following minimal example (everything has to be in the same file). begin example \setupdocument   [metadata:title={\documentvariable{title}},    metadata

Re: [NTG-context] \documentvariable (used in environment)

2020-07-25 Thread Alan Braslau
(without the .tex extension) of the main file (and filename.tex under File). I'll chase it down... Alan On 25/07/20 02:40, Henning Hraban Ramm wrote: Am 25.07.2020 um 10:20 schrieb Wolfgang Schuster : Alan Braslau schrieb am 25.07.2020 um 00:21: On 22/07/20 22:36, Wolfgang Schuster wrote:

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-24 Thread Alan Braslau
On Mon, 24 May 2021 17:53:49 -0400 Rik Kabel wrote: > This is intended. Or rather, it is a side-effect of the intended > behavior. > > If you add an editor ("editor={Baz, Bar}") you will get something > like: > > Foo, B. (1983). Title of the paper. In B. Baz (Ed.), /Booktitle/. > Author

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-25 Thread Alan Braslau
On Mon, 24 May 2021 23:10:34 -0400 Rik Kabel wrote: > > On 5/24/2021 22:12, Alan Braslau wrote: > > On Mon, 24 May 2021 17:53:49 -0400 > > Rik Kabel wrote: > > > >> This is intended. Or rather, it is a side-effect of the intended > >> behavior. > &g

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-28 Thread Alan Braslau
On Thu, 27 May 2021 20:21:55 - (UTC) Nicola wrote: > Thank you all for the precious comments. > > The current LMTX appears to have almost fixed my issue, except that > inproceedings entries without a publisher have the text "Author" > instead of the publisher's name. > > I must say that I h

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-28 Thread Alan Braslau
On Fri, 28 May 2021 13:02:10 -0400 (EDT) Aditya Mahajan wrote: > > If you have not defined a publisher, how should ANY format place the > > undefined publisher's name? > > Simply leave it blank? If there is no publisher, then @unpublished is a better category. APA explicitly, and for good rea

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-28 Thread Alan Braslau
On Fri, 28 May 2021 19:52:19 - (UTC) Nicola wrote: > > If there is no publisher, then @unpublished is a better category. > > APA explicitly, and for good reason, accounts for self-publishing, > > indicating that the Author was the publisher. > > Ah ok, that explains the output I was obtain

Re: [NTG-context] upload / some new math stuff

2021-06-11 Thread Alan Braslau
On Thu, 10 Jun 2021 23:35:14 +0200 Hans Hagen wrote: > So, assuming that one installs these fonts: It looks modern (and new). Why not include it in the lmtx distribution? Alan ___ If your question is of interest to

ntg-context@ntg.nl

2021-06-15 Thread Alan Braslau
On Tue, 15 Jun 2021 13:07:04 +0200 Hans Hagen wrote: > the windows mupdf viewer is somewhat crippled (no selection) but > searching for something shows the right bbox I do not know about Windows ports, but mupdf and mupdf-gl differ, not only in their rendering but also in their keystrokes and m

ntg-context@ntg.nl

2021-06-15 Thread Alan Braslau
On Tue, 15 Jun 2021 20:29:26 +0200 Hans Hagen wrote: > On 6/15/2021 7:53 PM, Alan Braslau wrote: > > On Tue, 15 Jun 2021 13:07:04 +0200 > > Hans Hagen wrote: > > > >> the windows mupdf viewer is somewhat crippled (no selection) but > >> searc

ntg-context@ntg.nl

2021-06-15 Thread Alan Braslau
On Tue, 15 Jun 2021 20:57:09 +0200 Hans Hagen wrote: > On 6/15/2021 8:54 PM, Alan Braslau wrote: > > On Tue, 15 Jun 2021 20:29:26 +0200 > > Hans Hagen wrote: > > > >> On 6/15/2021 7:53 PM, Alan Braslau wrote: > >>> On Tue, 15 Jun 2

ntg-context@ntg.nl

2021-06-16 Thread Alan Braslau
On Wed, 16 Jun 2021 17:14:22 +0200 luigi scarso wrote: > > Did you try this one? > > > > http://www.xpdfreader.com/download.html > > > I doesn't workunder ubuntu 20.04 > libicudata.so.56 => not found > I have libicudata.so.66 The ubuntu package must be built incorrectly, for I have /usr/loca

Re: [NTG-context] Install script not working

2021-06-27 Thread Alan Braslau
On Thu, 24 Jun 2021 23:30:00 +0200 Hans Hagen wrote: > -- on freebsd always (does anyone know an env var?) On FreeBSD, there is `uname -m` but also `hostname`. I find the environment variable $HOST to be set, but I am not sure that this is done by default (for standard installations). Alan

Re: [NTG-context] log: use \thinspace instead of \,

2021-06-29 Thread Alan Braslau
On Tue, 29 Jun 2021 14:06:02 +0200 Henning Hraban Ramm wrote: > Maybe, but in running text I use \, all the time e.\,g. in > abbreviations or for numbers (10\,000). At least in German typography > these “spatiums” are necessary. In French typography as well. Indeed, American: 10,000.00 French:

Re: [NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-06-30 Thread Alan Braslau
On 30/06/21 02:20, Ágoston Volcz wrote: 2. Entries in the bibliography and fist time citations must have 'normal' authorconversion, while consequent citations must have 'normalshort'. For consequent citations I defined the 'authortitle' alternative. In the thesis I have: ``` \usebtxdataset[defaul

Re: [NTG-context] hyphenate nothyphenated

2021-06-30 Thread Alan Braslau
On 29/06/21 05:52, Hans Hagen wrote: well, you ask for nothyphenated; we could define \permanent\protected\def\-%   {\begingroup    \hyphenationmode\explicithyphenationmodecode\explicitdiscretionary    \endgroup} i will ponder this I believe that \- defines an *optional* hyphenation point.

Re: [NTG-context] hyphenate nothyphenated

2021-06-30 Thread Alan Braslau
On 30/06/21 12:25, Hans Hagen wrote: On 6/30/2021 7:35 PM, Alan Braslau wrote: On 29/06/21 05:52, Hans Hagen wrote: well, you ask for nothyphenated; we could define \permanent\protected\def\-%    {\begingroup     \hyphenationmode\explicithyphenationmodecode\explicitdiscretionary     \endgroup

Re: [NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-06-30 Thread Alan Braslau
On 30/06/21 12:59, denis.ma...@unibe.ch wrote: Hi, -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Ágoston Volcz Gesendet: Mittwoch, 30. Juni 2021 10:20 An:ntg-context@ntg.nl Betreff: [NTG-context] Different authorconversion for citation alternatives and bibliographic entries

Re: [NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-06-30 Thread Alan Braslau
On Wed, 30 Jun 2021 19:40:06 + wrote: > > -Ursprüngliche Nachricht- > > Von: Alan Braslau > > Gesendet: Mittwoch, 30. Juni 2021 21:11 > > An: mailing list for ConTeXt users ; Maier, > > Denis Christian (UB) > > Betreff: Re: [NTG-context] Dif

Re: [NTG-context] hyphenate nothyphenated

2021-07-01 Thread Alan Braslau
On Thu, 1 Jul 2021 00:12:40 +0200 Hans Hagen wrote: > >> \= macron accent (bar) should not be changed. > >> > >> \-- is a good suggestion, like insisting, and should not get > >> confused with -- (en dash). > > > > Is there some problem to make it just another option. > > > > \enabledirective

Re: [NTG-context] hyphenate nothyphenated

2021-07-01 Thread Alan Braslau
On Thu, 1 Jul 2021 17:57:28 +0200 Steffen Wolfrum wrote: > > Am 01.07.2021 um 17:54 schrieb Alan Braslau > > : > > > > On Thu, 1 Jul 2021 00:12:40 +0200 > > Hans Hagen wrote: > > > >>>> \= macron accent (bar) should not be changed. >

Re: [NTG-context] LMTX: different output if dots are used in the file name

2021-07-07 Thread Alan Braslau
Windows, I believe, does not take kindly to filenames containing multiple dots. Therefore, Hans never uses such filenames and does not expect them, either, so I am not surprised that this yields unpredictable results. An unfortunate side-effect of dealing with Windows. Alan On Tue, 6 Jul 2021

Re: [NTG-context] LMTX: different output if dots are used in the file name

2021-07-08 Thread Alan Braslau
On Wed, 7 Jul 2021 21:57:27 +0200 Ulrike Fischer wrote: > Am Wed, 7 Jul 2021 12:25:29 -0600 schrieb Alan Braslau: > > > Windows, I believe, does not take kindly to filenames containing > > multiple dots. > > > > Therefore, Hans never uses such filenames and does n

Re: [NTG-context] Extract bib entries used in a document

2021-07-15 Thread Alan Braslau
On 15/07/21 21:53, Benjamin Buchmuller wrote: I was wondering if there is a way to get the internal bibliography manager to write out a .bib (or XML or Lua table) containing only the entries used in a document? Somewhat similar to BibTeX (https://tex.stackexchange.com/questions/41821/creating

Re: [NTG-context] Harvard bibliography style

2021-07-16 Thread Alan Braslau
On 16/07/21 20:05, Jorge Manuel wrote: Dear Sirs Is there a way to set my bibliography style to Harvard specifications? Tanks four your support Have a nice day Jorge Magalhães There is no Harvard bibliography specification, but the system is designed to be totally configurable. What is

Re: [NTG-context] mp-geo Metapost package with ConTeXt

2021-07-16 Thread Alan Braslau
On 16/07/21 21:51, Hans Hagen wrote: On 7/16/2021 4:53 PM, Gavin Polhemus wrote: P.S. I marked the location of our local ConTeXt users group on the map, in case any of you want to visit. 1/3rd of your user group fled the country and is way closer by where i live now, And in the same time zon

Re: [NTG-context] Problem getting lmtx version up

2021-07-16 Thread Alan Braslau
On 16/07/21 21:47, Hans Hagen wrote: would be a pitty because i like the ubuntu interface that we have on it more than the rather ugly default rpi one (an ubuntu install is also more comfortable) ... when we go headless we might give opensuse a try (actually we had debian first but it was a p

[NTG-context] 16-bit png

2008-02-14 Thread Alan BRASLAU
Hello, I am having problems including 16-bit png files in ConTeXt. In the following example, red.png is a 800x600 image of red pixels. The resulting test.pdf shows a BLACK rectangle. (The same problem exists with real images.) However, I can produce the desired result with my installation under

Re: [NTG-context] 16-bit png

2008-02-15 Thread Alan BRASLAU
On Friday 15 February 2008 09:23:12 Taco Hoekwater wrote: > Alan BRASLAU wrote: > > $ cat test.tex > >\starttext >\pdfimagehicolor=1 >\externalfigure[red][width=\textwidth] >\stoptext > > There, fixed that. > > That setting could go into the c

Re: [NTG-context] 16-bit png

2008-02-15 Thread Alan BRASLAU
On Friday 15 February 2008 10:36:02 Taco Hoekwater wrote: > xpdf (and its derivatives) does not support 16-bit color. > No warning, the pdf is just displayed incorrectly. > > It 'works' in pdflatex in xpdf because the file does not contain a > 16-bit image at all, it is automatically downgraded. >

Re: [NTG-context] colors in pgf within context

2008-02-19 Thread Alan BRASLAU
aillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context webpage : > http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > __

Re: [NTG-context] How could a typesetting system be today?

2008-05-30 Thread Alan BRASLAU
http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ > You are also free to purchase future new versions of InDesign, Illustrator, and the like, not to me

Re: [NTG-context] Fwd: (scientific) poster

2008-06-13 Thread Alan BRASLAU
happy using ConTeXt and TikZ/pgf both for A0 posters as well as for video presentations. -- Alan Braslau ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-conte

[NTG-context] \bTABLE and \chemical

2008-09-08 Thread Alan BRASLAU
I have not understood how tables and \chemical interact. The second case in the minimal example below demonstrates unexpected/incorrect centering when using \chemical and \bTABLE. Am I missing something? Thanks. Alan \starttext \usemodule[chemic] \setupchemical[size=small,scale=200,width=fit,fra

Re: [NTG-context] \bTABLE and \chemical

2008-09-09 Thread Alan BRASLAU
On Tuesday 09 September 2008 08:33:19 Wolfgang Schuster wrote: > \dontleavehmode\startchemical Thank you. This works, of course. I suppose that it is a subtlety why this is necessary with \bTable but not with \starttable... Should this perhaps be included in \startchemical or would that wreak hav

[NTG-context] span ROWS in \starttables?

2008-09-11 Thread Alan BRASLAU
Hello, Is there any mechanism to span ROWS in (\start)tables similar to column spanning through \use{3}{}? The aim is to produce a multi-row column entry as can be done via \bTD[nr=3] in \bTABLE. Thanks Alan ___ If

Re: [NTG-context] span ROWS in \starttables?

2008-09-12 Thread Alan BRASLAU
On Friday 12 September 2008 08:34:15 Wolfgang Schuster wrote: > On Fri, Sep 12, 2008 at 8:13 AM, Alan BRASLAU <[EMAIL PROTECTED]> wrote: > > > > Is there any mechanism to span ROWS in (\start)tables > > similar to column spanning through \use{3}{}? > > The aim

Re: [NTG-context] span ROWS in \starttables?

2008-09-12 Thread Alan BRASLAU
On Friday 12 September 2008 10:51:58 Wolfgang Schuster wrote: > \VL \smash{\vcenter{\hbox{\definedfont[Serif at 70pt]A}}} \VL c \VL\AR Ah, TeX magic! Indeed, I never learned about \smash. Thank you (added a line to http://wiki.contextgarden.net/Table#Column_Spans) Alan __

Re: [NTG-context] Indexing macros

2008-09-15 Thread Alan BRASLAU
On Tuesday 3 December 2002 17:57:00 Hans Hagen wrote: > Copied from the manual source: ... > \index {form::entry} The following minimal example works as expected: \setupregister[index][au][textstyle=\sc] \def\Index#1{\index{#1}#1} \def\Author#1{\index{au::#1}#1} \starttext The \index[TeX]{\TeX}\T

Re: [NTG-context] Labelling figures

2008-09-16 Thread Alan BRASLAU
On Tuesday 16 September 2008 16:28:45 Hans Hagen wrote: > >> what is the best method to add labels to a figure; I want them not only > >> on the figure but their position should be relative to the figure size. > > how about just using a layer ... You might also try pgf/tikz, according to your tast

[NTG-context] lang-ita.tex (see=)

2008-09-18 Thread Alan BRASLAU
Missing from lang-ita.tex: \setuplabeltext[\s!fr][\v!see=voir ] (indeed, this label needs to be set for all of the variants fr es ca it la pt ro) Thanks, Alan ___ If your question is of interest to others as well, ple

Re: [NTG-context] Interaction and accented letters

2008-09-19 Thread Alan BRASLAU
On Friday 19 September 2008 19:00:42 Flavien Lambert wrote: > Dear all, is there a way to put accented letters in the interaction command > ? I tried > \setupinteraction[state=start, > author={Flavien Lambert}, > title={Optique géométrique}, > date={Septembre 2008}] > > and > > \setupinteract

[NTG-context] ppchtex rotation

2008-09-22 Thread Alan BRASLAU
Hello, I am having trouble drawing rotated molecules using ppchtex. In the example below, I would like to draw the molecule shown in (a) rotated as shown in (b). I would appreciate any suggestions. Thanks. Alan \usemodule[chemic] \setupchemical[width=fit] \starttext \startcombination[2*1] {\

[NTG-context] luatex run: edit (E) on syntax error

2008-09-24 Thread Alan BRASLAU
Hello, (Learning to use mkIV under Debian) Under luatex (texexec --lua) it seems that choosing to edit (E) the source file upon detection of a syntax error echos "You want to edit file ./filename.tex at line 68" and then continues without launching the editor. Has anyone else seen this? (of cour

Re: [NTG-context] Has anybody used asymptote without LaTeX?

2008-09-28 Thread Alan BRASLAU
xt. Asymptote is a similar tool, but it seems to be less portable. However, it appears on the other hand to be much more powerful for 3D. Neverless, I am sharing with this context list an impressive tikz example -- Alan Braslau CEA DSM-IRAMIS-SPEC CNRS URA 2464 Orme des Merisiers 91191 Gif-sur-Yvette

Re: [NTG-context] Texlive2008 and updating context

2008-09-29 Thread Alan BRASLAU
Yes, please, it is confusing. On the Wiki different instructions appear in several places (mkIV, minimals, TeXlive, debian...). It would be quite nice if somebody who understands this all could clean-up the instructions, in particular, structure the information in a clearer fashion. Thanks. Alan

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). This mechanism uses 'framed' an

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 + "Meer

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 reference version is the

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 terminal emulator

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 > size but rather relatively

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 interested in knowing if this is

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. Is it possible > to get hy

Re: [NTG-context] Citations and links

2016-06-13 Thread Alan BRASLAU
, 13 Jun 2016 18:18:36 +0200 Nicola wrote: > On 2016-06-13 14:29:37 +0000, Alan BRASLAU said: > > > 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 t

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}^∞ e^{i-𝑖}$ Very, very poo

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 [before={\startframedtext[background=color,backgroundcolor=lightblue]}, af

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}}] [Author:2016,Author2:2015] The comma gets pa

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] > > > \usemodule[chemic]

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 compiling a component th

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 mechanism.) 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 interest

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] (again) PDF info fields

2016-07-17 Thread Alan BRASLAU
Xt\ 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 3680 Orme

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 `eprint` and `archivePrefix

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: > > http://thumb101.shutterstock.com/display_pic_with_logo/752857/180152483/stock-vector-ka-pow-comic-speech-bubble-cartoon-180152

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 (ragged)right. Alan __

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 to a specific journal ca

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 show a problem, if you want any

Re: [NTG-context] Something got wrong here

2016-07-28 Thread Alan BRASLAU
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 86 mai

Re: [NTG-context] APA formatting and reference questions

2016-08-24 Thread Alan BRASLAU
On Wed, 24 Aug 2016 17:43:03 -0600 Todd DeVries wrote: > In this excerpt, the following APA style formatting > errors occur: > > 1. The first reference is cited as “Hartley, M.T. (2013).” There is > usually a space separating these initials. Between the M. and T. in > this reference. Yes, there

Re: [NTG-context] [NTG-Context] Problem with \usemodule[graph] and El Capitan (mac OS)

2016-09-01 Thread Alan Braslau
No, this is a feature, not a bug! According to the original graph macros, the data files are kept open, and thus subsequent reads will pick up successive data sets in a single file. This is explicitly stated in the documentation. A consequence for us in ConTeXt mkiv, where the metapost code is

Re: [NTG-context] Overfull boxes in bibliography

2016-09-28 Thread Alan Braslau
Hello, It turns out that "alignment" of the bibliography lists does not take the document global settings, but rather, like in other cases such as a framed environment, alignment is reset to the default value: strict alignment does not give the best results for the bibliography list rendering,

Re: [NTG-context] How do I compile a "flat" pdf?

2016-10-08 Thread Alan Braslau
Also pdftk But, it is naive to believe that a pdf can be "protected" from copying or extracting, isn't it? Alan > On Oct 7, 2016, at 09:08, Hans Hagen wrote: > > On 10/7/2016 4:50 PM, Henning Hraban Ramm wrote: > >> The only way to "protect" contents from editing are the password settings.

Re: [NTG-context] Communative diagrams with TikZ & ConTeXt

2016-10-11 Thread Alan Braslau
Hello, I wrote some very simple MetaPost helpers to create commutative diagrams: natural.pdf Description: Adobe PDF document Alan > On Oct 6, 2016, at 15:45, Hans Åberg wrote: > > >> On 6 Oct 2016, at 15:52, Mojca Miklavec >> wrote: >> >> I don't have the file tikzlibrarycommute.cod

Re: [NTG-context] Parsing ConTeXt errors

2016-10-11 Thread Alan Braslau
Of course, I *never* make MetaPost errors... ;-) However, you can search the log file for metapost> error: Alan > On Oct 11, 2016, at 07:27, Nicola wrote: > > Hello, > > I'm trying to parse ConTeXt errors. TeX and Lua errors seem easy to parse > (search for 'tex error' and 'lua err

Re: [NTG-context] Asciidoc --> ConTeXt for presentations

2016-10-16 Thread Alan BRASLAU
On Sun, 16 Oct 2016 12:25:39 +0200 Saša Janiška wrote: > > then start making your own ... such styles are rather simple and not > > much coding in the document source is needed .. just develop your > > own look and feel after a while > > It’s clear you’re not into JS-powered hype for presentat

Re: [NTG-context] FreeBSD binaries - was: Systemwide installation does not work

2016-10-18 Thread Alan Braslau
Mailing list: There was some fluctuation in the FreeBSD binaries being distributed on contextgarden.net. With the recent introduction of FreeBSD 11.0, the GPL3-tainted GNU libstdc++ has been dropped in favor of a new, clean libc++. This follows on the switch from gcc to clang that took place w

Re: [NTG-context] PDF/A generation

2016-10-19 Thread Alan Braslau
Hello, You can very easily download the beta/standalone installation that can very happily coexist with TL release. All that is needed to choose the standalone version is to modify your PATH appropriately (by sourcing the setuptex script). In fact, we recommend even downloading an installation

Re: [NTG-context] Text editors

2016-10-25 Thread Alan Braslau
Hi, You forgot my favorite editor: cat > file.tex ;-) More seriously, the SciTe syntax highlighting depends on a lpeg DLL that presently is only available on Windows - unless someone has succeeded in compiling the shared library on another system. Alan > On Oct 24, 2016, at 05:41, Henning

Re: [NTG-context] A question about \startcombination[3*1] \stopcombination (again)

2016-10-25 Thread Alan Braslau
Try \startcombination [nx=3,ny=1] Alan > On Oct 25, 2016, at 08:14, Fabrice Couvreur > wrote: > > I can not make three columns and one row. But three rows and one column ___ If your question is of interest to oth

Re: [NTG-context] Text editors

2016-10-28 Thread Alan Braslau
I used to be very proficient at writing in machine code and reading punch tape output, too... Alan > On 25 Oct 2016, at 10:19, Nicola wrote: > > > cat > file.tex > > Mandatory xkcd at this point: https://www.xkcd.com/378/ __

Re: [NTG-context] Vim wiki page updated

2016-11-05 Thread Alan Braslau
Hans, Nicola, Being a vim user (and not presently taking much advantage of the syntax highlighting), and a MP fan, I will take care of this (in coordination with Hans, eventually). Alan > On 3 Nov 2016, at 08:37, Nicola wrote: > > On 03/11/2016 12:28, Hans Hagen wrote: > if you need a

Re: [NTG-context] Framedtext in a float

2016-11-05 Thread Alan Braslau
Sounds something like how PowerPoint works (but adjusting point size to fit a frame...). Alan > On 1 Nov 2016, at 04:17, Piotr Kopszak wrote: > > You mean, you effectively want ConTeXt to choose best proportions for > the framed text on its own? I guess very few designers would agree for > tha

Re: [NTG-context] Chemical reaction...

2016-11-10 Thread Alan BRASLAU
\startplacechemical \startchemicalformula ... \stopchemicalformula \stopplacechemical Alan On Tue, 8 Nov 2016 20:06:27 +0100 Willi Egger wrote: > I am busy to edit an older article in which there are a couple of > chemical fromulas and reactions. > > However, I am stuck because the f

Re: [NTG-context] Asymptote or Metapost and ConTeXt parameters.

2016-12-20 Thread Alan Braslau
On Mon, 19 Dec 2016 08:19:25 -0800 Aditya Mahajan wrote: > The ability to pass parameters to metapost has been around since the > beginning. See the metafun manual for details (search for MPvar). Hans has developed tools making it quite easy to pass data back and forth between MetaPost and lua.

Re: [NTG-context] integral symbol

2016-12-28 Thread Alan Braslau
}$} > \stoplines > > \startformula > a = > \autointegral{t}{b}1 + > \autointegral{t}{b}{\frac{\frac{3}{4}}{\frac{1}{2}}} + > \autointegral{t}{b}{\frac{\frac{\frac{\frac{1}{2}}{2}}{2}}{2}} > \stopformula > > \stoptext -- Alan Braslau CEA DSM-IRAMIS-SPEC CNRS UMR

Re: [NTG-context] rotating some pages of a pdf

2017-01-06 Thread Alan Braslau
On Thu, 5 Jan 2017 23:47:00 -0500 Cesar Romani wrote: > The quality of the rotated pdfs, which are images, drops off a little. > For example, some characters are not so sharp as in the original pdf. > > If I use GraphicsMagick I would remedy this with the parameter > -density as in: > gm convert

Re: [NTG-context] Bug: \textext inside \*MPinclusions causes error

2017-01-12 Thread Alan Braslau
On Thu, 12 Jan 2017 10:06:09 +0100 Hans Hagen wrote: > you can use > > \startMPinitializations > \stopMPinitializations > > as these are expanded each graphic run > > action pass 1 pass 2 > > definitions yes > extensions yes > inclus figure yes > initializations yes

Re: [NTG-context] index(register) from an XML source

2017-01-14 Thread Alan Braslau
On Sat, 14 Jan 2017 15:52:25 +0100 MF wrote: > Now an alternative approach I thought, because the index I'm working > on is a biographical index, I mean a index of cited people, with a > biographical profile. One can create an index with the publications module as follows: \defineregister [in

Re: [NTG-context] Using key as numbering in \placepublications

2017-01-19 Thread Alan Braslau
On Thu, 19 Jan 2017 08:19:03 +0100 Antoine Cailliau wrote: > How can I adjust the publication list to display [Kup03a] instead of > [2] ? The numbering option does not offer "key" apparently. Using the mkiv publications mechanism, you can get short \cite keys by default using \setupbtx[alternat

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 interest to others as we

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 > the symbol is assembled (separat

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 > shapes, but nothing that I can apply

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) for the rest of the document.

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 wrote: > 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:

  1   2   3   4   5   6   7   8   9   10   >