Re: [NTG-context] can't find file `./1.tex'.

2015-11-19 Thread Aditya Mahajan
On Sat, 14 Nov 2015, Context NTG wrote: I installed in windows 7 x64 standatalone context from http://standalone.contextgarden.net/setup/context-setup-mswin.zip I installed it with first-setup.bat --version=current --modules=all I added d:\context\tex\texmf-win64\bin in the PATH I made a simple

Re: [NTG-context] Improving Pandoc Support for ConTeXt

2015-10-26 Thread Aditya Mahajan
On Mon, 26 Oct 2015, Wolfgang Schuster wrote: Aditya Mahajan <mailto:adit...@umich.edu> 24. Oktober 2015 um 21:11 On Mon, 19 Oct 2015, Andrew Dunning wrote: > It has been mentioned a few times on this list, with Pablo Rodríguez > recently developing a set of templates for typ

Re: [NTG-context] Bug with ConTeXt and pgfplot library fillbetween

2015-10-26 Thread Aditya Mahajan
On Mon, 26 Oct 2015, Wolfgang Schuster wrote: Below is a simplified version of your example where the catcode change remains even when I try to restore the default settings with \catcodetable\ctxcatcodes but I don’t now if this is a bug. \starttext \the\catcode`| \catcode`|=12

Re: [NTG-context] Bug with ConTeXt and pgfplot library fillbetween

2015-10-24 Thread Aditya Mahajan
On Fri, 23 Oct 2015, Wolfgang Schuster wrote: Aditya Mahajan <mailto:adit...@umich.edu> 22. Oktober 2015 um 02:52 Hi, The following example fails: \usemodule[pgfplots] \usepgfplotslibrary[fillbetween] \starttext \startformula \left. a \right| \stopformula \stoptext with tex error

Re: [NTG-context] Improving Pandoc Support for ConTeXt

2015-10-24 Thread Aditya Mahajan
On Mon, 19 Oct 2015, Andrew Dunning wrote: Dear list, Pandoc, if you have not heard of it before, is a rather brilliant program for converting text between different markup languages: it allows, in essence, for technology-independent writing. I used pandoc to generate class notes for a

Re: [NTG-context] disabling ligatures in selected words

2015-10-23 Thread Aditya Mahajan
On Fri, 23 Oct 2015, Thomas A. Schmitz wrote: Hi, in German typography, ligatures are disabled at boundaries between what used to be independent words (Wortfugen). Thusly, in a correct German text, you'd find Anflug (with fl-ligature) but Auf| lage (without ligature). I know that I can

[NTG-context] Bug with ConTeXt and pgfplot library fillbetween

2015-10-21 Thread Aditya Mahajan
Hi, The following example fails: \usemodule[pgfplots] \usepgfplotslibrary[fillbetween] \starttext \startformula \left. a \right| \stopformula \stoptext with tex error > tex error on line 7 in file /private/tmp/test.tex: ! Missing \endgroup inserted \endgroup

[NTG-context] Using the new bib system

2015-10-12 Thread Aditya Mahajan
Hi, Could someone explain or give pointers to how to use the new bib system. I already have my publications in a bib file and want to render them using the num style. Thanks, Aditya ___ If your question is of

Re: [NTG-context] Section head without numbers, ToC with numbers

2015-10-04 Thread Aditya Mahajan
On Sun, 4 Oct 2015, Erik Margraf wrote: On Sat, Oct 3, 2015 at 11:51 PM, Aditya Mahajan <adit...@umich.edu> wrote: On Sat, 3 Oct 2015, Erik Margraf wrote: Dear List, is it possible to achieve the following: First section Some Text Second section Some Text Table of Cont

Re: [NTG-context] Section head without numbers, ToC with numbers

2015-10-03 Thread Aditya Mahajan
On Sat, 3 Oct 2015, Erik Margraf wrote: Dear List, is it possible to achieve the following: First section Some Text Second section Some Text Table of Contents 1 First section 2 Second section (Untested): \setuphead[section][numbercommand=\gobbleoneargument] Aditya

Re: [NTG-context] \doifnotmodeelse - undefined control sequence error?

2015-09-15 Thread Aditya Mahajan
On Tue, 15 Sep 2015, Wolfgang Schuster wrote: Jaroslav Hajtmar 15. September 2015 11:31 Hello ConTeXist. I do not know if I'm not mistake somewhere, but it seems to me that the macro \doifnotmodeelse does not work. Can anyone verify this? There is no command with this

Re: [NTG-context] Custom XML Export

2015-09-12 Thread Aditya Mahajan
On Sat, 12 Sep 2015, Henning Hraban Ramm wrote: Do you know a good XSLT processor except Saxon? Its free version is just too limited. Why not just use your favorite programming language; most languages have a decent XML parsing library? Aditya

Re: [NTG-context] \emptylines non-functional

2015-09-09 Thread Aditya Mahajan
On Wed, 9 Sep 2015, Hans Hagen wrote: On 9/9/2015 2:17 AM, Rik Kabel wrote: On 2015-09-08 17:52, Hans Hagen wrote: \def\spac_lines_empty[#1]% {\endgraf \begingroup \forgetall \scratchcounter\iffirstargument#1\else3\fi\relax \ifhmode \crlf

Re: [NTG-context] \installprettytype problem

2015-08-21 Thread Aditya Mahajan
On Fri, 21 Aug 2015, Eric Détrez wrote: Le 21-08-2015 00:21, Renaud AUBIN a écrit : Nobody did mention the use of vim package ? You have to installe vim in your system The package asks vim to get the lexed source code. Next the package color it. It doesn't seem obvious to change the colors.

Re: [NTG-context] creating multirow curly brace in tables to symbolize row span

2015-08-20 Thread Aditya Mahajan
On Thu, 20 Aug 2015, Henry House wrote: List: I'm trying to create a table with this effect: Parcel |Area ⎧ | 1 acre trees parcel 1 ⎨ | 2 acre vines ⎩ | 3 acre open ⎧ | 5 acre trees parcel 2 ⎨ | 6 acre vines ⎩ | 4 acre open In other words, I

Re: [NTG-context] Problem with the installation of a module

2015-08-15 Thread Aditya Mahajan
On Sat, 15 Aug 2015, Andrea De Michele wrote: The problem seems to be in how context find the files path. As you suggested I tried: ~ $ mtxrun --expand-var TEXMFLOCAL home/admich/texlive/texmf-local I think that the problem is here. It should be /home/admich/texlive/texmf-local Not sure

Re: [NTG-context] Problem with the installation of a module

2015-08-14 Thread Aditya Mahajan
On Fri, 14 Aug 2015, Andrea De Michele wrote: I tried to install the PocketDiary module but I had some problem. I follow the instruction at: http://wiki.contextgarden.net/Modules so first I copy the files in my texmf-local directory and after that I run: You are storing the files according

Re: [NTG-context] Formatting of page number in table of contents

2015-08-12 Thread Aditya Mahajan
On Tue, 11 Aug 2015, Wolfgang Schuster wrote: Aditya Mahajan mailto:adit...@umich.edu 11. August 2015 18:53 Hi, I am using a document structure part-section-subsection (i.e., no chapters). The page numbers have to be formatted as partnumber-pagenumber. So, I am using the following setup

[NTG-context] Formatting of page number in table of contents

2015-08-11 Thread Aditya Mahajan
Hi, I am using a document structure part-section-subsection (i.e., no chapters). The page numbers have to be formatted as partnumber-pagenumber. So, I am using the following setup: \setupuserpagenumber[way=bypart, prefix=yes, prefixset=part] The page numbers are formatted correctly on each

Re: [NTG-context] Template for handling editorial content in a large book project

2015-08-08 Thread Aditya Mahajan
On Sat, 8 Aug 2015, Pavneet Arora wrote: I am working on a large book project. What I need done in ConTeXt is something similar to what Boris presented at TUG 2015: http://tug.org/tug2015/abstracts/veytsman-access.txt In other words, the output should address different audiences. In my

Re: [NTG-context] Linenumering inside floats

2015-08-04 Thread Aditya Mahajan
On Wed, 29 Jul 2015, Hans Hagen wrote: On 6/30/2015 7:56 PM, Aditya Mahajan wrote: Hi, I am forwarding a feature request for the t-vim module: https://github.com/adityam/filter/issues/21 Is there a way to enable line numbering inside floats: \definefloat[sourcecode][sourcecodes

Re: [NTG-context] Linenumering inside floats

2015-08-04 Thread Aditya Mahajan
On Tue, 4 Aug 2015, Hans Hagen wrote: On 8/4/2015 4:52 PM, Aditya Mahajan wrote: On Wed, 29 Jul 2015, Hans Hagen wrote: On 6/30/2015 7:56 PM, Aditya Mahajan wrote: Hi, I am forwarding a feature request for the t-vim module: https://github.com/adityam/filter/issues/21 Is there a way

Re: [NTG-context] Some questions about an environment (Metafun)

2015-08-04 Thread Aditya Mahajan
On Tue, 4 Aug 2015, Fabrice Couvreur wrote: How to have Definition 1, Definition 2, Definition 3 ... ? \defineenumeration[definition][text=Definition] Aditya ___ If your question is of interest to others as well,

Re: [NTG-context] noheaderandfooterlines messes with colors

2015-08-03 Thread Aditya Mahajan
On Mon, 3 Aug 2015, Hans Hagen wrote: \hbox\bgroup\forcecolorhack\starttikzpicture \draw(0,2) node[color=red]{This should be red}; \draw(0,0) node[color=red]{This is red}; \stoptikzpicture\egroup Tikz colors are broken when using anything other than red, blue, or green. I know that

Re: [NTG-context] Numbering subformulas

2015-08-03 Thread Aditya Mahajan
On Mon, 3 Aug 2015, Procházka Lukáš Ing. - Pontex s. r. o. wrote: So, finally, what is the PROPER way (if it really exists) in ConTeXt how to typeset subformulas? I am not sure when the subformula numbering broke, but I can confirm that it is not working with the latest beta. @Hans, what

Re: [NTG-context] ending every paragraph

2015-08-02 Thread Aditya Mahajan
On Sun, 2 Aug 2015, Idris Samawi Hamid ادريس سماوي حامد wrote: But I'll bet Hans could figure out a way to do it in lua. If you need this to happen before macro expansion, then there are two options: use input translation (see, for example, the m-translate module) or capture the entire

Re: [NTG-context] noheaderandfooterlines messes with colors

2015-08-01 Thread Aditya Mahajan
On Sat, 1 Aug 2015, Eric Détrez wrote: Here is a minimal example : \usemodule[tikz] \starttext \noheaderandfooterlines \starttikzpicture \draw(0,2) node[color=red]{This should be red}; \draw(0,0) node[color=red]{This is red}; \stoptikzpicture \stoptext The first line is written in black

Re: [NTG-context] Change location of local texmf

2015-07-25 Thread Aditya Mahajan
On Sat, 25 Jul 2015, John Kitzmiller wrote: The minimals use ~/texmf for the local tex folder. How to change it to ~/dropbox/texmf? My ConTeXt installation is ~/dropbox/context. One option is: ln -s ~/dropbox/texmf ~/texmf Aditya

Re: [NTG-context] Math literal colon

2015-07-20 Thread Aditya Mahajan
On Mon, 20 Jul 2015, Hans Aberg wrote: The LaTeX package unicode-math has an option colon=literal, which makes it behave as in math functions (as in example below). Has ConTeXt a similar option? No. You have to use \colon. Aditya

Re: [NTG-context] Illegal parameter number in definition

2015-07-20 Thread Aditya Mahajan
On Mon, 20 Jul 2015, juh wrote: What is your Wiki policy? I am willing to help. No policy. Everyone is free to edit the wiki. If there is some information that you found useful and it is not on the wiki add it at what an appropriate place. Aditya

Re: [NTG-context] Math literal colon

2015-07-20 Thread Aditya Mahajan
On Mon, 20 Jul 2015, Hans Aberg wrote: On 20 Jul 2015, at 16:40, Aditya Mahajan adit...@umich.edu wrote: On Mon, 20 Jul 2015, Hans Aberg wrote: The LaTeX package unicode-math has an option colon=literal, which makes it behave as in math functions (as in example below). Has ConTeXt

Re: [NTG-context] where are the pret-xxxx.lua ?

2015-07-17 Thread Aditya Mahajan
On Fri, 17 Jul 2015, Eric Détrez wrote: It seems that the answer could be in the t-vim (third party) module. It uses the syntax analysis from VIm (you have to install it :)) Here is a minimal example on how to use t-vim: \definevimtyping [PYTHON] [syntax=python] \starttext \startPYTHON

[NTG-context] Linenumering inside floats

2015-06-30 Thread Aditya Mahajan
Hi, I am forwarding a feature request for the t-vim module: https://github.com/adityam/filter/issues/21 Is there a way to enable line numbering inside floats: \definefloat[sourcecode][sourcecodes] \startbuffer \startlinenumbering \input tufte \stoplinenumbering \stopbuffer \starttext

Re: [NTG-context] definereferencestructureprefix for floats

2015-06-22 Thread Aditya Mahajan
On Mon, 22 Jun 2015, Wolfgang Schuster wrote: Aditya Mahajan mailto:adit...@umich.edu 22. Juni 2015 05:35 On Sun, 21 Jun 2015, Aditya Mahajan wrote: Even the second example in strc-ref.mkvi does not work correctly. \starttext \chapter{test} \placefigure[here][xx:1]{}{\framed{one

Re: [NTG-context] definereferencestructureprefix for floats

2015-06-22 Thread Aditya Mahajan
On Mon, 22 Jun 2015, Wolfgang Schuster wrote: Aditya Mahajan mailto:adit...@umich.edu 22. Juni 2015 17:34 On Mon, 22 Jun 2015, Wolfgang Schuster wrote: Yes. Do these two example work correctly for you with the latest beta (after fixing the typo and generating the format)? Yes

Re: [NTG-context] Virtual font question

2015-06-22 Thread Aditya Mahajan
On Tue, 23 Jun 2015, Zhichu Chen wrote: I was trying to use the Math Times Pro 2 fonts in ConTeXt MKIV. This Type1 font contains a map file, a set of pfb files and the corresponding tfm files. I was managed to write a .lfg file and a type-imp-xxx file, but here's my problem. I don't have

Re: [NTG-context] definereferencestructureprefix for floats

2015-06-21 Thread Aditya Mahajan
On Sat, 20 Jun 2015, Wolfgang Schuster wrote: Aditya Mahajan mailto:adit...@umich.edu 20. Juni 2015 18:22 Hi, How does one control the referenceprefix for floats. I want to refer to the figures as only Fig 1, Fig 2, etc, even when they are numbered 1.1, 1.2, etc. There is a typo in strc

Re: [NTG-context] definereferencestructureprefix for floats

2015-06-21 Thread Aditya Mahajan
On Sun, 21 Jun 2015, Aditya Mahajan wrote: On Sat, 20 Jun 2015, Wolfgang Schuster wrote: Aditya Mahajan mailto:adit...@umich.edu 20. Juni 2015 18:22 Hi, How does one control the referenceprefix for floats. I want to refer to the figures as only Fig 1, Fig 2, etc, even when

[NTG-context] definereferencestructureprefix for floats

2015-06-20 Thread Aditya Mahajan
Hi, How does one control the referenceprefix for floats. I want to refer to the figures as only Fig 1, Fig 2, etc, even when they are numbered 1.1, 1.2, etc. The example from strc-ref.mkvi does not work (I get 1.I-A.1 and 1.I-A.2)

Re: [NTG-context] How to typeset differential (math)?

2015-06-17 Thread Aditya Mahajan
On Wed, 17 Jun 2015, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, thanks for the solution: \define\dif{\mathop{}\!\mfunction{d}} Another alternative is (untested) \definemathcommand[dif][nolop]{\mfunction{d}\kern\zeropoint} Some explanation for \mathop and \mfunction would be

Re: [NTG-context] TikZ and wrong drawing order

2015-06-11 Thread Aditya Mahajan
On Thu, 11 Jun 2015, Mojca Miklavec wrote: Hi, I would like to ask for help for either finding a fix or some clever workaround for the following problem. If I use a TikZ picture as item symbol and additionally use background text, then the first symbol in itemize environment gets covered by

Re: [NTG-context] TikZ and wrong drawing order

2015-06-11 Thread Aditya Mahajan
On Thu, 11 Jun 2015, Mojca Miklavec wrote: On Thu, Jun 11, 2015 at 7:59 PM, Aditya Mahajan wrote: On Thu, 11 Jun 2015, Mojca Miklavec wrote: Hi, I would like to ask for help for either finding a fix or some clever workaround for the following problem. If I use a TikZ picture as item symbol

[NTG-context] Wiki page on color

2015-06-10 Thread Aditya Mahajan
Hi, I am doing a major overhaul of the wiki page on colors. The current page[1] had become tangled up with time and I think that it is better to reorganize the information. Since this is a major change, rather than simply editing the wiki page, I have created a new page[2]. Please take a

Re: [NTG-context] Environment \starttikzpicture \stoptikzpicture like float

2015-05-24 Thread Aditya Mahajan
On May 24, 2015, at 5:48 AM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Sun, May 24, 2015 at 11:20 AM, Fabrice Couvreur wrote: Hi, Why the command \placerecipe{}{} does not with an environment \starttikzpicture \stoptikzpicture ? In my opinion this is a bug in TikZ

Re: [NTG-context] creating multiline paragraph in \tabulate

2015-05-19 Thread Aditya Mahajan
On Tue, 19 May 2015, John Culleton wrote: Supposedly \tablulate can handle a multiline paragraph in a single cell. It didn't work for me. The text just ran off the right edge of the page. So here is my two column table with a workaround. - \starttext

Re: [NTG-context] vim module: modify line wrapping

2015-05-15 Thread Aditya Mahajan
On Fri, 15 May 2015, Andreas Schneider wrote: Am 14.05.2015 17:26, schrieb Aditya Mahajan: I just released a newer version to t-vim where the `option=hypenated` is documented. It is also possible to hyphenate words by using \definevimtyping[...][..., option={packed,hyphenated}, align

Re: [NTG-context] Changing font for math function

2015-05-15 Thread Aditya Mahajan
On Sat, 16 May 2015, Maggyero wrote: Aditya Mahajan: The default should be \mathupright (as is the case in amstex and latex, and probably also plaintex). Hans Hagen: next beta: when one of the stylealternatives text mode else mathmode (default nothing == math upright) Hans Hagen: Because

Re: [NTG-context] before= and after= for \setuphighlight

2015-05-15 Thread Aditya Mahajan
On Fri, 15 May 2015, Hans Hagen wrote: On 5/15/2015 9:57 PM, Kate F wrote: Hi, I'm looking for something like \definehighlight which I can use to markup various things in inline body text. I want different environments to be able to have their own setups to configure how these appear, just as

Re: [NTG-context] vim module: modify line wrapping

2015-05-14 Thread Aditya Mahajan
On Wed, 13 May 2015, Andreas Schneider wrote: Here is an example: \usemodule[vim] \definevimtyping[JSON][syntax=javascript, lines=split, strip=yes] Add `option=hyphenated`. \starttext The example: \startJSON

Re: [NTG-context] vim module: modify line wrapping

2015-05-14 Thread Aditya Mahajan
On Thu, 14 May 2015, Aditya Mahajan wrote: On Wed, 13 May 2015, Andreas Schneider wrote: Here is an example: \usemodule[vim] \definevimtyping[JSON][syntax=javascript, lines=split, strip=yes] Add `option

Re: [NTG-context] Weird position of equation numbers for long equations

2015-05-14 Thread Aditya Mahajan
On Thu, 14 May 2015, luigi scarso wrote: On Thu, May 14, 2015 at 5:45 PM, Aditya Mahajan adit...@umich.edu wrote: On Thu, 14 May 2015, Mojca Miklavec wrote: Hi, I suspect that the equation numbering in attachment (eq-with-chapter.png) is wrong. Shouldnt't the number be positioned

Re: [NTG-context] Weird position of equation numbers for long equations

2015-05-14 Thread Aditya Mahajan
On Thu, 14 May 2015, Mojca Miklavec wrote: Hi, I suspect that the equation numbering in attachment (eq-with-chapter.png) is wrong. Shouldnt't the number be positioned on the right (not on the left)? And in case that this positioning on the left is intentional: is there any way or setting to

Re: [NTG-context] Setup narrower body text for sections

2015-05-14 Thread Aditya Mahajan
On Thu, 14 May 2015, Kate F wrote: Hi, I'm typesetting unix manpages, where I want each section heading to be outset slightly relative to the body text of that section. In other words, I want the body text to have a left margin which is narrower than the page width. I know I can do this with

Re: [NTG-context] Changing font for math function

2015-05-12 Thread Aditya Mahajan
On Tue, 12 May 2015, Maggyero wrote: Hans Hagen wrote: for functions one can now use: \setupmathematics [functionstyle=\rm] Fantastic! Thank you Hans, it is way better than the old mechanism \setmathfunctionstyle. Now I have a few suggestions to improve the consistency of this new

Re: [NTG-context] vim module: modify line wrapping

2015-05-12 Thread Aditya Mahajan
On Tue, 12 May 2015, Andreas Schneider wrote: Hi, vimtyping already offers line wrapping by specifying lines=split. However, some /lines/with/very/long/sequences/of/somehow/breakable/chars do not break at all. In that given example, I would like to also allow vimtyping to break lines at /.

Re: [NTG-context] Changing font for math function

2015-05-12 Thread Aditya Mahajan
And in my opinion, names for operators and subscripts should all be upright, that is adaptative to the surrounding TEXT STYLE (\rm, \ss and \tt) BUT not adaptative to the surrounding TEXT ALTERNATIVE or MATH ALTERNATIVE (\it, \bi, \sl, \bs) and stay in the normal alternative \tf (upright). This

Re: [NTG-context] \big\lfloor and \big\lceil do not work

2015-05-11 Thread Aditya Mahajan
On Mon, 11 May 2015, Hans Hagen wrote: On 5/11/2015 12:50 AM, Aditya Mahajan wrote: On Sun, 10 May 2015, Hans Hagen wrote: On 5/10/2015 4:06 PM, Aditya Mahajan wrote: $\left\langle x \right\rfloor$ they were not defined as pair (yet) ... done in next beta As I said in the previous email

Re: [NTG-context] Changing font for math function

2015-05-11 Thread Aditya Mahajan
On Mon, 11 May 2015, Hans Hagen wrote: On 5/11/2015 6:16 PM, Aditya Mahajan wrote: On Sun, 10 May 2015, Hans Hagen wrote: next beta: when one of the stylealternatives text mode else mathmode (default nothing == mathupright) \starttext \setupmathematics[functionstyle=,functioncolor=darkred

Re: [NTG-context] \big\lfloor and \big\lceil do not work

2015-05-11 Thread Aditya Mahajan
On Mon, 11 May 2015, Aditya Mahajan wrote: On Mon, 11 May 2015, Aditya Mahajan wrote: Any hints about the missing \lfloor, \lceil with \big etc.? hm, still missing? No. They work with the latest beta. Other missing delimiters: \lmoustache, \rmoustache, \llbracket, \rrbracket, \llangle

Re: [NTG-context] Changing font for math function

2015-05-11 Thread Aditya Mahajan
On Sun, 10 May 2015, Hans Hagen wrote: next beta: when one of the stylealternatives text mode else mathmode (default nothing == mathupright) \starttext \setupmathematics[functionstyle=,functioncolor=darkred] {\ss $\sin x$} {\bf $\sin x$}

Re: [NTG-context] \big\lfloor and \big\lceil do not work

2015-05-11 Thread Aditya Mahajan
On Mon, 11 May 2015, Hans Hagen wrote: On 5/11/2015 5:34 PM, Aditya Mahajan wrote: On Mon, 11 May 2015, Hans Hagen wrote: On 5/11/2015 12:50 AM, Aditya Mahajan wrote: On Sun, 10 May 2015, Hans Hagen wrote: On 5/10/2015 4:06 PM, Aditya Mahajan wrote: $\left\langle x \right\rfloor

Re: [NTG-context] \big\lfloor and \big\lceil do not work

2015-05-11 Thread Aditya Mahajan
On Mon, 11 May 2015, Aditya Mahajan wrote: Any hints about the missing \lfloor, \lceil with \big etc.? hm, still missing? No. They work with the latest beta. Other missing delimiters: \lmoustache, \rmoustache, \llbracket, \rrbracket, \llangle, \rrangle, \lgroup, \ulcorner, \urcorner

Re: [NTG-context] \big\lfloor and \big\lceil do not work

2015-05-10 Thread Aditya Mahajan
On Sun, 10 May 2015, Hans Hagen wrote: On 5/10/2015 4:06 PM, Aditya Mahajan wrote: $\left\langle x \right\rfloor$ they were not defined as pair (yet) ... done in next beta As I said in the previous email, \langle ... \rfloot are not typically used together, so there is no need to add

Re: [NTG-context] Changing font for math function

2015-05-10 Thread Aditya Mahajan
On Sun, 10 May 2015, Otared Kavian wrote: Everything works fine, except that when one tries to modify, for instance the definition of \liminf (in order to have it as an underlined lim), ConTeXt reports an error. %\definemathcommand [liminf] [limop] {\underline\mfunctionlabeltext{lim}}

Re: [NTG-context] Changing font for math function

2015-05-10 Thread Aditya Mahajan
On Sun, 10 May 2015, Hans Hagen wrote: On 5/9/2015 4:16 PM, Aditya Mahajan wrote: On Sat, 9 May 2015, Aditya Mahajan wrote: On Sat, 9 May 2015, Hans Hagen wrote: i've added (uploading beta now) \setupmathematics [functionstyle=\ss, functioncolor=red] \starttext \startformula f

[NTG-context] \big\lfloor and \big\lceil do not work

2015-05-10 Thread Aditya Mahajan
Hi, This is based on another question on TeX.SX http://tex.stackexchange.com/q/242256/323 Minimal example: \starttext \startlines $\big\lfloor x \big\rfloor$ % No delimiters $\Big\lfloor x \Big\rfloor$ % No delimiters $\left\lfloor x \right\rfloor$ % Works \stoplines \stoptext Any idea what

Re: [NTG-context] Changing font for math function

2015-05-09 Thread Aditya Mahajan
On Sat, 9 May 2015, Hans Hagen wrote: i've added (uploading beta now) \setupmathematics [functionstyle=\ss, functioncolor=red] \starttext \startformula f = \sin i\omega x^{\sin(x^{\sin(y)})} \stopformula \stoptext best test this because Mojca will at some point push into tex live (at

Re: [NTG-context] Changing font for math function

2015-05-09 Thread Aditya Mahajan
On Sat, 9 May 2015, Aditya Mahajan wrote: On Sat, 9 May 2015, Hans Hagen wrote: i've added (uploading beta now) \setupmathematics [functionstyle=\ss, functioncolor=red] \starttext \startformula f = \sin i\omega x^{\sin(x^{\sin(y)})} \stopformula \stoptext best test this because

[NTG-context] Changing font for math function

2015-05-08 Thread Aditya Mahajan
Hi, There is a question on TeX.SX asking how to change the font of \sin, \cos, etc. http://tex.stackexchange.com/q/243893/323 I looked at the code, and there does not appear to be an easy solution. The \mathfunctionlabeltext command has \mathupright hard coded. One option is to keep this

[NTG-context] Changing coversion of formulas

2015-04-27 Thread Aditya Mahajan
Hi, How does one change the numberconversion for math formulas? The old method: \setupformulas[numberconversion=set 1] \starttext \placeformula \startformula E = mc^2 \stopformula \stoptext does not appear to work. Thanks, Aditya

Re: [NTG-context] Changing coversion of formulas

2015-04-27 Thread Aditya Mahajan
On Mon, 27 Apr 2015, Hans Hagen wrote: On 4/27/2015 11:24 AM, Aditya Mahajan wrote: Hi, How does one change the numberconversion for math formulas? The old method: \setupformulas[numberconversion=set 1] \starttext \placeformula \startformula E = mc^2 \stopformula \stoptext does

Re: [NTG-context] ConTeXt equivalent of \newmcodes@

2015-04-27 Thread Aditya Mahajan
On Mon, 27 Apr 2015, Maggyero wrote: do you have an example of usage Yes, I am trying to create the command \operatorname in ConTeXt. I know that in LaTeX \operatorname{xyz} is equivalent to \mathop{\newmcodes@\kern\z@\operator@font xyz}\csname nolimits@\endcsname} I also know that there is

Re: [NTG-context] Changing coversion of formulas

2015-04-27 Thread Aditya Mahajan
On Mon, 27 Apr 2015, Wolfgang Schuster wrote: Am 27.04.2015 um 15:23 schrieb Aditya Mahajan adit...@umich.edu: On Mon, 27 Apr 2015, Hans Hagen wrote: On 4/27/2015 11:24 AM, Aditya Mahajan wrote: Hi, How does one change the numberconversion for math formulas? The old method: \setupformulas

Re: [NTG-context] Changing coversion of formulas

2015-04-27 Thread Aditya Mahajan
On Mon, 27 Apr 2015, Aditya Mahajan wrote: On Mon, 27 Apr 2015, Wolfgang Schuster wrote: Am 27.04.2015 um 15:23 schrieb Aditya Mahajan adit...@umich.edu: On Mon, 27 Apr 2015, Hans Hagen wrote: On 4/27/2015 11:24 AM, Aditya Mahajan wrote: Hi, How does one change the numberconversion

[NTG-context] Unable to resave float

2015-04-24 Thread Aditya Mahajan
I have a complex document, where I use \startbackground \startplacefigure[location={always,none}] ... \stopplacefigure ... \stopbackground (This is for exam solutions and the background is supposed to be a frame around the solution; the figure is a figure included in the solution).

Re: [NTG-context] Installing fonts

2015-04-24 Thread Aditya Mahajan
On Fri, 24 Apr 2015, david.boerschl...@juno.com wrote: Is there any up-to-date documentation on how to install fonts? The page http://wiki.contextgarden.net/Installing_a_TrueType_font,_step_by_step starts out by saying that it is out-of-date. I typically just add the .ttf fonts in

Re: [NTG-context] Export bugs

2015-04-24 Thread Aditya Mahajan
On Fri, 24 Apr 2015, Idris Samawi Hamid ادريس سماوي حامد wrote: \definehighlight[emphasis][style=\em] ... Some \emph{emphasis} and \important{important}. The exported formatting of \emph vanishes in each instance. You define \emphasis but use \emph.

Re: [NTG-context] setupthinrules

2015-04-16 Thread Aditya Mahajan
On Wed, 15 Apr 2015, Thangalin wrote: Pandoc uses thinrule (probably because it spans the page by default) when generating ConTeXt documents. Using only thinrule, how would you go about making a totally sweet (ornamental) horizontal rule, such as those shown at:

Re: [NTG-context] setupthinrules

2015-04-16 Thread Aditya Mahajan
On Thu, 16 Apr 2015, Thangalin wrote: \define\thinrule\fancybreak Or \definefancybreak[thinrule][symbol=star] I wish there was a custom context-writer for pandoc, where markdown elements were mapped to semantic commands rather than visual commands (pandoc maps **text** to {\bf text},

Re: [NTG-context] next beta

2015-04-15 Thread Aditya Mahajan
On Tue, 19 Mar 2013, Hans Hagen wrote: \starttext \starttabulate[||CL{darkred}|CM{darkgreen}CT{white}|CR{darkblue}||] \NC first \NC left \NC middle \NC right \NC last \NC \NR \NC first \NC \color[white]{left} \NC middle \NC \color[white]{right} \NC last \NC

Re: [NTG-context] text alignment in table

2015-04-07 Thread Aditya Mahajan
On Tue, 7 Apr 2015, John Culleton wrote: Given this table: \starttabulate[|l|l] \NC 8:00\emdash noon \NC Ordering/opening/training\NR \NC \NC Food~preparation\NC\NR \NC Noon\emdash 2:00 PM \NC Luncheon~sales\NR \NC 2:00 PM\emdash 7:00 PM \NC General administration/baking \NR \NC \NC Supplier

Re: [NTG-context] presets for setlayerframed

2015-04-06 Thread Aditya Mahajan
On Mon, 6 Apr 2015, Wolfgang Schuster wrote: Am 06.04.2015 um 01:29 schrieb Aditya Mahajan adit...@umich.edu: Hi, Is it possible to set 'presets' for the framed settings of \setlayerframed? For example: \definelayer[text] \definelayer[annotate] \setupbackgrounds[text][background={text

[NTG-context] presets for setlayerframed

2015-04-05 Thread Aditya Mahajan
Hi, Is it possible to set 'presets' for the framed settings of \setlayerframed? For example: \definelayer[text] \definelayer[annotate] \setupbackgrounds[text][background={text,foreground,annotate}] \starttext Testing layers: \setlayerframed[annotate][x=1cm,y=1cm][frame=off, align=middle]

Re: [NTG-context] Exporting highlights

2015-03-15 Thread Aditya Mahajan
On Sun, 15 Mar 2015, Idris Samawi Hamid ادريس سماوي حامد wrote: [Dear Aditya, I sent this to the list; sending it to you to have a look as well. Any assistance is much appreciated, especially if I have to go the xslt route! Thanks in advance!!] It has been almost 1.5 years since I had a

Re: [NTG-context] shrink JPGs to some resolution (dpi) ?

2015-03-09 Thread Aditya Mahajan
Hi, is it possible that context (lua?) will shrink all \externalfigure jpegs automatically to some specified dpi resolution and quality (e.g. 300 dpi with 95% jpeg 'quality' for print and 100 dpi and 75% for screen quality) ? [] any hints to read the original large JPGs, but only write

Re: [NTG-context] crash with new beta (2015.03.09 19:27)

2015-03-09 Thread Aditya Mahajan
On Mon, 9 Mar 2015, John Kitzmiller wrote: On Mar 9, 2015, at 5:13 PM, Hans Hagen wrote: i uploaded a new beta ... works at luigi's end (actually we tested that previous time too but the issue is only triggered in docs that use positions and tuc files remember that) Hans Now with current

Re: [NTG-context] Update text variables inside metapost

2015-03-07 Thread Aditya Mahajan
On Sat, 7 Mar 2015, DesdeChaves wrote: Why the metapost not updated the value of text variables that are generated inside luacode environment? In the code below, If I have \startitemize[columns,two] then metapost draw: 1. \Bolha[size=6cm]{text1}{text2}{text3}, 2. and four

Re: [NTG-context] Problem with MkIV and TikZ picture remembering

2015-03-03 Thread Aditya Mahajan
On Tue, 3 Mar 2015, Jörg Weger wrote: In the minimal working example below inside of a text two words should be printed inside of rounded TikZ rectangles and should be connected by an TikZ arrow pointing from the first word to the other. TikZ offers the remember picture/overlay option for

Re: [NTG-context] Problem with MkIV and TikZ picture remembering

2015-03-03 Thread Aditya Mahajan
On Tue, 3 Mar 2015, Hans Hagen wrote: On 3/3/2015 6:12 PM, Aditya Mahajan wrote: 2. The metafun alternative is a bit inconvenient. Suppose you want to draw a bunch of such graphics (words connected by arrows). Then, you will need to ensure that node names are unique. (Is there a way to get

Re: [NTG-context] total pages in external PDF

2015-02-25 Thread Aditya Mahajan
On Wed, 25 Feb 2015, Pablo Rodriguez wrote: Dear list, I need to get the number of pages from an external PDF file that I also define with an \env. I think I could get something like this.: \def\Myfilename{\env{filename}} doc = epdf.open(arg[\MyFilename]) total_pages_ =

Re: [NTG-context] Can I use mkii and mkiv side by side?

2015-02-23 Thread Aditya Mahajan
On Mon, 23 Feb 2015, Gerben Wierda wrote: I have a standard ConTeXt project setup (products, environment, chapters subdirectory). In the chapters subdirectory there is a Makefile. I’ve just installed mkiv. Can someone tell me what I need to change in this Makefile to compile my project with

Re: [NTG-context] Problem with framed text.

2015-02-21 Thread Aditya Mahajan
On Feb 21, 2015, at 12:35 PM, John Culleton j...@wexfordpress.com wrote: In several palces I want to set up framed text with a gray background and rounded corners. Here is my \setupframed description: \setupframed[ framecorner=round, frameradius=0.1, background=screen,

Re: [NTG-context] two questions on file handling

2015-02-20 Thread Aditya Mahajan
On Fri, 20 Feb 2015, Pablo Rodriguez wrote: On 02/20/2015 11:05 PM, Hans Hagen wrote: On 2/20/2015 10:53 PM, Pablo Rodriguez wrote: I would like to compile something like (well, using pandoc): cat a.tex | contextjit --purgeall won't work (imagine multiple runs) .. why pipe and not

Re: [NTG-context] Epub format Was: Re: Context to epub: itemize

2015-02-17 Thread Aditya Mahajan
On Tue, 17 Feb 2015, Hans Hagen wrote: Context outputs three varants: regular xml, xhtml, and stupified xhtml with div/class tagging. The last one is supposed to work on all devices as it doesn't demands anything beyond css. The XML generated by ConTeXt is very well structured. So, an option

Re: [NTG-context] \executesystemcommand dont work?

2015-02-16 Thread Aditya Mahajan
On Mon, 16 Feb 2015, Jaroslav Hajtmar wrote: Hi ConTeXist. After a long time I tried to recompile ConTeXt file that contained the \executesystemcommand. It seems to me that this command stopped working. Can anyone confirm or refute this my perception? I call \executesystemcommand to compiling

Re: [NTG-context] \executesystemcommand dont work?

2015-02-16 Thread Aditya Mahajan
On Mon, 16 Feb 2015, Jaroslav Hajtmar wrote: Thanx Aditya for reply. I compile this ConTeXt file: \starttext \immediate\write18{context --version} \stoptext with last standalone version of ConTeXt (minimals). Below is the console output and log file. write18 is enabled on your system; I

Re: [NTG-context] XML Processing with Verbatim (VIM-Typing)

2015-02-12 Thread Aditya Mahajan
On Thu, 12 Feb 2015, Hans Hagen wrote: On 2/11/2015 12:15 PM, Andreas Schneider wrote: Am 10.02.2015 22:45, schrieb Hans Hagen: \startluacode function xml.functions.processJSON(t) buffers.assign(foo,\\startJSON\n .. tostring(xml.text(t)) .. \n\\stopJSON) context.getbuffer

Re: [NTG-context] Disappearing backgrounds/pagenumbers with \page[none]

2015-02-09 Thread Aditya Mahajan
On Mon, 9 Feb 2015, Hans Hagen wrote: On 2/9/2015 12:19 AM, Wolfgang Schuster wrote: Am 09.02.2015 um 00:10 schrieb Wolfgang Schuster schuster.wolfg...@gmail.com mailto:schuster.wolfg...@gmail.com: Hi, there was a problem on TeX SE [1] where page numbers disappear for a whole chapter when

Re: [NTG-context] PDF document statistics (character count incl. spaces)?

2015-02-01 Thread Aditya Mahajan
On Sun, 1 Feb 2015, Jörg Weger wrote: Is there a way to report the “character count including spaces” of the resulting PDF in ConTeXt? Given that these counts are never accurate, how about pdftotext filename followed by wc filename

Re: [NTG-context] Where is error in my code?

2015-01-29 Thread Aditya Mahajan
On Wed, 28 Jan 2015, Keith Schultz wrote: label(\sometxt{Cn},origin) withcolor white; Note that in MkIV, this can be shortened to label(Cn, origin) withcolor white; No need to wrap the strings around \sometxt{...} or btex ... etex. Aditya

<    4   5   6   7   8   9   10   11   12   13   >