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 "degrade"

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 that |

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 > se

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 immediate

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 co

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 "&char(i)) ; ___ If your question is of interest to others a

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, pl

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 and

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 perh

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 mi

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 h

[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 publ-

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 i

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 depen

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 Fabric

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 tha

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 slig

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 befor

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), > yo

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 reference,

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 deve

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
has become 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 > >> demo

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. The

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 > '/mnt/shared/context/tex/texmf-context/tex/context/base/mkiv/c

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 en

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 > > meta

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 functionality.

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 d

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 scri

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 > > \starttex

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 a

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 j=0

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 subscri

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 > (https://github.com/jupyter/jupyter/wi

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

2018-10-05 Thread Alan Braslau
On Fri, 5 Oct 2018 20:07:27 +0200 Hans Hagen wrote: > > I want to fill it in with numbers that r reads from a csv file and > > processes. > Can you give an example? Do you only need R for reading the csv? The processing is done by R. Of course, it *could* be done in Lua, but this all depends

Re: [NTG-context] Which color model shall I use

2018-09-30 Thread Alan Braslau
On Sun, 30 Sep 2018 19:07:24 +0200 Hans Hagen wrote: > > Luckily I never had to match corporate colors of different models in > > ConTeXt... > the worst are colors specs with 4 decimals based on some design made in > indesign where one has at most 256 values per channel and then some > desig

Re: [NTG-context] setupitemize (no hanging)

2018-09-29 Thread Alan Braslau
On Sun, 30 Sep 2018 13:40:36 +1300 Henri Menke wrote: > On 30/09/18 13:17, Alan Braslau wrote: > > Silly question: > > > > How do I setup itemize so that there be no hanging indent and the symbol is > > aligned with the left edge of the text, i.e. not in the margin?

Re: [NTG-context] align is reversed inside a table

2018-09-29 Thread Alan Braslau
On Sat, 29 Sep 2018 17:29:40 -0700 David Walther wrote: > Using this table as an example, when I do align=left, the column aligns right, > and when I do align=right, it aligns left. align=center works as expected. > Am > I doing something wrong or is this a bug? align=left means raggedleft al

[NTG-context] setupitemize (no hanging)

2018-09-29 Thread Alan Braslau
Silly question: How do I setup itemize so that there be no hanging indent and the symbol is aligned with the left edge of the text, i.e. not in the margin? (margin or inmargin or width=-2em puts the symbol in the margin.) Alan

Re: [NTG-context] Notation of an arc

2018-09-27 Thread Alan Braslau
t; Thank you for your answers. > > Fabrice > > > > Le mer. 26 sept. 2018 à 23:52, Alan Braslau a > > écrit : > > > >> On Thu, 27 Sep 2018 09:22:00 +1200 > >> Henri Menke wrote: > >> > >> > On 27/09/18 09:15, Fabrice Couvreur

Re: [NTG-context] Notation of an arc

2018-09-26 Thread Alan Braslau
On Thu, 27 Sep 2018 09:22:00 +1200 Henri Menke wrote: > On 27/09/18 09:15, Fabrice Couvreur wrote: > > Hello, > > How to improve the notation of an arc ? > > Thank you > > Fabrice > > > > Use the correct math fence > > \starttext > \m{\overparent{\rm AB}} > \stoptext > > > \starttext > >  \

Re: [NTG-context] Metafun: Finding intersection between characters

2018-09-22 Thread Alan Braslau
On Sat, 22 Sep 2018 13:45:17 +0200 Hans Hagen wrote: > On 9/22/2018 12:08 PM, Floris van Manen wrote: > > It does not seem to work for all character combinations. > > e.g. B&T works, C&T works, C&M works, but N&T does not work. > > not N&M > > Why would that be? > > Thanks > > .Floris > > > > >

Re: [NTG-context] Variable instance identifiers exhausted

2018-09-19 Thread Alan Braslau
On Tue, 18 Sep 2018 19:21:31 -0700 Fabrice L wrote: > The problem is that the process take hours of compilations, and > tests are not easy to do. Anyway, I will enrich my « minimal » code to my > « full » code in order to find the difference… and the problem. I will > update the thread as soon as

Re: [NTG-context] Variable instance identifiers exhausted

2018-09-19 Thread Alan Braslau
On Wed, 19 Sep 2018 09:28:36 +0200 Hans Hagen wrote: > On 9/19/2018 4:24 AM, Fabrice L wrote: > > > I do not think this a loop problem, because the same code runs ok for 15 > > 000 objects, but give an error for 18 000 objects. I’m working to build > > a minimal example. > So what do you do wi

Re: [NTG-context] MetaFun: How to draw bent paths?

2018-09-19 Thread Alan Braslau
On Wed, 19 Sep 2018 11:18:30 +1200 Henri Menke wrote: > On 18/09/18 21:23, Henri Menke wrote: > > On 9/18/18 7:57 PM, Hans Hagen wrote: > >> On 9/16/2018 10:28 AM, Henri Menke wrote: > >>> Dear list, > >>> > >>> I want to draw paths between points which are bent by a certain angle. > >>> The

Re: [NTG-context] list of figures

2018-09-14 Thread Alan Braslau
On Fri, 14 Sep 2018 11:20:27 +0200 Andrea Valle wrote: > Thanks Henri > > actually this works in my chapter but I have a book made up of various > chapters coordinate by a main.tex file > containing general setting and e.g. > > \input c_1_semiotics.tex % chapter > > \input c_2_conceptions.t

Re: [NTG-context] Printer requires vectorised contour path for cut contour

2018-09-11 Thread Alan Braslau
Hi Marco, In Metapost, fill is: def fill expr c = addto currentpicture contour c _op_ enddef ; (whereas draw adds a "doublepath".) Alan On Thu, 6 Sep 2018 12:49:04 +0200 Marco Patzer wrote: > Hi! > > I created a non-rectangular shaped document. The printer requires a cut > contour in a

Re: [NTG-context] HTTPS on wiki.contextgarden.net

2018-09-10 Thread Alan Braslau
In the meantime, don't create an account... ;-) Alan > On 9 Sep 2018, at 09:22, Henri Menke wrote: > > Dear list, > > The page wiki.contextgarden.net processes personal data. I can make an > account there with my real name, and it stores my email address. Due to > the GDPR [1], personal info

Re: [NTG-context] contextbeta moved or server down?

2018-09-07 Thread Alan Braslau
rsync uses port 873 This often gets blocked at many sites. Alan > On 7 Sep 2018, at 17:17, Hans van der Meer wrote: > > Tried it on a MacBook too, same problem. Could be my router then. > >> On 7 Sep 2018, at 17:04, Mohammad Hossein Bateni wrote: >> >> works for me. I have macbook pro (mid

Re: [NTG-context] labeling in meta post

2018-09-07 Thread Alan Braslau
> On 7 Sep 2018, at 01:02, Henri Menke wrote: > >> label.bot(btex ${\delta}$ etex, (1cm,0));% >> %label.bot(btex $\delta$ etex, (3cm,0)); > > Why not just > > label.bot("$\delta$", (3cm,0)); Sometimes, one might want to use btex ... etex to produce a picture object, for example: label.

Re: [NTG-context] How to cite online websites (reloaded)

2018-09-02 Thread Alan Braslau
] > \stopsection > \stopappendices > \stoptext > And that's in My_file.bib: > > @Misc{lnkHWelt, > Note = "zuletzt abgerufen am 5. Aug. 2018", > Url = "http://wiki.contextgarden.net"; > } > > What would be the mkiv way? > >

Re: [NTG-context] How to cite online websites (reloaded)

2018-09-02 Thread Alan Braslau
You are using the old mkii BibTeX module, not the bibliography database system that is part of the mkiv core. Alan > On 2 Sep 2018, at 19:02, Lars wrote: > > Hello guys, > > I've checked some articles on the wiki as well as the publications manual, > but the results I get aren't what I expec

Re: [NTG-context] how to put page X of N in header or top space?

2018-08-14 Thread Alan Braslau
On Tue, 14 Aug 2018 14:19:25 -0700 David Walther wrote: > On Tue, Aug 14, 2018 at 02:58:58PM -0600, Alan Braslau wrote: > >On Tue, 14 Aug 2018 13:44:43 -0700 > >David Walther wrote: > > > >> I did page Page X of N, but in the output, it displays like > &g

Re: [NTG-context] how to put page X of N in header or top space?

2018-08-14 Thread Alan Braslau
On Tue, 14 Aug 2018 13:44:43 -0700 David Walther wrote: > I did page Page X of N, but in the output, it displays like > Page 2of 3, Page 1of 3, etc. It ignores the space between the number and the > word of. You must have forgotten the trailing "\ " of "\userpagenumber\ ". Alan __

Re: [NTG-context] \definetextbackground does not fill tables within

2018-08-14 Thread Alan Braslau
On Tue, 14 Aug 2018 09:49:05 +0200 Hans Hagen wrote: > > I have simple document which I define my \definetextbackground: > > \startteoria and \stopteoria (see below). When I use it and put table > > within, the table does not get filled with color. Any solution? > \setupfloats[table][freeregi

Re: [NTG-context] Scite + ConTeXt

2018-08-13 Thread Alan Braslau
On Tue, 14 Aug 2018 01:54:06 +0200 Fabrice Couvreur wrote: > Hello, > As I am having some problems with Emacs, I will try to use Scite ! > > 1. How to insert an environment ? > That is with AUCTEX + Emacs, I was doing C-c C-e but how do with Scite ? > > 2. To compile, I do Alt + F12 (Run with j

Re: [NTG-context] \definetextbackground does not fill tables within

2018-08-13 Thread Alan Braslau
Floating objects (\placetable, \placefigure, ... and footnotes, etc.) do not inherit the text background, for indeed, imagine that it floats to another location. Here, you use location=force, so one might expect it to use the text background... In fact, side floats, location=left and location=r

Re: [NTG-context] integer displayed as .0 float in Lua-5.3

2018-08-11 Thread Alan Braslau
On Sat, 11 Aug 2018 11:29:41 +0200 Pablo Rodriguez wrote: > On 08/09/2018 10:16 PM, Alan Braslau wrote: > > On Thu, 9 Aug 2018 22:00:48 +0200 > > Pablo Rodriguez wrote: > > > >> I guess that backwards compatibility should be important here, but I > >&

Re: [NTG-context] general suggestion for ConTeXt documentation

2018-08-10 Thread Alan Braslau
On Fri, 10 Aug 2018 18:38:19 +0200 Hans Hagen wrote: > On 8/10/2018 5:50 PM, Henning Hraban Ramm wrote: > > > And I still could smash my primary school teacher: When I asked "what > > happens if we subtract a bigger number from a smaller?", she answered > > "that’s not possible". :( > > She co

Re: [NTG-context] integer displayed as .0 float in Lua-5.3

2018-08-09 Thread Alan Braslau
On Thu, 9 Aug 2018 22:00:48 +0200 Pablo Rodriguez wrote: > I guess that backwards compatibility should be important here, but I > hope there are stronger reasons for breaking it. tonumber() provides backwards compatibility. And the recommendation to use it was in the third edition (of the lua b

Re: [NTG-context] integer displayed as .0 float in Lua-5.3

2018-08-09 Thread Alan Braslau
The lua manual also states that one should NOT rely on the implicit conversion of a string to its numerical value, and suggests the systematic use of tonumber(). Alan On Thu, 9 Aug 2018 21:20:54 +0200 Pablo Rodriguez wrote: > On 08/09/2018 08:12 PM, Wolfgang Schuster wrote: > > Use tonumber.

Re: [NTG-context] general suggestion for ConTeXt documentation

2018-08-08 Thread Alan Braslau
On Wed, 8 Aug 2018 17:54:34 +0200 Hans Hagen wrote: > On 8/8/2018 3:30 PM, Robert Zydenbos wrote: > > > profile = NAME > > empty = yes no > > … > > > > and similar questions arise: “what kind of profile?”, “what is empty or > > not?” etc. > > it's pretty safe to ignore keys like 'profile' (

Re: [NTG-context] question regarding \placefloats

2018-08-08 Thread Alan Braslau
On Wed, 8 Aug 2018 14:33:21 +0200 "Susanne G. Loeber" wrote: > \placelistoffloats does not exist as a command > > My solution is two seperate commands, one for the tables \placelistoftables > and one for the figures \completelistoffigures. > > Question: how to use \placefloats correctly to get

Re: [NTG-context] general suggestion for ConTeXt documentation (was: footnote and endnote markers...)

2018-08-07 Thread Alan Braslau
tex/context/interface/mkiv/i-context.pdf On Wed, 8 Aug 2018 00:40:37 +0200 Robert Zydenbos wrote: > > On 7. Aug 2018, at 17:54, Pablo Rodriguez wrote: > > > > On 08/06/2018 11:59 PM, Robert Zydenbos wrote: > >> Sorry for all these footnote questions, […] > > > > Hi Robert, > > > > […] >

Re: [NTG-context] xrightarrow is not straight

2018-08-07 Thread Alan Braslau
On Tue, 7 Aug 2018 13:06:23 -0400 (EDT) Aditya Mahajan wrote: > > Furthermore, the MP arrow can be tuned > > > > \startMPinitializations > > > > ahlength := .5EmWidth ; > > ahvariant := 1 ; % dimpled straight > > > > \stopMPinitializations > > > > as can line widths, etc. > > Shouldn't we use

Re: [NTG-context] How to control the space between the bottom of the frame and the text?

2018-08-07 Thread Alan Braslau
offset= On Tue, 7 Aug 2018 11:55:29 +0200 Fabrice Couvreur wrote: > Hello, > I find that the text is near the bottom line of the frame, how to add > a little space ? > Thanks > Fabrice > > \defineframed > [ACFRAME] > [frame=on, >width=fit, >align=flushleft, >location=low, >b

Re: [NTG-context] xrightarrow is not straight

2018-08-07 Thread Alan Braslau
On Tue, 7 Aug 2018 10:42:01 +0200 "Joshua Moerman" wrote: > Hi ConTeXt mailing list, > > I am using the extensible arrows and I am not really satisfied with > the looks of it. > > The most important issue I have is that the vertical spacing is too > much. You can see this in the attached pictur

Re: [NTG-context] future versions

2018-07-25 Thread Alan Braslau
On Wed, 25 Jul 2018 09:50:58 -0400 Rik Kabel wrote: > On 7/25/2018 04:19, Henning Hraban Ramm wrote: > > Am 2018-07-25 um 03:29 schrieb Rik Kabel > > : > >> I would ask for more stylistic or semantic tagging to be added to > >> the XML export. A good example is that of bibliographies, where > >>

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Alan Braslau
\startusableMPgraphic ? > On 17 Jul 2018, at 14:46, Rik Kabel wrote: > > On 7/17/2018 16:40, Hans Hagen wrote: >> On 7/17/2018 10:30 PM, Rik wrote: >>> On 7/16/2018 10:24, Fabrice Couvreur wrote: % macros=mkvi \setuppagenumbering[location=footer] \startusableMPgraphic{

Re: [NTG-context] Strange behavior !

2018-07-15 Thread Alan Braslau
MyColor is undefined and defaults to black. Alan On Mon, 16 Jul 2018 00:03:33 +0200 Fabrice Couvreur wrote: > Good evening, > In the code below, I get frames filled in black > ​ ​ > ! > Thank you > Fabrice > > \setupbodyfont [palatino,11pt] > > \definecolor[MyColorB][c=0.00, m=0.62, y=1.00,

Re: [NTG-context] Crossref in bibtex

2018-07-12 Thread Alan Braslau
On Thu, 12 Jul 2018 12:21:28 +0200 wrote: > Hi all, > > I am now playing around with ConTeXt to see if it fits my needs for > writing my thesis :-). > > One thing which did not work for me was the use of crossref in bibtex > entries. This feature is used when generating bibtex entries via DBLP

Re: [NTG-context] text in mathematics

2018-07-08 Thread Alan Braslau
e > > the command changes only the math alphabet. This means no > > ligatures, kerning or other characters like umlauts. > > > > 3. The correct way to write text in math mode is \mathtext (which > > has the synonym \text) or \mathword. To change the style of the &

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-08 Thread Alan Braslau
On Sun, 8 Jul 2018 11:21:55 +0200 Hans Hagen wrote: > the "externalfigure" variant is an old one that had to deal with > dimensions in a way that avoids overflows > > in a future context (read luatex 1.09+) we go one-pass-mp so we can > have a different approach (i never wanted to add a ton of

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-07 Thread Alan Braslau
On Sat, 7 Jul 2018 20:58:40 +0200 Marco Patzer wrote: > Hi! > > How to scale an image in MetaPost, maintaining the aspect ratio > (without specifying the height explicitly)? > > Example: > > \setupexternalfigures [location=default] > \starttext > \externalfigure [cow][width=5cm] > > \star

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