Re: [NTG-context] Position of integral limits

2014-04-30 Thread Zhichu Chen
\setupmathematics[integral=nolimits] On Wed, Apr 30, 2014 at 12:54 PM, Darksair chris.cors...@gmail.com wrote: Hi, I notice today that in display math, \int_a^b places a and b completely below and above the integral symbol, rather than offsets them to the right at the bottom and top as

[NTG-context] Virtual font question

2015-06-22 Thread Zhichu Chen
Hello list, 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. The font comes with three different sizes,

Re: [NTG-context] Virtual font question

2015-06-24 Thread Zhichu Chen
could not be remapped (WHY???). Fix me if I'm wrong about this conclusion. Best regards, Zhichu On 06/23/2015 01:20 PM, Zhichu Chen wrote: Hi Aditya, On 06/23/2015 11:57 AM, Aditya Mahajan wrote: I don't have the fonts, so I cannot describe the exact method. But see below and also have

Re: [NTG-context] Virtual font question

2015-06-22 Thread Zhichu Chen
Hi Aditya, On 06/23/2015 11:57 AM, Aditya Mahajan wrote: I don't have the fonts, so I cannot describe the exact method. But see below and also have a look at Section 5 of https://www.tug.org/TUGboat/tb30-2/tb95mahajan-cmath.pdf The description is old, and some of the file locations have

Re: [NTG-context] conTeXt Mkiv: the number of parameters can not be more than 9?

2015-07-04 Thread Zhichu Chen
Hi Dillon, First of all, I'm against defining such a complex macro, since that can be very confusing when you use it. I personal prefer the key-value definition: \def\DEFINETEST[#1]{% \getXXXparameters [paraA=defaultValueForParameterA% ,paraB=% or just empty ,#1]%

[NTG-context] Customize grid layout

2016-02-28 Thread Zhichu Chen
Dear TeXers, Is it possible to define the layout like: \setuplayout [grid=yes% ,lines=6% ,gridstyle={1,1,1,3.5,1,1}% ] so that I can have 6 lines per page, but the 4th line skips will be 3.5\baselineskip. For your information, the blank between the first 3 lines and the rest ones is

[NTG-context] Character rotation font feature available?

2016-02-14 Thread Zhichu Chen
Dear list, I have some special needs that requires all the characters be rotated by 90 degrees. I've searched around the web and maybe adding /FontMatrix [0 1 -1 0 0 0] to the font descriptor dictionary is helpful. But I can't find a \pdf??? primitive that can achieve this. (Am I wrong about

Re: [NTG-context] Character rotation font feature available?

2016-02-14 Thread Zhichu Chen
Hi Marco, On 02/15/2016 05:30 AM, Marco Patzer wrote: On Mon, 15 Feb 2016 04:42:31 +0800 Zhichu Chen <chenzhi...@sinap.ac.cn> wrote: I have some special needs that requires all the characters be rotated by 90 degrees. I've searched around the web and maybe adding /FontMatrix [0 1 -1

Re: [NTG-context] unwanted head behavior

2016-04-06 Thread Zhichu Chen
(put the following lines just before \starttext) \unexpanded\def\strc_rendering_place_head_empty {\setheadmarking \getheadsyncs} Isn't that a bug? On 04/05/2016 01:19 PM, Zhichu Chen wrote: Dear Hans

Re: [NTG-context] unwanted head behavior

2016-04-07 Thread Zhichu Chen
o "sectioning" may prevent potential typos. On 04/05/2016 01:19 PM, Zhichu Chen wrote: Dear Hans and Wolfgang, The following code generates a pdf that I cannot understand. 1. Although "placehead" is set to "no," the \part macro still makes an empty line. 2. The f

Re: [NTG-context] Increasing the textwidth locally

2016-04-09 Thread Zhichu Chen
Dear Joas, On 04/09/2016 08:47 PM, joasyann...@gmail.com wrote: Dear everyone, I am looking for a functionality similar to the \adjustwidth command in LaTeX ables to reduce or increase the \textwidth locally. I know that ConTeXt has \startnarrower, which reduces the \textwidth. But how to

Re: [NTG-context] unwanted head behavior

2016-04-09 Thread Zhichu Chen
Dear Hans, On 04/07/2016 06:31 PM, Hans Hagen wrote: \def\currentsectioncountervalue {\clf_depthnumber\numexpr\thenamedheadlevel\currenthead\relax} %def\previoussectioncountervalue{\clf_depthnumber\numexpr\thenamedheadlevel\currenthead+\minusone\relax}

[NTG-context] unwanted head behavior

2016-04-04 Thread Zhichu Chen
Dear Hans and Wolfgang, The following code generates a pdf that I cannot understand. 1. Although "placehead" is set to "no," the \part macro still makes an empty line. 2. The first \chapter does not open a new page, but if we switch the first \title

[NTG-context] Can I just put a footnote without marking in the main text?

2022-05-17 Thread Zhichu Chen via ntg-context
Hi everybody, After some attempts to put footnotes in a mixed 1&2 columns layout, I decide to put marks in the one-column environment and flush them when entering the two-column environment. The code is ugly but the result is acceptable. Except that the invisible footnote marks do

[NTG-context] \placenotes ends up in wrong place when mixing one- and two- column layouts.

2022-05-10 Thread Zhichu Chen via ntg-context
Thanks Hans, works perfectly. Sorry for the late reply. Still working on the template and got another one. Again, sorry. The journal is in two-column form and the title, authors, and addresses are spanned to the full width. Very common. But the title may acknowledge to some fund(s) and

Re: [NTG-context] upload

2022-05-11 Thread Zhichu Chen via ntg-context
Hi Hans, Thanks for the update. But I noticed that the XITS fonts were still the old ones: zhichu@large /opt/context-lmtx/tex/texmf/fonts/opentype/public/xits $ fc-query -f '%{fontversion}\n' XITS-Regular.otf  | perl -E 'printf "%.3f\n",

<    1   2   3