Re: [NTG-context] Installing ConTeXt Minimals on a Mac

2008-09-01 Thread Aditya Mahajan
On Mon, 1 Sep 2008, Alan Bowen wrote: Mocja---I will start with the second proposal and save the first for tomorrow. On Sep 1, 2008, at 17;38,50 , Mojca Miklavec wrote: On Mon, Sep 1, 2008 at 10:43 PM, Alan Bowen [EMAIL PROTECTED] wrote: On Sep 1, 2008, at 13;43,19 , Mojca Miklavec

[NTG-context] Color in math in MkIV

2008-09-02 Thread Aditya Mahajan
Hi, The color commands do not work inside math mode in MKIV. For example $f(\color[blue]{A}) = b$ $f({\blue A}) = b$ come out black and $f(\blue{A}) = b$ colors everything blue. I have an easy work around for the moment: \unprotected\def\mathcolor[#1]#2% {\preparebinrel{#2} [EMAIL

Re: [NTG-context] Installing ConTeXt Minimals on a Mac ... and using bibtex

2008-09-02 Thread Aditya Mahajan
On Tue, 2 Sep 2008, Michael Green wrote: I have the minimals installed in ~/Applications/context/ Context works great. However, I'm having trouble with bibtex. [1] I export the following variables before using context. . ~/Applications/context/tex/setuptex ~/Applications/context/tex

Re: [NTG-context] Float within a frame challenge

2008-09-02 Thread Aditya Mahajan
On Tue, 2 Sep 2008, Henning Hraban Ramm wrote: Am 2008-09-02 um 08:26 schrieb Wolfgang Schuster: http://archive.contextgarden.net/message/20080624.074046.56e76622.en.html Never knew that myself. Wikified it: http://wiki.contextgarden.net/Using_Graphics#Flow_text_around_a_picture I tried to

Re: [NTG-context] Helping Mac users with the Bourne-again shell

2008-09-02 Thread Aditya Mahajan
On Tue, 2 Sep 2008, Charles P. Schaum wrote: Might it be helpful for the Garden or even Mac TeX to have links like the following for OS X Aqua users and the terminal app / UNIX world? http://www.osxfaq.com/tutorials/LearningCenter/ http://www.google.com/search?q=Unix+tutorials

Re: [NTG-context] system macros/doquadrupleemtpy

2008-09-03 Thread Aditya Mahajan
On Wed, 3 Sep 2008, Thomas A. Schmitz wrote: Hi all, I'm trying to define a macro \Command which can either have four or five arguments. If it has five, I want to define them as \Command1[#1][#2][#3][#4]{#5} if it has four, as \Command2[#1][#2][#3]{4#} I thought this would be the way

Re: [NTG-context] sometxt in mkiv

2008-09-07 Thread Aditya Mahajan
Hi Thomas, On Sat, 6 Sep 2008, Thomas A. Schmitz wrote: Hi all, I was just wondering if this is a bug or if it's something that still needs to be implemented: the example on p. 10 of Mojca's sometxt MyWay works in mkii, yet in mkiv, it doesn't: \starttext \startTeXtexts

Re: [NTG-context] minimal update problem

2008-09-07 Thread Aditya Mahajan
On Sat, 6 Sep 2008, Zhaopeng Xing wrote: Hi, I am using context minimal on a linux box. After I created a directory named texmf-local under $TEXMFROOT and run command: ctxtools --updatecontext All downloaded files went to texmf-local and no update to the folder texmf-context. I do not

Re: [NTG-context] sometxt in mkiv

2008-09-07 Thread Aditya Mahajan
On Sun, 7 Sep 2008, Thomas A. Schmitz wrote: I think this message mysteriously disappeared yesterday (at least I didn;t see it); if you've seen it before, please excuse the double post! See my reply: http://article.gmane.org/gmane.comp.tex.context/43741 Aditya

Re: [NTG-context] Euler in mkiv

2008-09-07 Thread Aditya Mahajan
On Sun, 7 Sep 2008, Mohamed Bana wrote: Hi, Ditto. Are there any instructions for setting this up The situation for math fonts currently is a bit of a mess. Slowly things will become more smooth and a lot of low level code will be converted to lua. For present, in order to use euler you

Re: [NTG-context] Verbatim with color background

2008-09-07 Thread Aditya Mahajan
On Fri, 5 Sep 2008, Hans Hagen wrote: B. Tommy Jensen wrote: On Thu, 04 Sep 2008 10:12:47 +0200, Hans Hagen [EMAIL PROTECTED] wrote: Is there any other easy way of controlling the background color on verbatim areas? can you make a small example that shows where it goes wrong? The example

Re: [NTG-context] Verbatim with color background

2008-09-07 Thread Aditya Mahajan
On Sun, 7 Sep 2008, Aditya Mahajan wrote: On Fri, 5 Sep 2008, Hans Hagen wrote: B. Tommy Jensen wrote: On Thu, 04 Sep 2008 10:12:47 +0200, Hans Hagen [EMAIL PROTECTED] wrote: Is there any other easy way of controlling the background color on verbatim areas? can you make a small example

Re: [NTG-context] Euler in mkiv

2008-09-07 Thread Aditya Mahajan
On Mon, 8 Sep 2008, Yue Wang wrote: cmb10.pfbcmbx8.pfb cmff10.pfb cmmi5.pfbcmr12.pfb cmsl10.pfb cmss17.pfbcmssi17.pfb cmsy6.pfb cmtex9.pfb cmtt12.pfb cmbsy10.pfb cmbx9.pfb cmfi10.pfb cmmi6.pfbcmr17.pfb cmsl12.pfb cmss8.pfb cmssi8.pfb cmsy7.pfb

Re: [NTG-context] ConTeXt and TeXlive 2008

2008-09-07 Thread Aditya Mahajan
On Sun, 7 Sep 2008, George N. White III wrote: I've just been trying to get my ConTeXt stuff working, so while I can't comment on the plans of ConTeXt's authors, I can tell you what works for me, namely, MKII but not MKIV The latter says it can't find lm fonts. The version of luatex in

Re: [NTG-context] Greek letters in math with XeTeX

2008-09-07 Thread Aditya Mahajan
On Mon, 8 Sep 2008, Mojca Miklavec wrote: Someone needs to write Unicode math support for mkii, or you need to make your own virtual font. Well...someone also needs to write Unicode math support for mkiv and I would work on that in the hope that there is some chance that I may actually

Re: [NTG-context] The windows minimal exe installer

2008-09-08 Thread Aditya Mahajan
On Mon, 8 Sep 2008, Yue Wang wrote: That's already working (should be at least). I mean the GUI installer. Windows users seldom do command line job:) btw, I mailed a bug report to [EMAIL PROTECTED] one week ago, but it seems that no one received it:( When I use minimals in Linux, in MKII,

[NTG-context] \mathop inside \sometxt in MKIV

2008-09-11 Thread Aditya Mahajan
Hi, I am using ConTeXt ver: 2008.09.10 14:01 MKIV fmt: 2008.9.11 and the following file \starttext \startMPcode label.bot(\sometxt{$\mathop{}$}, origin) ; \stopMPcode \stoptext gives ! Missing number, treated as zero. to be read again ## \purenumber

Re: [NTG-context] span ROWS in \starttables?

2008-09-12 Thread Aditya Mahajan
On Fri, 12 Sep 2008, Alan BRASLAU wrote: On Friday 12 September 2008 08:34:15 Wolfgang Schuster wrote: On Fri, Sep 12, 2008 at 8:13 AM, Alan BRASLAU [EMAIL PROTECTED] wrote: Is there any mechanism to span ROWS in (\start)tables similar to column spanning through \use{3}{}? The aim is to

Re: [NTG-context] \start \stop problem with itemize

2008-09-12 Thread Aditya Mahajan
On Fri, 12 Sep 2008, Jelle Huisman wrote: Hi all, I try to understand why this doesn't work as I expected? \definestartstop [bulletlist] [before={\startitemize[packed]}, after={\stopitemize}] \definestartstop [bulletlistitem] [before={\item}, after={ }] (Untested)

Re: [NTG-context] \cite command (bib-module)

2008-09-12 Thread Aditya Mahajan
On Fri, 12 Sep 2008, Taco Hoekwater wrote: Thomas A. Schmitz wrote: I had a quick look at the source, and it doesn't look like you can have three [] arguments after \cite. So you can't have \cite[STYLE] [EXTRAS][KEY], But you can do: \cite[KEY][alternative=STYLE,extras=EXTRAS]

Re: [NTG-context] \start \stop problem with itemize

2008-09-12 Thread Aditya Mahajan
On Fri, 12 Sep 2008, Jelle Huisman wrote: Thank you Patrick and Aditya, I think I'll use \defineitemgroup etc., but I'm still curios what the difference is between these two: \startbulletlist \startbulletlistitem{One}\stopbulletlistitem \stopbulletlist % this works \startbulletlist{

Re: [NTG-context] \start \stop problem with itemize

2008-09-12 Thread Aditya Mahajan
On Fri, 12 Sep 2008, Aditya Mahajan wrote: On Fri, 12 Sep 2008, Jelle Huisman wrote: Thank you Patrick and Aditya, I think I'll use \defineitemgroup etc., but I'm still curios what the difference is between these two: \startbulletlist \startbulletlistitem{One}\stopbulletlistitem

[NTG-context] New t-vim module

2008-09-15 Thread Aditya Mahajan
Hi, I have updated the t-vim module so that it works with both MKII and MKIV. The only new feature is that line numbering command is now configurable. Aditya ___ If your question is of interest to others as well,

Re: [NTG-context] calling typescripts question

2008-09-17 Thread Aditya Mahajan
On Wed, 17 Sep 2008, Alan Stone wrote: In a project, environment, product, component structure, which of both typescript calling methods is recommended and what makes it the recommended method: - \usettypescriptfile[sometypescriptfile] ? or - \environment sometypescriptenvironment ? I

Re: [NTG-context] The problem of updating context manually using cont-tmf.zip

2008-09-17 Thread Aditya Mahajan
On Wed, 17 Sep 2008, Thomas A. Schmitz wrote: On Sep 17, 2008, at 9:20 AM, Jianning Dong wrote: Here is the output: kpsewhich --expand-var='$TEXMF' {/home/ben/.texlive2008/texmf-config,/home/ben/.texlive2008/texmf- var,/home/ben/texmf,!!/usr/local/texlive/2008/texmf-config,!!/usr/

Re: [NTG-context] What do these LuaTeX errors mean ?

2008-09-17 Thread Aditya Mahajan
On Wed, 17 Sep 2008, Hans Hagen wrote: Alan Stone wrote: On Wed, Sep 17, 2008 at 3:57 PM, Hans Hagen [EMAIL PROTECTED] wrote: Alan Stone wrote: It doesn't compile. See attachment. so you don't have those fonts; and i have no clue what palatino fonts you have then (i have both the

Re: [NTG-context] problem finding files (cygwin-related?)

2008-09-18 Thread Aditya Mahajan
On Thu, 18 Sep 2008, Jelle Huisman wrote: Hi all, I try to help a colleague who has successfully installed ConTeXt using the Windows installer and has started typesetting some documents. His installation has problems finding files. Using something like \input ./path/to/file.tex works OK,

Re: [NTG-context] problem finding files (cygwin-related?)

2008-09-18 Thread Aditya Mahajan
On Thu, 18 Sep 2008, Jelle Huisman wrote: Hi Aditya, Is he trying to compile the file on cygwin or on cmd.exe? Both don't work. Was ruby installed for windows or for cygwin? For cygwin. Was another tex package installed on cygwin which may be interfering with context binaries (cygwin

Re: [NTG-context] Updating LuaTeX after MacTeX-TeXLive 2008 (again)

2008-09-19 Thread Aditya Mahajan
On Fri, 19 Sep 2008, Otared KAVIAN wrote: Dear ConTeXters, I apologize for sending twice this message: since I did not receive it myself, I thought it has been lost… So here is my help request: I just updated my TeX installation with the latest MacTeX-TeXLive 2008, and since the version of

Re: [NTG-context] Pyramiding \defs

2008-09-19 Thread Aditya Mahajan
On Fri, 19 Sep 2008, Holzminister wrote: Hi! Can perhaps anyone explain to me why the example works in one case, but not in the other? Grouping. For a simpler example {\def\moretest{More test}} \moretest will not work. What you need to do is {\gdef\moretest{More test}} \moretest. Aditya

Re: [NTG-context] units module has bug with markIV?

2008-09-20 Thread Aditya Mahajan
On Sat, 20 Sep 2008, Chen Shen wrote: Hi all, I wonder if anyone could help with this problem with Units in mkiv. Thanks a lot. regards, shenchen On Wed, Sep 3, 2008 at 9:36 AM, Chen Shen [EMAIL PROTECTED] wrote: Hi all, \Micro in the units module failed, while \Nano and \Milli works fine.

[NTG-context] Flow charts and comments

2008-09-20 Thread Aditya Mahajan
Hi, Something seems to be wrong with placements of comments in flowcharts. For exmaple, consider a short version of an example from the wiki. \usemodule[chart] \startFLOWchart \startFLOWcell \name{1} \location{1,1} \shape{44} \connection[rl] {2}

Re: [NTG-context] Working with grids and Luatex

2008-09-22 Thread Aditya Mahajan
On Mon, 22 Sep 2008, holzminister wrote: Hi! Is there a command to place text on the grid again, if it is shifted by a graphic or something like this? (Untested) \startlinecorrection ... \stoplinecorrection Aditya \setuplayout[grid=yes] \showgrid \starttext \input knuth

Re: [NTG-context] Mk IV and TeXlive 2008

2008-09-22 Thread Aditya Mahajan
On Mon, 22 Sep 2008, Hans Hagen wrote: Marcin Borkowski wrote: Hey, sorry to ask about something which was discussed here and on the wiki - but I guess I need a clarification. The wiki says how to prepare Mk IV from TL 2008 to work. My questions are: * from an end-user point of view,

Re: [NTG-context] how to color italics?

2008-09-22 Thread Aditya Mahajan
On Mon, 22 Sep 2008, Taco Hoekwater wrote: Steffen Wolfrum wrote: But this above never closes the italics, while ... \def\Colorit{\strut\groupedcommand\it\color[magenta]\/} ... gives an error. Someone can help? Worryingly lowlevel: \def\emphasistypeface{\it\color[magenta]} This

Re: [NTG-context] how to color italics?

2008-09-22 Thread Aditya Mahajan
On Mon, 22 Sep 2008, Taco Hoekwater wrote: Aditya Mahajan wrote: On Mon, 22 Sep 2008, Taco Hoekwater wrote: Steffen Wolfrum wrote: But this above never closes the italics, while ... \def\Colorit{\strut\groupedcommand\it\color[magenta]\/} ... gives an error. Someone can help

Re: [NTG-context] how to color footnote?

2008-09-22 Thread Aditya Mahajan
On Mon, 22 Sep 2008, Steffen Wolfrum wrote: Ahh, now I see where my problem lays: \setupcolors[state=start] \starttext \setupinteraction[state=start] \setupfootnotes[textcolor=magenta] \setupfootnotedefinition[before={\color[green]}] test\footnote{test} \stoptext Despite the fact

Re: [NTG-context] how to color footnote?

2008-09-22 Thread Aditya Mahajan
On Mon, 22 Sep 2008, Steffen Wolfrum wrote: THAT'S GREAT: :) Am 22.09.2008 um 21:32 schrieb Aditya Mahajan: On Mon, 22 Sep 2008, Steffen Wolfrum wrote: Ahh, now I see where my problem lays: \setupcolors[state=start] \starttext \setupinteraction[state=start] \setupfootnotes

Re: [NTG-context] bug in mkiv - paragraph column in tables

2008-09-27 Thread Aditya Mahajan
On Sat, 27 Sep 2008, Chen Shen wrote: Hi all, The following simple table doesn't work right under mkiv. The baseline of the paragraph (2nd) column is much lower than other columns. The same code works fine under mkii. \showstructs shows the difference between the two, but I wasn't too sure

[NTG-context] Experience on writing a thesis with MKIV

2008-09-27 Thread Aditya Mahajan
Hi everyone, I finished my thesis, writing both my thesis and my presentation using ConTeXt. Thesis: http://www.eecs.umich.edu/~adityam/publications/thesis/thesis.pdf Source: http://www.eecs.umich.edu/~adityam/publications/thesis/thesis.tar.gz Presentation:

Re: [NTG-context] Experience on writing a thesis with MKIV

2008-09-28 Thread Aditya Mahajan
On Sun, 28 Sep 2008, Mikael Persson wrote: On Sun, Sep 28, 2008 at 8:23 PM, Hans Hagen [EMAIL PROTECTED] wrote: Mikael Persson wrote: The thesis is available at maybe we should collect such links on a wiki page good idea These could also be useful for the regression test suite for

Re: [NTG-context] math: too big space between function and argument

2011-05-24 Thread Aditya Mahajan
On Tue, 24 May 2011, Paul Menzel wrote: Dear ConTeXt folks, to markup the probability measure and the parenthesis around the argument, I defined the following command. \define[1]\P{{\mathbf P}\left( #1 \right)} Unfortunately the space between the P and the left ( is a little big in

Re: [NTG-context] math: using bold charaters for number sets

2011-05-24 Thread Aditya Mahajan
On Tue, 24 May 2011, Hans Hagen wrote: On 24-5-2011 1:23, Paul Menzel wrote: Dear ConTeXt folks, according to [1] the number sets were originally set using bold characters and only on the blackboard the double strokes were used. ConTeXt defines for example `\naturalnumbers` or `\reals` [2]

Re: [NTG-context] math: too big space between function and argument

2011-05-25 Thread Aditya Mahajan
On Wed, 25 May 2011, Paul Menzel wrote: On Di, 2011-05-24 at 09:56 -0400, Aditya Mahajan wrote: On Tue, 24 May 2011, Paul Menzel wrote: to markup the probability measure and the parenthesis around the argument, I defined the following command. \define[1]\P{{\mathbf P}\left( #1

Re: [NTG-context] Validate (cross)references

2011-05-27 Thread Aditya Mahajan
On Fri, 27 May 2011, Jesse Alama wrote: Throwing an error would be one way to do this. If throwing an error is not possible, perhaps being able to customize what gets printed when an undefined reference is encountered. E.g., instead of ??, a big, annoying, impossible-to-miss mark in the

Re: [NTG-context] checking mainlanguage setup

2011-05-27 Thread Aditya Mahajan
On Sat, 28 May 2011, Jeong Dalyoung wrote: \startluacode if languages.current() == kr then context([[\def\lang{Korean}]]) %(\def\lang{Korean}) else context([[\def\lang{English}]]) %(\def\lang{Korean}) end \stopluacode currentlanguage: \lang is not working. (undifined control sequence error)

Re: [NTG-context] checking mainlanguage setup

2011-05-31 Thread Aditya Mahajan
On Wed, 1 Jun 2011, Jeong Dalyoung wrote: Dear Lukas, Thank you for the explanation. I guessed that your original [[\\def\\lang{English}]] No errors message, but it's not working as the way as I want. It just print def langEnglish. [[\def\lang{English}]] This cause the error

[NTG-context] No chapter prefixes in section numbers

2011-06-01 Thread Aditya Mahajan
Hi, I do not want chapter number to be prefixed in section and subsection numbers. Thus, \starttext \chapter{One} \section{Two} \subsection{Three} \stoptext should give: 1 One 1 Two 1.1 Three How to achieve that? I tried \setuphead[section][prefixset=none] but to no affect. Aditya

Re: [NTG-context] teletype style in type-win.mkiv

2011-06-02 Thread Aditya Mahajan
On Thu, 2 Jun 2011, Richard Stephens wrote: On 2 June 2011 15:26, Hans Hagen pra...@wxs.nl wrote: On 2-6-2011 3:57, Richard Stephens wrote: I've tried making sense of the type-win.mkiv file but it's beyond me! Any suggestions how to get \tt to use Courier New, for instance?

Re: [NTG-context] No chapter prefixes in section numbers

2011-06-02 Thread Aditya Mahajan
On Thu, 2 Jun 2011, Wolfgang Schuster wrote: Am 02.06.2011 um 02:28 schrieb Aditya Mahajan: Hi, I do not want chapter number to be prefixed in section and subsection numbers. Thus, \starttext \chapter{One} \section{Two} \subsection{Three} \stoptext should give: 1 One 1 Two 1.1 Three

Re: [NTG-context] xml syntax for \externalfigure

2011-06-03 Thread Aditya Mahajan
On Fri, 3 Jun 2011, Thomas A. Schmitz wrote: Hi all, I'm pulling my hair - thought this was easy, but turns out to be more difficult. The \externalfigure command can take a width and/or a height parameter, and context will be happy to take either one into account. I'm trying to translate

Re: [NTG-context] DocBook in ConTeXt - any new ideas?

2011-06-04 Thread Aditya Mahajan
On Jun 4, 2011, at 5:06 AM, Hans Hagen pra...@wxs.nl wrote: On 4-6-2011 10:21, R. Ermers wrote: Adding the prefix cals: to the tag names (thus making the file invalid, which is contrary to the docbook philosophy), using the cals table module and the directives is not enough, at least the

[NTG-context] \fullexpandtwoargsafter in MkIV

2011-06-08 Thread Aditya Mahajan
\fullexpandtwoargsafter is not defined in MkIV. As a result, \processpage does not work. Minimal example: \setuphead[section][before={\pagetype[section]}, page=yes] \processpage[section][yes] \starttext \dorecurse{10}{\section {Test \recurselevel} \dorecurse{10}{\input knuth \endgraf}}

[NTG-context] \activatespacehandler

2011-06-10 Thread Aditya Mahajan
Hi, \activatespacehandler{on} does not work in MkIV. I guess that this is because \controlspace does not give the right glyph in MkIV, possibly because, in opentype fonts, \char 32 is the same as regular space. Any idea how to fix this? Is there a unicode character for visible space. A

Re: [NTG-context] Disable line-break when \typefile

2011-06-10 Thread Aditya Mahajan
On Wed, 8 Jun 2011, Wolfgang Schuster wrote: Am 08.06.2011 um 17:29 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, is there a way how to disable line breaks of (very) long lines typeset with \typefile, even if this would cause overfull hbox (i.e. typesetting to out-of-page area)?

Re: [NTG-context] \activatespacehandler

2011-06-10 Thread Aditya Mahajan
On Fri, 10 Jun 2011, Aditya Mahajan wrote: Hi, \activatespacehandler{on} does not work in MkIV. I guess that this is because \controlspace does not give the right glyph in MkIV, possibly because, in opentype fonts, \char 32 is the same as regular space. Any idea how to fix

Re: [NTG-context] math: how to display ≔?

2011-06-14 Thread Aditya Mahajan
On Tue, 14 Jun 2011, Hans Hagen wrote: On 14-6-2011 12:51, Paul Menzel wrote: Dear ConTeXt folks, probably this is again a font problem, but I just want to report that the definition symbol ≔ (colon equal) [1] I am able to insert directly using Neo layout [2] is not displayed. The virtual

Re: [NTG-context] Disable line-break when \typefile

2011-06-14 Thread Aditya Mahajan
On Wed, 8 Jun 2011, Marco wrote: And what is “lines=no” for? What i get from the source for the “lines” key is: no (default) : no hyphenation yes : no hyphenation and left aligned text (align key is ignored) hyphenated : hyphenation Thanks for clarification. Though the

Re: [NTG-context] testing TeX Live 2011

2011-06-14 Thread Aditya Mahajan
On Sat, 4 Jun 2011, Mojca Miklavec wrote: The following is the list of modules. If you miss any, it is now the best time to ask. (TikZ is also there; I need to test it, but it should work.) depend context-account depend context-algorithmic depend context-bnf depend context-chromato depend

Re: [NTG-context] /usr/bin/luatools:2329: bad argument #1 to '(for generator)' (directory metatable expected, got nil)

2011-06-14 Thread Aditya Mahajan
On Tue, 14 Jun 2011, Hans Hagen wrote: On 14-6-2011 6:48, Stappers wrote: Hello, While doing context foo I do get LuaTools | merging library /usr/share/texmf/tex/context/base/data-ctx.lua LuaTools | merging library /usr/share/texmf/tex/context/base/luat-fio.lua LuaTools |

Re: [NTG-context] testing TeX Live 2011

2011-06-14 Thread Aditya Mahajan
On Tue, 14 Jun 2011, Mojca Miklavec wrote: On Tue, Jun 14, 2011 at 19:03, Aditya Mahajan wrote: How do I indicate that context-vim depends on context-filter? You can add depend context-filter to context-vim.tlpsrc and hope that package-based dependency tracking will be implemented once

Re: [NTG-context] export: graphic url (special chars?)

2011-06-20 Thread Aditya Mahajan
On Mon, 20 Jun 2011, Reviczky, Adam wrote: Further, if the url has a % symbol then the name property stops at that, see: --- \setupbackend[export=test.xml] \enabledirectives[schemes.cleanmethod=md5] \def\googlechart {\begingroup \setcatcodetable\vrbcatcodes \dodoubleempty\dogooglechart}

Re: [NTG-context] \star not working

2011-06-20 Thread Aditya Mahajan
On Mon, 20 Jun 2011, Wolfgang Schuster wrote: Am 20.06.2011 um 16:49 schrieb Reviczky, Adam: Use $\star$ or \symbol[star]. Thanks, but both will use the math font (in my case: https://github.com/khaledhosny/euler-otf) which doesn't have this symbol. Pagella has it and with

Re: [NTG-context] Page X of Y

2011-06-21 Thread Aditya Mahajan
On Tue, 21 Jun 2011, Troy Henderson wrote: I would like the footer of my document to read Page X of Y where X is the current page and Y is the total number of pages. Thoughts on how to accomplish this? 1. \setuppagenumbering[location=footer, command=\PAGECOMMAND] \def\PAGECOMMAND#1{Page #1

Re: [NTG-context] \star not working

2011-06-21 Thread Aditya Mahajan
On Mon, 20 Jun 2011, Hans Hagen wrote: On 20-6-2011 7:50, Aditya Mahajan wrote: Could we just add a \textstar in char-def.lua? (And maybe use that to redefine \symbol[star]) what unicode? 22C6, same as \star. Another option is to define symbol[star] directly using ⋆ (0x22C6 glyph

Re: [NTG-context] Additional title after enumerations-head

2011-06-22 Thread Aditya Mahajan
On Wed, 22 Jun 2011, Stefan Müller wrote: Hi list, in one of my documents (MkIV) I defined several different enumerations with \defineenumerations. Currently their only differences are in the values of text= and style=. With the following I got what I wanted so far:

Re: [NTG-context] [solved] t-filter: no table created when Unicode characters are included

2011-06-23 Thread Aditya Mahajan
On Thu, 23 Jun 2011, yoraxe wrote: How can I use math-mode in such a table? Using $a_b$ it just prints $a_b$ instead of identifying this as a math-input. I'm using pandoc 1.8.1.1 and context 2011.06.19. Can you give a complete minimal example? Aditya

Re: [NTG-context] Text Background

2011-06-23 Thread Aditya Mahajan
On Thu, 23 Jun 2011, H. Hodges wrote: luigi scarso luigi.scarso at gmail.com writes: ok, this example must work under mkii. If not, can be a bug. Still no background. I downloaded context from an Ubuntu repository, so I'm not sure if it is a minimal package or not. Since it installed

Re: [NTG-context] Bibliography is not working

2011-06-23 Thread Aditya Mahajan
On Thu, 23 Jun 2011, Hans Hagen wrote: On 23-6-2011 10:16, yoraxe wrote: Strange is, that it worked a month ago. afaik nothing really changes with the bibliographic system this month It could be a \write18 problem. Is a \jobname.bbl file generated? Last I checked, TL2010 came with a

Re: [NTG-context] Bibliography is not working

2011-06-23 Thread Aditya Mahajan
On Fri, 24 Jun 2011, yoraxe wrote: Am 24.06.2011 00:12, schrieb Aditya Mahajan: On Thu, 23 Jun 2011, Hans Hagen wrote: On 23-6-2011 10:16, yoraxe wrote: Strange is, that it worked a month ago. afaik nothing really changes with the bibliographic system this month It could be a \write18

Re: [NTG-context] interpunct is not shown like \cdot in mathmode

2011-06-23 Thread Aditya Mahajan
On Fri, 24 Jun 2011, yoraxe wrote: Hey. Trying to use the interpunct · as a dot operator (normally \cdot), I noticed, that it is not shown correctly in math mode. Since the interpunct has different applications in different languages, in text mode its appearance seems to be okay. But isn't it

Re: [NTG-context] t-filter: how to use math-mode

2011-06-23 Thread Aditya Mahajan
On Thu, 23 Jun 2011, yoraxe wrote: Am 23.06.2011 18:30, schrieb Aditya Mahajan: On Thu, 23 Jun 2011, yoraxe wrote: How can I use math-mode in such a table? Using $a_b$ it just prints $a_b$ instead of identifying this as a math-input. I'm using pandoc 1.8.1.1 and context 2011.06.19. Can

Re: [NTG-context] Sanskrit Devanagari characters

2011-06-24 Thread Aditya Mahajan
On Thu, 23 Jun 2011, Kip Warner wrote: On Thu, 2011-06-23 at 06:36 +0200, Khaled Hosny wrote: ConTeXt MkIV (assuming it is what you use) has no proper support for Devanagari or other Indic scripts. Since you need only few words, you can produce them externally (say ConTeXt MkII with XeTeX or

Re: [NTG-context] justify

2011-06-24 Thread Aditya Mahajan
On Fri, 24 Jun 2011, luigi scarso wrote: On Fri, Jun 24, 2011 at 5:25 PM, Hans Hagen pra...@wxs.nl wrote: Incredible: http://www.css3.com/css-text-justify/ : newspaper: spacing between letters and words are increased or decreased as necessary. The IE reference says “it is the most

Re: [NTG-context] Sanskrit Devanagari characters

2011-06-26 Thread Aditya Mahajan
On Sun, 26 Jun 2011, Mojca Miklavec wrote: The example that you sent also works fine in ConTeXt MKIV, They don't. Some of the vowels are combined incorrectly. Aditya ___ If your question is of interest to others

Re: [NTG-context] Large Figure on Landscape Orientation

2011-06-26 Thread Aditya Mahajan
On Sun, 26 Jun 2011, Kip Warner wrote: I'm having difficulty getting an external image to display on its own page, with the page in landscape mode, and the image uniformly scaled as large as can fit on that page. Relevant portions of my environment file include... \setuplayout

Re: [NTG-context] Large Figure on Landscape Orientation

2011-06-27 Thread Aditya Mahajan
On Sun, 26 Jun 2011, Kip Warner wrote: Hey folks, I'm having difficulty getting an external image to display on its own page, with the page in landscape mode, and the image uniformly scaled as large as can fit on that page. Relevant portions of my environment file include...

Re: [NTG-context] Large Figure on Landscape Orientation

2011-06-28 Thread Aditya Mahajan
On Tue, 28 Jun 2011, Wolfgang Schuster wrote: Am 28.06.2011 um 07:35 schrieb Aditya Mahajan: @Hans: Does it make sense to modify \adaptlayout so that it will also accept pre-defined layout. So that we could use: \page \adaptpapersize[diagram] \adaptlayout[fullpage] Current

Re: [NTG-context] Scaling down the resolution of used pictures

2011-06-29 Thread Aditya Mahajan
On Wed, 29 Jun 2011, Hans Hagen wrote: Such a plugin looks like: \startluacode figures.converters.png = { png = function(oldname,newname,resolution) local command = string.format('gm convert -depth 1 %s %s',oldname,newname) logs.report(string.format(running command

Re: [NTG-context] Tilde in page numbers

2011-07-06 Thread Aditya Mahajan
On Tue, 5 Jul 2011, Kip Warner wrote: On Wed, 2011-07-06 at 08:08 +0200, luigi scarso wrote: (untested) what about \lettertilde instead of \~ ? Thanks Luigi. That did it. Although, I think if I was using it properly as an escape sequence, \~ is the plain TeX macro for placing the ~ accent.

Re: [NTG-context] Trying to get figure frame corners to clip figure

2011-07-06 Thread Aditya Mahajan
On Wed, 6 Jul 2011, Kip Warner wrote: Hey list, I'd like the rounded corners of my figure's frame to clip off the outside corners of the image so they aren't sticking out. This is what I'm making do with: \setupexternalfigures [frame=on, corner=25, framecolor=colour_frame_border,

Re: [NTG-context] Space between item symbol and item text

2011-07-07 Thread Aditya Mahajan
On Thu, 7 Jul 2011, Christian wrote: Dear all, how do I decrease the horizontal whitespace between the symbol and the text in an item[ize] list? The manual suggests this: \startitemize[1*serried] \item Test \stopitemize It's not working, I get the same distance as with no option at

Re: [NTG-context] beta

2011-07-14 Thread Aditya Mahajan
On Wed, 13 Jul 2011, Hans Hagen wrote: - Typing gets frontstripped with the number of spaces in front of \stoptyping so that one can have nicely formatted input like: Great. Recently I had added a similar functionality to t-vim using the key 'trimspaces=on|off'. I'll change that to

[NTG-context] ConTeXt to Markdown (was Edit a ConTeXt generated document with Adobe Acrobat Professional)

2011-07-18 Thread Aditya Mahajan
On Thu, 14 Jul 2011, John Haltiwanger wrote: PS. For what it is worth, I do not think it would be _too_ hard to create a Context to Markdown translator. Yes. A while back I did some tests (though I cannot find them now), and had most of the basic ConTeXt-to-markdown working (sections,

[NTG-context] definehead and marking

2011-07-18 Thread Aditya Mahajan
How do I get marks with user defined heads? Minimal example: \definehead[lecture][section-1] \starttext \lecture{test} Marking is not working: \getmarking[lecture]? \stoptext Thanks, Aditya ___ If your

Re: [NTG-context] beta

2011-07-18 Thread Aditya Mahajan
On Thu, 14 Jul 2011, Aditya Mahajan wrote: On Wed, 13 Jul 2011, Hans Hagen wrote: - Typing gets frontstripped with the number of spaces in front of \stoptyping so that one can have nicely formatted input like: Great. Recently I had added a similar functionality to t-vim using the key

Re: [NTG-context] definehead and marking

2011-07-18 Thread Aditya Mahajan
On Mon, 18 Jul 2011, Wolfgang Schuster wrote: Am 18.07.2011 um 21:35 schrieb Aditya Mahajan: How do I get marks with user defined heads? Minimal example: \definehead[lecture][section-1] \definehead[lecture][section=section-1] D'oh. Thanks. \starttext \lecture{test} Marking

[NTG-context] Process remaining floats

2011-07-18 Thread Aditya Mahajan
Hi, Is there a command that will flush all unprocessed floats. For example, consider the following: % text 1 \placefigure[fig:1]{...}{...} \FLUSHALLFLOATS text 2 %--- I don't want text 2 to be placed unless fig:1 has been processed (even if it means an under filled

Re: [NTG-context] Process remaining floats

2011-07-18 Thread Aditya Mahajan
On Tue, 19 Jul 2011, Hans Hagen wrote: On 19-7-2011 12:23, Aditya Mahajan wrote: Hi, Is there a command that will flush all unprocessed floats. For example, consider the following: % text 1 \placefigure[fig:1]{...}{...} \FLUSHALLFLOATS text 2 %--- I don't want text 2

Re: [NTG-context] Process remaining floats

2011-07-18 Thread Aditya Mahajan
On Tue, 19 Jul 2011, Glen Callaghan wrote: I use \doflushfloats Thanks. This works perfectly! Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] A cases type environment using a right brace?

2011-07-20 Thread Aditya Mahajan
On Thu, 21 Jul 2011, Alasdair McAndrew wrote: I'm trying to typeset a small column of numbers with a right brace on the right, and nothing on the left. (Sort of like the opposite to the right hand side of a cases environment). I've tried: (untested)

Re: [NTG-context] A cases type environment using a right brace?

2011-07-21 Thread Aditya Mahajan
On Thu, 21 Jul 2011, Thomas A. Schmitz wrote: http://www.ntg.nl/pipermail/ntg-context/2010/049601.html Wolfgang Thank you Wolfgang, the metapost solution looks very good! I'll make this part of my cont-user.tex, I think... Can we have this as part of the core and accessible using:

Re: [NTG-context] \def vs \define

2011-07-21 Thread Aditya Mahajan
On Thu, 21 Jul 2011, Steffen Wolfrum wrote: Hi, in this example the question mark nicely becomes part of the command name: \def\OverFull?{\overfullrule30\points} \OverFull? here it does not work at all: \define\OverFull?{\overfullrule30\points} \OverFull? (... but gives ?? instead) As

Re: [NTG-context] context doens't work in cli mode on ubuntu 11.04?

2011-07-21 Thread Aditya Mahajan
On Thu, 21 Jul 2011, luigi scarso wrote: mkiv should be used only with minimals; I thought that MkIV worked fine with TL11 (though I have not tested it yet). Aditya ___ If your question is of interest to others

Re: [NTG-context] Missing font switch in 'export=yes'

2011-08-15 Thread Aditya Mahajan
On Mon, 15 Aug 2011, Hans Hagen wrote: On 15-8-2011 11:40, Vladimir Lomov wrote: Hi. Consider the following example: file name=feat1.tex \setupbackend[export=yes] \starttext \definetyping[EXAMPLE][escape=yes] This is a small example. See the backend output (export file). How to put a

Re: [NTG-context] Problem with installing ConTeXt

2011-08-16 Thread Aditya Mahajan
On Tue, 16 Aug 2011, Cecil Westerhof wrote: The way I try to couple ConTeXt and TeXworks is described in the following document: http://www.decebal.nl/ConTeXtManual.pdf IIRC, if you install minimals using '--goodies=all', you get a properly configured texworks. Aditya

Re: [NTG-context] Should \setupinterlinespace work in \setupmargindata?

2011-08-18 Thread Aditya Mahajan
On Wed, 17 Aug 2011, Raymond LeClair wrote: The following fails, badly: \definefont[MarginFont][Serif sa 0.5] \setupmargindata[style=\MarginFont\setupinterlinespace[line=12pt]] Enclose the inner brackets [...] in braces. \setupmargindata[style={\MarginFont\setupinterlinespace[line=12pt]}]

Re: [NTG-context] buffer names in MKII

2011-08-18 Thread Aditya Mahajan
I have not tested this, but such a change will also breakthe filter module in MKII. On Aug 18, 2011, at 6:32 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: Dear Hans, something broke backward compatibility in MKII. When using buffers like in \startbuffer[buffername] hello

Re: [NTG-context] buffer names in MKII

2011-08-18 Thread Aditya Mahajan
On Fri, 19 Aug 2011, Mojca Miklavec wrote: Dear Hans, something broke backward compatibility in MKII. When using buffers like in \startbuffer[buffername] hello world \stopbuffer the code now creates buffername.tmp instead of \jobname-buffername.tmp. Works fine with 2011.08.04, so

[NTG-context] Lilypond (Re: buffer names in MKII)

2011-08-19 Thread Aditya Mahajan
Hi Hraban On Fri, 19 Aug 2011, Henning Hraban Ramm wrote: Am 2011-08-18 um 23:29 schrieb Aditya Mahajan: I am also thinking of providing an interface for parsing the buffer content at lua end. That will allow us to implement all the features of the gnuplot and lilypond module using

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