[NTG-context] \in: incorrect space in example in reference

2011-11-16 Thread Paul Menzel
Dear ConTeXt folks, in the example for `\in` in the reference [1] there is a space after the »(«. \placeformula[eq:pythagoras] \startformula a^2+b^2=c^2 \stopformula This is explained in \in{Equation (}{)}[eq:pythagoras]. Normally this space

Re: [NTG-context] \in: incorrect space in example in reference

2011-11-16 Thread Wolfgang Schuster
Am 16.11.2011 um 10:44 schrieb Paul Menzel: > Dear ConTeXt folks, > > > in the example for `\in` in the reference [1] there is a space after the > »(«. > >\placeformula[eq:pythagoras] >\startformula > a^2+b^2=c^2 >\stopformula &g

Re: [NTG-context] \in: incorrect space in example in reference

2011-11-16 Thread Mikael P. Sundqvist
gives empty () where there is supposed to be (1). I hope someone will look into this, since it would be convenient to get it to work again. Best regards, Mikael On Wed, Nov 16, 2011 at 10:44 AM, Paul Menzel wrote: > Dear ConTeXt folks, > > > in the example for `\in` in the reference

[NTG-context] Edid of reference in Wiki (was: \in: incorrect space in example in reference)

2011-11-16 Thread Paul Menzel
Dear ConTeXt folks, Am Mittwoch, den 16.11.2011, 11:20 +0100 schrieb Wolfgang Schuster: > Am 16.11.2011 um 10:44 schrieb Paul Menzel: > > in the example for `\in` in the reference [1] there is a space after the > > »(«. > > > >\placeformula[eq:pythagora

[NTG-context] Bug in \not\in?

2016-09-18 Thread Mohammad Hossein Bateni
Hi, When using \not\in in math, the two symbols do not overlap as they should. Am I missing something? \starttext $v\not\in S$. \stoptext I am using 2016.09.12 18:27 beta on Linux with LuaTeX Version 0.98.3 (TeX Live 2017/dev). Thanks, ~MHB

[NTG-context] # in type in tabulate

2010-09-29 Thread Patrick Gundlach
Hi, this breaks, any workaround? --- \starttext \type{#ok} \starttabulate[|p(4cm)|] \NC \type{#not ok}\NC\NR % <--- bang! \stoptabulate \stoptext --- Patrick ___

Re: [NTG-context] Edid of reference in Wiki (was: \in: incorrect space in example in reference)

2011-11-17 Thread Patrick Gundlach
> to correct this in the reference do I just edit the Wiki article or is > the reference automatically created? Edit the Wiki article. Patrick ___ If your question is of interest to others as well, please

Re: [NTG-context] Edid of reference in Wiki (was: \in: incorrect space in example in reference)

2011-11-17 Thread Mikael P. Sundqvist
[eq:gamma]\ldots. \stoptext %%% Stop example to work in the latest mkiv minimals? I get no number in the reference, only a (). /Mikael PS This seems to work for other numbers than the equation numbers. On Thu, Nov 17, 2011 at 2:35 PM, Patrick Gundlach wrote: >> to correct this in the referenc

Re: [NTG-context] Edid of reference in Wiki (was: \in: incorrect space in example in reference)

2011-11-17 Thread Christian
..@ntg.nl [mailto:ntg-context-boun...@ntg.nl] Im > Auftrag von Mikael P. Sundqvist > Gesendet: Donnerstag, 17. November 2011 16:09 > An: mailing list for ConTeXt users > Betreff: Re: [NTG-context] Edid of reference in Wiki (was: \in: incorrect > space > in example in reference) >

Re: [NTG-context] Edid of reference in Wiki (was: \in: incorrect space in example in reference)

2011-11-17 Thread Paul Menzel
Am Donnerstag, den 17.11.2011, 16:32 +0100 schrieb Christian: > Same here. ConTeXt ver: 2011.11.09 20:58 MKIV. > Referencing formulas with a number is not possible, due to the number not > being typeset. Must be some sort of bug. > Log says: > references > unknown reference [][eq:gamma] The

[NTG-context] chapter only in bookmarks (not in text or in TOC)

2015-07-05 Thread Pablo Rodriguez
{Foreword} aa \chapter{Introduction} \stoptext I would like to have a \hiddentitle command that doesn’t display the heading in text (and adds no extra space), that it doesn’t add it to the table of contents, but that it adds it as a bookmark. How should I define \hiddentitle to get that

[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

[NTG-context] indenting in enumerations in mkiv

2014-07-01 Thread Sytse
Within the enumeration environment I want the first paragraph not to be indented, whereas the second and following paragraphs should start with an indent. The example below works fine in mkii, but I would like to use mkiv in which the first line is also indented. Sytse

Re: [NTG-context] Bug in \not\in?

2016-09-18 Thread Henri Menke
On 09/18/2016 08:44 PM, Mohammad Hossein Bateni wrote: > Hi, > > When using \not\in in math, the two symbols do not overlap as they should. > Am I missing something? > > > \starttext > $v\not\in S$. > \stoptext Use \notin. This will also give you the correct U

[NTG-context] footnotes in captions in floatcombinations

2020-09-14 Thread Henning Hraban Ramm
Hi, I got a problem with current LMTX as well as with other versions – while I’m sure it used to work at some point: As soon as there’s a footnote in the caption of a placefigure within a floatcombination, the figure won’t get placed. There’s no problem outside of floatcombinations or with

[NTG-context] Bug in \externalfigures in headers?

2013-09-05 Thread Xan
Hi, I just want to include logo in headers: %% ConTeXt template for exercises %% ConTeXt MIV %% Carregam símbols \usesymbols[eur] %% carregam les opcions d'entorn \environment entorn-simple-estructurals \environment entorn-simple-visuals %% Capçaleres i peus \setupheadertexts[\externalf

[NTG-context] Bug in footnotes in columns

2009-08-21 Thread Aditya Mahajan
Hi, \setupfootnotes [location=columns] \starttext \startcolumns \input knuth \stopcolumns \stoptext gives ! Undefined control sequence. \currentbackupnoteins \doaddtototalnoteheight #1->\ifdim \ht #1 >\zeropoint \advance \totalnoteheig... \docalcu

[NTG-context] Linebreaking in Japanese in ConTeXt

2023-04-30 Thread Gerben Wierda via ntg-context
I am currently testing with a Japanese translation of something I originally created in English using the ConTeXt engine (LMTX). I run into the fact that Japanese has no use for whitespace, so most of the time TeX has no idea where to break. Is there something I can tell ConTeXt to solve this

Re: [NTG-context] # in type in tabulate

2010-09-29 Thread Wolfgang Schuster
Am 29.09.2010 um 16:50 schrieb Patrick Gundlach: > Hi, > > this breaks, any workaround? \asciimode \starttext #ok \mono{#ok} \starttabulate[|p(4cm)|] \NC \mono{#not ok}\NC\NR \stoptabulate \stoptext Wolfgang _

Re: [NTG-context] # in type in tabulate

2010-09-29 Thread Hans Hagen
On 29-9-2010 4:50, Patrick Gundlach wrote: \starttext \asciimode \type{#ok} \starttabulate[|p(4cm)|] \NC \type{#not ok}\NC\NR %<--- bang! \stoptabulate \stoptext - Hans Hag

Re: [NTG-context] # in type in tabulate

2010-09-29 Thread luigi scarso
On Wed, Sep 29, 2010 at 5:00 PM, Hans Hagen wrote: > On 29-9-2010 4:50, Patrick Gundlach wrote: >> >> \starttext > > \asciimode sorry Hans, nothing to do with SuperWolfgang -- luigi ___ If your question is of interes

Re: [NTG-context] # in type in tabulate

2010-09-29 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I found no records to \asciimode or \mono at http://wiki.contextgarden.net/Category:Reference/en. Could they be added? - Even with no description, just to get to know they are valid ConTeXt commands. Lukas On Wed, 29 Sep 2010 16:58:51 +0200, Wolfgang Schuster wrote: Am 29.09.201

Re: [NTG-context] # in type in tabulate

2010-09-29 Thread Patrick Gundlach
Hello Hans, Wolfgang, > \asciimode > > \starttext > > #ok \mono{#ok} Thanks agin. I've heard about \asciimode but forgot about it. Is there any difference between \mono{...} and \type{...}? I guess that type does much more to catcodes, but apart from that, both seem to be similar. Patrick

Re: [NTG-context] # in type in tabulate

2010-09-29 Thread Aditya Mahajan
{...} (but braces have usual catcode inside the arugment, or \type!...! \type+...+ (basically, \type...) where everything other than the first char has other catcode. This is useful if the argument has unbalanced brances. - \type may fail in commands that store their arguments to aux files

Re: [NTG-context] # in type in tabulate

2010-09-29 Thread Wolfgang Schuster
Am 29.09.2010 um 17:37 schrieb Patrick Gundlach: > Is there any difference between \mono{...} and \type{...}? I guess that type > does much more to catcodes, but apart from that, both seem to be similar. \mono{...} is only another form of {\tt ...} and switch to the typewriter font but \type i

Re: [NTG-context] # in type in tabulate

2010-09-29 Thread Aditya Mahajan
On Wed, 29 Sep 2010, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, I found no records to \asciimode or \mono at http://wiki.contextgarden.net/Category:Reference/en. Well, the command was added 15-20 days ago to the core... Could they be added? - Even with no description, just to get

Re: [NTG-context] # in type in tabulate

2010-09-29 Thread Hans Hagen
On 29-9-2010 5:37, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, I found no records to \asciimode or \mono at http://wiki.contextgarden.net/Category:Reference/en. they were added recently after some discussion with Aditya ... a sort of prelude to getting rid of special catcodes Hans

[NTG-context] Russian sentence in Czech text in Mark II in ConTeXt Suite installation on Linux in UTF8

2012-09-19 Thread Michal Kvasnička
Hallo. I have to typeset one Russian sentence (cyrillic) in a Czech document in ConTeXt Mark II (texexec) in ConTeXt Suite (minimal installation) on Linux. I use UTF8 encoding. Is there any simple way to do it? I'm willing to accept any font to avoid font difficulties. Can you help me p

Re: [NTG-context] chapter only in bookmarks (not in text or in TOC)

2015-07-06 Thread Hans Hagen
\hiddentitle{Prologue} aa\page aa \chapter{Foreword} aa \chapter{Introduction} \stoptext I would like to have a \hiddentitle command that doesn’t display the heading in text (and adds no extra space), that it doesn’t add it to the table of contents, but that it adds it

Re: [NTG-context] chapter only in bookmarks (not in text or in TOC)

2015-07-06 Thread Pablo Rodriguez
blem similar to a one I reported before [I don’t remember which one :-(]). I need that there is no \hiddentile in the text itself, so I removed all space after and before. But I cannot make vertical spaces in makeups work: \setupinteraction[state=start] \placebookmarks[chapter,hiddentitl

Re: [NTG-context] chapter only in bookmarks (not in text or in TOC)

2015-07-24 Thread Hans Hagen
to a one I reported before [I don’t remember which one :-(]). I need that there is no \hiddentile in the text itself, so I removed all space after and before. But I cannot make vertical spaces in makeups work: \setupinteraction[state=start] \placebookmarks[chapter,hiddentitle

Re: [NTG-context] chapter only in bookmarks (not in text or in TOC)

2015-07-24 Thread Pablo Rodriguez
On 07/24/2015 02:14 PM, Hans Hagen wrote: > On 7/6/2015 9:10 PM, Pablo Rodriguez wrote: >> On 07/06/2015 05:56 PM, Hans Hagen wrote: >> [...] >> I need that there is no \hiddentile in the text itself, so I removed all >> space after and before. But I cannot make vert

[NTG-context] ConTeXt in SciTe in Windows, non-working commands in Tools menu

2011-08-23 Thread Mari Voipio
Hello! While struggling with the prefixed referencing system, I found two commands in the Tools menu that fail miserably. As the commands I normally use (Ctrl+1/Process TeX file, Process and Arrange, Generate Formats (luaTeX) work fine, the problem is fairly local and neither is critical. If I

Re: [NTG-context] Russian sentence in Czech text in Mark II in ConTeXt Suite installation on Linux in UTF8

2012-09-19 Thread Hans Hagen
On 19-9-2012 13:19, Michal Kvasnička wrote: Hallo. I have to typeset one Russian sentence (cyrillic) in a Czech document in ConTeXt Mark II (texexec) in ConTeXt Suite (minimal installation) on Linux. I use UTF8 encoding. Is there any simple way to do it? I'm willing to accept any font to

Re: [NTG-context] Russian sentence in Czech text in Mark II in ConTeXt Suite installation on Linux in UTF8

2012-09-24 Thread Mojca Miklavec
On Wed, Sep 19, 2012 at 1:19 PM, Michal Kvasnička wrote: > Hallo. > > I have to typeset one Russian sentence (cyrillic) in a Czech document > in ConTeXt Mark II (texexec) in ConTeXt Suite (minimal installation) > on Linux. I use UTF8 encoding. Is there any simple way to do it? I

[NTG-context] typo in startformulas in latest beta

2006-10-28 Thread Aditya Mahajan
Hi Hans, There is a missing carriage return in the definition of \startformulas in the latest beta. In \def\startformulas#1\stopformulas \long\def\startformula##1\stopformula {\advance\scratchcounter\plusone}% \scratchcounter\zerocount #1% preroll should be \long\def

[NTG-context] bug in typeset table in Chinese

2008-02-26 Thread Yue Wang
:00-18:00 \NC 機械通風 $n=5 \Per\Hour$ \NC 打印機每小時的起始十分鐘工作\NC\MR \NC 18:00-24:00 \NC 自然通風 $a=0.5 \Per\Hour$ \NC 無 \NC\LR \stoptable \stoptext If everything in the table is English then ConTeXt typeset it right. but in this table all the chinese are aligned left, not centered. Yue Wang

Re: [NTG-context] Color in math in MkIV

2008-09-02 Thread Hans Hagen
Aditya Mahajan wrote: > 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 aroun

[NTG-context] movie in pdf example in wiki

2009-04-13 Thread Bill Long
I try the example to embedded video in wiki, but it doesn't work. >\starttext >\externalfigure[./file_server.mov][label=demo,width=4cm,height=4cm,preview=yes] >\stoptext when i execute texexec test.tex it said >TeXUtil | running texmfstart rlxtools --identify >/ho

Re: [NTG-context] indenting in enumerations in mkiv

2014-07-02 Thread Wolfgang Schuster
Am 01.07.2014 um 15:22 schrieb Sytse : > Within the enumeration environment I want the first paragraph not to be > indented, whereas the second and following paragraphs should start with an > indent. > > The example below works fine in mkii, but I would like to use mkiv in whi

[NTG-context] Difference in right justification in LMTX

2019-04-09 Thread Joseph Canedo
[mainfont, 9pt] \showframe \starttext les bestes/ & sus toute la terre/ & sus tout reptile qui bouge sur surete sur la {\righttoleft terre. Dieu} donc crea l'homme a son image. \stoptext I notice that LMTX seems to add some small gap at right margin in the 1st typeset line. I att

[NTG-context] Column spacing in MathML in mkiv

2019-07-18 Thread Duncan Hothersall
Hi all. If I want to set the space between columns in a MathML , how do I do it? Minimal non-working example below (set the attribute columnspacing to anything you like and it seems to be ignored). Is this a bug or is there a feature I've missed? \usemodule[mathml] \starttext \xmlproces

[NTG-context] Bug in lmtx in display mathmode

2019-08-18 Thread Otared Kavian
Hi Hans, I have a long document which typesets correctly with mkiv, but I get a (cryptic for me…) fatal error message when I try to typeset it in lmtx: ! error: (nodes): trying to delete an attribute reference of a non attribute list node 4476mtx-context | fatal error: return code: 256 I

[NTG-context] \starttexdefinition and @ in macroname in mkvi

2011-12-30 Thread Aditya Mahajan
Hi, @, !, _ etc.\ are not recognized as part of the macro name when using MkVI named arguments with \starttexdefinition. For example, consider the following example: \unprotect \starttexdefinition test@again #name Name is #name \stoptexdefinition \protect Processing this file using mtxru

Re: [NTG-context] footnotes in captions in floatcombinations

2020-09-16 Thread Henning Hraban Ramm
TX as well as with other versions – while I’m >> sure it used to work at some point: >> >> As soon as there’s a footnote in the caption of a placefigure within a >> floatcombination, the figure won’t get placed. There’s no problem outside of >> floatcombinati

Re: [NTG-context] footnotes in captions in floatcombinations

2020-09-16 Thread Henning Hraban Ramm
> Am 16.09.2020 um 13:39 schrieb Hans Hagen : > > On 9/16/2020 12:08 PM, Henning Hraban Ramm wrote: > >> \automigrateinserts > > that one does nothing in lmtx At least it doesn’t interfere. ;) But good to know it’s becoming obsolete. >> \showframe

Re: [NTG-context] footnotes in captions in floatcombinations

2020-09-19 Thread Henning Hraban Ramm
> Am 16.09.2020 um 13:48 schrieb Henning Hraban Ramm : > > In MkIV I get images and footnotes, but the width of the footnotes is always > that of the image. > > In LMTX I don’t get anything. Current state (v. 2020.09.18 20:32): Some progress: Footnotes are still as wide

Re: [NTG-context] footnotes in captions in floatcombinations

2020-09-20 Thread Hans Hagen
On 9/19/2020 6:36 PM, Henning Hraban Ramm wrote: Am 16.09.2020 um 13:48 schrieb Henning Hraban Ramm : In MkIV I get images and footnotes, but the width of the footnotes is always that of the image. In LMTX I don’t get anything. Current state (v. 2020.09.18 20:32): Some progress

Re: [NTG-context] footnotes in captions in floatcombinations

2020-09-20 Thread Henning Hraban Ramm
> Am 20.09.2020 um 13:34 schrieb Hans Hagen : > > On 9/19/2020 6:36 PM, Henning Hraban Ramm wrote: >>> Am 16.09.2020 um 13:48 schrieb Henning Hraban Ramm : >>> >>> In MkIV I get images and footnotes, but the width of the footnotes is >>> always th

Re: [NTG-context] footnotes in captions in floatcombinations

2020-09-20 Thread Henning Hraban Ramm
> Am 20.09.2020 um 13:59 schrieb Henning Hraban Ramm : >>>> In MkIV I get images and footnotes, but the width of the footnotes is >>>> always that of the image. >>>> >>>> In LMTX I don’t get anything. >>> Current state (v. 2020.09.

Re: [NTG-context] footnotes in captions in floatcombinations

2020-09-20 Thread Henning Hraban Ramm
> Am 20.09.2020 um 16:22 schrieb Henning Hraban Ramm : >>>>> In MkIV I get images and footnotes, but the width of the footnotes is >>>>> always that of the image. >>>>> >>>>> In LMTX I don’t get anything. >>>> Current s

Re: [NTG-context] footnotes in captions in floatcombinations

2020-10-02 Thread Henning Hraban Ramm
Coming back to this complex: > Am 20.09.2020 um 16:38 schrieb Henning Hraban Ramm : > > Didn’t find a setup that changes the alignment, though. The alignment problem is fixed, can’t remember in which release. But I still struggle with those footnotes, unfortunately I can’t tell th

Re: [NTG-context] footnotes in captions in floatcombinations

2020-10-11 Thread Henning Hraban Ramm
Hi, I still would be happy about answers to the following questions: > Am 02.10.2020 um 12:13 schrieb Henning Hraban Ramm : > > - Would it be possible to do the footnote numbering after the float > placement, so that a footnote in a float caption keeps the reading order of > n

[NTG-context] Works in ConTeXt, fails in LMTX

2020-11-07 Thread ntg
Some more details on the font inclusion problem I posted about the other day. This code: ---begin--- \definefont[fontCoverTitle][name:brushwood at 94pt] \starttext This text in default font. \fontCoverTitle{EXAMPLE} \stoptext ---end--- works as expected in ConTeXt ver: 2020.03.10 14:44

[NTG-context] bug in \headnumber[section] in LMTX?

2021-03-07 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \section{Section} \currentheadnumber\\ \headnumbercontent\\ \headnumber[section] \stoptext In LMTX, \headnumber[section] triggers an error message about missing number. BTW, \currentheadnumber outputs 0 in both MkIV

[NTG-context] Ampersand in \unprotect fails in LMTX

2021-07-09 Thread Marco Patzer
Hi! the following example compiles with MkIV but fails in LMTX: \unprotect \setupinteraction [\c!author={Foo & Bar}] %% {Foo \& Bar} works for MkIV and LMTX \protect \starttext\null\stoptext LMTX: 1 \unprotect 2 \setupinteraction 3 [\c!author={Foo &am

Re: [NTG-context] Bug in \externalfigures in headers?

2013-09-05 Thread Wolfgang Schuster
Am 05.09.2013 um 18:04 schrieb Xan : > Hi, > > I just want to include logo in headers: When you have nested command where each takes brackets (e.g. \foo[\bar[…]]) you have to add curly braces around the inner command (e.g. \foo{\bar[…]}]). In your case you need to write \setuphe

Re: [NTG-context] Bug in \externalfigures in headers?

2013-09-05 Thread Aditya Mahajan
On Thu, 5 Sep 2013, Xan wrote: \setupheadertexts[\externalfigure[logo-cepa-sud.png]][\pagenumber\ de \lastpage] \setupheadertexts[{\externalfigure[logo-cepa-sud.png]}] [\pagenumber\ de \lastpage] Aditya

Re: [NTG-context] Bug in \externalfigures in headers?

2013-09-05 Thread Xan
Thanks a lot, All of you for quick responses. On Thu, 5 Sep 2013 18:04:36 +0200 Xan ha escrit: > Hi, > > I just want to include logo in headers: > > %% ConTeXt template for exercises > %% ConTeXt MIV > > %% Carregam símbols > \usesymbols[eur] > >

[NTG-context] Bug in spacement in mathmode mkiv

2009-06-03 Thread Otared Kavian
Hi Hans, I noticed that in math mode the spacement of some symbols are incorrect while using mkiv (they are correct in mkii). Here is an example % begin example \starttext Set $a := bc^{-1}$. \stoptext % end example In this example, there should be a space before and after ":

Re: [NTG-context] Bug in footnotes in columns

2009-08-21 Thread Hans Hagen
% tricky here ! ! ! to be sorted out ! ! ! \doaddtototalnoteheight\currentnoteins \else %\doaddtototalnoteheight\currentbackupnoteins \fi} keep in mind that footnotes in columns are not yet done (in mkiv) awaiting access to inserts (later this year) Hans

Re: [NTG-context] Bug in footnotes in columns

2009-08-21 Thread Aditya Mahajan
\setupfootnotes [location=columns] \setupcolumns[balance=no] \starttext \startcolumns Don Knuth's\footnote{The creator of \TEX} quote: \input knuth \stopcolumns \stoptext Notice the box0 in the 2nd column. keep in mind that footnotes in columns are not yet done (in mkiv) awaiting access to in

[NTG-context] Calling in chapter number in list={}

2022-03-16 Thread jbf via ntg-context
I wonder if there is a way I can call in the chapter number in the TOC, although that number is not used for chapters as such. I know the chapter number is 'remembered' anyway, so there is probably a way I can call it in just for the TOC. The context for this question is the layou

Re: [NTG-context] Linebreaking in Japanese in ConTeXt

2023-04-30 Thread Gerben Wierda via ntg-context
> On 30 Apr 2023, at 09:12, Gerben Wierda via ntg-context > wrote: > > I am currently testing with a Japanese translation of something I originally > created in English using the ConTeXt engine (LMTX). > > I run into the fact that Japanese has no use for whitespace, s

Re: [NTG-context] Linebreaking in Japanese in ConTeXt

2023-04-30 Thread Wolfgang Schuster via ntg-context
Gerben Wierda via ntg-context schrieb am 30.04.2023 um 09:12: I am currently testing with a Japanese translation of something I originally created in English using the ConTeXt engine (LMTX). I run into the fact that Japanese has no use for whitespace, so most of the time TeX has no idea where

Re: [NTG-context] Linebreaking in Japanese in ConTeXt

2023-04-30 Thread Gerben Wierda via ntg-context
gt; \setupbodyfont [noto-jp] > > \mainlanguage [ja] > > \setscript [nihongo] Thank you. How do I change that in my setup? My setup is creating the same stuff in different languages from XML input (LMTX using lua and METAPOST), which means I need to adapt the following setup

Re: [NTG-context] Linebreaking in Japanese in ConTeXt

2023-04-30 Thread Wolfgang Schuster via ntg-context
CJK JP] \definetypeface   [noto-jp] [mm] [math] [pagella] [default] \setupbodyfont [noto-jp] \mainlanguage [ja] \setscript [nihongo] Thank you. How do I change that in my setup? My setup is creating the same stuff in different languages from XML input (LMTX using lua and METAPOST), which means I need to

Re: [NTG-context] Linebreaking in Japanese in ConTeXt

2023-05-01 Thread Henning Hraban Ramm via ntg-context
Am 30.04.23 um 12:42 schrieb Wolfgang Schuster via ntg-context:     \startmode [JA]         \setscript [nihongo]         \mainlanguage [ja]     \stopmode Shouldn’t that be \startmode[*ja], i.e. make it depend on the current language using the system mode? Hraban

[NTG-context] \stretched in chapter titles in MKII

2010-07-05 Thread Tom
}. Because of these errors I have hardcoded the values in the example that follows: \def\MyChapterCommand#1#2% #1 is number, #2 is text {\hbox to \hsize {\ss\stretched{Chapter 1}} \par \hbox to \hsize {\ss\bf\stretched{Test Chapter Title}}} \setuphead[chapter] [command=\MyChapterCommand

[NTG-context] space in \longrightarrow in lucida (mkiv)

2010-11-30 Thread Mojca Miklavec
Dear Hans, maybe my request comes a bit late, but nevertheless - how difficult is it to fix \longrightarrow in MKIV in Lucida font? (In MKII it works fine.) \setupbodyfont[lucida] \starttext $\longrightarrow$ \stoptext The arrow has white space in the middle. Thanks a lot, Mojca

Re: [NTG-context] ConTeXt in SciTe in Windows, non-working commands in Tools menu

2011-08-23 Thread Hans Hagen
On 23-8-2011 10:59, Mari Voipio wrote: While struggling with the prefixed referencing system, I found two commands in the Tools menu that fail miserably. As the commands I normally use (Ctrl+1/Process TeX file, Process and Arrange, Generate Formats (luaTeX) work fine, the problem is fairly

[NTG-context] Including images in included files in subdirectory

2005-09-16 Thread Giuseppe Bilotta
Situation: Tree structure: main.tex subdir/inc.tex subdir/fig.1 in main .tex " \include subdir/inc.tex " in subdir/inc.tex " \externalfigure[fig.1] " texexecing main.tex doesn't find the figure fig.1 subdir/inc.tex must use " \externalfigure[subdir/fig.1]

[NTG-context] \textext can fail in definitions in \startMPinclusions

2006-09-24 Thread Sanjoy Mahajan
Another test file for metafun. I know that textext doesn't work in loops. I don't understand how it's implemented enough to know why, but is the reason for its not working in loops the same as the reason it doesn't work in included definitions (related to static analysi

Re: [NTG-context] bug in typeset table in Chinese

2008-02-26 Thread Zhichu Chen
Hi, Yue, It's all about the mechanism how ConTeXt handle Chinese glyphs, it analyzes the around to check whether to insert spaces which I think is not a good idea. Try to put those Chinese characters in a box, like === \placetable[here][]{算通中的通風模式} \start

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

2008-09-26 Thread Chen Shen
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 how this should be fixed. Thank you. shenc

[NTG-context] bugs in arranging in mkiv interface=xp

2009-02-25 Thread Johan Sandblom
with a seemingly random rotation. Also, in a more complex example with a toc, no toc is made, as if using texexec and forgetting the --arrange switch. However, adding the --arrange switch here has an entirely different consequence: only one of the arranged pages is placed on each sheet, so in effect

Re: [NTG-context] movie in pdf example in wiki

2009-04-13 Thread Bill Long
Sorry, I should read the mail list first, now it work. On Tue, Apr 14, 2009 at 02:29:56PM +0800, Bill Long wrote: > > > I try the example to embedded video in wiki, but it doesn't work. > > > >\starttext > >\externalfigure[./file_server.mov][label=demo,

[NTG-context] starttexdefinition error in standalone, works in TL2013

2014-02-26 Thread Rik Kabel
space is inserted after [#SETUP] in the doTrans intro. I thought that spaces should be allowed in \starttexdefinition -- is this only in the body and not the parameter description? % macros=mkvi \showframe \let\EndTranslation\relax \starttexdefinition Trans \dosingleempty

[NTG-context] Regression in register processing in last beta

2014-03-16 Thread Jan Tosovsky
Dear All, I have to admit I use quite cumbersome code to get desired output, but while it was working in previous betas, now emergency stop is reported: 'Extra }, or forgotten \endgroup' Here is MWE: \setupalign[hz, hanging] \setupindenting[medium, yes] \setupnotation[footnote]

[NTG-context] Split in specific row in natural tables?

2014-05-26 Thread Xan
Hi, Is there a possibility of split a natural table in specific row? I want to split in row third or something like that. Thanks, Xan. ___ If your question is of interest to others as well, please add an entry to

[NTG-context] Roman numerals in running heads in frontmatter.

2015-04-20 Thread John Culleton
When I set up running heads in frontmattter like this: \definestructureconversionset[frontpart:pagenumber][][romannumerals] \setupheadertexts [{\getmarking[title]}] [{\pagenumber}] [{\pagenumber}] [{\Titlea}] (where \Titlea is a string containing the book title

[NTG-context] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-15 Thread Kate F
Hi. I'm using MkIV's XML stuff. I have two related questions. Firstly, can I have entities in XML expand out to TeX markup? I thought this was how you'd do it, but this produces a document that says literally "xxx~yyy\thinspace zzz", whereas I want the ~ and \thinsp

[NTG-context] Footnotes in float combinations missing in output

2019-01-09 Thread Lars
Hi there, hi Hans, I just want to let you know that footnotes insterted in float-combinations don't get rendered properly, i. e. only the last footnote is placed in the output. MWE: \starttext   \startplacefigure[title={OuterCap\footnote{Outer footnote}}]     \startfloatcombination

Re: [NTG-context] Difference in right justification in LMTX

2019-04-10 Thread Hans Hagen
gap at right margin in the 1st typeset line. I attach the pdf I get with luatex and lmtx. The showframe directive makes it more visible. i uploaded a new version Hans - Hans Hagen

Re: [NTG-context] Difference in right justification in LMTX

2019-04-11 Thread Joseph Canedo
ConTeXt users; Joseph Canedo Objet :Re: [NTG-context] Difference in right justification in LMTX On 4/10/2019 12:07 AM, Joseph Canedo wrote: > Dear list. > > Given the following MWE (could not reproduce with smaller example). > > \setuppapersize[A5][A5] > > \definefontfe

Re: [NTG-context] Difference in right justification in LMTX

2019-04-11 Thread Hans Hagen
On 4/11/2019 8:07 PM, Joseph Canedo wrote: Thanks Hans. I’ve ran install.bat to update my LMTX local copy (ran without apparent errors) and reran context command on my MWE, but I am afraid I see no difference. Not sure if I missed any step or not. it works here did the update download files

Re: [NTG-context] Difference in right justification in LMTX

2019-04-12 Thread Joseph Canedo
Yes. I’ve deleted my lmtx installation directory and fetched the install .zip from Pragma ADE web site and ran install.bat, to double check. De : Hans Hagen Envoyé le :jeudi 11 avril 2019 22:59 À : Joseph Canedo; mailing list for ConTeXt users Objet :Re: [NTG-context] Difference in right

Re: [NTG-context] Bug in lmtx in display mathmode

2019-08-18 Thread Hans Hagen
On 8/19/2019 12:20 AM, Otared Kavian wrote: Hi Hans, I have a long document which typesets correctly with mkiv, but I get a (cryptic for me…) fatal error message when I try to typeset it in lmtx: ! error: (nodes): trying to delete an attribute reference of a non attribute list node 4476mtx

Re: [NTG-context] Difference in right justification in LMTX

2019-10-11 Thread Joseph Canedo
> *À : *Joseph Canedo ; mailing list for ConTeXt > users > *Objet :*Re: [NTG-context] Difference in right justification in LMTX > > > > On 4/11/2019 8:07 PM, Joseph Canedo wrote: > > > Thanks Hans. I’ve ran install.bat to update my LMTX local copy (ran > > > without

Re: [NTG-context] Difference in right justification in LMTX

2019-10-11 Thread Joseph Canedo
Hi Hans, I still get the issue with right justification with LMTX for some reason. I see a small whitespace between the last 't' in the line with LMTX which I don't see with Mkiv. I also notice that position of the 't' box computed from all previous boxes/characters in t

[NTG-context] Accessing raw titles in textcommand in TOC

2020-02-21 Thread alephzorro
Hello, I would like to display titles differently in TOC than they appear in text. For example, MyChapter1 -> 1retpahCyM. Basically any highly non-trivial transformation that really needs Lua. I've written simple Lua macros before, but the following approach trying to define textcomm

[NTG-context] running lua in metafun and in ConTeXt

2020-04-11 Thread Jeong Dal
Dear all, I draw Pascal’s triangle with the label of each point created by using lua functions. As you see in the code below, I defined fact(n) and combi(n,r) using lua. For the calculation tt, I used two different methods. Both are working well when I run the given code. But I got an error

[NTG-context] running lua in metafun and in ConTeXt

2020-04-11 Thread Jeong Dal
Dear all, The problem is solved by using the namespace of lua as below: I am not sure what I did is the right way. If it is not the right way, please let me know. Thanks for reading. Best regards, Dalyoung \startluacode P={} combi = P function P.fact (n) if n <= 0 then return 1 else

[NTG-context] Difference in doifinset in MkII and MkIV

2011-09-20 Thread Aditya Mahajan
The following works in MkIV but fails in MkIV: \unprotect \def\!!yesandon{yes,on} \doifinsetelse{yes}\!!yesandon {\writestatus{TEST}{YES}} {\writestatus{TEST}{NO}} \protect This can be fixed by changing the definition \def\p!doifinsetelse#1#2#3#4% {\donefalse \edef\!!stringa

[NTG-context] [OT] intelligent commas in math (in LaTeX)

2011-09-26 Thread Mojca Miklavec
http://tug.org/pracjourn/2011-1/beccari.html ___ 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 webpa

Re: [NTG-context] \starttexdefinition and @ in macroname in mkvi

2011-12-30 Thread Hans Hagen
\protect Processing this file using mtxrun --script interface --preprocess test.mkvi --force shows that #name is not recognized as a parameter. The preprocessing works if I remove the @ from the macro name. ok, supported now, but of course it will only work out in unprotected mode

[NTG-context] Fwd: Re: footnotes in captions in floatcombinations

2020-09-16 Thread Hans Hagen
Forwarded Message Subject: Re: [NTG-context] footnotes in captions in floatcombinations Date: Wed, 16 Sep 2020 13:38:44 +0200 From: Hans Hagen To: Henning Hraban Ramm On 9/16/2020 12:08 PM, Henning Hraban Ramm wrote: \useMPlibrary[dum] \automigrateinserts that one does

Re: [NTG-context] Works in ConTeXt, fails in LMTX

2020-11-07 Thread Pablo Rodriguez
rTitle][name:brushwood at 94pt] > \starttext > This text in default font. > > \fontCoverTitle{EXAMPLE} > \stoptext > > works as expected in > > ConTeXt ver: 2020.03.10 14:44 MKIV beta fmt: 2020.4.18 int: > english/english > > but fails (the brushwood

Re: [NTG-context] Works in ConTeXt, fails in LMTX

2020-11-07 Thread ntg
On 7 Nov 2020, at 13:43, Pablo Rodriguez wrote: > > On 11/7/20 1:09 PM, n...@scorecrow.com wrote: >> Some more details on the font inclusion problem I posted about the other day. > > Hi Bruce, > > I think that current LMTX has issues with Bondi12CPlus.TTF. > > Hans, could you have a look at it

[NTG-context] Bug in lmtx bibliography (numerals in entry?)

2020-12-01 Thread Damien Thiriet
Hello, My bibliography files compiles fine in mkiv, but hangs in lmtx Here is the error message: tex error > tex error on line 30 in file ./Nation_rev_empire.mkiv: Use of \btxshowentryinline doesn't match its definition \btxflushlisttext ...tyleandcolor \c!style

  1   2   3   4   5   6   7   8   9   10   >