Re: [NTG-context] Creating one's own style

2019-05-18 Thread Alan Braslau
On Sat, 18 May 2019 09:16:24 +0300 Dmitry Starostin wrote: > Thank you for the instructions on how to make one's own style. > > I only need to change the formatting in the bibliography list, the > formatting of the notes in the text is entirely up to the requirement. > > A strange effect (full

Re: [NTG-context] Emdash

2019-05-17 Thread Alan Braslau
On Fri, 17 May 2019 10:54:39 +0300 Dmitry Starostin wrote: > btxspace and btxsemicolon do exist, but how does one do a 'em-dash'? > What is the best way to define it? — :-) \def\btxemdash {\removeunwantedspaces —} -- Alan

Re: [NTG-context] Remove italics from bibliography list

2019-05-17 Thread Alan Braslau
On Fri, 17 May 2019 14:10:03 +0200 "Thomas A. Schmitz" wrote: > On 5/17/19 12:41 PM, Dmitry Starostin wrote: > > I tried several variants, but I cannot find where exactly the switch > > happens. > > > > \definebtx[apa:list:title:incollection][apa:list:title][style=] > >

Re: [NTG-context] Modifying the place of the year in APA.

2019-05-16 Thread Alan Braslau
On Thu, 16 May 2019 22:30:46 +0300 Dmitry Starostin wrote: > I need to: 1. place the year in the end 2. remove parentheses. That would no longer be APA style... -- Alan ___ If your question is of interest to others

Re: [NTG-context] Bibliography APS Style without unpublished

2019-05-16 Thread Alan Braslau
On Thu, 16 May 2019 12:48:30 +0200 Denis Maier wrote: > (2) there is a clear, defined standard that can be followed. > > This is actually the easier question: A few standard styles > immediately come to mind: MLA, Chicago 16th and 17 edition in its > various variants (author-date,

Re: [NTG-context] Bibliography APS Style without unpublished

2019-05-16 Thread Alan Braslau
On Thu, 16 May 2019 10:02:44 +0200 "Jan U. Hasecke" wrote: > But as I collect my internet citations with zotero I always get a > urldate for all internet entries. I think that giving the urldate is > better than insert a publication year as nobody knows how long a > website was present and when

Re: [NTG-context] Bibliography APS Style without unpublished

2019-05-15 Thread Alan Braslau
On Wed, 15 May 2019 14:27:21 +0200 "Jan U. Hasecke" wrote: > I understand that apa and aps are the only implemented styles. Is > there any other style I can use? You can write your own style, or your own modified style. Also, we can implement more styles if (1) there is a need, and (2) there is

Re: [NTG-context] Bibliography APS Style without unpublished

2019-05-15 Thread Alan Braslau
On Wed, 15 May 2019 14:27:21 +0200 "Jan U. Hasecke" wrote: > is there an option to eliminate the "unpublished" in aps bibliography? I suppose you mean the APS setup when NO date field is given ("to be published" for an article, "in press" for a book, and "unpublished" otherwise)? You can

Re: [NTG-context] inserting figure labels

2019-05-12 Thread Alan Braslau
On Sun, 12 May 2019 19:25:26 +0200 Hans van der Meer wrote: > Can I be absolutely sure that \placefigure[here,force] will not > invoke the float mechanism, but instead always effects an in-place > insertion? It will trigger a page break if there is not enough space "here". In fact, "force" is

Re: [NTG-context] placing content in footers

2019-05-12 Thread Alan Braslau
On Sun, 12 May 2019 18:19:54 +0200 Pablo Rodriguez wrote: > >> \mbox{}\page\mbox{} > > > > Where did you learn to use \mbox? > > I don’t remember (probably in my LaTeX times, before moving to > ConTeXt). The use of \mbox{} is a classic LaTeX hack... -- Alan

Re: [NTG-context] placetable and localfootnotes

2019-04-30 Thread Alan Braslau
; \placelocalfootnotes > \stoplocalfootnotes > \stopplacetable > %%% end localfootnotes-xtable.tex The following doesn’t help: \automigrateinserts % needed to handle footnotes within a box... (I have found this necessary

Re: [NTG-context] Strange behavior concerning pdf-output of externalfigures

2019-04-29 Thread Alan Braslau
On Mon, 29 Apr 2019 13:18:04 +0200 Hans Hagen wrote: > anyway, as the png test suite passes ok the question is what makes your > image different ... here it looks ok when included on windows64 bit and > linux 64 bit Your very own .png image and MWE works fine here on OSX, freeBSD, and linux.

Re: [NTG-context] No menu bar option for Adobe Reader

2019-04-28 Thread Alan Braslau
al) as I do not believe that it should in anyway become a default. Alan -- Alan Braslau ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg

Re: [NTG-context] LMTX and system fonts

2019-04-28 Thread Alan Braslau
> On 28Apr19, at 02:55, Pablo Rodriguez wrote: > > I add the path, otherwise no mtxrun would be found. Of course, Otared is saying: $CONTEXTHOME/tex/texmf-osx-64/bin/mtxrun -generate where osx-64 is the platform. -- Ala

Re: [NTG-context] tikz is not found

2019-04-24 Thread Alan Braslau
On Wed, 24 Apr 2019 12:42:03 +0200 Gour wrote: > in order to try using TikZ figures (exported from Geogebra) I tried > with some simple TikZ example with lmtx install, > so wonder how to add missing tikz module? Hans explained that third party modules are not automatically distributed or

Re: [NTG-context] using metapost library makecirc with context.

2019-04-21 Thread Alan Braslau
On Sat, 20 Apr 2019 23:49:26 +0200 Hans Hagen wrote: > > let latex=textext ; > > That crashed here. In fact, when I used makecirc.mp, I just commented out the following few lines at the head of the file: %input latex; % % Commands definitions to do the labeled easier % %

Re: [NTG-context] using metapost library makecirc with context.

2019-04-20 Thread Alan Braslau
On Sat, 20 Apr 2019 23:00:09 +0200 Hans Hagen wrote: > On 4/20/2019 10:09 PM, Andrea De Michele wrote: > > > I didn't understand the magic behind that but it's works. > > mp has no real text typesetting options so this hack provides it Why not let latex=textext ; > > Another

Re: [NTG-context] change in treating errors

2019-04-16 Thread Alan Braslau
On Tue, 16 Apr 2019 05:51:00 -0400 Mohammad Hossein Bateni wrote: > 1) You could correct a spelling mistake on the prompt (as in original TeX), > although this is rarely done these days. As you said, doesn't happen. > 2) You could use the --nonstopmode or --batchmode to not get the prompt, >

Re: [NTG-context] change in treating errors

2019-04-15 Thread Alan Braslau
On Mon, 15 Apr 2019 23:11:17 -0400 Mohammad Hossein Bateni wrote: > Hi, > > ConTeXt used to recover better from errors. Consider the following file: > > = > \xyz > \abc > > \starttext > HELLO > \stoptext > = > > Running ConTeXt ver: 2019.03.21 21:39 MKIV beta fmt:

Re: [NTG-context] Fine-tuning of aps style

2019-04-14 Thread Alan Braslau
On Sun, 14 Apr 2019 18:30:11 +0300 Dmitry Starostin wrote: > To cite like [1, p. 101] > > \cite[righttext={\nbsp p.~101}][Hankins:2014] > > works, but has no comma > > \cite[righttext={, p.~101}][Hankins:2014] > > produces no page > > \cite[righttext={,\nbsp p.~101}][Hankins:2014] > >

Re: [NTG-context] How to make the adjustments to the aps style?

2019-04-13 Thread Alan Braslau
On Sat, 13 Apr 2019 19:14:34 +0300 Dmitry Starostin wrote: > 1. to cite in the order of appearance (probably one setting) \setupbtx [aps:cite] [sorttype=none] I believe > 2. 'author initials' instead of the default 'initials authors'. \setupbtx [aps:list] [authorconversion=invertedshort]

Re: [NTG-context] Lua error with fontstrip in today’s beta

2019-04-12 Thread Alan Braslau
On Fri, 12 Apr 2019 23:19:34 +0200 Henning Hraban Ramm wrote: > minimals installation (2019.04.12 17:43, still not lmtx) Ah, when I first started using ConTeXt, MkIV was somewhat experimental and it was still recommended to use MkII (with pdftex) for "production". Now we are generally

Re: [NTG-context] Unwanted uppercase letter in \high{} within bibliography

2019-04-12 Thread Alan Braslau
ème}, cycle 4}, title:en={Geographical History EMC 5\high{th}, 4\high{th} cycle}, to be used advantageously in multi-lingual documents or multi-lingual use of a single bibliography database. Alan -- Alan Braslau

Re: [NTG-context] Strange behavior in math mode: < and minus sign give leftarrow

2019-04-10 Thread Alan Braslau
On Wed, 10 Apr 2019 10:09:31 +0200 Otared Kavian wrote: > The problem of such an usual default is also with newcomers who would not > know about this feature in ConTeXt: when one writes maths one would not guess > that typing an inequality like $n < -1$ would end up in $n \leftarrow 1$. And >

Re: [NTG-context] name of cache used by mkiv and lmtx

2019-04-06 Thread Alan Braslau
On Sat, 6 Apr 2019 13:46:57 -0400 (EDT) Aditya Mahajan wrote: > Is there a way to avoid that? I can, of course, set different values of > TEXMFCACHE for both distributions, but does it make sense to to use a > different hash (5fe67e...) for the two? Why do you set TEXMFCACHE and not simply

Re: [NTG-context] How to update LMTX?

2019-04-04 Thread Alan Braslau
On Thu, 4 Apr 2019 23:11:42 +0200 Hans Hagen wrote: > (we just don't use rsync) As rsync can be problematic for some locations (TCP port 873 blocked) without the ability to tunnel. http is most often open. Alan

Re: [NTG-context] How to update LMTX?

2019-04-04 Thread Alan Braslau
One just runs ./install.sh at any time to update. Alan On Fri, 5 Apr 2019 09:27:15 +1300 Henri Menke wrote: > Dear list, > > With ConTeXt standalone there was an easy way to update the install script and > the distrivution using > > rsync -ptv

Re: [NTG-context] beta

2019-04-04 Thread Alan Braslau
On Thu, 4 Apr 2019 10:06:03 -0400 (EDT) Aditya Mahajan wrote: > > I uploaded a new beta (as we're now post current again). The lmtx > > installation is normally also updated in sync but sometimes can be a bit > > ahead as I myself use that as default. > > Is there or will there be any

Re: [NTG-context] How to repeat the hyphen?

2019-03-25 Thread Alan Braslau
On Mon, 25 Mar 2019 22:24:34 -0700 Sam May wrote: > still using the ridiculously out-of-date 2016.05.17 because I haven't > gotten around to overriding the Gentoo package manager yet... You can install the standalone Context distribution anywhere you want, in parallel with your OS package

Re: [NTG-context] (no subject)

2019-03-22 Thread Alan Braslau
On Fri, 22 Mar 2019 14:34:25 +0300 dstaros...@yandex.ru wrote: > specification=chicago Doesn't exist, hasn't been written... ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] Bibliography: I think module [aps] is rendering incorrectly the electronic category and others too

2019-03-21 Thread Alan Braslau
On Thu, 21 Mar 2019 13:16:04 -0300 Tomas Badan wrote: > Looking at context documentations and source code, it says that for > electronic category we have: > * Required fields: title > * Optional fields: address, author, howpublished, month, note, > organization, url, year, doi > > So, when I

Re: [NTG-context] Background under bibliography (like in mkiv-publications.pdf)

2019-03-18 Thread Alan Braslau
On Mon, 18 Mar 2019 14:15:10 -0400 (EDT) Aditya Mahajan wrote: > On Mon, 18 Mar 2019, Romain Diss wrote: > > > Le 13/03/2019, Aditya Mahajan a �crit > >> > Is there a simple way to split a large \startframedtext environment over > >> > multiple pages. It doesn't work out of the box and I

Re: [NTG-context] CHEMIC: place a argument under the compound

2019-03-18 Thread Alan Braslau
On Mon, 18 Mar 2019 14:44:17 + Jorge Manuel wrote: > Thanks for your support. > I clear the recommended line, but the problem persists. How I can fix that? > > Jorge > > > > No dia 18/03/2019, às 14:36, Alan Braslau > > escreveu: > > > > On

Re: [NTG-context] CHEMIC: place a argument under the compound

2019-03-18 Thread Alan Braslau
On Mon, 18 Mar 2019 10:08:33 + Jorge Manuel wrote: > \usemodule[chemic] chemic is the old, mkii chemical macros. They have been replaced in mkiv with core macros so no need for the above line. Alan ___ If your

Re: [NTG-context] lua-error when asking for the fontame

2019-03-09 Thread Alan Braslau
On Sat, 9 Mar 2019 10:12:06 +0100 Hans Hagen wrote: > On 3/8/2019 11:16 PM, Willi Egger wrote: > > \setupbodyfont[pagella,rm,12pt] > > \starttext > > This text is written in \font\fontname > > \stoptext > > > This text is written in \fontname\font We also have: \fontclass

Re: [NTG-context] Showing value of a MP variable

2019-03-08 Thread Alan Braslau
On Fri, 08 Mar 2019 17:05:02 +0100 Procházka Lukáš Ing. wrote: > is it possible (namely for debugging) values of MP variables (be it on the > console or in the log)? > > I thought there is MP command "show" (mentioned in mpman.pdf) for this message(pt) ; puts it into the (context) log. show

Re: [NTG-context] Space between initials in bibliography

2019-03-03 Thread Alan Braslau
On Sat, 2 Mar 2019 10:19:35 +0100 "Mikael P. Sundqvist" wrote: > By default there seem to be no space between initials in bibliography > (which I guess there should be?). I can get a space by adding > \setupbtx[ > stopper:initials={.\btxspace}, > ] > but I don't think that this is how the

Re: [NTG-context] textext within ConTeXt

2019-03-03 Thread Alan Braslau
On Sun, 3 Mar 2019 12:52:53 -0500 Mohammad Hossein Bateni wrote: > Hi, > > I can't understand why the following code does not work. Could someone > help me out here? > > \starttext > \startMPpage > draw textext("\convertnumber{r}{12}"); > draw textext("\convertnumber{r}{" & "12" & "}"); >

Re: [NTG-context] Footnotes being broken over two pages

2019-02-27 Thread Alan Braslau
On Tue, 26 Feb 2019 01:04:25 +0100 Lars wrote: > Hi there, > > I've stumbled upon some behaviour that looks like a bug to me. Sometimes > longer footnotes are being broken over two pages. Please see the > attached picture: > > As you can see the last footnote on p. 6 is being continued on p.

Re: [NTG-context] degrade module

2019-02-18 Thread Alan Braslau
On Mon, 18 Feb 2019 23:50:24 +0100 Peter Münster wrote: > On Mon, Feb 18 2019, Alan Braslau wrote: > > > Incorrect, an image file contains width and height (in pixels) as well as a > > resolution, > > Optionally a resolution in the metadata. Then, of course, yo

Re: [NTG-context] markdown module vs pandoc

2019-02-18 Thread Alan Braslau
On Mon, 18 Feb 2019 18:47:49 +0100 Gour wrote: > > I use TikZ when I need some ready-made stuff with possibly some fancy > > shading patterns (or when I would pass the images to LaTeX users). In > > those cases you might be able to achive the same in a lot less lines > > of code, but you usually

Re: [NTG-context] degrade module

2019-02-18 Thread Alan Braslau
On Mon, 18 Feb 2019 22:09:32 +0100 Peter Münster wrote: > On Mon, Feb 18 2019, Alan Braslau wrote: > > > My working solution is to put figures in subdirectories by resolution, > > The purpose of the downsample module is something else: a well defined > resolution of the

Re: [NTG-context] degrade module

2019-02-18 Thread Alan Braslau
On Mon, 18 Feb 2019 10:13:20 +0100 Marco Patzer wrote: > Yes. I didn't put much thought into it and assumed there is a better > solution. My working solution is to put figures in subdirectories by resolution, that is externally, once and for all, using whatever is your favorite tool to

Re: [NTG-context] Bug in math: version

2019-02-14 Thread Alan Braslau
On Thu, 14 Feb 2019 18:08:09 +0100 Hans Åberg wrote: > > On 14 Feb 2019, at 16:42, Alan Braslau wrote: > > > > Now, this is really interesting > > > > \starttext > > \textbar x\textbar > > \stoptext > > > > produces |x| as seen by

Re: [NTG-context] Bug in math: version

2019-02-14 Thread Alan Braslau
On Thu, 14 Feb 2019 08:42:15 -0700 Alan Braslau wrote: > On Thu, 14 Feb 2019 13:02:21 +0100 > Hans Hagen wrote: > > > On 2/13/2019 7:12 PM, Alan Braslau wrote: > > > Not just the latest beta ... and indeed according to the TeXbook this > > > should be a ver

Re: [NTG-context] Bug in math: version

2019-02-14 Thread Alan Braslau
On Thu, 14 Feb 2019 13:02:21 +0100 Hans Hagen wrote: > On 2/13/2019 7:12 PM, Alan Braslau wrote: > > Not just the latest beta ... and indeed according to the TeXbook this > > should be a vertical double bar (\Vert), in math mode. > > > > I wish to point out tha

Re: [NTG-context] Bug in math: version

2019-02-13 Thread Alan Braslau
Not just the latest beta ... and indeed according to the TeXbook this should be a vertical double bar (\Vert), in math mode. I wish to point out that | in text font (text mode) is different from | in math font (math mode). I noticed that Preview (on the mac) *fails* to render the math font $|$

Re: [NTG-context] Bad names

2019-02-08 Thread Alan Braslau
On Fri, 8 Feb 2019 23:26:21 +0100 Hans Hagen wrote: > On 2/8/2019 10:22 PM, Marco Patzer wrote: > > > What is a bad name for context? Does it have any consequences if badly named > > files are used? Just being curious. > Bad names are names that can result i a miss when looked up on a case >

Re: [NTG-context] 404 error: Not found for first-setup.sh

2019-02-08 Thread Alan Braslau
fetch http://minimals.contextgarden.net/setup/first-setup.sh works as well - why do we suggest wget, a gnuism? Alan On Fri, 8 Feb 2019 20:24:45 +0100 Taco Hoekwater wrote: > Hi, > > That is helpful knowledge. I am quietly confident I can fix wget tomorrow, > now. > > I’ll report back. > >

Re: [NTG-context] Making ConTeXt stop on all or some errors

2019-02-07 Thread Alan Braslau
On Thu, 7 Feb 2019 19:03:35 +0100 "Jan U. Hasecke" wrote: > Am 07.02.19 um 17:46 schrieb Alan Braslau: > > On Thu, 7 Feb 2019 07:27:57 +0100 (UTC) > > "Jan U. Hasecke" wrote: > > > >> At least a missing file should make ConTeXt stop imme

Re: [NTG-context] Making ConTeXt stop on all or some errors

2019-02-07 Thread Alan Braslau
On Thu, 7 Feb 2019 07:27:57 +0100 (UTC) "Jan U. Hasecke" wrote: > At least a missing file should make ConTeXt stop immediately. Why? (I often process with missing figures, etc. Of course, not for a final run, but adding showstoppers leads to overhead and longer processing times. People first

Re: [NTG-context] text flowing around images

2019-02-05 Thread Alan Braslau
p.101 of the TeXbook ... On Tue, 5 Feb 2019 13:48:14 -0700 Alan Braslau wrote: > \parshape > > On Tue, 5 Feb 2019 21:38:29 +0100 > Henning Hraban Ramm wrote: > > > No hints? > > > > If it’s not possible, I must redo the whole layout in InDesign. I’d l

Re: [NTG-context] text flowing around images

2019-02-05 Thread Alan Braslau
\parshape On Tue, 5 Feb 2019 21:38:29 +0100 Henning Hraban Ramm wrote: > No hints? > > If it’s not possible, I must redo the whole layout in InDesign. I’d like to > avoid that (footnotes!). > > Best, Hraban > > Am 2019-02-04 um 11:10 schrieb Henning Hraban Ramm : > > > Ahoi, > > > > in my

Re: [NTG-context] Show the letters of the alphabet with a loop (Metapost)

2019-02-03 Thread Alan Braslau
On Mon, 4 Feb 2019 09:19:26 +1300 Henri Menke wrote: > Use the infont operator. Easier yet, the string can contain the font switch \bf: draw textext("\bf "(i)) ; ___ If your question is of interest to others as

Re: [NTG-context] getting ConTeXt results back to Lua (for typesetting solutions at end of document)

2019-01-31 Thread Alan Braslau
On Thu, 31 Jan 2019 22:10:40 -0500 Sanjoy Mahajan wrote: > Thank you, Matthias and Wolfgang, for the examples/solutions. Why not use the list mechanism? Alan ___ If your question is of interest to others as well,

Re: [NTG-context] New logo proposal

2019-01-30 Thread Alan Braslau
On Tue, 29 Jan 2019 19:58:40 +0100 "Paul Schalck" wrote: > @Alan B: I've uploaded MetaPost files of the main version. MP produced using pstoedit is of little interest; it is not the same as generating a graphic naively using MetaPost. Also, writing good MP code is a simple and fun exercise

Re: [NTG-context] New logo proposal

2019-01-29 Thread Alan Braslau
On Tue, 29 Jan 2019 11:32:40 +0100 Taco Hoekwater wrote: > It would be more coherent if the color of the squares and the color of > the letters trailed each other around the 7 options in the writing order > for the word “CONTEXT” (C = orange+blue, O = blue+green, N = green+red > etc.) But

Re: [NTG-context] \setbreakpoints[compound] inserts spurious hyphen

2019-01-28 Thread Alan Braslau
On Mon, 28 Jan 2019 22:05:07 +1300 Henri Menke wrote: > This was falsely > reported as an issue with the btx system on TeX.SX. > https://tex.stackexchange.com/q/472041 Indeed, the mailing list, not stackexchange, is the place to report problems encountered in using ConTeXt ... Alan

Re: [NTG-context] definefontfamily use

2019-01-23 Thread Alan Braslau
On Wed, 23 Jan 2019 18:05:59 +0100 Wolfgang Schuster wrote: > Maybe you loaded the used the font before with \definefont which put a > entry in the database but normally \definefontfamily doesn’t use fonts > from a local directory. No, never used \definefont; the behavior of \definefontfamily

Re: [NTG-context] definefont

2019-01-23 Thread Alan Braslau
On Wed, 23 Jan 2019 18:03:51 +0100 Wolfgang Schuster wrote: > > Are not the default set of OpenType features activated by default? > > (as the name might suggest...). Perhaps *no* features are selected, by > > default... > > (a misnomer, therefore). > > default is just one of many predefined

Re: [NTG-context] definefont (was: definefontfamily use)

2019-01-23 Thread Alan Braslau
On Wed, 23 Jan 2019 17:32:41 +0100 Henning Hraban Ramm wrote: > > What are the roles of "*default" and "sa 3" as these appear to be > > unnecessary? > > *default activates the default set of OpenType features. Are not the default set of OpenType features activated by default? (as the name

Re: [NTG-context] definefontfamily use

2019-01-22 Thread Alan Braslau
On Tue, 22 Jan 2019 19:39:05 +0100 Hans Hagen wrote: > one can do > > \definefont[MyTitleFont][file:myfont.ttf*default sa 3] > > \setuphead[chapter][style=\MyTitlefont] Thank you \definefont[MyFont][file:myfont.ttf] \scale[width=.5\textwidth]{\MyFont My Font!} can be used for example in a

[NTG-context] definefontfamily use

2019-01-22 Thread Alan Braslau
Hello, Previously, in order to make punctual use of a true-type font in a title for example, I did the following: \definefontfamily [myfont] [serif] [myfont] where myfont.ttf is located in the current project directory, and selecting the font was simply {\switchtobodyfont[myfont]My Font!}

Re: [NTG-context] Bibliography not rendered

2019-01-11 Thread Alan Braslau
On Fri, 11 Jan 2019 16:44:39 +0100 "Jan U. Hasecke" wrote: > Hi, > > using the first example from mkiv-publications.pdf I don't get a > rendered bibliography. > > juh > @misc{} is not a defined category using the "default" rendering style (which only recognizes @book and @article). See

Re: [NTG-context] final thoughts on experiments with lua

2019-01-09 Thread Alan Braslau
On Wed, 9 Jan 2019 20:57:21 +0100 "Thomas A. Schmitz" wrote: > 3. Lua's handling of tables is very efficient and fast. For analyzing my > Greek texts, I have to use huge tables for morphological parsing, with > more than 900,000 entries. Looking up words in these tables is around 3x > faster

Re: [NTG-context] Update problems

2019-01-07 Thread Alan Braslau
On Mon, 7 Jan 2019 18:57:41 +0100 Hans Hagen wrote: > looking at this pdf file it makes sense to save as pdf from > illustrator because now you basically use the illustrator edit file > (with a lot of crap in it) and also some versioning (i suspect that the > xref is also bad so then you

Re: [NTG-context] ! Declared variable conflicts with previous vardef [Metapost]

2019-01-02 Thread Alan Braslau
On Thu, 3 Jan 2019 16:22:06 +1300 (UTC) Henri Menke wrote: > z is a MetaPost intrinsic, something along the lines of > > vardef z@#=(x@#,y@#) enddef; > > so you can't use the same name for a pair. Actually you can simply > delete the declaration > >pair z[]; I had already told

Re: [NTG-context] Question about defining a path with Metapost

2018-12-20 Thread Alan Braslau
On Fri, 21 Dec 2018 00:17:25 +0100 Fabrice Couvreur wrote: > Why does the definition of the r path that Hans proposed give the > same result as what I propose ? Look at the definition of bottomboundary in mp-tool.mpiv Use whatever you prefer. You might also be interested in the modification

Re: [NTG-context] Monospace fallback kerning

2018-12-19 Thread Alan Braslau
On Wed, 19 Dec 2018 19:16:23 +0100 Hans Åberg wrote: > > > On 19 Dec 2018, at 19:01, Alan Braslau wrote: > > > > On Wed, 19 Dec 2018 18:46:30 +0100 > > Hans Åberg wrote: > > > >> Though probably non-standard in typesetting, one might make a sli

Re: [NTG-context] Monospace fallback kerning

2018-12-19 Thread Alan Braslau
On Wed, 19 Dec 2018 18:46:30 +0100 Hans Åberg wrote: > Though probably non-standard in typesetting, one might make a slight > typographic difference between 푥²₀ and 푥₀² by letting the sub- or > superscripts that come later partially, but not fully, to the position of the > one that comes

Re: [NTG-context] graphics

2018-12-13 Thread Alan Braslau
of the integr $n$ > when you want to use $J_{n}(x)$? > > Best regards: OK > > > On 12 Dec 2018, at 21:13, Mikael P. Sundqvist wrote: > > > > On Wed, Dec 12, 2018 at 9:02 PM Henri Menke wrote: > >> > >> On 13/12/18 8:56 AM, Alan Braslau wro

Re: [NTG-context] graphics

2018-12-12 Thread Alan Braslau
On Thu, 13 Dec 2018 10:03:40 +1300 Henri Menke wrote: > Sorry, my mistake, the Bessel functions are not a GCC extension but > POSIX standard functions. > http://pubs.opengroup.org/onlinepubs/9699919799/functions/j0.html > Since TeX Live is always built on a POSIX platform (MSYS2 on Windows), >

Re: [NTG-context] graphics

2018-12-12 Thread Alan Braslau
On Thu, 13 Dec 2018 09:02:05 +1300 Henri Menke wrote: > On 13/12/18 8:56 AM, Alan Braslau wrote: > > On Wed, 12 Dec 2018 20:42:56 +0100 > > "Mikael P. Sundqvist" wrote: > >> > >> Thanks, Alan! That looks very promising. I could not make it work, >

Re: [NTG-context] graphics

2018-12-12 Thread Alan Braslau
On Wed, 12 Dec 2018 20:42:56 +0100 "Mikael P. Sundqvist" wrote: > > Thanks, Alan! That looks very promising. I could not make it work, > though, and I guess that is because I use linux and do not know what > to change for what. I installed libcerf but I assume something else is > missing. In any

Re: [NTG-context] graphics

2018-12-12 Thread Alan Braslau
On Wed, 12 Dec 2018 14:51:47 +0100 Mathias Schickel wrote: > You can see the desired behaviour in the attached pdf output of the > LaTeX file. No, one cannot, unless one has Adobe... Alan ___ If your question is of

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-08 Thread Alan Braslau
On Sat, 8 Dec 2018 21:11:17 +0100 "Thomas A. Schmitz" wrote: > I find myself in > situations where I want a reference, but this list should not be > included in the document. Example: you distribute a bibliographical list > on your handout and want your slides to display the numeric

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-08 Thread Alan Braslau
On Sat, 8 Dec 2018 12:43:34 -0500 Rik Kabel wrote: > It is also quite > useful in earlier stages of larger projects where it is important to > document sources (for circulation copies) but one is not ready to tackle > the design and generation of more formal backmatter. In my incremental

Re: [NTG-context] graphics

2018-12-08 Thread Alan Braslau
On Sat, 8 Dec 2018 09:31:46 +0100 "Mikael P. Sundqvist" wrote: > 3) It would be nice to be able to plot some special functions. I'm > thinking of the usual suspects, Airy, Bessel, Hypergeometric, > Laguerre, Legendre, ... Could it be that one could have support via > some lua library? I use ffi

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-07 Thread Alan Braslau
On Fri, 7 Dec 2018 23:34:58 -0500 Rik Kabel wrote: > On 12/7/2018 22:51, Alan Braslau wrote: > > You can place references rendered as you need, not necessarily in > > one single bibliography list, but they must be rendered somewhere, > > otherwise numbering and cross-refer

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-07 Thread Alan Braslau
ecome an index. Alan On Fri, 7 Dec 2018 22:36:02 -0500 Rik Kabel wrote: > On 12/7/2018 18:01, Alan Braslau wrote: > > On Fri, 7 Dec 2018 17:19:35 -0500 > > Rik Kabel wrote: > > > >> As a followup, here is a close-to-minimal example which >

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-07 Thread Alan Braslau
On Fri, 7 Dec 2018 17:19:35 -0500 Rik Kabel wrote: > As a followup, here is a close-to-minimal example which demonstrates the > failure when \placebtxrendering is omitted. It is not a failure. The whole intent is to place an appropriate rendering that you can tailor to your specific needs.

Re: [NTG-context] graphics

2018-12-07 Thread Alan Braslau
On Fri, 7 Dec 2018 09:06:03 +0100 "Mikael P. Sundqvist" wrote: > 2) Support for transforming images in a more general way. With the > zscaled, slanted, ... we are able to transform any object in an affine > way. It would be nice to be able to transform any object in a more > general way (i.e. by

Re: [NTG-context] regression in bib system

2018-12-05 Thread Alan Braslau
On Wed, 5 Dec 2018 23:35:21 +0100 "Thomas A. Schmitz" wrote: > compilation hangs with > this message: > > close source> level 2, order 8, name > '/mnt/shared/Documents/excerpts.tex' > close source> level 1, order 8, name >

Re: [NTG-context] Ending strings with non-break space in lang-txt.lua

2018-12-05 Thread Alan Braslau
On Wed, 5 Dec 2018 19:47:31 +0100 Marco Patzer wrote: > Hi! > > I've got a few unfortunate line breaks in my documents. In > particular, breaks are introduced in between the string “page” and > the number: > > See figure 1 at page > 2. > > The reason is that many strings in lang-txt.lua

Re: [NTG-context] graphics

2018-12-05 Thread Alan Braslau
On Wed, 5 Dec 2018 13:59:35 +0100 Hans Hagen wrote: > > On this note: I would like to have an ‘official’ way to map 3D > > coordinates to 2D coordinates with for a camera position with an > > orthogonal window. > > > > Not the most complicated thing in the world, but it would be nice if > >

Re: [NTG-context] graphics

2018-12-04 Thread Alan Braslau
On Tue, 4 Dec 2018 18:03:14 +0100 Hans Hagen wrote: > Hi, > > As most mechanism are reasonable okay now we can look into what > future versions of ConteXt should provide in terms of functionality. > The (luatex) engine is also more of less finished or at least stable > in terms of

Re: [NTG-context] Two questions on bibliography

2018-11-13 Thread Alan Braslau
On Mon, 12 Nov 2018 17:50:09 +0100 "Joshua Moerman" wrote: > I am using the APA style (context version 2018.10.03 16:02). > > Q1: Shouldn't the order of multiple citations (using a single \cite command) > be the same as the order in the publications list? In the example below, the > orders are

Re: [NTG-context] spacing

2018-11-09 Thread Alan Braslau
On Fri, 9 Nov 2018 15:05:59 +0100 Tomas Hala wrote: > I solve the same problem for ages... I decided for fixed time points If it may be useful: I keep a very short-term backup so that when things "break" or change, I can easily backtrack to a working copy. I update using the following shell

Re: [NTG-context] Projects and URLs

2018-11-03 Thread Alan Braslau
On Sat, 3 Nov 2018 10:25:23 +0100 Axel Kielhorn wrote: > Is there a way to loop over all defined urls to generate a link list (like a > bibliography)? You can use the bibliography subsystem to create a database of urls. Look at "other uses" in the bibliography manual. Alan

Re: [NTG-context] Typesetting abbreviations

2018-10-27 Thread Alan Braslau
frenchpunctuation ;-) On Sun, 28 Oct 2018 00:04:37 +0300 "Clyde Johnston" wrote: > What is the correct way to typeset an abbreviation in ConTeXt? The space > after the full stop seems too big and if I use \thinspace, I cannot use > ties. > > > > No command - space is too big > >

Re: [NTG-context] what defines the font size?

2018-10-17 Thread Alan Braslau
On 17/10/2018 11:10, Alan Braslau wrote: On 17/10/2018 11:05, Hans Hagen wrote: And compare it to sizing dogs or so ... what do you measure? Its tail or its legs. Of course, horses are measured in "hands"

Re: [NTG-context] what defines the font size?

2018-10-17 Thread Alan Braslau
On 17/10/2018 11:05, Hans Hagen wrote: And compare it to sizing dogs or so ... what do you measure? Its tail or its legs. Or, for Arthur: neck circumference, arm length, shirttail length, shoulder width, waist size, ... Alan ;-)

Re: [NTG-context] Implicit plots/level curves possible?

2018-10-09 Thread Alan Braslau
On Mon, 8 Oct 2018 17:56:24 -0400 (EDT) Aditya Mahajan wrote: > Here is a proof of concept implementation in Lua + MP so that you can use: > > \ContourPlot >[ > function=2*x^5 + x*y + y^5, > x={0, 2}, > y={-2, 0.5}, > n=1000, % Number of discretization points >] > >

Re: [NTG-context] embedded sounds

2018-10-09 Thread Alan Braslau
On Tue, 9 Oct 2018 19:49:44 +0200 Hans Hagen wrote: > media in pdf are sort of braindead and it's hard to get something that > doesn't have side effects (attachment vs external vs ...) .. when i > can't hear sound with internal files (no matter how we wrap it i cannot > really test something)

Re: [NTG-context] Implicit plots/level curves possible?

2018-10-08 Thread Alan Braslau
On Mon, 8 Oct 2018 17:25:24 -0400 (EDT) Aditya Mahajan wrote: > > (then eps should be made a linear function of xi) > > Oh, I missed that. Thanks. This is because the function is O(xy) for small x so one will get oscillations in the curve (multiple hits in the grid search) otherwise. Alan

Re: [NTG-context] Can anyone connect context to R or python?

2018-10-08 Thread Alan Braslau
On Mon, 8 Oct 2018 15:58:25 -0300 Stanislav Sokolenko wrote: > I have recently come across the SciLua project > (http://scilua.org/index.html) which has a built-in LuaJIT client for > Rserve (http://scilua.org/rclient.html) and may be relevant to the > discussion. Although it certainly isn't

Re: [NTG-context] Implicit plots/level curves possible?

2018-10-08 Thread Alan Braslau
On Mon, 8 Oct 2018 16:00:10 -0400 (EDT) Aditya Mahajan wrote: > On Sun, 7 Oct 2018, Hans Hagen wrote: > > > On 10/7/2018 7:14 PM, Alan Braslau wrote: > >> On Sun, 7 Oct 2018 17:25:35 +0200 > >> "Mikael P. Sundqvist" wrote: > >> > >&

Re: [NTG-context] Implicit plots/level curves possible?

2018-10-07 Thread Alan Braslau
On Sun, 7 Oct 2018 17:25:35 +0200 "Mikael P. Sundqvist" wrote: > ContourPlot[2 x^5 + x y + y^5 == 0, {x, 0, 2}, {y, -2, 1/2}] Brut force: \startTEXpage \startMPcode {doublefun} pen savedpen ; savedpen := currentpen ; pickup pencircle scaled .01 ; path p ; p := for i=0 upto 1000 : for

Re: [NTG-context] Font Awesome (again)

2018-10-07 Thread Alan Braslau
On Sun, 7 Oct 2018 16:19:13 +0200 Hans Hagen wrote: > hm, one of these projects that when it got some reasonable user base > went 'pro', collects money as kick start which looks proffitable enough > to keep all open, but then goes for a limited free version to play nice, > and go for a

Re: [NTG-context] Can anyone connect context to R or python?

2018-10-06 Thread Alan Braslau
On Sat, 6 Oct 2018 13:06:18 -0400 (EDT) Aditya Mahajan wrote: > In my opinion, a better long-term option is to write a jupyter client in > lua that can be called by context. Then we can easily interface with all > languages that provide a jupyter kernel >

  1   2   3   4   5   6   7   8   9   10   >