Re: [NTG-context] \quote inside \emph

2016-01-17 Thread Aditya Mahajan
On Mon, 18 Jan 2016, Wolfgang Schuster wrote: Hans Hagen 18. Januar 2016 um 00:56 we could change it (i don't care too much as i've never use them nested) up to you/wolfgang/... to decide Remove the default setting and for completeness sake add style/color settings to

Re: [NTG-context] Automatic negative tracking to prevent slight overfull hbox's

2016-01-16 Thread Aditya Mahajan
On Thu, 14 Jan 2016, Alexander Dyomin wrote: Dear list, when I stumble upon a slightly overhanging line (where it's not allowed to hyphenate the hanging word and putting it on next line leaves huge whitespaces), decreasing letterspacing in that line seems like a good idea, and I manually inse

Re: [NTG-context] \quote inside \emph

2016-01-16 Thread Aditya Mahajan
On Sat, 16 Jan 2016, Alan Bowen wrote: When used in inside \emph, \quote puts the words cited into roman face. Thus, \starttext \emph{The \quote{Problemata} in Medieval Times} \emph{The \quote{\emph{Problemata}} in Medieval Times} \stoptext This seems odd. Should \quote not leave the style

Re: [NTG-context] strange output in math display mode

2015-12-22 Thread Aditya Mahajan
On Tue, 22 Dec 2015, Alan BRASLAU wrote: Wolfgang, Can you explain to us why it should be preferable for ConTeXt users to employ \frac12 rather than the native TeX construction {1\over 2}? I understand that the macro \frac does some additional trickery but the two constructions should *always*

Re: [NTG-context] Pgfplots - "reverse legend" by Lua

2015-12-22 Thread Aditya Mahajan
On Tue, 22 Dec 2015, Hans Hagen wrote: On 12/22/2015 5:36 PM, Aditya Mahajan wrote: On Tue, 22 Dec 2015, Procházka Lukáš Ing. - Pontex s. r. o. wrote: > > \starttikzpicture > %\startaxis[legend entries={Cos,Sin2,Sin},reverse legend] > \cldcommand{startaxis{[&qu

Re: [NTG-context] Pgfplots - "reverse legend" by Lua

2015-12-22 Thread Aditya Mahajan
On Tue, 22 Dec 2015, Procházka Lukáš Ing. - Pontex s. r. o. wrote: \starttikzpicture %\startaxis[legend entries={Cos,Sin2,Sin},reverse legend] \cldcommand{startaxis{["legend entries"] = "{Cos,Sin2,Sin}", "reverse legend"}} This is not valid lua. On a lua prompt, try t = {["legend en

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Aditya Mahajan
On Tue, 8 Dec 2015, Wolfgang Schuster wrote: nor in my description (is the setups key even supposed to work in \definedescription?). No, there is no setups key for description and you have to misuse the style key. Should we add one? It is a bit annoying at times that some of the environments

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-07 Thread Aditya Mahajan
On Mon, 7 Dec 2015, Henning Hraban Ramm wrote: Hi again, since my bibliographic setup works well, thanks again, I’d like to tighten it a bit, i.e. reduce spacing under defined circumstances. In the docs and sources I found only how to affect spacing of languages, and only "packed" or "broad"

Re: [NTG-context] Command definitions in ma-cb-en.tex

2015-11-30 Thread Aditya Mahajan
On Sun, 29 Nov 2015, Jan U. Hasecke wrote: Hi all, this is a stupid question, I fear: In "ConTeXt Mark IV an excursion" in appendix A I see many command definitions. I browsed the sources of this document but could not find the point where these list is defined. I know that in setup-en.pdf the

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 \catcodetable\ct

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 cour

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] 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 pr

[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 \Ucheckedstopdisplay

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

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 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 Contents 1 First section 2

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 \advance\scratchcounter\minus

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

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 wou

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 wh

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 t

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

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

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 cas

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 to

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] 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] 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 wi

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 colors

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 conte

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 bu

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: On 20 Jul 2015, at 16:40, Aditya Mahajan 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 a similar option? No

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: 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] 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 prin

[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 \s

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 the

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)? Ye

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]{}{\fram

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 th

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 i

[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) \defineconversionset[default][Character,number,Romannumerals,

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 appre

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

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 th

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

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

2015-05-24 Thread Aditya Mahajan
> On May 24, 2015, at 5:48 AM, Mojca Miklavec > 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 that has been

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] 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-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] 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 s

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 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 on the right (not o

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 for

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] 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] 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] 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
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 mechanism.

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] \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-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$ they

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$} \setupmathematics[functionstyle=sansbold,functioncolo

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-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}} \u

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

[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-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 \startformul

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 be

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

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

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, Aditya Mahajan wrote: On Mon, 27 Apr 2015, Wolfgang Schuster wrote: Am 27.04.2015 um 15:23 schrieb 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

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

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 not

[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] 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. Aditya___

[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). Occasi

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 $TEXMF/fo

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}, which

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: http://tex.stackexchange.com

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

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 : Hi, Is it possible to set 'presets' for the framed settings of \setlayerframed? For example: \definelayer[text] \definelayer[annotate] \setupbackgrounds[text][background={text,foregroun

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

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 v

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] 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 \Bolha[size=4cm]{tex

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] 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 tha

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_ = doc:getNumPa

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 m

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