Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-21 Thread Aditya Mahajan
On Thu, 21 Dec 2017, Pablo Rodriguez wrote: On 12/20/2017 12:20 AM, Aditya Mahajan wrote: On Tue, 19 Dec 2017, Pablo Rodriguez wrote: [...] I checked your t-vim module months ago and I don’t remember which were the problems, but I had to discard it. Just try your document with t-vim

Re: [NTG-context] where is latest vim-context?

2017-12-21 Thread Aditya Mahajan
I've decided to use ConTeXt instead of LyX/LaTeX and at the same time moved (back) to (n)vim from Emacs and wonder if https://github.com/adityam/vim-context does contain latest vim support for ConTeXt? There are multiple vim plugins for ConTeXt. The one that I maintain at the link you listed

Re: [NTG-context] Fwd: Re: Stray blank page with part

2017-12-20 Thread Aditya Mahajan
On Wed, 20 Dec 2017, Hans Hagen wrote: % solution 1: \setuphead [part] [page=no, placehead=hidden] \setuptexttexts [\synchronizehead{part}] I recently had a problem where \testpage was misbehaving while \testpagesyncronized worked correctly. The example above is another

Re: [NTG-context] Fwd: Re: Stray blank page with part

2017-12-20 Thread Aditya Mahajan
On Wed, 20 Dec 2017, Hans Hagen wrote: Forwarded Message Subject: Re: [NTG-context] Stray blank page with part Date: Wed, 20 Dec 2017 11:50:11 +0100 From: Hans Hagen To: Henri On 12/19/2017 9:15 PM, Henri wrote: Dear list, Motivated

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-19 Thread Aditya Mahajan
On Tue, 19 Dec 2017, Pablo Rodriguez wrote: On 12/19/2017 08:26 PM, Aditya Mahajan wrote: On Mon, 18 Dec 2017, Pablo Rodriguez wrote: [...] Would it be possible that all comments in type and typing (at least, for Lua, XML and TeX) would have the same formatting for the whole comment contents

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-19 Thread Aditya Mahajan
On Mon, 18 Dec 2017, Pablo Rodriguez wrote: \definetype[context][option=tex] \definetype[lua][option=lua] \starttext \startTEXpage[offset=2em] a \TEX\ inline comment: \context{ag%befe} \Lua\ inline comment: \lua{agb --efe} \startTEX This is text. % a comment, not

Re: [NTG-context] WYSIWYM editor on top of ConTeXt / Lout

2017-12-07 Thread Aditya Mahajan
On Thu, 7 Dec 2017, Floris van Manen wrote: it might be simpler to have a ‘watch’ option for the context compiler combined with an ‘open result’. e.g. the coffeescript compiler allows for a ‘-w’ option, it will keep the compiler running in the background and start compiling the file(s) as

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

2017-12-06 Thread Aditya Mahajan
On Wed, 6 Dec 2017, Wim Neimeijer wrote: @Wolfgang, Ran your example (unsure about all these \definefontfamily commands), but does not work, a lot of errors This is LuaTeX, Version beta-0.89.4 (TeX Live 2016/dev) ConTeXt ver: 2016.03.13 23:40 MKIV beta fmt: 2016.3.23 int: english/english

Re: [NTG-context] WYSIWYM editor on top of ConTeXt / Lout

2017-12-03 Thread Aditya Mahajan
This is a blog post I recently published: https://jonas17b.wixsite.com/monsite/home/wysiwym-editor-on-top-of-context-lout. It is about some ideas I have for a WYSIWYM editor like LyX, but it would be designed for using more than 1 backend (e.g. ConTeXt, Lout), and to give a much better user

Re: [NTG-context] Modern CV like cover letter example

2017-12-02 Thread Aditya Mahajan
On Sat, 2 Dec 2017, Jonas Baggett wrote: Hi Aditya, Now I have updated the Modern CV like cover letter example that I published in http://wiki.contextgarden.net/index.php?title=Letter_style according to your suggestions. Thanks for adding this to the wiki. It will be nice to include a

Re: [NTG-context] getting metafun positions within (displayed) math mode

2017-11-17 Thread Aditya Mahajan
On Thu, 16 Nov 2017, Sanjoy Mahajan wrote: However, the \hpos hides its argument in an \hbox, and thus hides it from the math layout. Thus, I have to do something like this minimal example: \starttext \startformula \sum_0^1 % what it should look like \quad

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

2017-11-08 Thread Aditya Mahajan
On Wed, 8 Nov 2017, tobber wrote: … really? Hm, I tried it out, but it doesn’t work neither :( You are right. Sometimes your eyes don't see what you don't want to see. Sorry about the noise. Aditya___ If your

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

2017-11-08 Thread Aditya Mahajan
On Wed, 8 Nov 2017, tobber wrote: Hm, I made this little test: +++ \startbuffer[references] @misc{test, author= {P. Wolf and H. Fuchs and V. Hase and L. Löwe}, title = {Irgendwelche Viecher}, year = {2017}, } \stopbuffer \usebtxdataset[references.buffer] \usebtxdefinitions[aps] \setupbtx

Re: [NTG-context] Asymptote with Context

2017-11-01 Thread Aditya Mahajan
On Wed, 1 Nov 2017, Fabrice Couvreur wrote: Hi Aditya, I continue to test files, some work (ntg70.tex) and some do not (ntg71.tex). This seems to depend on imported modules but why ? Both files work correctly at my end. I don't understand asymptote well enough to debug why some imported

Re: [NTG-context] Tabulate containing high element

2017-10-29 Thread Aditya Mahajan
On Sun, 29 Oct 2017, Procházka Lukáš Ing. wrote: Hello, how to make tabulate row "aware" of some content of some "bigger" height? In the following sample: \starttext \starttabulate[|pd(.4\textwidth)|p|] \HL \NC \framed[location=top,width=1in,height=1in]{Abc} \VL Def

Re: [NTG-context] Asymptote with Context

2017-10-27 Thread Aditya Mahajan
On Fri, 27 Oct 2017, Fabrice Couvreur wrote: I enclose the files you requested 1. What happens when you run asy -tex "context" -outformat pdf -outname ntg70-temp-ASY-0.pdf ntg70-temp-ASY-0.tmp from the command line (in the same directory as your MWE). Do you get a correct pdf? 2. Does

Re: [NTG-context] Asymptote with Context

2017-10-26 Thread Aditya Mahajan
On Thu, 26 Oct 2017, Fabrice Couvreur wrote: https://mailman.ntg.nl/pipermail/ntg-context/2015/080581.html Hi, I tested the file and the figure is not drawn but I get the following message "[[output file missing" That works at my end so you will need to provide additional information.

Re: [NTG-context] Setting style for \mfunction

2017-10-09 Thread Aditya Mahajan
On Mon, 9 Oct 2017, Hans Hagen wrote: On 10/8/2017 3:27 PM, Aditya Mahajan wrote: Hi, In the past, it was possible to use the text font for math functions using \setupmathematics[style=normal] https://mailman.ntg.nl/pipermail/ntg-context/2015/082212.html However, that does not work now

[NTG-context] Setting style for \mfunction

2017-10-08 Thread Aditya Mahajan
Hi, In the past, it was possible to use the text font for math functions using \setupmathematics[style=normal] https://mailman.ntg.nl/pipermail/ntg-context/2015/082212.html However, that does not work now. Here is a minimal example: \usetypescriptfile[euler]

Re: [NTG-context] Strange behavior with TikZ

2017-10-07 Thread Aditya Mahajan
On Sat, 7 Oct 2017, Aditya Mahajan wrote: On Sat, 7 Oct 2017, Fabrice Couvreur wrote: Hi Hans Sorry to insist, but I need to correct this anomaly for my documents that I give to students. If I compile with Context Standalone, it does not work, but maybe I do not do what you are suggesting

Re: [NTG-context] Strange behavior with TikZ

2017-10-07 Thread Aditya Mahajan
On Sat, 7 Oct 2017, Fabrice Couvreur wrote: Hi Hans Sorry to insist, but I need to correct this anomaly for my documents that I give to students. If I compile with Context Standalone, it does not work, but maybe I do not do what you are suggesting : I can confirm that color leakage. It

Re: [NTG-context] Module Update from GIT URL Fails

2017-09-25 Thread Aditya Mahajan
I try to create a new version by entering the URL of my git repository (g...@bitbucket.org:philexander/context-highlight.git) into the GIT URL field OT: Since you haven't uploaded your module yet, might I suggest that you change the name to t-highlight instead of t-high. That will be in line

Re: [NTG-context] automatically splitting big images (calculation problem)

2017-09-09 Thread Aditya Mahajan
On Sat, 9 Sep 2017, Henning Hraban Ramm wrote: Ahoi, I got some long images that I’d like to split over several pages. \def\clipfigure{\dodoubleempty\doClipFigure} \def\doClipFigure[#1][#2]{ \dorecurse{#1}{% \clip[ height=\textheight, voffset=\dimexpr((\recurselevel -1) *

Re: [NTG-context] Obtaining an old standalone

2017-09-08 Thread Aditya Mahajan
On Fri, 8 Sep 2017, Roger Mason wrote: Hi Dalyoung, Jeong Dal writes: I also had a similar problem recently after installing texlive 2017. But it is resolved now by doing the following according to the suggestions: run mtxrun —generate and luatools —generate May be, “

Re: [NTG-context] Obtaining an old standalone

2017-09-06 Thread Aditya Mahajan
On Wed, 6 Sep 2017, Roger Mason wrote: Aditya Mahajan <adit...@umich.edu> writes: On Wed, 6 Sep 2017, Roger Mason wrote: Hi Aditya, Aditya Mahajan <adit...@umich.edu> writes: I have the zips for 2015.12.29 and 2016.02.15, if either of those would work. For which oper

Re: [NTG-context] Obtaining an old standalone

2017-09-06 Thread Aditya Mahajan
On Wed, 6 Sep 2017, Roger Mason wrote: Hi Aditya, Aditya Mahajan <adit...@umich.edu> writes: I have the zips for 2015.12.29 and 2016.02.15, if either of those would work. For which operating system? linux 64 bit.

Re: [NTG-context] Obtaining an old standalone

2017-09-06 Thread Aditya Mahajan
On Wed, 6 Sep 2017, Roger Mason wrote: Hello, Is there a means of obtaining an old standalone? I would like to get ConTeXt ver: 2016.01.04 15:47 MKIV beta fmt: 2016.1.4 I have the zips for 2015.12.29 and 2016.02.15, if either of those would work. Aditya

Re: [NTG-context] Head sections automatically marked for conditional text

2017-08-31 Thread Aditya Mahajan
On Tue, 29 Aug 2017, Paul Mazaitis wrote: The short version: I'd like to set up a context document with multiple user-defined heads, such that they can be conditionally compiled and/or altered. It seems that modes are what I want, but I'm having trouble figuring out how to automatically

Re: [NTG-context] lines in \setuptyping

2017-08-29 Thread Aditya Mahajan
On Tue, 29 Aug 2017, Hans Hagen wrote: On 8/29/2017 9:02 PM, Pablo Rodriguez wrote: On 08/29/2017 07:25 PM, Hans Hagen wrote: On 8/29/2017 4:43 PM, Pablo Rodriguez wrote: [...] I thought the lines key should display multiple lines when they are in the code. How should I got the multiple

Re: [NTG-context] How to put a circle on top of a character

2017-08-29 Thread Aditya Mahajan
On Tue, 29 Aug 2017, Otared Kavian wrote: Hi, How can I put a small circle on top of a character in math mode (for the curious this is needed when one defines the interior of a set…). I tried the following, but the small circle is too far away from the character A. I am sure I had an ugly

Re: [NTG-context] semicolon in mathmode

2017-08-25 Thread Aditya Mahajan
On Fri, 25 Aug 2017, Hans Hagen wrote: On 8/25/2017 5:34 PM, Alan Bowen wrote: Have you decided about treating ; the same as , when enabled in \setupmathematics? Not really (I was away for a while anyway). The problem with these , ; things is that they can occur with and without

Re: [NTG-context] Strange behavior with the Garamond font

2017-08-24 Thread Aditya Mahajan
On Fri, 25 Aug 2017, Fabrice Couvreur wrote: Hello, I reinstalled the fonts in : fab@debian:~$ ls -l /home/fab/texmf/fonts/opentype/ total 16 drwxr-xr-x 2 fab fab 4096 août 25 02:14 ebgaramond drwxr-xr-x 5 fab fab 4096 avril 11 2016 fourier-GUT drwxrwxr-x 9 fab fab 4096 avril 4 2011

Re: [NTG-context] Background with rounded corners (Metafun)

2017-08-22 Thread Aditya Mahajan
On Wed, 23 Aug 2017, Fabrice Couvreur wrote: Hello, I would like to have three corners rounded as in the figure. Not sure if you had simplified your example or not. But if all you want is a rounded corner, you can consider using corner=number parameter of framed and framed text:

Re: [NTG-context] unwanted space after \in

2017-08-18 Thread Aditya Mahajan
On Fri, 18 Aug 2017, Alan Bowen wrote: Unlike \goto and \at, \in seems to insert an unwanted space before any text that follows. MWE— starttext Text\reference[abc]{} \page Text , \in{Text}[abc], \at{Text, p.}[abc], \goto{Text}[abc], \stoptext I am not sure if I consider this a bug. In a

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Aditya Mahajan
On Fri, 18 Aug 2017, Fabrice Couvreur wrote: Hello, It's ok for me if I compile the Aditya file. I have another problem with a simple structure. I created the file MyLayout.tex containing the macro and I want to call this macro in the dm1.tex file, but it does not work. Thank you Fabrice

Re: [NTG-context] Strange behavior with the Garamond font

2017-08-18 Thread Aditya Mahajan
On Thu, 17 Aug 2017, Fabrice Couvreur wrote: When I speak of non-readable, I mean it looks like "hieroglyphics". Try mtxrun --script fonts --reload --force and then compiling again. Aditya ___ If your question

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Aditya Mahajan
On Fri, 18 Aug 2017, Otared Kavian wrote: Hi Aditya, I tried to typeset your example, but got an error: whether or not the command % macros=mkvi is present on the fist line, then ConTeXt complains saying that ! Illegal parameter number in definition of \MyHeader and stops

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-17 Thread Aditya Mahajan
On Fri, 18 Aug 2017, Henri wrote: On Thu, 2017-08-17 at 15:25 +0200, Fabrice Couvreur wrote: Hello, To get the alignment, I had to create three \vbox. Can we simplify this code a bit ? Thank you Fabrice Use the optional argument of the new framed you defined. In addition to that, you can

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

2017-08-16 Thread Aditya Mahajan
On Wed, 16 Aug 2017, Pablo Rodriguez wrote: sorry for insisting, but I need to solve this. I don't know how to answer your questions with the default syntax highlighting in ConTeXt, but are you willing to consider t-vim module for typesetting code. The output for your example is attached.

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

2017-08-15 Thread Aditya Mahajan
It will be an honour for me to update the wiki but I guess I had no permissions. Could somebody give access to me? No permissions are needed. You can simply create a new account and edit any page. http://wiki.contextgarden.net/index.php?title=Special:UserLogin=signup Aditya

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-10 Thread Aditya Mahajan
On Thu, 10 Aug 2017, Fabrice Couvreur wrote: Hi, @Aditya "You need multiple runs to resolve \lastpage" What you propose does not solve the problem How are you running it. You need to remove the --once call from the context call. (Not sure how to do this in Emacs) Aditya

Re: [NTG-context] semicolon in mathmode

2017-08-10 Thread Aditya Mahajan
On Thu, 10 Aug 2017, Alan Bowen wrote: Is there a way to remove the thinspace after a semicolon when it is followed by a number? It does not seem to be covered by the autopunctuation key in \setupmathematics. For a one-off solution, $1{;}2$ should work. Aditya

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-10 Thread Aditya Mahajan
Hi Otared, This works with Texlive context but this does not work with Standalone context that I use with Emacs. I believe that Emacs calls ConTeXt with `context --once`. You need multiple runs to resolve \lastpage. Aditya

Re: [NTG-context] Using legacy math fonts

2017-08-09 Thread Aditya Mahajan
Because I don't like that Euler calligraphic script provided by Latin Modern Math, I want to revert to Computer Modern for the uppercase calligraphic letters. I don't have access to a context installation right now so cannot give a more detailed answer. But typically math fonts provide two

Re: [NTG-context] Cambria official typescript (mis)behavior

2017-08-02 Thread Aditya Mahajan
On Wed, 2 Aug 2017, Idris Samawi Hamid ادريس سماوي حامد wrote: On Wed, 02 Aug 2017 15:15:59 -0600, Aditya Mahajan <adit...@umich.edu> wrote: Not sure if it helps, but this is worth a try (note the force key): mtxrun --script fonts --reload --force Hmm, now I get mkiv lua stats &g

Re: [NTG-context] Cambria official typescript (mis)behavior

2017-08-02 Thread Aditya Mahajan
On Wed, 2 Aug 2017, Idris Samawi Hamid ادريس سماوي حامد wrote: On Wed, 02 Aug 2017 14:34:25 -0600, Hans Hagen wrote: On 8/2/2017 10:21 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: > Dear gang, > There appears to be something awry with type-imp-cambria.mkiv or >

Re: [NTG-context] \startplacefloat query

2017-07-31 Thread Aditya Mahajan
On Mon, 31 Jul 2017, Alan Bowen wrote: When placing a float to the left or right of text, is there a way to place a given number of lines of text directly above it? Or is this not the right mechanism to achieve this? Using 3*hang instead of 3*line What I have now is: \starttext

Re: [NTG-context] About \setupbackgrounds

2017-07-31 Thread Aditya Mahajan
On Mon, 31 Jul 2017, Fabrice Couvreur wrote: https://tex.stackexchange.com/questions/84425/fancyhdr-equivalent-in-context Hello, I considered the solution proposed by Aditya. How to have a larger space between the title and the bottomframe ? What do you mean by "title"? If you mean the space

Re: [NTG-context] source code and result side by side

2017-07-30 Thread Aditya Mahajan
On Sun, 30 Jul 2017, Henning Hraban Ramm wrote: Am 2017-07-29 um 00:57 schrieb Aditya Mahajan <adit...@umich.edu>: On Fri, 28 Jul 2017, Henning Hraban Ramm wrote: Ahoi again, I’m preparing some ConTeXt docs with a lot of examples and would like to reproduce what we have in th

Re: [NTG-context] texture as background?

2017-07-28 Thread Aditya Mahajan
On Fri, 28 Jul 2017, Henning Hraban Ramm wrote: Ahoi, is there are way to use a texture (i.e. a repeated pixel image) as a background of a frame? Use \backgroundimage See https://tex.stackexchange.com/a/69138/323 Aditya

Re: [NTG-context] source code and result side by side

2017-07-28 Thread Aditya Mahajan
On Fri, 28 Jul 2017, Henning Hraban Ramm wrote: Ahoi again, I’m preparing some ConTeXt docs with a lot of examples and would like to reproduce what we have in the wiki as ... i.e. sourcecode beside the result. Often the shown source is exactly what I want to show, in other cases I need

Re: [NTG-context] Couple of questions

2017-07-27 Thread Aditya Mahajan
On Fri, 28 Jul 2017, Gerion Entrup wrote: 3. Text size in t-vim I've defined a smaller text size in t-vim, but this seems to affect \inline... as well. Is there a way to circumvent this? Minimal example: ``` \setupinteraction[state=start] \usemodule[t-vim]

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

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

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

2017-07-23 Thread Aditya Mahajan
Hi, Is it possible to set pen width using properties(...)? The following does not work (the color is set, but not the pen width): \starttext \startMPcode property p[] ; p[1] := properties(withcolor red withpen pencircle scaled 1bp); p[2] := properties(withcolor blue withpen pencircle scaled

Re: [NTG-context] t-vim module: math in "normal" code and background color

2017-07-19 Thread Aditya Mahajan
On Wed, 19 Jul 2017, Gerion Entrup wrote: Am Mittwoch, 19. Juli 2017, 21:07:09 CEST schrieb Aditya Mahajan: On Wed, 19 Jul 2017, Gerion Entrup wrote: > Am Dienstag, 18. Juli 2017, 04:04:51 CEST schrieb Aditya Mahajan: >> On Mon, 17 Jul 2017, Gerion Entrup wrote: >> >>>

Re: [NTG-context] t-vim module: math in "normal" code and background color

2017-07-19 Thread Aditya Mahajan
On Thu, 20 Jul 2017, Henri Menke wrote: On Wed, 2017-07-19 at 15:07 -0400, Aditya Mahajan wrote: On Wed, 19 Jul 2017, Gerion Entrup wrote: > > Am Dienstag, 18. Juli 2017, 04:04:51 CEST schrieb Aditya Mahajan: > > > > On Mon, 17 Jul 2017, Gerion Entrup wrote: &g

Re: [NTG-context] t-vim module: math in "normal" code and background color

2017-07-19 Thread Aditya Mahajan
On Wed, 19 Jul 2017, Gerion Entrup wrote: Am Dienstag, 18. Juli 2017, 04:04:51 CEST schrieb Aditya Mahajan: On Mon, 17 Jul 2017, Gerion Entrup wrote: Hi, I have two questions with the vim module. 1. I want to use the math mode inside the code. I've seen the escape option, e.g. here [1

Re: [NTG-context] t-vim module: math in "normal" code and background color

2017-07-17 Thread Aditya Mahajan
On Mon, 17 Jul 2017, Gerion Entrup wrote: Hi, I have two questions with the vim module. 1. I want to use the math mode inside the code. I've seen the escape option, e.g. here [1], but this seems to work only with comments. Is there a possibility to use it directly in the code, too? Short

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

2017-07-12 Thread Aditya Mahajan
On Wed, 12 Jul 2017, Mathias Schickel wrote: Does no-one know what I can do to settle the problem? [...] So what can I do to get the footnotes in a background environment displayed? \automigrateinserts \starttext \startbackground This is a test\footnote{Footnote} continue \stopbackground

Re: [NTG-context] Why is the page off?

2017-07-02 Thread Aditya Mahajan
On Sun, 2 Jul 2017, Henri Menke wrote: Why is the page shifted?  Reproducible in TL2017 and latest beta.  See also attached.  MWE is below. Why do you think that the page is shifted? Or are you asking why does the default layout set the left margin width to be larger than the backspace?

Re: [NTG-context] next beta

2017-06-19 Thread Aditya Mahajan
On Mon, 19 Jun 2017, Hans Hagen wrote: \setupformulas[split=yes,align=flushleft] % already there While you are tweaking formulas, would it make sense to add a key-value interface for \startformula, so that the following also works: \startformula[split=yes, align=flushleft] ...

Re: [NTG-context] next beta

2017-06-13 Thread Aditya Mahajan
On Tue, 13 Jun 2017, Hans Hagen wrote: attached what will be provided ... experimental for a while (not in the mood now for harder stuff) Thanks. I'll play around with it. Aditya ___ If your question is of

Re: [NTG-context] next beta

2017-06-13 Thread Aditya Mahajan
On Mon, 12 Jun 2017, Hans Hagen wrote: i.e. (poor mans) multiline display math Interesting. An important reference for automatic breaking of multiline display are the notes of Michael J Downes included in the documentation of breqn: see section 14 (page 16) of

Re: [NTG-context] Position of prime for derivatives

2017-06-08 Thread Aditya Mahajan
On Thu, 8 Jun 2017, Mikael P. Sundqvist wrote: And indeed, in luatex 1.05 the primes look fine again. The prime in the fraction is too low, but I take Hans' "Such is life" and use \over for the rare cases where I have primes inside fractions. I haven't followed the thread carefully, but there

Re: [NTG-context] Upright font in math.

2017-06-02 Thread Aditya Mahajan
On Fri, 2 Jun 2017, Jose Luis Arellano wrote: Dear list. What is the correct way to use upright (no italic) font in math mode? If you want to set this for all symbols: \setupmathematics[default=normal, ucgreek=normal, lcgreek=normal] If you want to do this for only a few symbols, then use

Re: [NTG-context] aligning a table alignment with local footnotes

2017-05-29 Thread Aditya Mahajan
On Mon, 29 May 2017, Alan Bowen wrote: What is the best way to center a table and control/fix the textwidth of the local footnotes? I currently have: \starttext \startbuffer[Tab01] \startlocalfootnotes \bTABLE \bTR\bTD So\eTD\bTD what% \footnote{\input knuth} % <= \eTD\eTR \eTABLE

Re: [NTG-context] whitespace before/after \startformula…\stopformula

2017-05-29 Thread Aditya Mahajan
On Mon, 29 May 2017, Alan Bowen wrote: How does one control/suppress the whitespace before and after \startformula…\stopformula? Using spacebefore and spaceafter in \setupformula Aditya___ If your question is of

Re: [NTG-context] Horizontal adjustment of left/right floats

2017-05-12 Thread Aditya Mahajan
On Fri, 12 May 2017, Jan Willem Flamma wrote: Hi Aditya, This is what I could find. Hope it suits your needs. From the details manual, page 57: \starttext \movesidefloat [x=-2cm] \startplacefigure[location={left,none}] \externalfigure[cow] \stopplacefigure \input knuth \stoptext Thanks!

[NTG-context] Horizontal adjustment of left/right floats

2017-05-11 Thread Aditya Mahajan
Hi, Is it possible to adjust the horizontal placement of left/right floats (similar to how 2*line etc can adjust the vertical placement). Minmal example: \starttext \startplacefigure[location={left,none}] \externalfigure[cow] \stopplacefigure \input knuth \stoptext Aditya

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

2017-05-05 Thread Aditya Mahajan
On Thu, 4 May 2017, Mojca Miklavec wrote: Hi, There's a really nice module for processing markdown: https://github.com/Witiko/markdown that has been presented during the TUG meeting and is included in TeX Live. This is a fork of luamark (by the author of pandoc). Wouldn't it be better

Re: [NTG-context] include google maps in context document

2017-05-05 Thread Aditya Mahajan
On Thu, 4 May 2017, Mojca Miklavec wrote: On 4 May 2017 at 15:20, Ulrike Fischer wrote: Am Wed, 3 May 2017 22:12:54 +0100 schrieb DesdeChaves: For this I must include in my report a gloogle maps image with the path and the distance covered. [...] Anybody know a simply

Re: [NTG-context] Modern CV like cover letter example

2017-04-21 Thread Aditya Mahajan
On Thu, 20 Apr 2017, Jonas Baggett wrote: Hi Pablo, Thanks ! I think you are right about that labeltext doesn't support an extra parameter. Then I will need to do it that way, I guess : \def \gender {male} \doifelse {\gender} {male} { \setuplabeltext [en] [longtitle=Mister]

Re: [NTG-context] Real number with Lua

2017-04-19 Thread Aditya Mahajan
On Wed, 19 Apr 2017, Procházka Lukáš Ing. wrote: Hello, do you mean this? - It shows EXACTLY 3 digits after the decimal point: \cldcontext{string.format("\letterpercent.3f", 5.8/1.6)} \cldcontext{string.format(string.char(37) .. ".3f", 5.8/1.6)} \startluacode

Re: [NTG-context] OSX fonts

2017-04-03 Thread Aditya Mahajan
On Mon, 3 Apr 2017, Andrea Valle wrote: Dear list, I have a question which is really basic. MacOSX here. I looked at the wiki, but the whole matter is a bit far from my knowledge. Is there a way to use system fonts? I *think* I remember something like simpletypescript package 1. First,

Re: [NTG-context] Using MTPro2 math Fonts with ConTeXt

2017-03-27 Thread Aditya Mahajan
On Mon, 27 Mar 2017, Andres Conrado Montoya wrote: Hello, List. I am using the MTPro2 complete fonts (provided by the publisher house) for typesetting some math books in LaTeX this year. I also want to use ConTeXt to typeset other math books, those that don't come originally in LaTeX. However,

Re: [NTG-context] Manually scaling math fences

2017-03-24 Thread Aditya Mahajan
On Thu, 23 Mar 2017, Hans Hagen wrote: On 3/8/2017 2:45 AM, Aditya Mahajan wrote: On Tue, 7 Mar 2017, Hans Hagen wrote: \MEAN[delimiter=auto] expands to \left\langle .. \right\langle \MEAN[delimiter=] expands to \langle .. \rangle \MEAN[delimiter=big] expands to \big\langle ... \big

Re: [NTG-context] closesymbol on same line as displayed formula

2017-03-20 Thread Aditya Mahajan
On Mon, 20 Mar 2017, Mikael P. Sundqvist wrote: On Tue, Mar 14, 2017 at 7:23 PM, Mikael P. Sundqvist wrote: Hi, I'm bringing up an old question on placing the qedsymbol, or closesymbol as it is also called. This was previously discussed in

Re: [NTG-context] Passing data back and forth between metapost and lua

2017-03-19 Thread Aditya Mahajan
On Sun, 19 Mar 2017, Aditya Mahajan wrote: On Tue, 20 Dec 2016, Alan Braslau wrote: On Mon, 19 Dec 2016 08:19:25 -0800 Aditya Mahajan <adit...@umich.edu> wrote: The ability to pass parameters to metapost has been around since the beginning. See the metafun manual for details (

Re: [NTG-context] How to use tex.print in ctxlua

2017-03-19 Thread Aditya Mahajan
On Sun, 19 Mar 2017, Otared Kavian wrote: Hi, I would like to print in a text the values of a array computed in a \startluacode …. \stopluacode combination. How can I do it properly? Please have a look at the example below and its output, which is not satisfactory because the right

Re: [NTG-context] Feature Request: xtables extensions

2017-03-08 Thread Aditya Mahajan
On Wed, 8 Mar 2017, Alan Braslau wrote: On Wed, 8 Mar 2017 16:29:52 +0100 Henri Menke wrote: Natural Tables are quite handy but their syntax is a little verbose. \bTABLE \bTR \bTD ... \eTD \eTR \eTABLE There exist nice extensions which make the format less

Re: [NTG-context] Manually scaling math fences

2017-03-07 Thread Aditya Mahajan
On Tue, 7 Mar 2017, Hans Hagen wrote: \MEAN[delimiter=auto] expands to \left\langle .. \right\langle \MEAN[delimiter=] expands to \langle .. \rangle \MEAN[delimiter=big] expands to \big\langle ... \big\rangle \MEAN[delimiter=Big] expands to \Big\langle ... \Big\rangle

Re: [NTG-context] Disable structure sectioning messages on console

2017-03-06 Thread Aditya Mahajan
On Mon, 6 Mar 2017, Henri Menke wrote: The structure is printed via logs.reporter("structure","sectioning") You can disable it via \ctxlua{logs.disable("structure")} but I guess this will disable all logging in the "structure" category. Thanks! On Mon, 6 Mar 2017, Hans Hagen wrote:

[NTG-context] Manually scaling math fences

2017-03-06 Thread Aditya Mahajan
Hi Hans, There are instances where the automatic scaling provided by \left and \right is not ideal and one has to use manual scaling. For example: \starttext \startTEXpage \startformula \left\langle \sum_{i=1}^n A_i x_i \right\rangle \hbox{ vs. } \bigg\langle \sum_{i=1}^n A_i x_i

[NTG-context] Disable structure sectioning messages on console

2017-03-05 Thread Aditya Mahajan
Hi, Is it possible to disable the `structure > sectioning >` messages that are displayed on the console? Thanks, Aditya ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] tabulate as header

2017-03-05 Thread Aditya Mahajan
On Sat, 4 Mar 2017, kaddour kardio wrote: ​Hi everyone, i have a quiet simple question as i'm a beginnerin ConTeXT (with a background of 05 years with LaTeX): Is it possible tu use tabulate environment as a header? Yes, but there were too many typos in your code.

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

2017-02-24 Thread Aditya Mahajan
On Fri, 24 Feb 2017, Alan Bowen wrote: Excellent, Hans. Many thanks! Please wifify this! Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] Underful with \startalignment[flushright]

2017-02-20 Thread Aditya Mahajan
On Mon, 20 Feb 2017, josephcan...@gmail.com wrote: Dear list, Could not find any hint on this list on this (minor) problem. When compiling the following simple MWE : \starttext \startalignment[flushright] Foo. \stopalignment \stoptext I get an underful hbox message : Underfull \hbox

Re: [NTG-context] Suddenly, my font is not used any longer

2017-02-20 Thread Aditya Mahajan
On Mon, 20 Feb 2017, Mica Semrick wrote: If you think it is a system problem and not a context one, then: fc-cache -fv ConTeXt MkIV does not use fc-cache. Aditya ___ If your question is of interest to others as

Re: [NTG-context] Suddenly, my font is not used any longer

2017-02-20 Thread Aditya Mahajan
On Mon, 20 Feb 2017, Nicola wrote: Hello everyone, I am re-typesetting a mkiv document that uses system fonts for text and math (through \definefontfamily). Suddenly, it renders Latin Roman for the text. May it be a cache corruption problem? I recall that there's a command to clear the font

Re: [NTG-context] description questions

2017-02-20 Thread Aditya Mahajan
I am experimenting with descriptions and I couldn't find in the documentation the following: 1. What is the default value of width option? It seems that default width uses the longest head + some distance for every head in a descriptions list. Neither width=fit nor

Re: [NTG-context] \Umathquad\displaystyle not set

2017-02-08 Thread Aditya Mahajan
On Wed, 8 Feb 2017, Kumar Appaiah wrote: Dear ConTeXt users, I have a custom slide template that I borrowed from another source years ago. It works well on my Debian machine, but when I try to build the PDF on a docker vm on Gitlab, I run into the \Umathquad\displaystyle not set error.

Re: [NTG-context] Encoding reserved characters in URI query strings

2017-02-05 Thread Aditya Mahajan
On Sun, 5 Feb 2017, Rogers, Michael K wrote: Let's say I want a link to plot x+2 in Wolfram|Alpha. I need to catenate "http://www.wolframalpha.com/input/?i=; and "plot+x%2B2". Is there any way already available in ConTeXt to translate reserved characters like "+" to the percent-hexcode

Re: [NTG-context] [Far out subproject proposal] ---Have ConTeXt generate html math inaddition to pdf/dvi ?

2017-02-02 Thread Aditya Mahajan
On Tue, 31 Jan 2017, Federer Fanatic wrote: Hi, I was wondering if: Basically have complete mathml markup or some other kind of html math output that is completely capable of doing what is now done for pdf output. Have you looked at export mechanism:

Re: [NTG-context] Chapter-subtitle and a short version of a( long) chapter title to fit in the header

2017-01-23 Thread Aditya Mahajan
On Tue, 10 Jan 2017, Robert Blackstone wrote: So my main problem is that I need, in the command \startchapter, a third form for the chapter title to fit in the header and a compatible version of the setup for the headertexts. This is what the `marking` key is for. \starttext

Re: [NTG-context] Text wrap around a figure.

2017-01-23 Thread Aditya Mahajan
On Sat, 21 Jan 2017, John Culleton wrote: I need to have text wrap around figures. Is this automatic? The discussion of placing figures In chapter 16 does not cover this point. Do you mean: \starttext \startplacefigure [ title=A wrapped figure, location=left, ]

Re: [NTG-context] BUG(?): asciimath does not support ||

2017-01-23 Thread Aditya Mahajan
On Fri, 20 Jan 2017, Henri Menke wrote: Dear devs, In mathematics the norm of something is usually denoted by the double vertical bars, e.g. ||v||. This is not available in asciimath. \usemodule[asciimath] \starttext $\asciimath{ x^* = min { x | sum_{kk} ||f(x_{kk}^{20})|| } }$ \stoptext

Re: [NTG-context] dorecurse problem

2017-01-20 Thread Aditya Mahajan
On Thu, 19 Jan 2017, Rik Kabel wrote: ConTeXters, When \dorecurse is active in the following MWE, the lines of text are overprinted. At least, this is the case for me, please confirm it for yourself. When \dorecurse is disabled, the lines print as they should, separately. Please tell me

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

2016-12-23 Thread Aditya Mahajan
On Sat, 24 Dec 2016, Jaroslav Hajtmar wrote: It seems now, that everything at this time works as intended. Many thanks for your support. Below is a minimal example. Attached is a PDF sample result. Nice to know that it works. I tried also to experiment with the choice "object = no", as

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

2016-12-23 Thread Aditya Mahajan
On Fri, 23 Dec 2016, Jaroslav Hajtmar wrote: Thanks for sending Your code. It seems that it works with Asymptote. Unfortunately, when I am trying to multiple call a macro then I get fatal error, and then compile collapse. I do not know what it could be. When called for the first time, the

Re: [NTG-context] professional looking tables

2016-12-22 Thread Aditya Mahajan
On Sun, 18 Dec 2016, Csikos Bela wrote: Dear context users: In latex I could make professional looking tables using booktabs module. Using longtable package I could make nice looking multipage tables. I see that context offers several table environments. Which one of them is suitable for

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