[NTG-context] Mobilephone Symbol

2014-05-12 Thread Devendra Ghate
[martinvogel 2][Letter] \symbol[martinvogel 2][Phone] \symbol[astronomic][Neptune] \stoptext --- Many thanks for any suggestions. -- Devendra Ghate ___ If your question is of interest to others as well, please add

Re: [NTG-context] Mobilephone Symbol

2014-05-12 Thread Devendra Ghate
] -- Regards, Devendra Ghate On Mon, May 12, 2014 at 06:49:07PM +0200, Mikael P. Sundqvist wrote: In symb-imp-mvs.mkiv, there is a (note the spelling!) \definesymbol [Mobilefone] [\MartinVogelSymbol{Mobilefone}] and \definesymbol [Telephone] [\MartinVogelSymbol

[NTG-context] Centering tabulate env. using \setuptabulate

2014-05-12 Thread Devendra Ghate
-- Devendra Ghate ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http

[NTG-context] Macro expansion inside \type

2014-01-09 Thread Devendra Ghate
Hello Everyone, Consider the following MWE: \define\author{Devendra Ghate} \starttext \type{\author} \stoptext As mentioned on the wiki, this doesn't expand `\author` but rather prints it as it is. However, I would like `\author` to be expanded before it is typeset. Is this possible

[NTG-context] White Space after \startalign

2013-04-08 Thread Devendra Ghate
for your time in advance. *MWE* \starttext¬ Some text before the equation.¬ \placeformula¬ \startformula \startalign¬ \NC a \NC= b\NR¬ \NC c \NC= d\NR[eq:trivial]¬ \stopalign \stopformula¬ Some text after the equation.¬ \stoptext¬ Regards, Devendra Ghate

Re: [NTG-context] White Space after \startalign

2013-04-08 Thread Devendra Ghate
On Mon, Apr 08, 2013 at 05:49:51PM +0200, Hans Hagen wrote: On 4/8/2013 1:21 PM, Devendra Ghate wrote: Dear all, I have noticed a new problem in the \startalign environment recently. \startalign adds whitespace after the formula. If I remove the *\NR* from the last equation then the white

Re: [NTG-context] Unusual error in Math mode

2013-04-02 Thread Devendra Ghate
On Tue, Apr 02, 2013 at 09:25:02AM +0200, Hans Hagen wrote: On 3/31/2013 5:27 PM, Aditya Mahajan wrote: On Sun, 31 Mar 2013, Devendra Ghate wrote: Hello Everyone, \starttext $ E [ w ] = 1 $ \stoptext produces Eaw]=1 using my context (current version: 2013.03.29 01:03). I can

[NTG-context] Unusual error in Math mode

2013-03-31 Thread Devendra Ghate
Hello Everyone, \starttext $ E [ w ] = 1 $ \stoptext produces Eaw]=1 using my context (current version: 2013.03.29 01:03). Needless to say that the MWE works as expected on the Context live @ contextgarden. I have no clue as to how to go about debugging the problem. So did a fresh install

[NTG-context] setups in the latest Context release

2013-03-25 Thread Devendra Ghate
the setups then it works fine. So the change must have been in the interface for *setups*. Please let me know if there has been a change OR I have made some kind of mistake. Thank you, Devendra Ghate - \startsetups[head:margin] \startlinealignment[left] \startframed

Re: [NTG-context] Arranging framed text without gaps

2013-02-28 Thread Devendra Ghate
On 03/01/2013 04:30 AM, Marco Patzer wrote: On 2013--02--28 Matthias Weber wrote: -- without gaps between horizontal rows -- with text centered in the frames also in MkIV? See Adityas answer for how to fix your current code. -- achieve the desired layout (exact dimensions, frames, no gaps)

Re: [NTG-context] How to make all heads \ss?

2013-02-22 Thread Devendra Ghate
On 02/22/2013 01:31 PM, Wolfgang Schuster wrote: Am 22.02.2013 um 08:40 schrieb Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: Hello, is there a way how to change all heads style, e.g. to sans? This doesn't work for me: \setupheads[style=\ss] \starttext \section{Abc}

[NTG-context] extras in \cite

2013-02-20 Thread Devendra Ghate
Hello Everyone, A while back Aditya provided a patch for using *alternative=authornum* in *\cite*. The patch adds et al. for the cases with more than two authors. I have been using it without a hitch since then. However, today I tried to use *extras* option with this patch and it won't work.

[NTG-context] Big double quotes

2013-02-11 Thread Devendra Ghate
Hello, I am trying to reproduce as closely as possible the large double quotes in the attached file. Though the actual glyph of the double quotes is not important for me (I have gone through the glyphs for CM without any success!), I would like to keep the double quotes large to attract

Re: [NTG-context] Big double quotes

2013-02-11 Thread Devendra Ghate
On 02/11/2013 11:29 PM, Marco Patzer wrote: On 2013--02--11 Devendra Ghate wrote: I am trying to reproduce as closely as possible the large double quotes in the attached file. Here are two solutions, one uses the delimitedtext mechanism. The quotation marks are not printed within the quoted

Re: [NTG-context] margin notes in MKIV (doublesided pages)

2013-02-08 Thread Devendra Ghate
On 02/09/2013 06:51 AM, Alan Bowen wrote: I need margin notes in a doublesided page environment in MKIV. The following: \setuppagenumbering[alternative=doublesided] \setupinmargin[location=both] \starttext \inmargin{n1}\input knuth\inmargin{note 1} \page

Re: [NTG-context] Chapter headings macro

2013-02-08 Thread Devendra Ghate
On 02/08/2013 06:43 PM, Wolfgang Schuster wrote: Am 08.02.2013 um 07:31 schrieb Devendra Ghate devendra.gh...@gmail.com: Hello everyone, I have defined a macro for the chapter layouts -- nothing fancy, but still it is giving me trouble. Essentially, I call this macro using *command

[NTG-context] How to scale fonts?

2013-02-07 Thread Devendra Ghate
Hello, I want to use truly huge (40pt) fonts for chapter numbers. In my latex code, I used \newfont{\chapterNumber}{pplr9d scaled 7000} From the context manual, I thought that \definebodyfont [11pt] [rm] [ tfH=cmr12 scaled 7000] should do it. Though the above code doesn't throw any errors,

Re: [NTG-context] How to scale fonts?

2013-02-07 Thread Devendra Ghate
On 02/07/2013 03:21 PM, Marco Patzer wrote: On 2013--02--07 Devendra Ghate wrote: I want to use truly huge (40pt) fonts for chapter numbers. In my latex code, I used \newfont{\chapterNumber}{pplr9d scaled 7000} From the context manual, I thought that \definebodyfont [11pt] [rm] [ tfH

[NTG-context] Trademark symbols

2013-02-07 Thread Devendra Ghate
Hello, In latex \textregistered gives the Regitered Trademark symbol. How do I get Trademark (TM) and Registered Trademark (encircled R) in ConTeXt? I will be using it with \high to get something like Simulink^® http://www.mathworks.in/products/simulink/ Regards, Devendra

[NTG-context] Chapter headings macro

2013-02-07 Thread Devendra Ghate
Hello everyone, I have defined a macro for the chapter layouts -- nothing fancy, but still it is giving me trouble. Essentially, I call this macro using *command=* in *\setuphead*. My philosophy was to add all the details in the macro, so that I don't have to call anyother keyvalue pairs in

Re: [NTG-context] Trademark symbols

2013-02-07 Thread Devendra Ghate
On 02/07/2013 11:42 PM, Mari Voipio wrote: On Thu, Feb 7, 2013 at 12:40 PM, Devendra Ghate devendra.gh...@gmail.com wrote: How do I get Trademark (TM) and Registered Trademark (encircled R) in ConTeXt? I will be using it with \high to get something like Simulink® TM is high already

[NTG-context] Indentation in TOC

2013-02-04 Thread Devendra Ghate
Hello, I am trying to indent my section/subsection etc. progressively. I am using *numbercommand* and added *hspace* before the numbers. But the section title is not moved to the right along with the section number and overlaps with it. I tried adding *loffset=2cm* (since all the options of

Re: [NTG-context] Indentation in TOC

2013-02-04 Thread Devendra Ghate
On 02/05/2013 01:47 AM, Wolfgang Schuster wrote: Am 04.02.2013 um 21:11 schrieb Devendra Ghate devendra.gh...@gmail.com: Hello, I am trying to indent my section/subsection etc. progressively. I am using *numbercommand* and added *hspace* before the numbers. But the section title

[NTG-context] Using num and authornum bibliography style simultaneously

2013-02-03 Thread Devendra Ghate
Hi, I want to use *num* and *authornum* bibliiography style simultaneously in my document. \setuppublications[alternative=num] --- [1]. \setuppublications[alternative=num, refcommand=authornum] -- Author name [1]. So I have defined a macro as:

Re: [NTG-context] Using num and authornum bibliography style simultaneously

2013-02-03 Thread Devendra Ghate
On 02/04/2013 11:13 AM, Devendra Ghate wrote: Hi, I want to use *num* and *authornum* bibliiography style simultaneously in my document. \setuppublications[alternative=num] --- [1]. \setuppublications[alternative=num, refcommand=authornum] -- Author

Re: [NTG-context] Possible inconsistency in the use of paragraphs in ConTeXt

2013-01-31 Thread Devendra Ghate
On 02/01/2013 01:16 PM, Alain Delmotte wrote: Hi Wolfgang, Using MkIV, version 2013.01.24 i get an error about \defineparagraph: ! Undefined control sequence. system tex error on line 25 in file first.tex: Undefined control sequence ... [...] 24 25

[NTG-context] Consistent Colors

2013-01-29 Thread Devendra Ghate
I have been going through the concepts underlying pallet. I would like to define three basic colors in RGB. Then use various shades and tints of these basic three colors through out the document. Now the algorithm for getting various shades for RGB scheme is: Darker shades: Multiply each

Re: [NTG-context] Consistent Colors

2013-01-29 Thread Devendra Ghate
On 01/29/2013 01:41 PM, Devendra Ghate wrote: I have been going through the concepts underlying pallet. I would like to define three basic colors in RGB. Then use various shades and tints of these basic three colors through out the document. Now the algorithm for getting various shades

[NTG-context] \thinrule in \margintext doesn't work

2013-01-24 Thread Devendra Ghate
If \thinrule is used in \margintext, context gives error. \hairline works fine. *Details:* ConTeXt ver: 2013.01.10 01:04 MKIV fmt: 2013.1.13 *Error Message:* ! Undefined control sequence. system tex error on line 2 in file a.tex: Undefined control sequence ... 1

[NTG-context] Can Tikz external library be used in Context?

2013-01-24 Thread Devendra Ghate
Hi, Following MWE produces the error given below. I have been able to include other tikz libraries (arrows, decorations) successfully. *MWE* \usemodule[tikz] \usetikzlibrary{external} \starttext A \stoptext *Error* - ! Missing number, treated as

Re: [NTG-context] Can Tikz external library be used in Context?

2013-01-24 Thread Devendra Ghate
On 01/24/2013 11:23 PM, Marco Patzer wrote: On 2013--01--24 Devendra Ghate wrote: \usemodule[tikz] \usetikzlibrary{external} Use brackets: \usetikzlibrary [external] \starttext A \stoptext This example works here with current version: 2013.01.24 16:47. Marco Just upgraded context

[NTG-context] Equivalent commands for \big \Big etc. in mathmode

2013-01-23 Thread Devendra Ghate
If I want to say that dy/dx is calculated at z then in latex I can write \frac{dy}{dx}\Big|_z The \Big is to scale | according to the size of the \frac. I am using newmat and amsl modules that have supported the native math mode commands till now. But context does not recognise \Big. What is

Re: [NTG-context] Equivalent commands for \big \Big etc. in mathmode

2013-01-23 Thread Devendra Ghate
On 01/23/2013 09:27 PM, Aditya Mahajan wrote: On Wed, 23 Jan 2013, Devendra Ghate wrote: If I want to say that dy/dx is calculated at z then in latex I can write \frac{dy}{dx}\Big|_z The \Big is to scale | according to the size of the \frac. I am using newmat and amsl modules that have

Re: [NTG-context] ToC - dots distance

2013-01-23 Thread Devendra Ghate
On 01/24/2013 12:51 AM, Wolfgang Schuster wrote: Am 23.01.2013 um 20:10 schrieb ha...@wpb.cz: Hi, I need to change the default distance of dots in ToC using alternative c. Could anybody tell me, how can I achieve this? So it should look like this: default look: 1. First chapter

Re: [NTG-context] ToC - dots distance

2013-01-23 Thread Devendra Ghate
On 01/24/2013 01:35 AM, Wolfgang Schuster wrote: Am 23.01.2013 um 20:56 schrieb Devendra Ghate devendra.gh...@gmail.com: On 01/24/2013 12:51 AM, Wolfgang Schuster wrote: Am 23.01.2013 um 20:10 schrieb ha...@wpb.cz: Hi, I need to change the default distance of dots in ToC using alternative

[NTG-context] Referencing a figure

2013-01-22 Thread Devendra Ghate
I have written a macro to include figures. I pass the label name and the caption as the two arguments. But when I try to refer to the figure, it shows ??. Surely, my macro does not define the figure label as intended by me. What am I doing wrong? Also, while trying to debug this problem, I tried

Re: [NTG-context] Referencing a figure

2013-01-22 Thread Devendra Ghate
On 01/22/2013 03:48 PM, Philipp Gesang wrote: Hi! ···date: 2013-01-22, Tuesday···from: Devendra Ghate··· I have written a macro to include figures. I pass the label name and the caption as the two arguments. But when I try to refer to the figure, it shows ??. Surely, my macro does

[NTG-context] Enable comments/highlighting in the output PDF

2013-01-22 Thread Devendra Ghate
Hello everyone, I would like to create an output PDF file on which comments can be added by a reader for feedback. I do not know the settings to be applied in context to enable comments/highlighting of a section etc. in the generated PDF file. I am using free Adobe reader 9 on ubuntu

Re: [NTG-context] Enable comments/highlighting in the output PDF

2013-01-22 Thread Devendra Ghate
On 01/22/2013 11:45 PM, Martin Schröder wrote: 2013/1/22 Devendra Ghate devendra.gh...@gmail.com: I would like to create an output PDF file on which comments can be added by a reader for feedback. Use Adobe Acrobat and add that option to the PDF. Best Martin _ Dear Martin, Thank you

[NTG-context] Figure captions in margin

2013-01-20 Thread Devendra Ghate
I am using a layout with wide right margin. For floats that are \textwidth wide, I can place captions in the margin using**\setupcaption[location=rightmargin,high/low]. However, for figures that are (*\textwidth+\marginwidth+\margindistance*) wide, I would like to *place the caption in the

Re: [NTG-context] Figure captions in margin

2013-01-20 Thread Devendra Ghate
, Marco Patzer wrote: On 2013--01--20 Devendra Ghate wrote: I am using a layout with wide right margin. For floats that are \textwidth wide, I can place captions in the margin using**\setupcaption[location=rightmargin,high/low]. However, for figures that are (*\textwidth+\marginwidth

[NTG-context] \margintext overflows in bottom margin

2013-01-17 Thread Devendra Ghate
I am using*\margintext* for comments in the margin. When a comment falls on the last line of a page, I have to manually add *\setupmargintext[voffset=-2em] *everytime to stop it from flowing into bottom margin. Is there a way to automatically offset margin text to stop it from flowing into

[NTG-context] Bibliography in authornum format

2013-01-14 Thread Devendra Ghate
I am using ConTeXt ver: 2013.01.10 01:04 MKIV and here is the MWE. I would like to create numbered bibliography with *Author name [1]* format. If multiple authors are present then it should produce *Author /et al./ [1]*. This does not happen. Instead I get *Author, [1]*. Since I am new to

[NTG-context] Update: Bibliography in authornum format

2013-01-14 Thread Devendra Ghate
Please see: http://tex.stackexchange.com/questions/93729/bibliography-in-context for a solution provided by Aditya at stackexchange. I shouldn't have asked the question on two forums. Sorry for the trouble. Regards, Devendra