Re: [NTG-context] linking to html etc. documents from pdf.

2015-01-22 Thread Aditya Mahajan
On Thu, 22 Jan 2015, John Culleton wrote: DTP programs like Inkscape and Scribus have facilities for linking to urls. Pdftex does also. If this facility exists in Context can some kind soul point me to the documentation? You mean useURL? http://wiki.contextgarden.net/Command/useURL Aditya

Re: [NTG-context] Asymptote in Context

2015-01-19 Thread Aditya Mahajan
On Fri, 2 Jan 2015, Context NTG wrote: Here is an Asymptote example unitsize(1cm); draw((-.1,0) -- (2,0), arrow=Arrow(TeXHead)); draw((0,-.1) -- (0,2), arrow = Arrow(TeXHead)); draw((0,0) .. (1,1) .. (2,sqrt(2))); Below is how I have started setting this up in Context. This creates a pdf

Re: [NTG-context] filter module's inline command and supressed spacing

2015-01-19 Thread Aditya Mahajan
On Tue, 30 Dec 2014, Piotr Kopszak wrote: Hello list, It looks like a bug in the filter module, but maybe I'm doing something wrong. Any help will be greatly appreciated. When using the \inlinepandoc command in the first paragraph below the space at the end of the paragraph in życiaA.

Re: [NTG-context] context - docx ??

2015-01-14 Thread Aditya Mahajan
On Wed, 14 Jan 2015, Idris Samawi Hamid ادريس سماوي حامد wrote: \starttext \startquotation \input darwin \bf \input darwin \stopquotation \stoptext darwin-xml-div.xhtml and darwin-xml-tag.xhtml show up in the browser, but the bold does not. What is needed to get the typography

Re: [NTG-context] Asymptote in Context

2014-12-27 Thread Aditya Mahajan
On Wed, 24 Dec 2014, Context NTG wrote: Could anybody explain how to use Asymptote in ConTeXt with the filter module. Can you post a minimal asymptote file and how it shoud be processed via the command line? Aditya

Re: [NTG-context] Strange bug with overviewpage module.

2014-12-21 Thread Aditya Mahajan
On Sun, 21 Dec 2014, Otared Kavian wrote: Hi Aditya, Now that you realize that your module works so well, I have two questions :—) How can one tweak your module so that in a presentation: 1) each overviewpage is included at the end; 2) each oveviewpage is clickabel and linked

Re: [NTG-context] Strange bug with overviewpage module.

2014-12-21 Thread Aditya Mahajan
On Sun, 21 Dec 2014, jdh wrote: I am using the standalone context ( $ mtxrun --version gives me == ConTeXt TDS Runner Tool 1.31 ) I want to try the overview module. I copied the example given on the references html page, but context needs the module to parse it. How do I install a

[NTG-context] Strange bug with overviewpage module.

2014-12-19 Thread Aditya Mahajan
this? Thanks, Aditya test.pdf Description: Adobe PDF document %D \module %D [ file=t-overviewpage, %D version=2013.08.31, %Dtitle=\CONTEXT\ User Module, %D subtitle=Page Overviews, %D author=Aditya Mahajan and Hans Hagen, %D date=\currentdate, %Dcopyright=Aditya

Re: [NTG-context] Strange bug with overviewpage module.

2014-12-19 Thread Aditya Mahajan
On Sat, 20 Dec 2014, Otared Kavian wrote: Hi Aditya, Thanks for sharing, but here your module works fine… Please see the attached file. Otared, thanks for testing! Updating ConTeXt does fix this issue. Aditya___

Re: [NTG-context] PSTricks in Context

2014-12-15 Thread Aditya Mahajan
On Mon, 15 Dec 2014, Mojca Miklavec wrote: On Mon, Dec 15, 2014 at 9:45 PM, Herbert Voss wrote: Am 15.12.2014 um 15:27 schrieb Mojca Miklavec: First of all I had to use Kakuto-san's example, adding something like \pspicture(0mm,0mm)(30mm,30mm) ... \endpspicture in front and at the back

Re: [NTG-context] equivalent to \newcommand{...}{\ensuremath{...}}

2014-12-09 Thread Aditya Mahajan
On Mon, 8 Dec 2014, j. van den hoff wrote: new to `context' and my first question to the list: how can I achieve the following (`latex') behaviour: \newcommand{\km}{\ensuremath{K_m}} We can now use \km\ in the body text as well as in this \begin{equation} \km = 1 \end{equation} display

Re: [NTG-context] Parameter first of \setupindenting works?

2014-12-06 Thread Aditya Mahajan
On Sat, 6 Dec 2014, Pablo Rodriguez wrote: With trial and error, Was the explanation on the wiki not clear on this? http://wiki.contextgarden.net/Indentation the next option from \setupindeting seems to indent the paragraphs other than the first. First indents all paragraphs, which seems

Re: [NTG-context] Parameter first of \setupindenting works?

2014-12-02 Thread Aditya Mahajan
On Tue, 2 Dec 2014, Wolfgang Schuster wrote: Am 02.12.2014 um 08:33 schrieb 19cat d...@nou.cat: I have another question, using this \setupheads solution. When I use \title and \subject the result of first and next options of \setupindenting are omitted. While in \chapter and \sections

Re: [NTG-context] Parameter first of \setupindenting works?

2014-12-01 Thread Aditya Mahajan
On Mon, 1 Dec 2014, 19cat wrote: Sorry. This is a minimal sample. And first paragraph always is not indented. You need to add \setuphead[chapter][indentnext={yes,first}] (or simply indentnext=yes) See: http://wiki.contextgarden.net/Indentation#Setting_up_indentation_after_an_environment

Re: [NTG-context] How does \setupfloat work?

2014-11-29 Thread Aditya Mahajan
On Sat, 29 Nov 2014, Mark Szepieniec wrote: So I guess my problem is resolved, but I'd still like to understand better why my earlier solution of doing \setupfloat[figure][width=2cm] didn't set a default for later instances of \placefigure. I feel like I might be missing some aspect of the

Re: [NTG-context] Create an item marker with a counter with Metapost

2014-11-10 Thread Aditya Mahajan
On Mon, 10 Nov 2014, Wolfgang Schuster wrote: Am 10.11.2014 um 19:18 schrieb Fabrice Couvreur fabrice1.couvr...@gmail.com: Hi, With the book Metafun I created a marker with metapost. How to add a counter ? Best regards, Fabrice \startuseMPgraphic{itemize:fuzzy} numeric u; u:=0.5cm; save p;

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

2014-11-06 Thread Aditya Mahajan
On Thu, 6 Nov 2014, Fabrice wrote: Hi Hans, It's true, I'm a little confused. In fact, the problem is the \ starttikzpicture \ endtikzpicture. As Hans said, you need to create a smaller example, and explain what you mean by the problem. A blind guess is that \starttikzpicture ...

Re: [NTG-context] mail merge in mkiv?

2014-11-03 Thread Aditya Mahajan
BTW, searching for merge at the wiki, I found http://wiki.contextgarden.net/An_Update_On_Essential_Elements_In_how_can_i_merge_google_plus_and_facebook, which seems spam to me. Thanks. Deleted. There have been quite a few such pages created recently. Perhaps, our spam detection algorithm when

Re: [NTG-context] Possibly bug: misalignment with matrix

2014-10-09 Thread Aditya Mahajan
On Thu, 9 Oct 2014, Hans Hagen wrote: On 10/7/2014 8:06 PM, Thangalin wrote: Looks like a bug; adding blank rows works around the problem (but looks terrible): \definemathmatrix[pmatrix] [left={\left(\,},right={\,\right)}] \starttext Digueu quines de les matrius següents són regulars. Quan

Re: [NTG-context] frac and tfrac with sqrt

2014-10-06 Thread Aditya Mahajan
On Mon, 6 Oct 2014, Mikael P. Sundqvist wrote: On Fri, Oct 3, 2014 at 1:30 PM, Mikael P. Sundqvist mic...@gmail.com wrote: Hi! Is this (see frac.pdf) the expected output of \frac and \tfrac in combination with \sqrt? To me the \sqrt{3} looks too big in \tfrac. I attach also the output from

Re: [NTG-context] math \prime with subscripts

2014-09-22 Thread Aditya Mahajan
On Sun, 21 Sep 2014, Yuri Teixeira wrote: Hi is there a way for \prime not get smaller when used with sub/superscripts? Or realigned somehow? Without font changes would be nice. \starttext \startformula \frac13T\prime_{rs}T\prime_{st}T\prime_{tr} \stopformula \startformula

Re: [NTG-context] Flushed right formula numbers in cases environment

2014-09-22 Thread Aditya Mahajan
On Mon, 15 Sep 2014, Maggyero wrote: I want to have the formula numbers of cases environment flushed on the right like for regular formulas (not the default numberdistance=2.5\emwidth). How can I do that? \starttext \startplaceformula \startformula \startcases \NC x = 1

Re: [NTG-context] Permissible characters in ConTeXt reference labels

2014-09-17 Thread Aditya Mahajan
On Thu, 18 Sep 2014, Hans Hagen wrote: On 9/18/2014 12:06 AM, Mark Szepieniec wrote: Bump... If it's not too much trouble, I would greatly appreciate some feedback on this before I propose it to be merged into pandoc; even a looks good to me from one of the ConTeXt gurus would be very

Re: [NTG-context] lpdf.checkedkey has problem with false values

2014-09-15 Thread Aditya Mahajan
On Mon, 15 Sep 2014, Michail Vidiassov wrote: Dear Peter, More a lua design decision. 'nil' is equal to 'false' here I know no CS theory behind lua design, but try this: \starttext \startluacode if nil == false then io.write(nil == false\n) end if nil ~= false then io.write(nil ~=

Re: [NTG-context] centering a makeup

2014-09-14 Thread Aditya Mahajan
On Sun, 14 Sep 2014, Pablo Rodriguez wrote: Dear list, I have the following sample: \definemakeup [custom] [location=middle, width=.5\textwidth] \starttext \startmakeup [custom] \input ward \stopmakeup \stoptext How can I center the makeup in the page?

[NTG-context] Weird error

2014-09-10 Thread Aditya Mahajan
Hi, There was a question on TeX.SX about an error message http://tex.stackexchange.com/questions/200474/setuppagenumberinglocation-causes-problem-in-context The following MWE shows the same error \setupfootertexts[\namedheadnumber{chapter}]

Re: [NTG-context] Weird error

2014-09-10 Thread Aditya Mahajan
On Wed, 10 Sep 2014, Wolfgang Schuster wrote: Am 10.09.2014 um 18:37 schrieb Aditya Mahajan adit...@umich.edu: Hi, There was a question on TeX.SX about an error message http://tex.stackexchange.com/questions/200474/setuppagenumberinglocation-causes-problem-in-context The following MWE

Re: [NTG-context] Framed text and page breaks

2014-09-02 Thread Aditya Mahajan
If you just want to reduce the width of paragraphs, use the narrower environment. If you also want frames or background colors that break across page, use the background environment. If you want floats and parshape to also work, use the textbackground environment. Aditya On Tue, 2 Sep 2014,

Re: [NTG-context] Prime and overbar

2014-08-20 Thread Aditya Mahajan
On Wed, 20 Aug 2014, Xan wrote: On Wed, 20 Aug 2014 09:38:49 +0200 Xan dxpubl...@telefonica.net ha escrit: Hi, $\overbar{OA'} = 3,4$, puts me overbar with two steps: one for $O$ and one for $A'$. Is there any way for putting overbar just on top of the expression? Thanks, Xan Yes. That

Re: [NTG-context] Prime and overbar

2014-08-20 Thread Aditya Mahajan
On Wed, 20 Aug 2014, Aditya Mahajan wrote: On Wed, 20 Aug 2014, Xan wrote: On Wed, 20 Aug 2014 09:38:49 +0200 Xan dxpubl...@telefonica.net ha escrit: Hi, $\overbar{OA'} = 3,4$, puts me overbar with two steps: one for $O$ and one for $A'$. Is there any way for putting overbar just on top

Re: [NTG-context] itemize: how to get the first level items indented?

2014-08-19 Thread Aditya Mahajan
On Wed, 20 Aug 2014, Gerben Wierda wrote: On 19 Aug 2014, at 16:33, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 19.08.2014 um 16:27 schrieb Gerben Wierda gerben.wie...@rna.nl: I’d like to get \startitemize\stopitemize to indent the first level items already with the equal

Re: [NTG-context] Intsalling modules - once more

2014-08-18 Thread Aditya Mahajan
On Mon, 18 Aug 2014, Werner Hintze wrote: Thank you. The files are in the right places, I believe, it was only »sudo mktexlsr« lacking. (This is not mentioned in the wiki. Unforunately it doesn't help. Now the module is found, Are you using MkII? mktexlsr should not be needed for MkIV. You

Re: [NTG-context] Intsalling modules - once more

2014-08-18 Thread Aditya Mahajan
On Mon, 18 Aug 2014, Werner Hintze wrote: I don’t know if I use MKII or not. (Simplified version). If you compile the file using `context filename` you are using MkIV; if you compile the file using `texexec filename` you are using MkII. Unless you have a really good reason to stick to

Re: [NTG-context] Intsalling modules - once more

2014-08-18 Thread Aditya Mahajan
On Mon, 18 Aug 2014, Werner Hintze wrote: On 18 Aug 2014, at 17:05, Aditya Mahajan wrote: On Mon, 18 Aug 2014, Werner Hintze wrote: I don’t know if I use MKII or not. (Simplified version). If you compile the file using `context filename` you are using MkIV; if you compile the file using

Re: [NTG-context] Bug with vimtyping: no line numbers

2014-08-14 Thread Aditya Mahajan
On Thu, 14 Aug 2014, Günter Kolousek wrote: It works with this workaround. Thanx for the help! Note that the bug has been fixed in the latest version of the vim module, so the workaround is no longer needed.

Re: [NTG-context] \resetsetups

2014-08-14 Thread Aditya Mahajan
On Thu, 14 Aug 2014, Rik wrote: While I appreciate learning about these from the list, I must echo recent comments about the state of documentation. If these are user commands, as these appear to be, one should be able to find them in at least the advanced documents. Please add the relavant

Re: [NTG-context] Bug with vimtyping: no line numbers

2014-08-13 Thread Aditya Mahajan
On Mon, 11 Aug 2014, Günter Kolousek wrote: I think there is a bug in the (latest) beta that was not there earlier this year. In particular, it worked (and still works) in the version current version: 2014.03.19 23:11 but it show *no* line numbers at all in the (latest) beta: current

Re: [NTG-context] Bug with vimtyping: no line numbers

2014-08-13 Thread Aditya Mahajan
On Wed, 13 Aug 2014, Wolfgang Schuster wrote: Am 13.08.2014 um 16:39 schrieb Aditya Mahajan adit...@umich.edu: numberlocation=left is the default anyways, so I don't know why the bug occurs. Could be a inheritance problem (maybe wrong parent setting) and vimtyping doesn’t fall back

Re: [NTG-context] Bug with vimtyping: no line numbers

2014-08-12 Thread Aditya Mahajan
Hi, On Mon, 11 Aug 2014, Günter Kolousek wrote: I think there is a bug in the (latest) beta that was not there earlier this year. In particular, it worked (and still works) in the version current version: 2014.03.19 23:11 but it show *no* line numbers at all in the (latest) beta: I do

Re: [NTG-context] Suppressing the page number

2014-08-12 Thread Aditya Mahajan
On Tue, 12 Aug 2014, Gerben Wierda wrote: I have a standard structure using \startfrontmatter\stopfrontmatter Part of the front matter is the table of contents, but (as with every chapter in my book) the RHS is where the chapter starts, but on the opposing page LHS there is something too

Re: [NTG-context] Lua to Context Table

2014-08-01 Thread Aditya Mahajan
On Sat, 2 Aug 2014, luigi scarso wrote: On Sat, Aug 2, 2014 at 12:59 AM, John Kitzmiller k...@inradius.net wrote: Here is Lua code that prints the first nine fibonacci numbers: local function fib(n) f={1,1} for i=3,9 do f[i]=f[i-1]+f[i-2] end return(f[n]) end for n=1,9 do

Re: [NTG-context] Anyone could help me with this error in filter module?

2014-07-28 Thread Aditya Mahajan
On Mon, 28 Jul 2014, Wolfgang Schuster wrote: Am 28.07.2014 um 16:15 schrieb Xan dxpubl...@telefonica.net: Hi, Any hint on that [https://github.com/adityam/filter/issues/17], please? Don’t use \doifmode{…}{…} etc. with buffers or environments which rely on a buffer because you disable

Re: [NTG-context] How to make floats extend into the outer margin

2014-07-27 Thread Aditya Mahajan
On Sun, 27 Jul 2014, Joshua Krämer wrote: On 2014-07-27, 16:57, Wolfgang Schuster wrote: Am 27.07.2014 um 16:54 schrieb Joshua Krämer Thanks, but this doesn't seem to be a solution to my problem, because the figures extend into the right margin always, and I want them to extend into the

Re: [NTG-context] Strange Behaviour of \mathop

2014-07-25 Thread Aditya Mahajan
On Fri, 25 Jul 2014, Tobias Columbus wrote: Dear list, I stumpled upon a very strange effect that \mathop has on the vertical positioning of characters. \mathop applied to a single character results in the character's baseline being lower than the baseline of all other characters. This does

Re: [NTG-context] Which Image quality should I use ?

2014-07-15 Thread Aditya Mahajan
On Tue, 15 Jul 2014, Peter Münster wrote: There is also an old module t-degrade.tex but I don't know, if it still works with recent ConTeXt versions. It is possible to create a wrapper around t-filter to provide the functionality of t-degrade and/or grph-downsample, so that one could use:

Re: [NTG-context] Whitespace within framedtexts

2014-07-13 Thread Aditya Mahajan
On Jul 13, 2014, at 6:35 PM, Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu wrote: Dear gang, How do we activate/control whitespace (and indenting) within framed texts? The following seems to fail: == \setupframedtexts [frame=off, location=middle,

Re: [NTG-context] \head: broken?

2014-07-12 Thread Aditya Mahajan
On Jul 12, 2014, at 7:11 PM, Rob Heusdens robh...@xs4all.nl wrote: Hello to all, I don't know if it is due to -the weather- or -the Worldchampionships- or other but in my Context release [ConTeXt ver: 2014.07.11 12:20 MKIV beta fmt: 2014.7.12 int: english/english] \head is broken.

Re: [NTG-context] ConTeXt epub workflow

2014-07-02 Thread Aditya Mahajan
On Wed, 2 Jul 2014, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, I have an urgent project that needs three outputs: pdf, epub, and kindle. The formatting needs are pretty basic. In your experience: What is the recommended, more efficient workflow for this sort of thing? Should I

Re: [NTG-context] database module: the first letter is lost

2014-06-25 Thread Aditya Mahajan
On Thu, 26 Jun 2014, Hans Hagen wrote: but I’m interested what’s the purpose of the fifth argument for \buff_start_indeed. that was wrong; the pickup macro has a fifth argument (\plusone here) but goes unnoticed when you add \obeylines in which case the first 'obeyedline' ended up in #5

Re: [NTG-context] database module: the first letter is lost

2014-06-25 Thread Aditya Mahajan
On Wed, 25 Jun 2014, Rik Kabel wrote: As I wrote before, I do not have a way to more extensively test the other effects of the change. Since this affects grabbuffer, it will also affect the filter module. I have an extensive set of tests for the filter module

Re: [NTG-context] Rotate multiline text

2014-06-23 Thread Aditya Mahajan
On Sun, 22 Jun 2014, Hans Hagen wrote: On 6/18/2014 1:35 AM, Aditya Mahajan wrote: Hi, I want to rotate a multiline text by 90 degrees, and I thought that \framed[orientation=90] should do that. But it does not work as expected. \defineframed[tightbox] [align=middle, width=fit, height=fit

[NTG-context] Rotate multiline text

2014-06-17 Thread Aditya Mahajan
Hi, I want to rotate a multiline text by 90 degrees, and I thought that \framed[orientation=90] should do that. But it does not work as expected. \defineframed[tightbox] [align=middle, width=fit, height=fit] \defineframed[rotatebox][tightbox][orientation=90] \starttext \startlines ABC

Re: [NTG-context] Special look of \item

2014-05-29 Thread Aditya Mahajan
BTW: I tried to wikify but the result differs from that I'm getting with the latest beta (attached to this mail); so I wikified nothing. The wiki uses an old context version. You should try the example with context mode=mkiv source=yes ... /context If not, post the code and upload the

Re: [NTG-context] Problem with \framed align and orientation on landscape pages

2014-05-24 Thread Aditya Mahajan
On May 24, 2014, at 1:12 PM, Rik Kabel cont...@rik.users.panix.com wrote: On 2014-05-24 06:26, Hans Hagen wrote: On 5/24/2014 4:11 AM, Rik Kabel wrote: For the /\framed/ command, any value for the key /align /other than a null value pushes the frame beyond the bottom margin on a

Re: [NTG-context] Simple command with variable number of arguments

2014-05-23 Thread Aditya Mahajan
-simplematrix, %D version=2014.02.18, %Dtitle=\CONTEXT\ User Module, %D subtitle=Simple matrix, %D author=Aditya Mahajan, %D date=\currentdate, %Dcopyright=Aditya Mahajan, %Demail=adityam at ieee dot org, %D license=Simplified BSD License] \writestatus{loading

Re: [NTG-context] Simple command with variable number of arguments

2014-05-23 Thread Aditya Mahajan
gives me texshop_image.pdf Matthias Strange. What version of context are you using? Aditya On May 23, 2014, at 6:56 AM, Aditya Mahajan adit...@umich.edu wrote: On Fri, 23 May 2014, Matthias Weber wrote: Dear All, I would like to define a command that expands \vector{2,4

Re: [NTG-context] ConTeXt mkiv and rsfs fonts

2014-05-21 Thread Aditya Mahajan
On Wed, 21 May 2014, Otared Kavian wrote: Hi all, It seems that the rsfs fonts (Ralph Smith’s Formal Script fonts) do not work: the procedure explained at the page http://wiki.contextgarden.net/rsfs works fine with mkii, but not in mkiv. I do not have the time to look into this in

Re: [NTG-context] ConTeXt mkiv and rsfs fonts

2014-05-21 Thread Aditya Mahajan
On Wed, 21 May 2014, Aditya Mahajan wrote: On Wed, 21 May 2014, Otared Kavian wrote: Hi all, It seems that the rsfs fonts (Ralph Smith’s Formal Script fonts) do not work: the procedure explained at the page http://wiki.contextgarden.net/rsfs works fine with mkii, but not in mkiv

Re: [NTG-context] Using the margin for two purposes

2014-05-18 Thread Aditya Mahajan
On Sun, 18 May 2014, Matthias Weber wrote: iii) Dream: Instead of solid margin rules I would love to have other options, like squiggly lines, dashed, dotted. I don't have time to post a complete working example, but the normal way to achieve such features is to textbackground and let

Re: [NTG-context] Bug with TikZ module ?

2014-05-15 Thread Aditya Mahajan
On Thu, 15 May 2014, Fabrice Couvreur wrote: Hi, Why the three words are not aligned on the baseline ? Regards, Fabrice \usemodule[tikz] \starttext \starttikzpicture[level/.style={sibling distance=10mm}] \node{}[grow=right] child{node{J}} child{node{R}} child{node{B} child{node{J}}

Re: [NTG-context] LuaTeX-plain File Database Problem

2014-05-15 Thread Aditya Mahajan
On Thu, 15 May 2014, Aíre Funvake wrote: Hi all, Never felt so incompetent in my life -- just cannot get LuaTeX to find fonts or `*.tex` files for use with `\input filename`, or `font\xxx = font-or-filename`. Even though, these commands were executed (all I could find): mktexlsr mtxrun

Re: [NTG-context] resize and center and clip image

2014-05-01 Thread Aditya Mahajan
On Thu, 1 May 2014, Mikael P. Sundqvist wrote: \startluacode userdata = userdata or {} function userdata.lundklippfyllbild(str, bredd, hojd) if tex.dimen[0] / tex.dimen[2] tex.dimen[4] / tex.dimen[6] then local skalning = -0.5*(tex.dimen[4]/tex.dimen[0]*tex.dimen[2]-tex.dimen[6])

Re: [NTG-context] textcolor not working with MPinstance

2014-04-24 Thread Aditya Mahajan
On Thu, 24 Apr 2014, Hans Hagen wrote: On 4/21/2014 10:47 PM, Wolfgang Schuster wrote: Am 21.04.2014 um 22:18 schrieb Aditya Mahajan adit...@umich.edu: On Tue, 15 Apr 2014, Aditya Mahajan wrote: textcolor does not work any longer with MPinstance. Consider the following example from

Re: [NTG-context] textcolor not working with MPinstance

2014-04-21 Thread Aditya Mahajan
On Tue, 15 Apr 2014, Aditya Mahajan wrote: textcolor does not work any longer with MPinstance. Consider the following example from the wiki: http://wiki.contextgarden.net/Command/defineMPinstance Is there any update on this? This bug breaks the visualcounter module. I am including a smaller

Re: [NTG-context] Unwanted whitespace for tables and enumerations after \inmargin headings

2014-04-18 Thread Aditya Mahajan
On Fri, 18 Apr 2014, Thangalin wrote: Hi Rik, The example isn't quite as minimal as it could be... Here is a simplified version demonstrating the problem: \setuplayout[backspace=4cm] \define[2]\MarginHead{\inmargin{#1 #2}} \setuphead[section][ alternative=text, command=\MarginHead, ]

Re: [NTG-context] Baskervald ADF Virtual Math Fonts

2014-04-17 Thread Aditya Mahajan
On Thu, 17 Apr 2014, joasyann...@gmail.com wrote: Hello, Replacing certain symbols in a math font with a text font is very easy with the fallback mechanism and the \definefallbackfamily command makes things even simpler. The command \definefallbackfamily seems not to be a

[NTG-context] textcolor not working with MPinstance

2014-04-15 Thread Aditya Mahajan
Hi, textcolor does not work any longer with MPinstance. Consider the following example from the wiki: http://wiki.contextgarden.net/Command/defineMPinstance \defineMPinstance [important] [metafun] % needs to be inherited from the global metafun instance [textcolor=red]

Re: [NTG-context] Averaged integrals

2014-04-14 Thread Aditya Mahajan
On Mon, 14 Apr 2014, Sanjoy Mahajan wrote: Janne Junnila janne.junn...@gmail.com writes: On a related note: It seems to me that \ointclockwise and \ointctrclockwise produce results opposite to what their names would indicate. It seems wrong to me as well. It could be a problem in a mapping

Re: [NTG-context] \triangledown placed too low in Palatino

2014-04-10 Thread Aditya Mahajan
On Thu, 10 Apr 2014, Sanjoy Mahajan wrote: Jannik, You are right. \nabla looks much nicer and is placed correctly. (I still think the \triangledown placement is slightly off.) My environment files from MkII days have \def\nabla{\triangledown}, so I never tried the true \nabla until your

Re: [NTG-context] \triangledown placed too low in Palatino

2014-04-10 Thread Aditya Mahajan
On Fri, 11 Apr 2014, Sanjoy Mahajan wrote: I cannot say whether the wrong placement is due to the wrong font metrics or the wrong mapping (mathop vs mathord) by ConTeXt. I tried '\triangle T' (often used as the Laplacian operator, instead of writing it out as \nabla^2). That one comes out

Re: [NTG-context] \triangledown placed too low in Palatino

2014-04-10 Thread Aditya Mahajan
On Fri, 11 Apr 2014, Aditya Mahajan wrote: On Fri, 11 Apr 2014, Sanjoy Mahajan wrote: I cannot say whether the wrong placement is due to the wrong font metrics or the wrong mapping (mathop vs mathord) by ConTeXt. I tried '\triangle T' (often used as the Laplacian operator, instead

Re: [NTG-context] another issue with PDF bookmarks

2014-04-09 Thread Aditya Mahajan
On Wed, 9 Apr 2014, Pablo Rodriguez wrote: On 04/09/2014 08:29 PM, Andreas Schneider wrote: On 08.04.2014 16:20, Pablo Rodriguez wrote: I have a sample that shows an issue with PDF bookmarks: [...] Sorry, but I don’t know why the footnote is removed in the table of contents and in the header,

Re: [NTG-context] another issue with PDF bookmarks

2014-04-09 Thread Aditya Mahajan
On Wed, 9 Apr 2014, Aditya Mahajan wrote: One possibility is to add: \appendtoks \let\footnote \gobbleoneargument \to \everysimplifycommands to your style. Perhaps this should be added to the definition of definenote. Hmm... simplifycommands needs an overhaul: From typo-del.mkiv

Re: [NTG-context] typewriter style with Constantia

2014-03-28 Thread Aditya Mahajan
On Thu, 27 Mar 2014, Wolfgang Schuster wrote: Am 27.03.2014 um 16:21 schrieb Peter Münster pmli...@free.fr: Hi, With the following setup and ConTeXt version 2014.02.14 I got typewriter style: --8---cut here---start-8---

Re: [NTG-context] How can I use Aditya filter module within XML?

2014-03-28 Thread Aditya Mahajan
On Thu, 27 Mar 2014, Xan wrote: Hi, Is it possible to use paragraph \startmarkdown bla... \stopmarkdown /paragraph With my code (xmlflush) the start/stopmarkdown is printed without interpretation. I have never tried the xml mechanism, so I am not sure whether the filter module works or

Re: [NTG-context] what happened to hangaround?

2014-03-24 Thread Aditya Mahajan
On Mar 24, 2014, at 4:43 AM, Henning Hraban Ramm te...@fiee.net wrote: Am 2014-03-24 um 14:11 schrieb Wolfgang Schuster schuster.wolfg...@gmail.com: - \starthanging doesn’t accept parameters (using \setuphanging for every second picture is evil) - As you can see in wiki, the picture

Re: [NTG-context] Index notation in math mode

2014-03-24 Thread Aditya Mahajan
On Tue, 25 Mar 2014, Fabrice Couvreur wrote: Hi, I would like the f in \math{\cal C_f} is identical to that obtained with \math{f}. \math{ {\cal C}_f } Aditya ___ If your question is of interest to others as

Re: [NTG-context] proposal about link borders

2014-03-23 Thread Aditya Mahajan
On Sun, 23 Mar 2014, Hans Hagen wrote: Ok, as I dislike such viewer things, it will be like this: \setupinteraction[state=start] \enabledirectives[destinations.log] \enabledirectives[references.border] % \enabledirectives[references.border=darkgray] %

Re: [NTG-context] suppressing console output

2014-03-19 Thread Aditya Mahajan
On Wed, 19 Mar 2014, Lars Huttar wrote: Can anyone tell me how to suppress non-critical messages from context as it runs? There are two types of messages that ConTeXt generates: Messages that come from TeX engine and messages that come from ConTeXt macro code. If you use context

Re: [NTG-context] suppressing console output

2014-03-19 Thread Aditya Mahajan
On Wed, 19 Mar 2014, Hans Hagen wrote: On 3/19/2014 4:03 PM, Aditya Mahajan wrote: On Wed, 19 Mar 2014, Lars Huttar wrote: Can anyone tell me how to suppress non-critical messages from context as it runs? There are two types of messages that ConTeXt generates: Messages that come from TeX

Re: [NTG-context] suppressing console output

2014-03-19 Thread Aditya Mahajan
On Wed, 19 Mar 2014, Lars Huttar wrote: On 3/19/2014 11:36 AM, Hans Hagen wrote: On 3/19/2014 4:29 PM, Lars Huttar wrote: Is there any documentation about what kinds of complaints this suppresses? I couldn't find any in the usual places. Apparently it is a ConTeXt command rather than a

Re: [NTG-context] issue with \processaction

2014-03-18 Thread Aditya Mahajan
On Tue, 18 Mar 2014, Pablo Rodriguez wrote: The next one (AFAIK) should work on every OS: \startluacode local user = local users = { [ousia] = 1, } function document.CheckUser() user = os.resultof(echo ousia) context.verbatim(user) end

Re: [NTG-context] how to make a \lambdabar (like \hbar)

2014-03-10 Thread Aditya Mahajan
On Mon, 10 Mar 2014, Sanjoy Mahajan wrote: \hbar is used a lot in physics. Once in a while, one also uses \lambdabar to mean \lambda/2\pi. It's Unicode description is 'LATIN SMALL LETTER LAMBDA WITH STROKE' (U+019B). I've been using this hack

Re: [NTG-context] vertically align to the bottom

2014-03-10 Thread Aditya Mahajan
On Mon, 10 Mar 2014, Pablo Rodriguez wrote: Dear list, I have the following sample: \starttext \startstandardmakeup This text should be placed at the bottom. \stopstandardmakeup \stoptext Which is the option to align the makeup to the bottom? \startstandardmakeup[bottom=] ...

Re: [NTG-context] Euler with fallback

2014-03-03 Thread Aditya Mahajan
On Mon, 3 Mar 2014, Sanjoy Mahajan wrote: Aditya Mahajan adit...@umich.edu writes: This is to announce that the latest beta supports creating virtual math fonts with fallback. The main test case is to use Euler font with missing characters taken from Pagella but the mechanism is general

Re: [NTG-context] Trying to use my local otf math font by editing typescript

2014-03-03 Thread Aditya Mahajan
On Sun, 2 Mar 2014, 罗晨星 wrote: Inspired by http://tex.stackexchange.com/questions/150566/minionpro-including-math-in-context, I also tried the \definefallbackfamily, it turn out to be an undefined control sequence. You need a newer version of ConTeXt (2013.12.20 or newer). Use context

Re: [NTG-context] tolerance only in notes

2014-03-03 Thread Aditya Mahajan
Use the align key: align=tolerant. Aditya On Mar 3, 2014, at 3:28 PM, Pablo Rodriguez oi...@gmx.es wrote: Dear list, which is the option to setup tolerance in notes? Sorry, but tolerance doesn’t seem to be an option either in \setupnote or \setupnotation. Many thanks for your

Re: [NTG-context] different page sizes on one sheet

2014-02-27 Thread Aditya Mahajan
On Thu, 27 Feb 2014, amerke wrote: hi rudolf ( list), thank you for your 'quick hack', it's ok for my current solution. page number, margins and background and stuff like grid alignment are still a problem ... but, i suppose, there must be :-) a tiny piece of code in ConTeXt, where the

Re: [NTG-context] Appendix Page Numbering

2014-02-25 Thread Aditya Mahajan
On Tue, 25 Feb 2014, Troy Henderson wrote: Is it possible to have ONLY the prefix (not followed by the corresponding page number) with this implementation? If not, is that a feature that can also be added? I tried to create a custom label called viewercustom (which operates like

Re: [NTG-context] Euler with fallback

2014-02-17 Thread Aditya Mahajan
On Mon, 17 Feb 2014, Sanjoy Mahajan wrote: \project testproject \startcomponent test \input knuth \stopcomponent Because of font loading, is this recommended way to use components (rather than the old way of the \project line after \startcomponent)? If so, I'll make a note on the wiki.

Re: [NTG-context] Appendix Page Numbering

2014-02-13 Thread Aditya Mahajan
On Thu, 13 Feb 2014, Troy Henderson wrote: Hans, Attached is a screenshot of what your output looks like in Evince. I am trying to get the Page Number listed as A for the Appendix. If I add \placebookmarks[chapter,section][chapter][force=yes] to Hans's example and compile it (using the

[NTG-context] state=high vs state=empty for headers and footers

2014-02-12 Thread Aditya Mahajan
If one uses \setuplayout[header][text][frame=on] then the frame is drawn on pages with header=empty but not drawn on pages with header=high. By default, the 'empty' pagebreak method (in page-txt.mkvi) sets the header and footer state to empty rather than high. This means that header frames

Re: [NTG-context] on the \show command

2014-01-29 Thread Aditya Mahajan
On Wed, 29 Jan 2014, Pablo Rodriguez wrote: Dear list, I have discovered today the \show command in TeX. But I cannot get it work in ConTeXt: \starttext \show\input \stoptext When I compile using `context filename` I get: \input=\protected macro: -\normalinput . system

Re: [NTG-context] Lucida fonts with ConTeXt

2014-01-29 Thread Aditya Mahajan
On Wed, 29 Jan 2014, Fabrice Couvreur wrote: Hi, I want to use the Lucida fonts. I understand that these are commercial fonts that I must buy. What should buy and where ? In the meantime, I tried to test the following file : \loadtypescriptfile[lucida-typeone]

Re: [NTG-context] on the \show command

2014-01-29 Thread Aditya Mahajan
On Wed, 29 Jan 2014, Pablo Rodriguez wrote: On 01/29/2014 07:39 PM, Aditya Mahajan wrote: On Wed, 29 Jan 2014, Pablo Rodriguez wrote: [...] I have discovered today the \show command in TeX. But I cannot get it work in ConTeXt: [...] BTW, you can also run context --pipe to start

Re: [NTG-context] setupalign and flushbottom

2014-01-24 Thread Aditya Mahajan
Oops, I am wrong. \setupalign[height] seems to help indeed, so thanks for your answer. However it would be nice to wikify this. Then please do it! Aditya ___ If your question is of interest to others as well,

Re: [NTG-context] New header

2014-01-22 Thread Aditya Mahajan
On Wed, 22 Jan 2014, Fabrice Couvreur wrote: Thank you Wolfgang. With LuaLaTeX, for my header, I use the commands \footnotesize\itshape and \Large\scshape. Is there an equivalent with ConTeXt ? \setupheader[style={\switchtobodyfont[small]\italic}]

Re: [NTG-context] Colored text's background, which the more lcd-mkiv?

2014-01-17 Thread Aditya Mahajan
On Fri, 17 Jan 2014, Elspeth McGullicuddy wrote: [Colored text's background, which the more lcd-mkiv?; plus: Metapost variable text with \definetextbackground; plus: {\input ward}] Hi list, What would be the best, also the more up to date, way to put colored background behind text, that could

Re: [NTG-context] hyphenating \ConTeXt

2014-01-17 Thread Aditya Mahajan
On Fri, 17 Jan 2014, Pablo Rodriguez wrote: On 01/15/2014 11:56 PM, Marco Patzer wrote: On 2014–01–15 Pablo Rodriguez wrote: how should I invoke \hyphenation so it hyphens the \ConTeXt command? \ConTeXt is defined as “Con\TeX t” and \TeX uses kerns and boxes, both of which suppress

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Aditya Mahajan
On Thu, 9 Jan 2014, Otared Kavian wrote: On 9 janv. 2014, at 15:48, Jaroslav Hajtmar hajt...@gyza.cz wrote: Hello Otared. I will throw this one... Thanx. Once I was using exercise-answer package for LaTeX. Is there anything like this to use in ConTeXt? Thanx Jaroslav Hajtmar Hello

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