Re: [NTG-context] Spacing in \unit - degrees

2022-10-13 Thread Alan Braslau via ntg-context
e. Will 135\unit{℃} ever break between the digits 135 and the "unit"? I agree that \unit should probably use an \mbox to prevent unwanted breaks. The other role of \unit, I understand, is to uniformize the representation of numbers (digits). > > Related, > > \unit{90°}

[NTG-context] definemathcommand and Lucida OT

2022-01-18 Thread Otared Kavian via ntg-context
properly with LucidaOT: \startformula x_{n} := (-1)^n, \quad\mbox{then} \quad \liminf_{n \geq 0}x_{n} = -1, \quad \limsup_{n\geq 0} x_{n}= +1. \stopformula The user defined commands \type{\liminfbar} and \type{\limsupbar} behave correctly: \startformula x_{n} := (-1)^n, \quad\mbox{then} \quad

[NTG-context] Math in LMTX and definemathcommand

2021-11-17 Thread Otared Kavian via ntg-context
interior is denoted by $\interior{A}$. Can one have the circle over $A$ slightly bigger (probbaly this is font dependent)? The built-in commands $\liminf$ and $\limsup$ do not work properly with LucidaOT (I tried other fonts and there they are fine): \startformula x_{n} := (-1)^n, \quad\mbox

Re: [NTG-context] new upload

2021-11-16 Thread Otared Kavian via ntg-context
interior is denoted by $\interior{A}$. Can one have the circle over $A$ slightly bigger (probbaly this is font dependent)? The built-in commands $\liminf$ and $\limsup$ do not work properly with LucidaOT (I tried other fonts and there they are fine): \startformula x_{n} := (-1)^n, \quad\mbox

Re: [NTG-context] Missing symb-imp-was.mkiv ?

2021-07-10 Thread Hans Hagen
definesymbol [leftturn][\WaldiSymbol{34}] % \definesymbol [rightturn] [\WaldiSymbol{33}] % \definesymbol [diameter][\WaldiSymbol{31}] % \definesymbol [invdiameter] [\WaldiSymbol{21}] % additional % \definesymbol [therefore] [\WaldiSymbol {5}] % \definesymbol [AC] [\mbox{

Re: [NTG-context] \blank space at the top of a page

2020-06-18 Thread James Withers
Many thanks Wolfgang I tried using force but that caused a problem with aligning to the grid, not included in my original example, but included below. I think I have seen \mbox used in this way in Latex, so was trying to find a quick solution. James \setuplayout[grid=yes] \showgrid

Re: [NTG-context] \blank space at the top of a page

2020-06-18 Thread Wolfgang Schuster
James Withers schrieb am 18.06.2020 um 17:35: Hello list I have been trying to find a solution to how to insert blank lines before a chapter heading at the start of a page. In the following example the \blank[4*big] is ignored. The solution I've found is to add an empty box using \mbox{} before

[NTG-context] \blank space at the top of a page

2020-06-18 Thread James Withers
Hello list I have been trying to find a solution to how to insert blank lines before a chapter heading at the start of a page. In the following example the \blank[4*big] is ignored. The solution I've found is to add an empty box using \mbox{} before the \blank command. Is this the right way

Re: [NTG-context] Multi-letter words/identifiers in math

2019-09-30 Thread Hans Hagen
) to better merge with the formula. The way I am currently doing is to introduce some “math text fonts” that is different from the main text font but close to the math font. And with custom font switchers like |\mwrm| and |\mwit| to help me define things like | \def\wordrm#1{\mbox{\mwrm #1}} \def

[NTG-context] Multi-letter words/identifiers in math

2019-09-29 Thread Shuxian Wang
am currently doing is to introduce some “math text fonts” that is different from the main text font but close to the math font. And with custom font switchers like `\mwrm` and `\mwit` to help me define things like ``` \def\wordrm#1{\mbox{\mwrm #1}} \def\wordit#1{\mbox{\mwit #1}} ``` Am I missing

Re: [NTG-context] placing content in footers

2019-05-12 Thread Alan Braslau
On Sun, 12 May 2019 18:19:54 +0200 Pablo Rodriguez wrote: > >> \mbox{}\page\mbox{} > > > > Where did you learn to use \mbox? > > I don’t remember (probably in my LaTeX times, before moving to > ConTeXt). The use of \mbox{} is a

Re: [NTG-context] placing content in footers

2019-05-12 Thread Pablo Rodriguez
On 5/11/19 8:26 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 11.05.2019 um 16:35: >> [...] >> \mbox{}\page\mbox{} > > Where did you learn to use \mbox? I don’t remember (probably in my LaTeX times, before moving to ConTeXt). I know that you don’t like

Re: [NTG-context] placing content in footers

2019-05-12 Thread Henning Hraban Ramm
zed] >> \setupfootertexts >> [even-right] >> [even-left] >> [odd-right] >> [odd-left] >> %~ [even-middle] >> %~ [odd-middle] >> \starttext >> \mbox{}\page\mbox{} >> \stoptext >&

Re: [NTG-context] placing content in footers

2019-05-11 Thread Wolfgang Schuster
] %~ [even-middle] %~ [odd-middle] \starttext \mbox{}\page\mbox{} \stoptext Where did you learn to use \mbox? Is there any way to place content in the middle of doublesided footers, besides left and right contents? \setuppagenumbering   [alternative=doublesided

Re: [NTG-context] placing content in footers

2019-05-11 Thread Henning Hraban Ramm
[odd-right] >[odd-left] >%~ [even-middle] >%~ [odd-middle] >\starttext >\mbox{}\page\mbox{} >\stoptext > > Is there any way to place content in the middle of doublesided footers, > besides left and right contents? \setuppagenumbering[al

[NTG-context] placing content in footers

2019-05-11 Thread Pablo Rodriguez
\mbox{}\page\mbox{} \stoptext Is there any way to place content in the middle of doublesided footers, besides left and right contents? Many thanks for your help, Pablo -- http://www.ousia.tk ___ If your question

Re: [NTG-context] Formulas in TABLE with character alignment

2018-10-09 Thread Hans Hagen
the first \bTR line. With the first line the result is strange. I need some way to protect the words in the header, putting them in an \mbox didn’t help. \starttext { \setupTABLE[row][each][frame=off] \setupTABLE[c][1][width=0.1\textwidth] \setupTABLE[c][2][width=0.1\textwidth,alignmentcharacter

[NTG-context] Formulas in TABLE with character alignment

2018-10-09 Thread Axel Kielhorn
is strange. I need some way to protect the words in the header, putting them in an \mbox didn’t help. \starttext { \setupTABLE[row][each][frame=off] \setupTABLE[c][1][width=0.1\textwidth] \setupTABLE[c][2][width=0.1\textwidth,alignmentcharacter={,},aligncharacter=yes,align=middle] \setupTABLE[c

[NTG-context] issue with balanced columns

2018-07-15 Thread Pablo Rodriguez
\mbox{} \index{ἀδελφός, ὁ: brother} \index{ἀδικίη, ἡ: wrongdoing, injustice} \index{ἀκρόησις, –ιος, ἡ: hearing, listening} \index{ἄνευ: without (\char43\ gen.)} \index{ἄρρην, –εν: male} \index{γένος, –εος, τό: race, family} \index{δήλησις, –ιος, ἡ: ruin, bane} \index

Re: [NTG-context] text in mathematics

2018-07-10 Thread Hans Åberg
that if the above formula appears in an environment >>>> such as a Theorem (where the text is typeset in italic, or slanted) the >>>> text in the above \mbox will be also in italic or slanted. >>> >>> Math displayed formula text inheriting the style of the text appears in

Re: [NTG-context] text in mathematics

2018-07-09 Thread Hans Åberg
ext is typeset in italic, or slanted) the >>> text in the above \mbox will be also in italic or slanted. >> >> Math displayed formula text inheriting the style of the text appears in two >> books from first published in 1966 and 1980 that I checked. >> &g

Re: [NTG-context] text in mathematics

2018-07-09 Thread Aditya Mahajan
On Mon, 9 Jul 2018, Hans Åberg wrote: On 8 Jul 2018, at 23:00, Otared Kavian wrote: The advantage being that if the above formula appears in an environment such as a Theorem (where the text is typeset in italic, or slanted) the text in the above \mbox will be also in italic or slanted

Re: [NTG-context] text in mathematics

2018-07-09 Thread Hans Åberg
> On 8 Jul 2018, at 23:00, Otared Kavian wrote: > > The advantage being that if the above formula appears in an environment such > as a Theorem (where the text is typeset in italic, or slanted) the text in > the above \mbox will be also in italic or slanted. Math display

Re: [NTG-context] text in mathematics

2018-07-09 Thread Wolfgang Schuster
an abundant need to include words (text) in mathematics, and using \mathtext{} or \mbox{} or whatever is unwieldy. Readable subscripts, self-explanatory variable names, etc. might be text and not symbols. These situations can be very common. This is why I asked (1) what is the right method, and (2

Re: [NTG-context] text in mathematics

2018-07-08 Thread Alan Braslau
In many "less-rigorous" uses of equations, there is an abundant need to include words (text) in mathematics, and using \mathtext{} or \mbox{} or whatever is unwieldy. Readable subscripts, self-explanatory variable names, etc. might be text and not symbols. These situations can be v

Re: [NTG-context] text in mathematics

2018-07-08 Thread Otared Kavian
Hi Alan, Wolfgang and Hans Åberg, As far as I am concerned, when I have to add a text to a math formula I use \mbox, as in the example \startformula A := \left\{f : {\Bbb R}^2 \longrightarrow {\Bbb R} \; ; \; f \mbox{ is measurable and } \int_{{\Bbb R}^2}|f(x)|dx < \infty \ri

Re: [NTG-context] Numbered, counted snippets in running text

2018-05-20 Thread Idris Samawi Hamid ادريس سماوي حامد
at's desired. However, is there a cleaner, more ConTeXt-like way to do this? === \newcount \MQT \MQT=1 \define[1]\NUM{% \framed[offset=overlay,frame=off,background=color,backgroundcolor=green] {\starttabulate[|c|] \NC \mbox{\the\MQT} \NR \NC #1 \NR \stoptabulate}% \advance\MQT by 1 \hbox{}} \

Re: [NTG-context] Numbered, counted snippets in running text

2018-05-20 Thread Wolfgang Schuster
offset=overlay,frame=off,background=color,backgroundcolor=green] {\starttabulate[|c|] \NC \mbox{\the\MQT} \NR \NC #1 \NR \stoptabulate}% \advance\MQT by 1 \hbox{}} \startTEXpage \dorecurse{5}{Unnumbered Text \NUM{Numbered Text} } \stopTEXpage === See attached. Thanks in advance for any sugge

Re: [NTG-context] Numbered, counted snippets in running text

2018-05-19 Thread Idris Samawi Hamid ادريس سماوي حامد
to do this? === \newcount \MQT \MQT=1 \define[1]\NUM{% \framed[offset=overlay,frame=off,background=color,backgroundcolor=green] {\starttabulate[|c|] \NC \mbox{\the\MQT} \NR \NC #1 \NR \stoptabulate}% \advance\MQT by 1 \hbox{}} \startTEXpage \dorecurse{5}{Unnumbered Text \NUM{Numbered Text} } \stopT

Re: [NTG-context] Conversion of \newcounts

2018-05-19 Thread Idris Samawi Hamid ادريس سماوي حامد
uot;). Let us consider the same macro: === \newcount \MQT \MQT=1 \define[1]\NUM{% \framed[offset=overlay,frame=off,background=color,backgroundcolor=green] {\starttabulate[|c|] \NC \mbox{\the\MQT} \NR \NC #1 \NR \stoptabulate}% \advance\MQT by 1 \hbox{}} \startTEXpage \dorecurse{5}{Unnumbered T

Re: [NTG-context] Numbered, counted snippets in running text

2018-05-19 Thread Henri Menke
{% > \framed[offset=overlay,frame=off,background=color,backgroundcolor=green] > {\starttabulate[|c|] > \NC \mbox{\the\MQT} \NR > \NC #1 \NR > \stoptabulate}% > \advance\MQT by 1 > \hbox{}} > > \startTEXpage > \dorecurse{5}{Unnumbered Text \NUM{Numbered Text} } > \stopTEX

Re: [NTG-context] Conversion of \newcounts

2018-05-19 Thread Wolfgang Schuster
verlay,frame=off,background=color,backgroundcolor=green] {\starttabulate[|c|] \NC \mbox{\the\MQT} \NR \NC #1 \NR \stoptabulate}% \advance\MQT by 1 \hbox{}} \startTEXpage \dorecurse{5}{Unnumbered Text \NUM{Numbered Text} } \stopTEXpage === How can one make a conversion of the numerals output

[NTG-context] Conversion of \newcounts

2018-05-19 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Related to the last thread ("Numbered, counted snippets in running text"). Let us consider the same macro: === \newcount \MQT \MQT=1 \define[1]\NUM{% \framed[offset=overlay,frame=off,background=color,backgroundcolor=green] {\starttabulate[|c|] \NC \mbox{\the\MQT}

[NTG-context] Numbered, counted snippets in running text

2018-05-19 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Just put together a macro that appears to do what's desired. However, is there a cleaner, more ConTeXt-like way to do this? === \newcount \MQT \MQT=1 \define[1]\NUM{% \framed[offset=overlay,frame=off,background=color,backgroundcolor=green] {\starttabulate[|c|] \NC \mbox

[NTG-context] issues with \typesetbuffer

2018-04-18 Thread Pablo Rodriguez
] \setupinteractionscreen[option=paper, copies=5] \startbuffer[a] \showframe \setuppapersize[A5] \setuppagenumbering[location=] \setuplayout[width=middle] \starttext \mbox{}\vfill \startalign[middle] \dontleavehmode \framedtext[width=10cm

Re: [NTG-context] Problem with math alignment

2017-11-12 Thread Otared Kavian
\NC = 0 \NC \quad\mbox{in }\;(0,T)\times\Omega \NR \NC u(0,x) \NC = 0 \NC \quad \mbox{in }\; \Omega \NR \NC \partial_{t} u(0,x) \NC = 0 \NC \quad \mbox{in }\; \Omega \NR \NC {\partial u \over\partial{\bf n} } \NC = g(t,\sigma) \NC \quad \mbox{on }\; (0,T)\times\partial\Omega. \NR

Re: [NTG-context] Problem with math alignment

2017-11-12 Thread Weber, Matthias
ight.}, > style=\displaystyle] > > > \starttext > > \startformula > \startalignedcases > \NC \partial_{tt} u - \Delta u + q(x) u \NC = 0 \NC \quad\mbox{in > }\;(0,T)\times\Omega \NR > \NC u(0,x) \NC = 0 \NC \quad \mbox{in }\; \Omega \NR > \NC \partial_{t

[NTG-context] Problem with math alignment

2017-11-12 Thread Otared Kavian
\quad\mbox{in }\;(0,T)\times\Omega \NR \NC u(0,x) \NC = 0 \NC \quad \mbox{in }\; \Omega \NR \NC \partial_{t} u(0,x) \NC = 0 \NC \quad \mbox{in }\; \Omega \NR \NC {\partial u \over\partial{\bf n} } \NC = g(t,\sigma) \NC \quad \mbox{on }\; (0,T)\times\partial\Omega. \NR \stopalignedcases

Re: [NTG-context] Vertical space around displayed formulas

2017-01-18 Thread Otared Kavian
what is wrong: please have a look at the second formula in the attached PDF. (The output with the older version from TeXLIve 2016 is correct). %% begin vertical-space-bug.tex \starttext \input knuth.tex \startformula a \leq a_{n+1} \leq a_{n} \leq b_{n+1} \leq b_{n} \leq b, \qquad\mbox{et}\qquad 0

Re: [NTG-context] Bug in placeformula with framed text

2016-07-05 Thread Otared Kavian
command, the result is correct. Best regards: OK %%% begin bug-placeformula-align.tex \definemathalignment[Lgather][n=1,align=left] \starttext \setupformulas[location=left] \placeformula \startformula \startLgather \NC a_{n} = O(1)\; \mbox{ and }\; u_{n} = O(1) \imply a_{n} + \lambda u_{n

[NTG-context] Bug in placeformula with framed text

2016-07-04 Thread Otared Kavian
elementary properties of Landau notations} Let $(a_{n})_{n}$ and $(b_{n})_{n}$, as well as $(u_{n})_{n}$ and $(v_{n})_{n}$, be sequences of complex numbers. Then: \placeformula \startformula \startLgather \NC a_{n} = O(1)\; \mbox{ and }\; u_{n} = O(1) \imply a_{n} + \lambda u_{n} = O(1) \NR[eq:O-ev

Re: [NTG-context] Strange result with formulaframed

2016-06-22 Thread Hans Hagen
[option=frame,color=blue] \starttext \startplaceformula \startformula f(x) := \left\{ \startalign \NC = -1\NC\quad \mbox{if }\, x < 0 \NR \NC = +1\NC\quad \mbox{if }\, x > 0 \NR \stopalign\right. \stopformula \stopplaceformula \stoptext % end framed-frormula.tex it's not r

[NTG-context] Strange result with formulaframed

2016-06-22 Thread Otared Kavian
Aditya was asking? % begin framed-frormula.tex \setupformulaframed[framecolor=red,frame=on,offset=1ex] \setupformula[option=frame,color=blue] \starttext \startplaceformula \startformula f(x) := \left\{ \startalign \NC = -1\NC\quad \mbox{if }\, x < 0 \NR \NC = +1\NC\quad \mbox{if }\

Re: [NTG-context] Automatic negative tracking to prevent slight overfull hbox's

2016-01-17 Thread Hans Hagen
длинный-предлинный текст, \mbox{в~коем}} никак нельзя перенести строку. Запрещено { \kerncharacters[-0.008] разрывать телефонные номера, например, \mbox{(000)1234-5678}}, многозначные числа и дефисные написания. \stoptext Is the a way for automating such negative tracking? I seem to remember

Re: [NTG-context] Automatic negative tracking to prevent slight overfull hbox's

2016-01-16 Thread Aditya Mahajan
[default][default][protrusion=quality,expansion=quality] \definetypeface[mainface][rm][specserif][Linux Libertine O] [default] \setupbodyfont[mainface,14pt] \mainlanguage[russian] \setupindenting[yes,medium,first] \starttext {\kerncharacters[-0.018] Здесь будет длинный-предлинный текст, \mbox{в~коем

[NTG-context] Automatic negative tracking to prevent slight overfull hbox's

2016-01-14 Thread Alexander Dyomin
=quality] \definetypeface[mainface][rm][specserif][Linux Libertine O] [default] \setupbodyfont[mainface,14pt] \mainlanguage[russian] \setupindenting[yes,medium,first] \starttext {\kerncharacters[-0.018] Здесь будет длинный-предлинный текст, \mbox{в~коем}} никак нельзя перенести строку. Запрещено

Re: [NTG-context] (announcement) from pandoc to ConTeXt

2015-07-09 Thread Wolfgang Schuster
by pandoc with ConTeXt MkIV. Here you have the websites: http://www.from-pandoc-to-context.tk https://github.com/ousia/from-pandoc-to-context Just a few comments on your code. 1. When you use \vfill at the begin of a makeup environment you don’t need \mbox and a ConTeXt user would use \dontleavehmode

Re: [NTG-context] issue with image in an xtable

2015-04-20 Thread Hans Hagen
On 4/20/2015 5:34 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setupexternalfigures[location=default] \starttext \startxtable[option=stretch] \startxrow \startxcell First line left\stopxcell \startxcell\mbox{}\stopxcell

[NTG-context] issue with image in an xtable

2015-04-20 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupexternalfigures[location=default] \starttext \startxtable[option=stretch] \startxrow \startxcell First line left\stopxcell \startxcell\mbox{}\stopxcell \startxcell First line right\stopxcell

Re: [NTG-context] issue with image in an xtable

2015-04-20 Thread Pierre Bovet
. 2015 à 17:34, Pablo Rodriguez oi...@gmx.es a écrit : Dear list, I have the following sample: \setupexternalfigures[location=default] \starttext \startxtable[option=stretch] \startxrow \startxcell First line left\stopxcell \startxcell\mbox

Re: [NTG-context] issue with image in an xtable

2015-04-20 Thread Hans Hagen
On 4/20/2015 5:34 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setupexternalfigures[location=default] \starttext \startxtable[option=stretch] \startxrow \startxcell First line left\stopxcell \startxcell\mbox{}\stopxcell

Re: [NTG-context] issue with image in an xtable

2015-04-20 Thread Pablo Rodriguez
On 04/20/2015 06:22 PM, Hans Hagen wrote: On 4/20/2015 5:34 PM, Pablo Rodriguez wrote: [...] If the image is higher than the two rows it is meant to have, the first two rows get extra height. Is this a bug or am I missing something? i don't know (yet) but these \mbox{} things look alien

Re: [NTG-context] issue with image in an xtable

2015-04-20 Thread Pablo Rodriguez
: Dear list, I have the following sample: \setupexternalfigures[location=default] \starttext \startxtable[option=stretch] \startxrow \startxcell First line left\stopxcell \startxcell\mbox{}\stopxcell \startxcell First line right\stopxcell

[NTG-context] Writing between lines

2015-04-13 Thread Otared Kavian
Hi all, How can one write in small print something between lines, in an efficient manner? I have come up with the following: \define[1]\betweenlines{${\rlap{{\mbox{\darkgray{\infofont #1}}}\atop{}}\atop{}}$} in order to make visible certain informations just above a cited reference

Re: [NTG-context] Writing between lines

2015-04-13 Thread Hans Hagen
On 4/13/2015 10:00 AM, Otared Kavian wrote: Hi all, How can one write in small print something between lines, in an efficient manner? I have come up with the following: \define[1]\betweenlines{${\rlap{{\mbox{\darkgray{\infofont #1}}}\atop{}}\atop{}}$} in order to make visible certain

[NTG-context] setup different layouts in merged documents

2015-02-17 Thread Pablo Rodriguez
[FirstLayer][state=start] \setlayer[FirstLayer]{First page} \definelayer[OtherLayer][state=continue] \setlayer[OtherLayer]{Other pages} \setupbackgrounds[page][background={FirstLayer,OtherLayer}] %~ \mbox{}\blank[75mm] \dorecurse{17}{\input zapf\par} \cA\hfill \cB \page \stopbuffer \opencsvfile

Re: [NTG-context] setup different layouts in merged documents

2015-02-17 Thread Wolfgang Schuster
] \usemodule[scancsv] \starttext \startbuffer[text-content] \definelayer[FirstLayer][state=start] \setlayer[FirstLayer]{First page} \definelayer[OtherLayer][state=continue] \setlayer[OtherLayer]{Other pages} \setupbackgrounds[page][background={FirstLayer,OtherLayer}] %~ \mbox{}\blank[75mm

Re: [NTG-context] setup different layouts in merged documents

2015-02-17 Thread Pablo Rodriguez
] \usemodule[scancsv] \starttext \startbuffer[text-content] \definelayer[FirstLayer][state=start] \setlayer[FirstLayer]{First page} \definelayer[OtherLayer][state=continue] \setlayer[OtherLayer]{Other pages} \setupbackgrounds[page][background={FirstLayer,OtherLayer}] %~ \mbox{}\blank[75mm

Re: [NTG-context] enumeration of equations containing \mathcases

2015-02-10 Thread Otared Kavian
\{}, right={\right.}, style=\displaystyle] \starttext bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla \placeformula \startformula K_1 \rightarrow \startalignedcases \NC f \NC \mbox{ for }\, f \ll PS

Re: [NTG-context] enumeration of equations containing \mathcases

2015-02-10 Thread j. van den hoff
\startformula K_1 \rightarrow \startalignedcases \NC f \NC \mbox{ for }\, f \ll PS, \quad\mbox{(flow limited transport)} \NR \NC PS \NC \mbox{ for }\, f \gg PS,\quad \mbox{(diffusion limited transport)} \NR \stopalignedcases \stopformula bla bla bla bla bla bla bla bla bla

Re: [NTG-context] Appendix Page Numbering

2014-02-14 Thread Troy Henderson
}]\stopchapter \dorecurse{2}{\mbox{}\page} \setupuserpagenumber[viewerprefix=titlepage] \startstandardmakeup \startchapter[title={Title Page}] \stopchapter \stopstandardmakeup \setupuserpagenumber[viewerprefix=p ] \stopfrontmatter

Re: [NTG-context] Appendix Page Numbering

2014-02-14 Thread Wolfgang Schuster
installation because the viewerprefix key was added yesterday. \dorecurse{2}{\mbox{}\page} \dorecurse{2}{\dontleavehmode\page} Wolfgang___ If your question is of interest to others as well, please add an entry

[NTG-context] Bug in maths prime (derivative)

2013-09-16 Thread Otared Kavian
{\Bbb Z}$ then we denote \startformula f'_{n}(x) := \lim_{h\to 0}{f_{n}(x + h) - f_{n}(x) \over h}\qquad\mbox{and}\quad u^k_{n} := u_{n}(k) \stopformula \stopbuffer \getbuffer[math] \switchtobodyfont[times] \getbuffer[math] \switchtobodyfont[palatino] \getbuffer[math] \stoptext end

[NTG-context] About Hyphenation

2013-07-23 Thread Andres Conrado Montoya
of avoiding 2 or more hyphens on a row AND hyphens at the end of a page? 2. If is not, and it seems that is not (see http://latex-community.org/know-how/latex/55-latex-general/475-e-tex#line-breaking) how do you manage? Do you just let hyphens be? Do you avoid hyphens using \unhyphenated or \mbox

Re: [NTG-context] Suppress a Single Chapter from ToC

2013-01-27 Thread Troy Henderson
of contents. Currently, I'm (badly) faking it by \startchapter[title={Title Page},list={\mbox{}}] ... \stopchapter \startchapter[title={Table of Contents},list={\mbox{}}] ... \placecontent[criterium=all] \stopchapter This does create bookmarks for both pages, but it creates a very narrow

Re: [NTG-context] two questions for the simplest slides

2012-07-22 Thread Pablo Rodríguez
: \setupalign[middle] \definestartstop[slide][before=\page\mbox{}\vfill\mbox{},after=\vfill\vfill] Thanks again for your help, Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well

Re: [NTG-context] What’s your favorite command?

2012-01-31 Thread Alan Braslau
. Wolfgang Not quite the same as \null: \def\null {\hbox{}} My (LaTeX) code used to always be riddled with \mbox{} (somehow, I got into the habit of using this rather than \hbox{}) But this is not my favorite. Believe it or not, I quite often make the error of typing '\startext'. (Hans, don't think

Re: [NTG-context] beta

2012-01-24 Thread Otared Kavian
: \placeformula[eq:Euler] \startformula {\rm e}^{{\rm i}\pi} + 1 = 0, \qquad \mbox{where}\; {\rm i} := \sqrt{-1}. \stopformula By the way, $\int_{0}^{2\pi} \sin(x)dx = 0$. \stoptext and the error message, concerning \placeformula, points to: argument \doconvertedstructurecounter

[NTG-context] sectioning command with no title

2012-01-22 Thread Pablo Rodríguez
Hi there, I'm trying to get the opposite command to title, that is, numbering with no text. What would it be the best command? I thought \section{~} or \section{\mbox} could do the job, but I wonder whether they might add something that would prevent perfect [align=center] in the title. Thanks

[NTG-context] issue with \setuplabeltext

2012-01-22 Thread Pablo Rodríguez
Hi there, I have the following sample code: \mainlanguage[agr] \usemodule[simplefonts][size=11pt] \setmainfont[Theano Didot] \setuplabeltext[chapter=Ῥαψωδία~] \setuphead[chapter][align=center] \starttext \completecontent \chapter{\mbox{}} \startlines Μῆνιν

Re: [NTG-context] sectioning command with no title

2012-01-22 Thread Wolfgang Schuster
Am 22.01.2012 um 20:39 schrieb Pablo Rodríguez: Hi there, I'm trying to get the opposite command to title, that is, numbering with no text. What would it be the best command? I thought \section{~} or \section{\mbox} could do the job, but I wonder whether they might add something

Re: [NTG-context] sectioning command with no title

2012-01-22 Thread Pablo Rodríguez
On 01/22/2012 08:57 PM, Wolfgang Schuster wrote: Am 22.01.2012 um 20:39 schrieb Pablo Rodríguez: Hi there, I'm trying to get the opposite command to title, that is, numbering with no text. What would it be the best command? I thought \section{~} or \section{\mbox} could do the job

Re: [NTG-context] Math align in mkiv

2011-12-07 Thread Paul Menzel
\mbox{in }\, (0,\infty)\times \Omega \NR \NC \psi (0,x) \NC= \psi_0(x) \NC \quad \mbox{in }\, \Omega \NR \NC \psi (t,\sigma ) \NC= 0 \NC \quad \mbox{on }\, (0,\infty)\times \partial\Omega \NR \NC {\partial \psi \over \partial {\bf n}}(t,\sigma ) \NC = 0 \NC \quad \mbox{on }\, (0,\infty)\times

Re: [NTG-context] Math align in mkiv

2011-12-07 Thread Hans Hagen
\NC -\partial_t \Delta \psi + \Delta^2 \psi - \Delta \psi \NC = 0 \NC \quad \mbox{in }\, (0,\infty)\times \Omega \NR \NC \psi (0,x) \NC= \psi_0(x) \NC \quad \mbox{in }\, \Omega \NR \NC \psi (t,\sigma ) \NC= 0 \NC \quad \mbox{on }\, (0,\infty)\times \partial\Omega \NR \NC {\partial \psi \over

[NTG-context] Math align in mkiv

2011-12-06 Thread Otared Kavian
\startformula \startalignedcases \NC -\partial_t \Delta \psi + \Delta^2 \psi - \Delta \psi \NC = 0 \NC \quad \mbox{in }\, (0,\infty)\times \Omega \NR \NC \psi (0,x) \NC= \psi_0(x) \NC \quad \mbox{in }\, \Omega \NR \NC \psi (t,\sigma ) \NC= 0 \NC \quad \mbox{on }\, (0,\infty)\times \partial\Omega \NR

Re: [NTG-context] Math align in mk

2011-12-06 Thread Jeong Dalyoung
\quad \mbox{in }\, (0,\infty)\times \Omega \NR \NC \psi (0,x) \NC= \psi_0(x) \NC \quad \mbox{in }\, \Omega \NR \NC \psi (t,\sigma ) \NC= 0 \NC \quad \mbox{on }\, (0,\infty)\times \partial\Omega \NR \NC {\partial \psi \over \partial {\bf n}}(t,\sigma ) \NC = 0 \NC \quad \mbox{on }\, (0

Re: [NTG-context] Math align in mkiv

2011-12-06 Thread Otared Kavian
\mbox{in }\, (0,\infty)\times \Omega \NR \NC \psi (0,x) \NC= \psi_0(x) \NC \quad \mbox{in }\, \Omega \NR \NC \psi (t,\sigma ) \NC= 0 \NC \quad \mbox{on }\, (0,\infty)\times \partial\Omega \NR \NC {\partial \psi \over \partial {\bf n}}(t,\sigma ) \NC = 0 \NC \quad \mbox{on }\, (0,\infty

[NTG-context] OT: Replying to messages from archive (was: Lua script not registered)

2011-12-03 Thread Paul Menzel
to the list like you are used to and the threading is kept. To get the reference you can also download the archive as a mbox file [3] and get the reference there or configure the correct message headers (In-Reply-To, References). Thanks, Paul [1] http://www.ntg.nl/mailman/listinfo/ntg-context [2

[NTG-context] [punknova][PATCH] README.md: Fix typos

2011-08-17 Thread Paul Menzel
Date: Wed, 17 Aug 2011 12:41:03 +0200 1. No dots are used for »et al« according to Merriam Webster [1]. 2. Use capitalization consitently. [1] http://www.merriam-webster.com/dictionary/et%20al --- You can apply this patch saving this message as an mbox file and using `git am savedfilename.mbox

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

2011-04-30 Thread Paul Menzel
= = α b c d Please find `rest.log` attached. I also include a patch adding this example into `tests/` in [1]. Thanks. I added it to the test suite. You can save the mbox file and use `git am path/to/mbox

[NTG-context] Bug in mkiv with Times?

2010-11-02 Thread Otared Kavian
The expansion of $u\in L^2(0,\pi)$ in the base $(\varphi_{k})_{k\geq1}$ is defined as \startformula u = \sum_{k\geq1} c_{k}(u) \phi_{k}, \qquad \mbox{where } c_{k}(u) := \int_{0}^\pi u(x)\varphi_{k}(x) dx, \stopformula \stoptext end bug-times.tex As far as I can say, this didn't happen before

Re: [NTG-context] Bug in mkiv with Times?

2010-11-02 Thread Hans Hagen
] \setupbodyfont[times,12pt] \starttext The expansion of $u\in L^2(0,\pi)$ in the base $(\varphi_{k})_{k\geq1}$ is defined as \startformula u = \sum_{k\geq1} c_{k}(u) \phi_{k}, \qquad \mbox{where } c_{k}(u) := \int_{0}^\pi u(x)\varphi_{k}(x) dx, \stopformula \stoptext end bug-times.tex As far

[NTG-context] New beta 2010-09-22 and xits fonts

2010-09-22 Thread Otared Kavian
MKIV fmt: 2010.9.22 int: english/english, on Mac OS X 10.6.3): Best regards: OK %%% begin bug-xits-sqrt.tex \setupbodyfont[xits] \starttext Note that $\int_{0}^{2\pi} \sin(x)dx = 0$, while \startformula \int_{0}^{2\pi} \sin^2(x)dx = \pi \qquad \mbox{and}\qquad \sqrt{4}= 2. \stopformula

Re: [NTG-context] New beta 2010-09-22 and xits fonts

2010-09-22 Thread Hans Hagen
On 22-9-2010 2:06, Otared Kavian wrote: \setupbodyfont[xits] \starttext Note that $\int_{0}^{2\pi} \sin(x)dx = 0$, while \startformula \int_{0}^{2\pi} \sin^2(x)dx = \pi \qquad \mbox{and}\qquad \sqrt{4}= 2. \stopformula \stoptext Afaik nothing was changed so I'll wait for Taco's comments

[NTG-context] horizontal alignment

2010-07-08 Thread Michael Goerz
into an \mbox to avoid a line break. As an example: \startlines here we now see you ~~ already in grief as you see ~~ yourselves ~~ as the last of the lasts we are mirrors of your consciousness \mbox{\phantom{we are mirrors of your consciousness} as you see the end} and you see

Re: [NTG-context] Omitting hyphenation

2010-06-22 Thread Marco
On Mon, 21 Jun 2010 20:03:22 +0200, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: [...] \starttext \dontleavehmode\hbox{test} text text \blank \mbox{test} text text \stoptext What about using |test|? Marco

Re: [NTG-context] Omitting hyphenation

2010-06-22 Thread Hans Hagen
On 21-6-2010 10:16, Wolfgang Schuster wrote: \unexpanded\def\mbox {\ifmmode\normalmbox\else\dontleavehmode\normalhbox\fi} as i never use this command it won't break my documents -) thanks, this looks good in retrospect it's tricky ... \setbox0\mbox{...} will break

Re: [NTG-context] Omitting hyphenation

2010-06-21 Thread Wolfgang Schuster
*not* be hyphenated and broken? Try \hbox{word} (AFAIR, this is a plain TeX command) If you want a context command then use \mbox ;) Wolfgang ___ If your question is of interest to others as well, please add

Re: [NTG-context] Omitting hyphenation

2010-06-21 Thread Matija Šuklje
Dne ponedeljek 21. junija 2010 ob 19:47:08 je Wolfgang Schuster napisal(a): Am 21.06.10 18:53, schrieb Yury G. Kudryashov: Try \hbox{word} (AFAIR, this is a plain TeX command) If you want a context command then use \mbox ;) Is there any practical difference? Cheers, Matija -- gsm: +386 41

Re: [NTG-context] Omitting hyphenation

2010-06-21 Thread Wolfgang Schuster
Am 21.06.10 19:50, schrieb Matija Šuklje: Dne ponedeljek 21. junija 2010 ob 19:47:08 je Wolfgang Schuster napisal(a): Am 21.06.10 18:53, schrieb Yury G. Kudryashov: Try \hbox{word} (AFAIR, this is a plain TeX command) If you want a context command then use \mbox

Re: [NTG-context] Omitting hyphenation

2010-06-21 Thread Hans Hagen
then use \mbox ;) Is there any practical difference? No but i wish there is one, e.g. the following example shows a problem with \hbox. \starttext \hbox{test} text text \blank \dontleavehmode\hbox{test} text text \stoptext As you can see in the output the first 'test' starts 'text text

Re: [NTG-context] Omitting hyphenation

2010-06-21 Thread Wolfgang Schuster
command) If you want a context command then use \mbox ;) Is there any practical difference? No but i wish there is one, e.g. the following example shows a problem with \hbox. \starttext \hbox{test} text text \blank \dontleavehmode\hbox{test} text text \stoptext As you can see in the output

Re: [NTG-context] Aligning text to bottom of page

2010-04-11 Thread Mikael Persson
something like \page[yes] \mbox{} \vfill This is aligned at bottom. \page[yes] /Mikael ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] bibtex problems

2010-03-10 Thread Fernan Aguero
. In my texlive distribution (Ubuntu) it is located in /usr/share/texmf-texlive/bibtex/bib/base/xampl.bib This is the corresponding entry: @ARTICLE{article-full, author = {L[eslie] A. Aamport}, title = {The Gnats and Gnus Document Preparation System}, journal = {\mbox{G-Animal's} Journal

Re: [NTG-context] About \version[temporary]

2009-12-04 Thread Otared Kavian
= \lambda_{m}\phi_{m} \NC \quad\mbox{in }\, \Omega \NR[eq:Eigen] \NC - \Delta V \NC = \sum_{m=1}^{\infty}\rho_{m}|\phi_{m}|^2 \NC \quad\mbox{in }\, \Omega \NR[eq:Potential] \stopalign \stopformula Our main result is the following: \startproclaim[lem:MainThm]{Theorem} \showlemref{MainThm

Re: [NTG-context] local footnote (Tables) problem

2009-11-23 Thread Bowen Alan C.
\stoptabulate \stopframedtext} {\footnotetext[a]{A local footnote.} \footnotetext[b]{Another local footnote.} \hskip2pc\mbox{\placelocalfootnotes} } \stoplocalfootnotes} \stop \stoptext On Nov 23, 2009, at 02;51,46 , Wolfgang Schuster wrote: Am 23.11.2009 um 08:49 schrieb Taco

Re: [NTG-context] local footnote (Tables) problem

2009-11-23 Thread Bowen Alan C .
} {\footnotetext[a]{A local footnote.} \footnotetext[b]{Another local footnote.} \hskip2pc\mbox{\placelocalfootnotes}} \stoplocalfootnotes} \stop \stoptext On Nov 23, 2009, at 02;51,46 , Wolfgang Schuster wrote: Am 23.11.2009 um 08:49 schrieb Taco Hoekwater: it seems that TaBlE does

Re: [NTG-context] local footnote (Tables) problem

2009-11-23 Thread Bowen Alan C .
\stoptabulate \stopframedtext} {\footnotetext[a]{A local footnote.} \footnotetext[b]{Another local footnote.} \hskip2pc\mbox{\placelocalfootnotes} } \stoplocalfootnotes} \stop \stoptext On Nov 23, 2009, at 02;51,46 , Wolfgang Schuster wrote: Am 23.11.2009 um 08:49 schrieb Taco Hoekwater

[NTG-context] Fwd: local footnote (Tables) problem

2009-11-23 Thread Bowen Alan C.
\NC \NC\AR \NC \NC \input knuth \NC\AR \NC \input knuth\NC \NC\AR \stoptabulate \stopframedtext} {\footnotetext[a]{A local footnote.} \footnotetext[b]{Another local footnote.} \hskip2pc\mbox

Re: [NTG-context] local footnote (Tables) problem

2009-11-21 Thread Bowen Alan C.
\AR \NC \NC \input knuth \NC\AR \NC \input knuth\NC \NC\AR \stoptable \stopframedtext} {\footnotetext[a]{A local footnote.} \footnotetext[b]{Another local footnote.} \hskip2pc\mbox{\placelocalfootnotes

  1   2   >