Re: [NTG-context] IBM Wordcloud with the Filter Module

2019-03-11 Thread Aditya Mahajan
Can you run the java file from the command promt? Aditya On Mon, 11 Mar 2019, Jeroen wrote: Dear List, I am trying to get the IBM wordcloud java application working with the filter module on MS Windows. This configuration does not create the wordcloud png file. The in and out files

Re: [NTG-context] Search path for typescripts

2019-02-28 Thread Aditya Mahajan
On Thu, 28 Feb 2019, Rik Kabel wrote: List, What is the proper place to put a custom typescript file to make it accessible to multiple projects? For testing I placed copies in" 1) the local directory 2) /texmf/fonts 3) /tex/texmf-local/fonts/ A typescript file is simply a tex file, so

Re: [NTG-context] Modes and conditional part of the source

2019-02-28 Thread Aditya Mahajan
On Thu, 28 Feb 2019, Procházka Lukáš Ing. wrote: Hello, I'm struggling with using modes to make a part of the text conditional. Here is my code: \def\b#1{\startmode[#1]} \def\e{\stopmode} % \enablemode[100] % For optional usage \starttext A \b{100} % Should be start of some

Re: [NTG-context] getdocumentargument in Metafun

2019-02-22 Thread Aditya Mahajan
On Fri, 22 Feb 2019, Fabrice L wrote: Dear list, I wish to do several zoom from a picture made in MetaFun, from a pdf file which name is given on the commande line, like: context zoom.tex —File=EntryFile —Page=9 —result=OutFile.pdf Untested. Add quotes around FileName: string FileName ;

Re: [NTG-context] markdown module vs pandoc

2019-02-18 Thread Aditya Mahajan
On Sun, 17 Feb 2019, Gour wrote: On Fri, 15 Feb 2019 12:34:33 -0500 (EST) Aditya Mahajan wrote: For simple documents, I use something like this (untested): It does not work - maybe I have to install stand-alone version of ConTeXt, but I got an idea. Try this: https://github.com/adityam

Re: [NTG-context] markdown module vs pandoc

2019-02-15 Thread Aditya Mahajan
On Fri, 15 Feb 2019, Gour wrote: On Fri, 15 Feb 2019 06:11:32 -0500 (EST) Aditya Mahajan wrote: For obvious reasons, the built in markdown module is faster than calling pandoc but I prefer using pandoc rather than the markdown module for two reasons. First, pandoc provides many extensions

Re: [NTG-context] markdown module vs pandoc

2019-02-15 Thread Aditya Mahajan
On Thu, 14 Feb 2019, Gour wrote: I'm interested for using markdown markup and typeset such documents via ConTeXt, but wonder whether it is recommended to use Markdown module or do markdown --> ConTeXt via Pandoc? For obvious reasons, the built in markdown module is faster than calling pandoc

Re: [NTG-context] text flowing around images

2019-02-05 Thread Aditya Mahajan
On Tue, 5 Feb 2019, Wolfgang Schuster wrote: Am 2019-02-04 um 11:10 schrieb Henning Hraban Ramm : Ahoi, in my current project I must include a bunch of illustrations in my layout, and the text should flow around their irregular shapes (side placement in single text column only). I got the

Re: [NTG-context] inline textbackgrounds across linebreaks

2019-01-16 Thread Aditya Mahajan
On Tue, 15 Jan 2019, Taco Hoekwater wrote: On 15 Jan 2019, at 15:08, Mohammad Hossein Bateni wrote: I guess it works fine for me on beta 2019.01.07 16:10. Thanks for testing. Sorry, I should have checked myself. On 15 Jan 2019, at 15:22, Hans Hagen wrote: works her ebut better is

Re: [NTG-context] tikz pgfplots library problem

2019-01-15 Thread Aditya Mahajan
On Tue, 15 Jan 2019, Susanne G. Loeber wrote: Dear Reader, I am creating an image using TikZ PGFplots. When I add \usetikzlibrary[datavisualization] I get an error. A simple example to illustrate my problem: \usemodule[pgfplots] \usemodule[tikz] \usetikzlibrary[datavisualization]

Re: [NTG-context] inline textbackgrounds across linebreaks

2019-01-15 Thread Aditya Mahajan
On Tue, 15 Jan 2019, Taco Hoekwater wrote: Hi, Quick explanation: I am trying to implement the concept of the HTML tag, which is supposed to be like a font switch, but doing underlining. I have a bunch of french clients, and this is a requirement I cannot get around. French officials _love_

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-12 Thread Aditya Mahajan
On Sat, 12 Jan 2019, Jan U. Hasecke wrote: Hi all, in my document \startchapter and \starttitle starts a new chapter on the right (odd) page. So sometimes, there is a blank even page just before a new chapter. I would like to manipulate this blank even page. There are several things I would

Re: [NTG-context] Processing XML file inside a zip file

2019-01-10 Thread Aditya Mahajan
On Fri, 11 Jan 2019, Henri Menke wrote: On 11/01/19 4:42 PM, Aditya Mahajan wrote: Hi, Is it possible to process an XML file inside a zip file without unzipping? In particular, I have a program that generates zip files which look like this: The file `filename.zip` contains: - filename.xml

[NTG-context] Processing XML file inside a zip file

2019-01-10 Thread Aditya Mahajan
Hi, Is it possible to process an XML file inside a zip file without unzipping? In particular, I have a program that generates zip files which look like this: The file `filename.zip` contains: - filename.xml - file_hash1.png - file_hash2.png etc. Where `filename.xml` (the name matches the

Re: [NTG-context] XML and math

2019-01-10 Thread Aditya Mahajan
On Thu, 10 Jan 2019, Aditya Mahajan wrote: On Thu, 10 Jan 2019, Hans Hagen wrote: On 1/10/2019 10:26 PM, Aditya Mahajan wrote: Hi, I have an XML file (which is generated via a program that I have no control over), which contains elements as follows

Re: [NTG-context] XML and math

2019-01-10 Thread Aditya Mahajan
On Thu, 10 Jan 2019, Hans Hagen wrote: On 1/10/2019 10:26 PM, Aditya Mahajan wrote: Hi, I have an XML file (which is generated via a program that I have no control over), which contains elements as follows:        height="15px

Re: [NTG-context] XML and math

2019-01-10 Thread Aditya Mahajan
On Fri, 11 Jan 2019, Henri Menke wrote: On 11/01/19 10:26 AM, Aditya Mahajan wrote: Hi, I have an XML file (which is generated via a program that I have no control over), which contains elements as follows:            I want to typeset

[NTG-context] XML and math

2019-01-10 Thread Aditya Mahajan
Hi, I have an XML file (which is generated via a program that I have no control over), which contains elements as follows: height="15px" src="Lab01_eq10401623798909303081.png" width="95px"/> I want to typeset the `text` attribute

Re: [NTG-context] table cell minimum heights -- help needed

2018-12-14 Thread Aditya Mahajan
On Thu, 13 Dec 2018, Taco Hoekwater wrote: I am attempting to process html tables that are styled using css, and I have problem with the ‘height’ property. CSS (or rather, the html browser) interprets ‘height’ as if it was a “minheight”, and if the content does not fit, it will just enlarge

[NTG-context] Drops Module

2018-12-10 Thread Aditya Mahajan
Hi Peter, I noticed that the drops module recently stopping running with the error: /home/adityam/texmf/tex/context/third/drops/t-drops.lua:1098: bad argument #3 to 'format' (number has no integer representation) stack traceback: [C]: in function 'string.format'

Re: [NTG-context] Sources of Tutorial.text.pdf

2018-11-28 Thread Aditya Mahajan
On Wed, 28 Nov 2018, Willi Egger wrote: As being one of the authors, yes I have these file still here. — When the second author agrees I can deliver them to you. — However there is a warning to be made, that the project is 10 years old and was built in pdfTeX/ConTeXt MKII. Hi Willi, I sent

Re: [NTG-context] Sources of Tutorial.text.pdf

2018-11-28 Thread Aditya Mahajan
On Wed, 28 Nov 2018, Tommaso Gordini wrote: Hi everyone, looking here and there on the Internet, I found a very interesting document by Aditya Mahajan and Willi Egger: *Beginners Tutorial. ConTeXt *( Tutorial-text.pdf), written in 2008 for the 2nd International ConTeXt User Meeting in Bohinj

Re: [NTG-context] align=end not working

2018-11-18 Thread Aditya Mahajan
On Tue, 13 Nov 2018, Hans Hagen wrote: On 11/10/18 5:56 AM, Aditya Mahajan wrote: Hi, According to an old thread (https://mailman.ntg.nl/pipermail/ntg-context/2016/085877.html), the option `align=end` should align the last line to be flush right. However, that is not working. The example from

[NTG-context] align=end not working

2018-11-09 Thread Aditya Mahajan
Hi, According to an old thread (https://mailman.ntg.nl/pipermail/ntg-context/2016/085877.html), the option `align=end` should align the last line to be flush right. However, that is not working. The example from that thread: \starttext \showframe \showboxes \setupalign[end]

Re: [NTG-context] improving kannada script

2018-11-02 Thread Aditya Mahajan
On Fri, 2 Nov 2018, Ulrike Fischer wrote: Also if I remember correctly this requires --shell-escape and this is not really sensible for a user interface. IIRC, it is possible to 'whitelist' programs in texmf.cnf so that `--shell-escape` is not needed. I believe this is how the automatic eps

Re: [NTG-context] Table "modules"

2018-10-29 Thread Aditya Mahajan
On Mon, 29 Oct 2018, Joseph Wright wrote: Hans: Thanks for the quick reply. I'll suggest to the LaTeX team that we treat table modules as ConTeXt-specific/reserved, and will think of a different name. How about `package`? Aditya

Re: [NTG-context] Strange behavior with the command \inframed{}

2018-10-22 Thread Aditya Mahajan
On Mon, 22 Oct 2018, Fabrice Couvreur wrote: Hi, When I use the \inframed{} command twice, they are not on the same baseline. Thank you. Fabrice \starttext Add \dontleavehmode \inframed{\m{I\times X=A^{-1}\times B}} ; \inframed{\m{A^{-1}\times A \times X=A^{-1}\times B}} \stoptext See

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

2018-10-11 Thread Aditya Mahajan
On Tue, 9 Oct 2018, Alan Braslau wrote: 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

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

2018-10-08 Thread Aditya Mahajan
On Mon, 8 Oct 2018, Aditya Mahajan wrote: On Mon, 8 Oct 2018, Alan Braslau wrote: 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&qu

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

2018-10-08 Thread Aditya Mahajan
On Mon, 8 Oct 2018, Alan Braslau wrote: 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: ContourPlot[2 x^5 + x y + y^5 =

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

2018-10-08 Thread Aditya Mahajan
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: ContourPlot[2 x^5 + x y + y^5 == 0, {x, 0, 2}, {y, -2, 1/2}] Brut force: [...] as this takes some time here's a cheat: \starttext

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

2018-10-07 Thread Aditya Mahajan
On Sun, 7 Oct 2018, Ulrike Fischer wrote: Am Sun, 7 Oct 2018 09:26:11 -0400 (EDT) schrieb Aditya Mahajan: Would it make sense to update the fonts in the distribution? I didn't quite follow the discussion and the suggested code, but from a similar discussion for latex I know that the symbols

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

2018-10-07 Thread Aditya Mahajan
On Sun, 7 Oct 2018, Wolfgang Schuster wrote: Aditya Mahajan schrieb am 07.10.18 um 15:26: Hi, There is a FontAwesome.otf file that is distributed with ConTeXt minimals. Does anyone know what version (4 or 5) of the font it is? I am asking because the names of the symbols used in the font do

[NTG-context] Font Awesome (again)

2018-10-07 Thread Aditya Mahajan
Hi, There is a FontAwesome.otf file that is distributed with ConTeXt minimals. Does anyone know what version (4 or 5) of the font it is? I am asking because the names of the symbols used in the font do not match those on the font-awesome website. For example, using

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

2018-10-06 Thread Aditya Mahajan
On Sat, 6 Oct 2018, Alan Braslau wrote: 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

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

2018-10-06 Thread Aditya Mahajan
On Sat, 6 Oct 2018, Kelley, Claire wrote: Again thank you everyone for their incredibly helpful advice and responsiveness! The work flow I am envisioning is: 1) Use R to read in a csv file, filter according to some rules and then use propensity score matching (based on r packages) to create

Re: [NTG-context] table making ugly column sizes, how to fix?

2018-10-01 Thread Aditya Mahajan
On Mon, 1 Oct 2018, David Walther wrote: I looked at your example. I ran your example, and on my installation, it has the same problem as I described. I have included a PDF file of my original sample file, and also the PDF generated from your example. What version of ConTeXt are you

Re: [NTG-context] xtables with lua

2018-10-01 Thread Aditya Mahajan
On Mon, 1 Oct 2018, Fabrice Couvreur wrote: Hi, Thank you Aditya for the link. I knew that with natural tables, but I hoped it could be done with xtables too. Almost the same code works with xtables as well (in your example, I don't know the relationship between the columns) \starttext

Re: [NTG-context] xtables with lua

2018-09-30 Thread Aditya Mahajan
On Mon, 1 Oct 2018, Jeong Dal wrote: What do you mean “does not typeset correctly as expected”? As I said, I fixed the post. I copied and tested the last example and got the result without error. One problem is that the vertical alignment is not centered as the example of Aditya’s. Would

Re: [NTG-context] Font installation help needed!

2018-09-30 Thread Aditya Mahajan
On Sun, 30 Sep 2018, Geert Verhaag wrote: Hi, I'm currently using ConTeXt version: mtx-context | ConTeXt Process Management 0.60 mtx-context | mtx-context | main context file: /home/verhaag/context/tex/texmf-context/tex/context/base/context.mkiv mtx-context | current

Re: [NTG-context] table making ugly column sizes, how to fix?

2018-09-30 Thread Aditya Mahajan
On Sat, 29 Sep 2018, David Walther wrote: Full example at the bottom. I'm making a table. So far so good. Every so often I want to make something like a section header. Regular table rows are like this: \bTR\bTC \eTC\bTC NightShift \eTC\bTC Tension Lines 146 - 150 \eTC\eTR For the section

Re: [NTG-context] xtables with lua

2018-09-30 Thread Aditya Mahajan
On Mon, 1 Oct 2018, Otared Kavian wrote: Hi Aditya, Thanks for pointing to your context-blog: one learns always some good stuff there! I wanted to make an observation about the last example in that page, which does not typeset correctly as expected, and also it does not work well if one

Re: [NTG-context] xtables with lua

2018-09-30 Thread Aditya Mahajan
On Sun, 30 Sep 2018, Fabrice Couvreur wrote: Hi, Is it possible to fill columns A, B and C using a loop with lua ? Thank you. Here is a blog post summarizing a similar question from almost a decade ago: https://adityam.github.io/context-blog/post/tex-programming/ Aditya

Re: [NTG-context] rscale with auto value

2018-09-26 Thread Aditya Mahajan
On Wed, 26 Sep 2018, Pablo Rodriguez wrote: Wolfgang, explaining the following sample to ConTeXt newbies, I have a problem: \setuppapersize[A5, landscape] \definefontfamily[mainface][rm][TeX Gyre Pagella] \definefontfamily[mainface][tt][DejaVu Sans Mono][rscale=0.825]

Re: [NTG-context] The definitive guide to ConTeXt MkIV documentation

2018-09-01 Thread Aditya Mahajan
On Sun, 2 Sep 2018, Henri Menke wrote: Dear list, I have written a guide to ConTeXt documentation which summarizes the most important resources for the ConTeXt beginner, advanced user, and expert user. You can see it on GitHub:

Re: [NTG-context] \startuserdata syntax questions

2018-08-29 Thread Aditya Mahajan
On Wed, 29 Aug 2018, Wolfgang Schuster wrote: The second question: Is there the possibility to enhance the syntax so that one can write \startMyStuff [optionalkey=value, anotherkey=value] stuff \stopMyStuff instead of \startuserdata [MyStuff] [optionalkey=value,

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

2018-08-27 Thread Aditya Mahajan
On Mon, 27 Aug 2018, Jeong Dal wrote: Hi, The same thing happens after the itemization as in the following MWE. \defineenumeration[proof][text=Proof.] \setupenumeration[proof] [number=no, closesymbol=\mathematics{\square},

Re: [NTG-context] Emacs + latest beta

2018-08-27 Thread Aditya Mahajan
On Mon, 27 Aug 2018, Fabrice Couvreur wrote: I just made a new standalone context install and added this to my ~/.profile : source /home/aragorn/context/tex/setuptex It finally seems to work ! export PATH=$PATH:/home/aragorn/context/tex/texmf-linux-64/bin source

Re: [NTG-context] Some questions about an extreme table

2018-08-26 Thread Aditya Mahajan
On Sun, 26 Aug 2018, Wolfgang Schuster wrote: The normal alignment of figures is with the bottom of the figure on the baseline. You can control the vertical alignment with a few box commands but what you should use depends on the context, in tables I would use 2 while in running text 3 can

Re: [NTG-context] future versions - synctex

2018-08-21 Thread Aditya Mahajan
On Tue, 21 Aug 2018, Hans Hagen wrote: On 8/21/2018 3:04 PM, Aditya Mahajan wrote: On Tue, 21 Aug 2018, Hans Hagen wrote: Anyway, a better support for "pick-in-PDF-and-go-to-source" (synctex), namely when user "tunes" the docs to their final stage, would be great. I th

Re: [NTG-context] future versions - synctex

2018-08-21 Thread Aditya Mahajan
On Tue, 21 Aug 2018, Hans Hagen wrote: Anyway, a better support for "pick-in-PDF-and-go-to-source" (synctex), namely when user "tunes" the docs to their final stage, would be great. I think that the current approach to hard code synctex libraries into a viewer is a limitation (instead an

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-16 Thread Aditya Mahajan
On Wed, 15 Aug 2018, Rik Kabel wrote: On 8/15/2018 03:07, Hans Hagen wrote: On 8/15/2018 5:31 AM, Aditya Mahajan wrote: On Tue, 14 Aug 2018, Rik Kabel wrote: I really think, though, that a buffers.strip function would be the way to go, instead of futzing after the damage is done. In lua

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-14 Thread Aditya Mahajan
On Tue, 14 Aug 2018, Rik Kabel wrote: I really think, though, that a buffers.strip function would be the way to go, instead of futzing after the damage is done. In lua, buffers.getcontent('name') gives the contents of the buffer labelled 'name'. You can post-process this in whatever way you

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-12 Thread Aditya Mahajan
On Sun, 12 Aug 2018, Rik Kabel wrote: %% How can one remove blank lines at the start of a buffer so that %% commands that grab a buffer can be used in the same way as, for %% example, \startparagraph...\stopparagraph, which allow blank %% lines around the content? %% %% The problem

Re: [NTG-context] Using \dorecheckindentation inside a group

2018-08-10 Thread Aditya Mahajan
On Fri, 10 Aug 2018, Wolfgang Schuster wrote: Aditya Mahajan schrieb am 10.08.18 um 19:41: Hi, In t-filter module, I use a group inside \startfilter ... \stopfilter to keep various definitions local. However, as reported on [1], this breaks the `indentnext` option. The following minimal

[NTG-context] Using \dorecheckindentation inside a group

2018-08-10 Thread Aditya Mahajan
Hi, In t-filter module, I use a group inside \startfilter ... \stopfilter to keep various definitions local. However, as reported on [1], this breaks the `indentnext` option. The following minimal example illustrates the issue: \unprotect \definenamespace [whatever] [ name=whatever,

Re: [NTG-context] resetting footnote counter

2018-08-09 Thread Aditya Mahajan
On Thu, 9 Aug 2018, Robert Zydenbos wrote: I have tried ‘\resetcounter [footnote]’ (a suggested solution on that web page), but it does not work (at least not in MkII+XeTeX). ‘\setupcounter [footnote] [0]’ (also suggested on that web page) is rejected as an error. Can you post a minimal

Re: [NTG-context] resetting footnote counter

2018-08-08 Thread Aditya Mahajan
On Wed, 8 Aug 2018, Robert Zydenbos wrote: A simple footnote question this time. I would like to print endnotes at the end of every chapter in my book, and then reset the footnote counter so that in the next chapter the first note will be ‘1’ again. I suppose this should be done by means of

Re: [NTG-context] xrightarrow is not straight

2018-08-07 Thread Aditya Mahajan
On Tue, 7 Aug 2018, Alan Braslau wrote: Hello, You can also use MetaPost to render math stackers, rather than relying on TeX constructs and any particular font. For example: \useMPlibrary[mat] \definemathstackers [mp] [alternative=mp] \definemathextensible [mp] [leftarrow]

Re: [NTG-context] xrightarrow is not straight

2018-08-07 Thread Aditya Mahajan
On Tue, 7 Aug 2018, Joshua Moerman wrote: Another thing I noticed is that the line is not very consistent. This might be a font issue (I am using Euler). Luckily, the inconsistent overlap is barely visible when printed. It is a viewer issue. It should also go away if you zoom the pdf. Aditya

Re: [NTG-context] Symbolsets: Font Awesome 5, Webdings, Wingdings, Symbola

2018-07-29 Thread Aditya Mahajan
On Sun, 29 Jul 2018, Henning Hraban Ramm wrote: Ahoi, I just made symbolsets for the current Font Awesome 5 fonts and published them together with some older collections: https://github.com/fiee/ConTeXt/tree/master/symbols Does this contain more symbols that those in the fontawesome

Re: [NTG-context] Set up a theorem style

2018-07-25 Thread Aditya Mahajan
On Wed, 25 Jul 2018, Fabrice Couvreur wrote: Hello, I used LaTeX for a long time before converting (with difficulty !) to ConteXt. For example, to define my new theorems, I used the amsthm package and I did this : \newtheoremstyle{theoremdd}% name of the style to be used {\topsep}% measure of

Re: [NTG-context] How to get mail and phone symbols?

2018-07-23 Thread Aditya Mahajan
On Mon, 23 Jul 2018, Lizardo M. Reyna Bowen wrote: Hi, I want to use the some symbols for phone and email (envelope) in my curriculum vitae to get it look more modern. How is the way to do it in ConTexT? Use a font that provides these symbols. One option is fontawesome.

Re: [NTG-context] Align the chapter-title to the middle of the header

2018-07-23 Thread Aditya Mahajan
On Mon, 23 Jul 2018, Huseyin Özoguz wrote: Dear list, how can I align the text of the header in the double-page layout to the middle? I want something like that: \setupheadertexts [{\startalignment[middle] \definedfont[name:Gentium_Basic at 9pt]\getmarking[chapter] \stopalignment}][]

Re: [NTG-context] text in mathematics

2018-07-09 Thread Aditya Mahajan
On Mon, 9 Jul 2018, Hans Åberg wrote: On 8 Jul 2018, at 23:00, Otared Kavian wrote: The advantage being that if the above formula appears in an environment such as a Theorem (where the text is typeset in italic, or slanted) the text in the above \mbox will be also in italic or slanted.

Re: [NTG-context] TABLE: centering splitted TABLE; suppressing vertical space btw two TABLEs

2018-06-20 Thread Aditya Mahajan
On Sat, 9 Jun 2018, Procházka Lukáš Ing. wrote: Hello, I have two questions about TABLEs. Suppose having the following code: \setuplayout[page] \starttext \startalignment[middle]

Re: [NTG-context] TeXLive and ConTeXt

2018-06-07 Thread Aditya Mahajan
On Wed, 6 Jun 2018, Aditya Mahajan wrote: Hi Otared, On Wed, 6 Jun 2018, Otared Kavian wrote: I don't know to whom I should write to have ConTeXt enabled in TeXLive when one installs it: can anyone give me a hint? $context test resolvers | trees | analyzing 'home:texmf' [...] '.'/usr

Re: [NTG-context] TeXLive and ConTeXt

2018-06-07 Thread Aditya Mahajan
On Thu, 7 Jun 2018, Taco Hoekwater wrote: Sorry, I have no clue what is going on with that systemd folder either. Last time I had anything to do with it, Mojca did the context-for-tl stuff, I assume that is still the case, and she is also on a mac normally. Perhaps she can help... That was

Re: [NTG-context] TeXLive and ConTeXt

2018-06-06 Thread Aditya Mahajan
Hi Otared, On Wed, 6 Jun 2018, Otared Kavian wrote: I don't know to whom I should write to have ConTeXt enabled in TeXLive when one installs it: can anyone give me a hint? I haven't used context that comes with texlive so I tried doing so on a new computer (which means that there were no

Re: [NTG-context] How to scale math with text?

2018-06-06 Thread Aditya Mahajan
On Tue, 5 Jun 2018, Alan Braslau wrote: The "style=" use is, in general, preferable for tagging (and exporting). For less than paragraph switching, the use of \definehighlight for example could be used. Quick and dirty font switching is almost always poor usage... You didn't read the first

Re: [NTG-context] How to scale math with text?

2018-06-05 Thread Aditya Mahajan
On Mon, 4 Jun 2018, Alan Braslau wrote: On Tue, 5 Jun 2018 10:37:12 +1200 Henri Menke wrote: Dear list, probably I'm just missing something obvious. How can I scale the math font size to match the text font size locally? In the following MWE text is scaled to 10pt but math still appears

Re: [NTG-context] Spacebefore and spaceafter a Float

2018-05-30 Thread Aditya Mahajan
On Mon, 28 May 2018, John Grasty wrote: I am trying to adjust the space between my tables and the body text. Below is a minimal example. My problem is that I can seem to get the before= or after= to do anything no matter what command I enter. I have also tried spacebefore= and spaceafter=

Re: [NTG-context] \vfrac (math mode)

2018-05-22 Thread Aditya Mahajan
On Tue, 22 May 2018, Alan Braslau wrote: \Unskewed is undefined/unrecognized. It is \Uskewed (not\Unskewed). Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] table and tabulate "negative" extra spacing

2018-05-21 Thread Aditya Mahajan
On Mon, 21 May 2018, Alan Braslau wrote: Hello, In \starttable and \starttabulate, one can add extra blank space between rows using \TB[...]. Is there some way to add "negative" spacing, that is to tighten or reduce the spacing between any two rows? Just use negative space: \TB[-line] or

Re: [NTG-context] Second level itemization and continue

2018-04-26 Thread Aditya Mahajan
On Fri, 27 Apr 2018, N. Raghavendra wrote: Is it possible to use the continue option for second level itemizations? I am unable to make it work. For example, the following file \starttext \startitemize [n] \startitem One

Re: [NTG-context] Asymptote and Context

2018-04-19 Thread Aditya Mahajan
On Thu, 19 Apr 2018, Context NTG wrote: I am running context minimals and Asymptote on Windows.This example used to work in the past, but it seems to have stopped working. Is there anything that has changed? I uploaded a new version of the filter module yesterday, but the error below seems

Re: [NTG-context] Problem with Filter Module in latent context beta

2018-04-17 Thread Aditya Mahajan
On Tue, 17 Apr 2018, Aditya Mahajan wrote: On Tue, 17 Apr 2018, Hans Hagen wrote: On 4/17/2018 12:01 AM, Aditya Mahajan wrote: All features of the filter and vim modules work with the latest beta, except for one final bug: leading spaces are stripped from the buffer. \starttext

Re: [NTG-context] Problem with Filter Module in latent context beta

2018-04-17 Thread Aditya Mahajan
On Tue, 17 Apr 2018, Hans Hagen wrote: On 4/17/2018 12:01 AM, Aditya Mahajan wrote: All features of the filter and vim modules work with the latest beta, except for one final bug: leading spaces are stripped from the buffer. \starttext \startbuffer[test]     Leading spaces \stopbuffer

Re: [NTG-context] Problem with Filter Module in latent context beta

2018-04-16 Thread Aditya Mahajan
On Sat, 14 Apr 2018, Lutz Haseloff wrote: Hi all, with latest context my filter test file fails with an error. My file: \usemodule[filter] \defineexternalfilter [luatexdevelopmentlevel] [filtercommand={luatex --credits | grep Development > \externalfilteroutputfile}] \starttext

Re: [NTG-context] Problem with Filter Module in latent context beta

2018-04-16 Thread Aditya Mahajan
All features of the filter and vim modules work with the latest beta, except for one final bug: leading spaces are stripped from the buffer. \starttext \startbuffer[test] Leading spaces \stopbuffer \savebuffer[file=test-temp.tmp, prefix=no, list=test] \stoptext The leading spaces are

Re: [NTG-context] Problem with Filter Module in latent context beta

2018-04-16 Thread Aditya Mahajan
On Sun, 15 Apr 2018, Hans Hagen wrote: On 4/15/2018 7:08 AM, Aditya Mahajan wrote: On Sun, 15 Apr 2018, Hans Hagen wrote: On 4/14/2018 9:52 PM, Lutz Haseloff wrote: I get another error message: open source > level 4, order 5, name 't-module-catcodes.tex' loading > Module Catcode

Re: [NTG-context] Problem with Filter Module in latent context beta

2018-04-16 Thread Aditya Mahajan
On Sun, 15 Apr 2018, Hans Hagen wrote: \start \def\obeyedline{\blank[line]} \obeylines Thanks! Not sure why I wasn't using that since the beginning. I am testing with the latest beta and I get another bug with reading http files. This is a simplified version of what I use in the filter

Re: [NTG-context] Problem with Filter Module in latent context beta

2018-04-14 Thread Aditya Mahajan
On Sun, 15 Apr 2018, Hans Hagen wrote: On 4/14/2018 9:52 PM, Lutz Haseloff wrote: I get another error message: open source > level 4, order 5, name 't-module-catcodes.tex' loading > Module Catcodes (ver: 2011.12.17) tex error > tex error on line 96 in file t-module-catcodes.tex: ! Undefined

Re: [NTG-context] Problem with Filter Module in latent context beta

2018-04-14 Thread Aditya Mahajan
On Sat, 14 Apr 2018, Lutz Haseloff wrote: Hi all, with latest context my filter test file fails with an error. My file: \usemodule[filter] \defineexternalfilter [luatexdevelopmentlevel] [filtercommand={luatex --credits | grep Development > \externalfilteroutputfile}] \starttext

Re: [NTG-context] Build for Alpine Linux

2018-04-13 Thread Aditya Mahajan
On Fri, 13 Apr 2018, Henning Hraban Ramm wrote: Am 2018-04-13 um 13:42 schrieb Henri Menke : Exactly. We have that. And most bits and pieces are in place to allow that, except for the problem with mtxrun not being able to determine the platform correctly. Actually, the

Re: [NTG-context] Build for Alpine Linux

2018-04-11 Thread Aditya Mahajan
On Wed, 11 Apr 2018, Brian Hunt wrote: 6. `context` is unable to locate `mtx-context.lua`. Some tracker output sheds some light: Have you run luatools --generate Aditya ___ If your question is of interest to

Re: [NTG-context] Strange behaviour of \start/stopplacefigure

2018-04-02 Thread Aditya Mahajan
On Mon, 2 Apr 2018, Wolfgang Schuster wrote: The problem is that float with the “bottom” or “auto” positions don’t indent the paragraph which appears after the float while “top” does it. begin example \setupindenting[yes,6cm] \setupfloat[figure][indentnext=yes] \starttext

Re: [NTG-context] Framed & before/after

2018-03-22 Thread Aditya Mahajan
On Thu, 22 Mar 2018, Henri Menke wrote: On Wed, 2018-03-21 at 14:24 +0100, Procházka Lukáš Ing. wrote: Hello, does \framed recognize before and after keys, as mentioned here: http://wiki.contextgarden.net/Command/defineframed or:

Re: [NTG-context] export breaks float placement

2018-03-03 Thread Aditya Mahajan
On Sat, 3 Mar 2018, Henning Hraban Ramm wrote: And I can’t accept that the option of exporting to XML would (more or less) drastically and needlessly change the print layout! At least _please_ make it an option! In the meanwhile, you can do: \startmode[export] \setupbackend[export=yes]

Re: [NTG-context] \eqalign not working in latest beta

2018-03-01 Thread Aditya Mahajan
On Thu, 1 Mar 2018, Alan Bowen wrote: OK—thanks for the mkiv alternative to \eqalign. This has been available for a while: http://dl.contextgarden.net/myway/context-latex-math.pdf Aditya___ If your question is

Re: [NTG-context] To \getbuffer or to \input: which one is it better?

2018-02-11 Thread Aditya Mahajan
On Sun, 11 Feb 2018, Hans Hagen wrote: Think different ... see end. \startluacode document.speakerdata = { { speakername = "Gauss", title = "Remarks on Number Theory", time= "8am", room= "B", day

Re: [NTG-context] chapter setup with subtitle in margin

2018-01-24 Thread Aditya Mahajan
On Wed, 24 Jan 2018, Henning Hraban Ramm wrote: Am 2018-01-23 um 22:31 schrieb Henning Hraban Ramm : I have this nice/complicated chapter setup (see attachments): Three problems I cannot get rid of: - There’s always an indent in front of the title (red box); it should not. -

Re: [NTG-context] Error at \stoplines

2018-01-23 Thread Aditya Mahajan
On Tue, 23 Jan 2018, Henning Hraban Ramm wrote: Am 2018-01-23 um 10:29 schrieb r.erm...@hccnet.nl: in my current project, every time I use \startlines .. \stoplines (for poems), I run into this error: structure > sectioning > chapter @ level 2 : 5.2 -> Example tex error > tex

Re: [NTG-context] Problem with \definemathmatrix

2018-01-18 Thread Aditya Mahajan
On Thu, 18 Jan 2018, Hans Hagen wrote: On 1/18/2018 9:13 PM, Otared Kavian wrote: Hi Aditya, Thanks for sharing this nice module, it is really useful, especially when making documents for students while using Matlab or Scilab. Nice indeed. There is also in the distribution the module

Re: [NTG-context] Problem with \definemathmatrix

2018-01-18 Thread Aditya Mahajan
On Thu, 18 Jan 2018, Fabrice Couvreur wrote: Hello, Thank you. @Adytan This module is not part of context standalone, in which directory is it better to put it ? Fabrice You can put it any directory where ConTeXt can find it. I usually use $TEXMFHOME/tex/context/personal/ On most systems,

Re: [NTG-context] Problem with \definemathmatrix

2018-01-17 Thread Aditya Mahajan
author=Aditya Mahajan, %D date=\currentdate, %Dcopyright=Aditya Mahajan, %Demail=adityam ieee org, %D license=Simplified BSD License] \writestatus{loading}{Simple matrix (ver: 2014.02.18)} \startmodule[simplematrix] \unprotect \definenamespace [simplematrix] [ \c

Re: [NTG-context] Bug in math arrows

2018-01-10 Thread Aditya Mahajan
On Wed, 10 Jan 2018, Wolfgang Schuster wrote: Aditya Mahajan <mailto:adit...@umich.edu> 10. Januar 2018 um 17:27 Hi, There is a bug in extensible arrows. The syntax of extensible arrows is: \xleftarrow{below}{top} but when the optional argument is used \xleftarrow[small

[NTG-context] Bug in math arrows

2018-01-10 Thread Aditya Mahajan
Hi, There is a bug in extensible arrows. The syntax of extensible arrows is: \xleftarrow{below}{top} but when the optional argument is used \xleftarrow[small]{A}{B} then A ends up on the top and B on the bottom. Thanks, Aditya

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

2017-12-27 Thread Aditya Mahajan
On Tue, 26 Dec 2017, Pablo Rodriguez wrote: On 12/21/2017 10:53 PM, Aditya Mahajan wrote: [...] Can you post a minimal working example. I don't use XML so it is difficult for me to understand how these commands are used in practice. Aditya, many thanks for your reply and your help

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/21/2017 08:05 PM, Aditya Mahajan wrote: On Thu, 21 Dec 2017, Pablo Rodriguez wrote: [...] I don’t remember which were the options in t-vim, but I need the options from \setuptyping and \setuptype. Currently vim does not support

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