Re: [NTG-context] \listfigures in context..

2017-12-16 Thread Otared Kavian
Hi John, You are maybe looking for \placelist[figure] Best regards: OK > On 16 Dec 2017, at 18:13, John Culleton wrote: > > > Latex has a \llistfigures command. Does context have an equivalent command? > > John Culleton > >

Re: [NTG-context] synctex and TeXShop problem

2017-11-17 Thread Otared Kavian
typeset with ConTeXt version 2017.11.15 22:08 and TeXShop version 3.77, while the syncing does not work with versions 3.88 and 3.89. Best regards: OK > On 17 Nov 2017, at 14:31, luigi scarso <luigi.sca...@gmail.com> wrote: > > On Fri, Nov 17, 2017 at 2:27 PM, Otared Kavian &l

Re: [NTG-context] synctex and TeXShop problem

2017-11-17 Thread Otared Kavian
Hi Alan, A few weeks ago Steffen Wolfrum and myself reported the issue to Richard Koch who did some research and discovered the origin of the problem. He has written again the part of the code related to synctex and ConTeXt and will issue a new version where the problem is fixed. In the

Re: [NTG-context] Problem with math alignment

2017-11-13 Thread Otared Kavian
Dear Dalyoung, Thank you for having tested my example. Regarding what you are reporting in another thread about the weird behaviour of \overline in columns, I was traveling and could not test your file. Now I tested your example and I get the same result as you with the latest beta 2017.11.08

Re: [NTG-context] Problem with math alignment

2017-11-12 Thread Otared Kavian
t; \NC-1\NC1\NR > \stopmathmatrix > \stopformula > \stoptext > > Matthias > >> On Nov 12, 2017, at 11:37 AM, Otared Kavian <ota...@gmail.com> wrote: >> >> Hi everybody, >> >> Does anyone have noticed that the mathalignment ha

[NTG-context] Problem with math alignment

2017-11-12 Thread Otared Kavian
Hi everybody, Does anyone have noticed that the mathalignment has changed its behaviour recently? I think a bug has managed to enter the environment which handles the mathalignment, at least since a few weeks ago. I did not report it earlier because I was traveling and did not have a stable

Re: [NTG-context] Arbitrary tag of displayed formula

2017-11-08 Thread Otared Kavian
Hi Mikael, I learned the following from Aditya some time ago, on his website Random Determinism: maybe you can adapt it to your needs. \defineconversion[myset][\star,{\star\star},{\star\star\star}] \defineformula[star][numberconversion=myset] \starttext \placeformula \startstarformula a^4 +

Re: [NTG-context] size of footnote numbers

2017-09-30 Thread Otared Kavian
Hi Hraban, If you want to change the way the footnote number in the text is shown something like a variation of the following might help you (copying this from a solution given by Wolfgang S. a few years ago…): \define[1]\MyFootnotenoteCommand{\high{\bf{(#1)}}}

Re: [NTG-context] synctex, TeXShop and \input files

2017-09-29 Thread Otared Kavian
gt; wrote: > > On 9/28/2017 9:30 PM, Otared Kavian wrote: >>> On 28 Sep 2017, at 19:12, Hans Hagen <pra...@wxs.nl <mailto:pra...@wxs.nl>> >>> wrote: >>>> […] >>> files in the tex tree (styles and such) are not accessible (protected) as >>

Re: [NTG-context] synctex, TeXShop and \input files

2017-09-28 Thread Otared Kavian
> On 28 Sep 2017, at 19:12, Hans Hagen wrote: >> […] > files in the tex tree (styles and such) are not accessible (protected) as you > don't want them to get messed up Sure, but my problem is that I have a document with five or six chapters. Each chapter is included in files

[NTG-context] synctex, TeXShop and \input files

2017-09-28 Thread Otared Kavian
Hi all, Some time ago Hans added a new synctex command which seemed to work quite well: on a Mac running MacOS and TeXShop I could for instance click on a sentence in the PDF file produced by ConTeXt and the sentence was highlighted in the source file, even it were part of an \input file. For

[NTG-context] \definemathfence commands

2017-09-10 Thread Otared Kavian
Hi everyone, With the command \definemathfence it is possible to define for instance the following command \definemathfence[duality][angle][command=yes,factor=auto] so that $\duality{T,\phi}$ results in $\langle T,\phi \rangle$ and the \langle and \rangle are appropriately scaled when

Re: [NTG-context] mathalignment vs mathmatrix

2017-09-08 Thread Otared Kavian
Hi Henri, I think your code has a problem: the first one is that the definition of \Up and \Down is not understood when I compile your example, and then you introduce an empty mathmatrix which creates a difficulty too. Once I remove the definitions of \Up and \Dn the code is typeset (ConTeXt

Re: [NTG-context] Dangerous bend sign in mkiv

2017-08-31 Thread Otared Kavian
}. Best regrads: OK > On 31 Aug 2017, at 21:12, Hans Hagen <pra...@wxs.nl> wrote: > > On 8/31/2017 4:02 PM, Otared Kavian wrote: >> Hi, >> Is there a way to get the dangerous bend sign (which exists in the Donald >> Knuth’s manfnt) in mkiv? >> The followin

[NTG-context] Dangerous bend sign in mkiv

2017-08-31 Thread Otared Kavian
Hi, Is there a way to get the dangerous bend sign (which exists in the Donald Knuth’s manfnt) in mkiv? The following (given by one of our gurus and dating back to sevral years) works fine in mkii, but I don’t know how to translate it in mkiv… %%% begin dangerous-bend.tex \loadmapfile

Re: [NTG-context] How to put a circle on top of a character

2017-08-30 Thread Otared Kavian
gt; On 29 Aug 2017, at 23:28, Hans Hagen <pra...@wxs.nl> wrote: > > On 8/29/2017 9:56 PM, Otared Kavian wrote: >> Hi Hans, >> That’s wonderful! Indeed this is very handy and I’ll add it to the wiki. >> However, before doing so, I would like to ask how is it possible to ge

Re: [NTG-context] How to put a circle on top of a character

2017-08-30 Thread Otared Kavian
. Thanks again: OK > On 29 Aug 2017, at 23:28, Hans Hagen <pra...@wxs.nl> wrote: > > On 8/29/2017 9:56 PM, Otared Kavian wrote: >> Hi Hans, >> That’s wonderful! Indeed this is very handy and I’ll add it to the wiki. >> However, before doing so, I would like

Re: [NTG-context] How to put a circle on top of a character

2017-08-29 Thread Otared Kavian
s: OK interior-of-a-set.pdf Description: Adobe PDF document > On 29 Aug 2017, at 19:23, Hans Hagen <pra...@wxs.nl> wrote: > > On 8/29/2017 4:24 PM, Otared Kavian wrote: >> Thanks Aditya, >> Indeed the solution is already there in luatex-math.tex… >> one can just use $

Re: [NTG-context] How to put a circle on top of a character

2017-08-29 Thread Otared Kavian
Thanks Aditya, Indeed the solution is already there in luatex-math.tex… one can just use $\mathring{A}$ out of the box! I see why I love ConTeXt :-) Best regards: OK > On 29 Aug 2017, at 15:34, Aditya Mahajan <adit...@umich.edu> wrote: > > On Tue, 29 Aug 2017, Otared Kavian

[NTG-context] How to put a circle on top of a character

2017-08-29 Thread Otared Kavian
Hi, How can I put a small circle on top of a character in math mode (for the curious this is needed when one defines the interior of a set…). I tried the following, but the small circle is too far away from the character A. I am sure I had an ugly solution for this in plain TeX some years ago

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Otared Kavian
are using %macros = mkvi ? Best regards: OK > On 18 Aug 2017, at 17:54, Aditya Mahajan <adit...@umich.edu> wrote: > > On Fri, 18 Aug 2017, Otared Kavian wrote: > >> Hi Aditya, >> >> I tried to typeset your example, but got an error: whether or not the command

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Otared Kavian
Hi Aditya, I tried to typeset your example, but got an error: whether or not the command % macros=mkvi is present on the fist line, then ConTeXt complains saying that ! Illegal parameter number in definition of \MyHeader and stops typesetting pointing to the command

[NTG-context] Bug in startcombination

2017-08-14 Thread Otared Kavian
Hi Hans, It seems that in the latest ConTeXt beta a bug shows up when using \startcombination, or something has changed recently that I have overlooked. The following example typesets correctly in mkii, and used to produce a correct output with mkiv. However, now, with ConTeXt version

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-10 Thread Otared Kavian
I forgot to add that you can also use \setupfootertexts[Page \pagenumber\ sur\ \totalnumberofpages][] Best regards: OK > On 10 Aug 2017, at 11:43, Otared Kavian <ota...@gmail.com> wrote: > > Hi Fabrice, > > The following gives the desired result, as Hans pointed ou: >

Re: [NTG-context] How can I add “page # of ##” on my document ?

2017-08-10 Thread Otared Kavian
Hi Fabrice, The following gives the desired result, as Hans pointed ou: \setuppagenumbering[alternative=] \setupfootertexts[Page \pagenumber\ sur\ \lastpage][] \starttext \dorecurse{5}{\input knuth.tex \page} \stoptext Best regards: OK > On 10 Aug 2017, at 11:28, Fabrice Couvreur

Re: [NTG-context] mathradical defaults to "normal", should it perhaps be "default"?

2017-06-07 Thread Otared Kavian
Hi, Indeed using \frac yields a weird result in the example sent by Mikael. Compare the output of the three formulas below, with or without \setupmathradical[sqrt][alternative=default]. The results are correct using \over in both cases, while the first one is weird when using \frac and

Re: [NTG-context] Position of prime for derivatives

2017-06-04 Thread Otared Kavian
Hi Mikael, Indeed your observation is correct, but using \over instead of \frac yields the correct behavior. Please try the following sample: %%% begin derivatives-prime-4.tex \setupbodyfont[lucidaot] \starttext Compare the position of the prime sign in $f'/g$ in these two expressions: the

Re: [NTG-context] Typescript/fallbacks problem

2017-05-27 Thread Otared Kavian
Hi Mohammad Hossein, Your report is beyond my knowledge, but I would like to ask you a question about the setup of fallback fonts: why are you referring to « dejavudef » in the commands such as \definefontsynonym [SahelBd] [SahelBold][features={arabic,tlig},fallbacks=dejavudef]

Re: [NTG-context] Position of prime for derivatives

2017-05-22 Thread Otared Kavian
May 2017, at 08:51, Mikael P. Sundqvist <mic...@gmail.com> wrote: > > On Sun, May 21, 2017 at 10:29 PM, Otared Kavian <ota...@gmail.com> wrote: >> Hi Mikael, >> >> I agree with what you are reporting: the current behavior of the \prime >> operator is not

Re: [NTG-context] Position of prime for derivatives

2017-05-21 Thread Otared Kavian
Hi Mikael, I agree with what you are reporting: the current behavior of the \prime operator is not completely satisfying when using ConTeXt mkiv, while in mkii it is the most satisfying (in my opinion…). The turn around consisting in using $f^{‘’}$ or $f^{\prime\prime}$, or even

Re: [NTG-context] Position of prime for derivatives

2017-05-18 Thread Otared Kavian
Hi Hans, Thanks for your explanations. When using constructions such as $f’’_2(x)$, I will adapt my input in order to get what seems correct. Best regards: OK > On 17 May 2017, at 17:17, Hans Hagen <pra...@wxs.nl> wrote: > > On 5/17/2017 8:35 AM, Otared Kavian wr

[NTG-context] Position of prime for derivatives

2017-05-17 Thread Otared Kavian
Hi Hans, Thanks for having fixed the behavior of the prime in the latest beta release (ConTeXt version 2017.05.15 21:48). However, as you may see in the two attached PDF files, the result is still incorrect when one types for example $f_2’’(x)$, which should give the same result as

Re: [NTG-context] mathdigits no longer works

2017-05-15 Thread Otared Kavian
in the latest beta? > > On Mon, May 15, 2017 at 3:27 AM, Otared Kavian <ota...@gmail.com > <mailto:ota...@gmail.com>> wrote: > Hi Mohammad Hossein, > > I don’t get what you expected to obtain in your message, but typesetting your > example code (with a small modifi

Re: [NTG-context] mathdigits no longer works

2017-05-15 Thread Otared Kavian
Hi Mohammad Hossein, I don’t get what you expected to obtain in your message, but typesetting your example code (with a small modification) I get the attached PDF file, which seems correct to me. I am using ConTeXt version 2017.05.12 22:40 MKIV beta, with LuaTeX version 1.0.4 on MacOS

Re: [NTG-context] eqalignno failing

2017-04-26 Thread Otared Kavian
Hi Hans, Since a few weeks (or months?…) ago the use of \eqno and \eqalignno has been changed in mkiv. It is better to use the construction such as: \placeformula \startformula \startalign \NC H(I,J) \NC = H(I) + H(J|I) \NR[eq:equivoc] \NC W(I,J) \NC = H(J) - H(J|I) \NR[eq:wedinfo] \stopalign

Re: [NTG-context] Real number with Lua

2017-04-19 Thread Otared Kavian
Hi Fabrice, You can use a construction such as: \starttext \ctxlua{x = math.floor(10^3*math.pi)/10^3; context(x)} \stoptext Best regards: OK > On 19 Apr 2017, at 15:25, Fabrice Couvreur > wrote: > > Hello, > I do not know Lua but I'll learn later. How to display

Re: [NTG-context] A question about Lucida fonts

2017-03-30 Thread Otared Kavian
> On 30 Mar 2017, at 13:52, Hans Hagen wrote: > > opentype of course .. more complete, features and easier to use ... also most > value for money Thanks Hans for your quick reply! I guess the file type-imp-lucida-opentype.mkiv is there to take care of everything when using

[NTG-context] A question about Lucida fonts

2017-03-30 Thread Otared Kavian
Hi, I would like to buy the set of Lucida fonts from TUG https://www.tug.org/store/lucida/index.html but I am wondering which flavor, Open Type or Type 1, is supposed to work smoothly (and easily…) with ConTeXt mkiv. Actually a very long

Re: [NTG-context] Manually scaling math fences

2017-03-24 Thread Otared Kavian
Sorry for the noise… it does work fine indeed with ConTeXt 2017.03.23 17:20 MKIV beta (I tried last night with a previous version…). Thank you so much Hans! > On 24 Mar 2017, at 10:56, Otared Kavian <ota...@gmail.com> wrote: > > >> On 24 Mar 2017, at 08:24, Aditya Mahaj

Re: [NTG-context] Manually scaling math fences

2017-03-24 Thread Otared Kavian
> On 24 Mar 2017, at 08:24, Aditya Mahajan wrote: >> […] > > Thanks. > > If I understand the code correctly (sorry, haven't tested it yet), Hi Aditya and Hans, Thank you Hans for the new feature. I did test the code sent by Hans, but it seems that the feature is not yet in

Re: [NTG-context] closesymbol on same line as displayed formula

2017-03-21 Thread Otared Kavian
> On 20 Mar 2017, at 23:46, Aditya Mahajan wrote: > >> […] > > What is the expected output when the last formula has an equation number? > > Aditya Hi Aditya, That is a good point: if the equation numbers are on the right, there would be an ugly effect with the

Re: [NTG-context] closesymbol on same line as displayed formula

2017-03-20 Thread Otared Kavian
Hi Mikael, Some time ago, Wolfgang gave a solution which used to work, but I experimented it again when I read your message, and now it does not work anymore… PLease have a look to the files attached (I recovered them from a TimeMachine backup). Unfortnately the same file typeset with the

Re: [NTG-context] How to use tex.print in ctxlua

2017-03-19 Thread Otared Kavian
]) in a tabulated environment so that when for instance one has 15 such values, one gets 3 lines with 5 values on each line? Best regards: OK > On 19 Mar 2017, at 17:56, Wolfgang Schuster <schuster.wolfg...@gmail.com> > wrote: > > >> Otared Kavian 19. März 2017 um 17:46

Re: [NTG-context] How to use tex.print in ctxlua

2017-03-19 Thread Otared Kavian
quivalent to tex.print("(" .. vecteurX[i] .. ", " .. vecteurY[i] .. ")\\par") Best regards: OK > On 19 Mar 2017, at 17:37, Aditya Mahajan <adit...@umich.edu> wrote: > > On Sun, 19 Mar 2017, Otared Kavian wrote: > >> Hi, >>

Re: [NTG-context] How to use tex.print in ctxlua

2017-03-19 Thread Otared Kavian
blo Rodriguez <oi...@gmx.es> wrote: > > On 03/19/2017 04:30 PM, Otared Kavian wrote: >> Hi, >> >> I would like to print in a text the values of a array computed in a >> \startluacode …. \stopluacode combination. >> How can I do it properly? Please have

Re: [NTG-context] How to use tex.print in ctxlua

2017-03-19 Thread Otared Kavian
Hi Thomas, Thanks for your answer. Indeed I did not know that I could use directly context(vecteurY[i]) Now this solves my problem! Best regards: OK > On 19 Mar 2017, at 16:51, Thomas A. Schmitz <thomas.schm...@uni-bonn.de> > wrote: > > On 19.03.2017 16:30, Otared

[NTG-context] How to use tex.print in ctxlua

2017-03-19 Thread Otared Kavian
Hi, I would like to print in a text the values of a array computed in a \startluacode …. \stopluacode combination. How can I do it properly? Please have a look at the example below and its output, which is not satisfactory because the right parenthesis is separated from the number by a space.

Re: [NTG-context] Manually scaling math fences

2017-03-06 Thread Otared Kavian
Hi Aditya, I agree totally with you and support your suggestion… Maybe instead of the « delimiter » keyword, one could introduce a keyword such as « size »: \MEAN[size=auto] expands to \left\langle .. \right\langle \MEAN[size=] expands to \langle .. \rangle \MEAN[size=big] expands to

Re: [NTG-context] description renders unintended results

2017-03-04 Thread Otared Kavian
Hi Floris,Since you specify align=leftin the setup of your description, I don’t see why the output would be unexpected. With the following version of your example code I get the attached PDF output.%%% begin \setuppapersize[A5]\definedescription[descr][ headstyle=bold, style=normal,%

Re: [NTG-context] which command would give the same effect as \pause in beamer ?

2017-02-27 Thread Otared Kavian
//github.com/bateni/rawsteps-mkiv> > > On Mon, Feb 27, 2017 at 12:00 PM, Otared Kavian <ota...@gmail.com > <mailto:ota...@gmail.com>> wrote: > Hi, > > If you use mkii you can still use RawSteps, but in mkiv it does not work > properly and should be rewritt

Re: [NTG-context] which command would give the same effect as \pause in beamer ?

2017-02-27 Thread Otared Kavian
Hi, If you use mkii you can still use RawSteps, but in mkiv it does not work properly and should be rewritten. However, as Hans indicates, one can use \startsetp and friends, as shown in the example presentations found in your directory texmf/doc/context/presentations Best regrads: OK

Re: [NTG-context] issue with linenotes and luatex-1.0.3

2017-02-25 Thread Otared Kavian
Dear Pablo, For your information, I tested your file hefes.tex, and the only pages without the issue are pages 3 and 5, with LuaTeX, Version 1.0.3 and ConTeXt version 2017.02.23 18:37 (I am running MacOS 10.12). However with LuaTeX, Version 0.95.0 and ConTeXt version 2016.05.17 19:20 (from

Re: [NTG-context] LineSpacing Issue in Arabic Fonts

2017-02-19 Thread Otared Kavian
Hello Ibn Saeed, I tried your example file and obtained the same result as you with LuaTeX Version 1.0.3 and the latest beta version 2017.02.19 17:14. However the result is as expected with the version from TeXLIve, that is LuaTeX Version 0.95.0 (TeX Live 2016) and ConTeXt

Re: [NTG-context] Dot fills shifted down

2017-01-31 Thread Otared Kavian
Hi Lukas, Maybe you can use symbol=\lower.25em\hbox{.}, instead of what you set in your \definefiller definition is what you need? Best regards: OK > On 31 Jan 2017, at 12:33, Procházka Lukáš Ing. wrote: > > Hello, > > the following code: > > > \definefiller

Re: [NTG-context] Basic question

2017-01-30 Thread Otared Kavian
Hi John, If you have updated your ConTeXt tree, you should issue the following command (only once…) texexec --make —all in order to create again the mkii format. Then you can say texexec myfile.tex in order to typeset the file myfile.tex Best regards: OK > On 30 Jan 2017,

Re: [NTG-context] Title without the parentheses

2017-01-30 Thread Otared Kavian
tion > [ex] > [text={Exercice}, >headcommand=\EXFRAME, >titleleft=, >titleright=, >title=yes, >width=fit, >numberconversionset=ACCONVERSION, >alternative=top, >number=yes] > > 2017-01-29 12:02 GMT+01:00 Otared Kavian <ota...

Re: [NTG-context] Title without the parentheses

2017-01-30 Thread Otared Kavian
I want to do. > Fabrice > > \defineenumeration > [ex] > [text={Exercice}, >headcommand=\EXFRAME, >titleleft=, >titleright=, >title=yes, >width=fit, >numberconversionset=ACCONVERSION, >alternative=top, >number=yes] > > 2017

Re: [NTG-context] Title without the parentheses

2017-01-29 Thread Otared Kavian
Hi Fabrice, To suppress the parentheses in the title, you can use the keys titleleft and titleright as in the following: \defineenumeration [ex] [text=Exercice, title=yes, titleleft=, titleright=, width=fit, numberconversionset=ACCONVERSION, alternative=top, number=yes]

Re: [NTG-context] dorecurse problem

2017-01-20 Thread Otared Kavian
> On 20 Jan 2017, at 18:00, Rik Kabel wrote: > […] > > Otared, > > I am not sure what you are doing, but if you are using only the code snippet > that Hans posted, you will get a blank page. You have to define the layer and > page background in addition to Hans'

Re: [NTG-context] dorecurse problem

2017-01-20 Thread Otared Kavian
Hi Hans, Unfortunately your workaround with \getbuffer does not produce the correct page: it gives only a blank page. Thanks for your attention: OK > On 20 Jan 2017, at 10:08, Hans Hagen wrote: > > On 1/20/2017 8:59 AM, Aditya Mahajan wrote: >> On Thu, 19 Jan 2017, Rik Kabel

Re: [NTG-context] dorecurse problem

2017-01-19 Thread Otared Kavian
Hi Rik, I can confirm the behaviour you are reporting (even without \startstandardmakeup—\stopstandardmakeup, but adding a line of text in the document in order to have an output). It seems that \dorecurse suppresses the passage to another line, since if one says \dorecurse{10} the texts in

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

2017-01-18 Thread Otared Kavian
: Adobe PDF document > On 18 Jan 2017, at 19:15, Hans Hagen <pra...@wxs.nl> wrote: > > On 1/18/2017 6:23 PM, Nicola wrote: >> On 18/01/2017 17:53, Otared Kavian wrote: >>> Hi Nicola, >>> >>> In fact, if you are in a hurry and don’t use subtle th

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

2017-01-18 Thread Otared Kavian
ola <nvitacolo...@gmail.com> wrote: > > On 18/01/2017 16:53, Otared Kavian wrote: >> Hi Nicola, >> >> Indeed there is a recent bug, reported by Mikael Sundqvist a few days ago, >> and Hans is aware of this. >> Hans said in the next release of ConTeXt beta

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

2017-01-18 Thread Otared Kavian
Hi Nicola, Indeed there is a recent bug, reported by Mikael Sundqvist a few days ago, and Hans is aware of this. Hans said in the next release of ConTeXt beta the issue will be fixed. Best regards: OK > On 18 Jan 2017, at 16:00, Nicola wrote: > > Hello, > has

Re: [NTG-context] Displayed formula inside paragraph change vertical space before the paragraph

2017-01-16 Thread Otared Kavian
-12-28.pdf Description: Adobe PDF document > On 16 Jan 2017, at 11:12, Mikael P. Sundqvist <mic...@gmail.com> wrote: > > On Mon, Jan 16, 2017 at 10:51 AM, Otared Kavian <ota...@gmail.com> wrote: >> Hi Mikael, >> >> To make sure we are talking abo

Re: [NTG-context] Displayed formula inside paragraph change vertical space before the paragraph

2017-01-16 Thread Otared Kavian
: Adobe PDF document formula-vertical-distance-without.pdf Description: Adobe PDF document > On 15 Jan 2017, at 19:29, Mikael P. Sundqvist <mic...@gmail.com> wrote: > > On Sat, Jan 14, 2017 at 8:32 AM, Mikael P. Sundqvist <mic...@gmail.com> wrote: >> On Sat, Jan 14, 201

Re: [NTG-context] Displayed formula inside paragraph change vertical space before the paragraph

2017-01-13 Thread Otared Kavian
Hi Mikael, I tested your example but I see no difference in the outputs, with, or without a blank line between the text and the displayed formula. I am using ConteXt 2016.12.28 17:55 MKIV beta. Best regards: OK > On 13 Jan 2017, at 14:13, Mikael P. Sundqvist wrote: > > Dear

Re: [NTG-context] Strange spurious character

2016-11-19 Thread Otared Kavian
Hi Wolfgang, Thanks for your remark: indeed after issuing the command mtxrun --script cache --fonts —erase the result is correct with palatino as the choice of font. I notice that the luatex-cache increases during the time: is there any reason for which the luatex-cache is not erased

Re: [NTG-context] Strange spurious character

2016-11-19 Thread Otared Kavian
;pra...@wxs.nl> wrote: > > On 11/18/2016 10:50 PM, Otared Kavian wrote: >> Hi Hans, >> >> Thanks for the quick fix. >> Indeed the spurious character does not show up anymore, but in the minimal >> example below the default body font seems to be set to bol

Re: [NTG-context] Strange spurious character

2016-11-18 Thread Otared Kavian
is the text in bold italic? \stoptext end bug-beta.tex Best regards: OK bug-beta.pdf Description: Adobe PDF document > On 18 Nov 2016, at 22:30, Hans Hagen <pra...@wxs.nl> wrote: > > On 11/18/2016 9:03 PM, Otared Kavian wrote: >> Hi Hans, >> >> Aft

[NTG-context] Strange spurious character

2016-11-18 Thread Otared Kavian
Hi Hans, After having updated my installation of ConTeXt, I noticed the presence of a spurious « ß » character at the top of every document, or sometimes in the footer, or in the header. Also in the example below the text is typeset with bold italic, even though there is no request for it.

Re: [NTG-context] Clickable question/answer numbers

2016-11-07 Thread Otared Kavian
Hi Dalyoung, Yes I see what your problem might had been. Recently ConTeXt creates a fine named FILENAME.tuc when one typesets FILENAME.tex. This *.tuc file creates difficulties when the typesetting is stopped for some reason or another, because then at times it is impossible to typeset again

Re: [NTG-context] Clickable question/answer numbers (Otared Kavian)

2016-11-06 Thread Otared Kavian
Dear Dalyoung, I guess you are typesetting the wrong file, or you have put the last code I sent into a file which contains something of the previous codes… Indeed in the last file I sent (which I am sending again at the end of this reply) does not contain the command \myanswer… which appears in

Re: [NTG-context] Clickable question/answer numbers

2016-11-06 Thread Otared Kavian
Hi Wolfgang, Hi Mikael, Thanks Wolfgang! I didn’t know that \beginBLOCKNAME \endBLOCKNAME cannot be used in other macros… There is some mystery in this for me. Now with \doifnotmode{*trialtypesetting} everything works as expected. Since I don’t know whether, nor where on the wiki,

Re: [NTG-context] Clickable question/answer numbers

2016-11-06 Thread Otared Kavian
\startchapter[ownnumber=1,title=Answers and solutions] \useblocks[answer] \stopchapter \stoptext end example > On 5 Nov 2016, at 19:14, Wolfgang Schuster <schuster.wolfg...@gmail.com> > wrote: > >> Otared Kavian <mailto:ota...@gmail.com> 5. November 2016 um 18:3

Re: [NTG-context] Clickable question/answer numbers

2016-11-05 Thread Otared Kavian
Hi Wolfgang, Hi Mikael, Thank you both for your great inputs! I tried to modify the code each of you sent yesterday in order to « couple » automatically each question with its answer, using the keyword « coupling=… », but somehow I am unable to create automatic references by extracting the

Re: [NTG-context] Clickable question/answer numbers

2016-11-04 Thread Otared Kavian
rote: >>> On 11/2/2016 9:58 PM, Mikael P. Sundqvist wrote: >>>> >>>> Dear Otared, >>>> >>>> thank you again. This is somehow a proof that it should work. In my >>>> real document I use the title to name some exercises (after old

Re: [NTG-context] Clickable question/answer numbers

2016-11-02 Thread Otared Kavian
now what to change > the ### into (or if that would work). > > Best regards, Mikael > > On Wed, Nov 2, 2016 at 1:52 PM, Otared Kavian <ota...@gmail.com> wrote: >> Hi Mikael, >> >> I had a similar question some time ago, but I wanted to add a sort of &

Re: [NTG-context] Clickable question/answer numbers

2016-11-02 Thread Otared Kavian
Hi Mikael, I had a similar question some time ago, but I wanted to add a sort of automatic referencing of questions and answers (and interaction going from questions to answers and back). If you accept the hurdle of adding manual references, in your case you can add (for instance…)

Re: [NTG-context] avoid newline after definestartstop

2016-10-24 Thread Otared Kavian
Hi Michael, Maybe what Wolfgang meant by « putting the marks by hand » is something like: you define \StartCitation and \StopCitation in the following way: % begin quotation-note.tex \define\StartCitation{\startnarrower[left,right]«~} \define[1]\StopCitation{~»\footnote{#1}\stopnarrower}

Re: [NTG-context] Footnotes in footnotes

2016-10-16 Thread Otared Kavian
Hi Jose Luis, Indeed the example you sent does not work as expected, but as far as I remember for nested footnotes one can use the following construction (I found this exmaple in my archives…): begin nested-footnotes.tex \starttext This\footnote{Or that\note[footB], if you prefer.}%

Re: [NTG-context] position of linenumbering

2016-10-12 Thread Otared Kavian
Hi Thomas, It seems that if you use \setuplinenumbering the issue is fixed: please have a look here: \setuppapersize [A6] \setuplinenumbering[location=text,distance=0.5cm] \starttext \startlinenumbering \dorecurse{2}{\input tufte} \stoplinenumbering dummy \stoptext Best regards: OK >

Re: [NTG-context] Paranormal bug in TL 2016

2016-10-12 Thread Otared Kavian
On 11 Oct 2016, at 15:58, Henri Menke wrote: >> […] > > I have to correct myself, it just looked like it worked. It didn't generate > the PDF due to > > Fatal Error > Your format does not match the base files! > > The search continues. Hi Henri, The error is

Re: [NTG-context] Underlining formulas and units

2016-10-06 Thread Otared Kavian
Hi, Maybe you should use rather $\underbar{F_C=\unit{1e2 newton}}$ or \underbar{\unit{1e2 newton}} since otherwise \underbar considers each character in the math formula as a word, which should be underlined separately. Best regards: OK > On 5 Oct 2016, at 22:01, Florian Leupold

Re: [NTG-context] Recommendations on presentations

2016-10-05 Thread Otared Kavian
Hi, I use also MacOS and all my presentations are made with ConTeXt. The easiest thing to do is to take examples from simpleslides, or from the examples by Hans in the folder tex/texmf-context/tex/context/modules/common of the standalone tree, and then adapt them to your needs and

Re: [NTG-context] prevent indent after usage of defined itemgroup

2016-10-03 Thread Otared Kavian
Oct 2016, at 17:01, Mikael P. Sundqvist <mic...@gmail.com> wrote: > > On Mon, Oct 3, 2016 at 2:45 PM, Mikael P. Sundqvist <mic...@gmail.com> wrote: >> On Mon, Oct 3, 2016 at 2:40 PM, Otared Kavian <ota...@gmail.com> wrote: >>> Hi Mikael, >>> >>&

Re: [NTG-context] prevent indent after usage of defined itemgroup

2016-10-03 Thread Otared Kavian
Hi Mikael, I don’t feel you ask weird questions at all… As far as I am concerned, when I cannot help answer a question I don’t reply, but usually I test what you send. Regarding what you are mentionning, it seems that the following works fine to achieve what you want, but I don’t know why the

Re: [NTG-context] Columnset and footnotes

2016-09-22 Thread Otared Kavian
Hi, Indeed it seems that there is a bug with \columnset. However the separation rule for the footnotes is shown if one uses \startcolumns, as can be seen with the following example. Best regards: OK %%% begin column-footnote.tex \definecolumnset[n2][n=2,balance=yes]

Re: [NTG-context] Nested itemize horizontal/column problem

2016-09-19 Thread Otared Kavian
Hi Mikael, The explanation and the solution given by Henri works fine here. The code below gives the attached PDF (with ConTeXt 2016.09.12 18:27 MKIV beta). The point is that an empty \item does not allow to begin a new level of itemization. Best regards: OK %%% begin \starttext

Re: [NTG-context] Simpleslides presentation: list of topics

2016-09-15 Thread Otared Kavian
remarks. Best regards: OK > On 15 Sep 2016, at 22:30, Thomas A. Schmitz <thomas.schm...@uni-bonn.de> > wrote: > > On 15.09.2016 12:11, Otared Kavian wrote: >> Hi Thomas, >> >> Thanks for your quick answer. Actually, mistakenly, I thought you had gave >&

Re: [NTG-context] Simpleslides presentation: list of topics

2016-09-15 Thread Otared Kavian
gt; wrote: > > On Thu, 15 Sep 2016, Otared Kavian wrote: > >> Hi Thomas, >> >> Thanks for your quick answer. Actually, mistakenly, I thought you had gave >> up the simplesildes module, not Aditya… And I included Wolfgang because he >> follows everything and has

Re: [NTG-context] Simpleslides presentation: list of topics

2016-09-15 Thread Otared Kavian
> On 15 Sep 2016, at 17:05, Aditya Mahajan <adit...@umich.edu> wrote: > > On Thu, 15 Sep 2016, Otared Kavian wrote: > >> Hi Thomas, >> >> Thanks for your quick answer. Actually, mistakenly, I thought you had gave >> up the simplesildes module, not

Re: [NTG-context] Simpleslides presentation: list of topics

2016-09-15 Thread Otared Kavian
mas A. Schmitz <thomas.schm...@uni-bonn.de> > wrote: > > On 15.09.2016 11:35, Otared Kavian wrote: >> Is it possible to have a list of topics on a page when one uses the >> simpleslides module? >> For instance when using the swoosh model, as in the following example,

[NTG-context] Simpleslides presentation: list of topics

2016-09-15 Thread Otared Kavian
Hi Wolfgang and Aditya, Is it possible to have a list of topics on a page when one uses the simpleslides module? For instance when using the swoosh model, as in the following example, and then navigate to each topic with a link? %%% begin example-swoosh.tex \usemodule[simpleslides]

Re: [NTG-context] Problem with \leqalignno

2016-09-11 Thread Otared Kavian
Hi Mingranina, For displayed aligned formulas it is better to use \startalign…\stopalign, instead of the plain TeX construction \leqalignno. Please have a look at the following: Best regards: OK %%% begin align-equations.tex \starttext \placeformula \startformula \startalign \NC c^2 \NC= a^2 +

Re: [NTG-context] Placement of numbers in numbered equations on the left

2016-09-10 Thread Otared Kavian
\stopformula \stoptext %%% begin example bug-mathalign.tex bug-mathalign-left.pdf Description: Adobe PDF document > On 7 Sep 2016, at 20:25, Otared Kavian <ota...@gmail.com> wrote: > > Hi Hans, > > Thank you for having fixed the issue with numbered equations in math a

[NTG-context] Placement of numbers in numbered equations on the left

2016-09-07 Thread Otared Kavian
Hi Hans, Thank you for having fixed the issue with numbered equations in math aligned environment, noticed and reported by Mikael Sundqvist. However the problem is solved only when the numbers are on the right: when the numbers are on the left, there is still a discrepancy between the location

Re: [NTG-context] Enumeration: chapter in counter, problem next to placefigure, and documentation issues

2016-09-04 Thread Otared Kavian
Hi Florian, The following setup works fine here, I wonder whether this is what you want: \defineenumeration[theorem] [text={Theorem}, style=slanted, title=yes, alternative=hanging, % hang=2, width=fit, right={~}, way=bychapter, %

Re: [NTG-context] Bug in \placeformula

2016-09-02 Thread Otared Kavian
Hi Henri, Your are right there is an issue with \startmathcases…\stopmathcases: the equations are not numbered when using this structure. As a temporary solution you can use \startmatrix…\stopmatrix as in the following, or you can define your own \startalignedcases. \starttext \placeformula

Re: [NTG-context] align text and formula

2016-08-24 Thread Otared Kavian
text can vary in > length and this would required a lot of tweaking to try and get the formulas > mid-aligned. > I’m trying to find a fool proof solution that will get the formula > mid-aligned in all cases (and hope it exists). > > In any case, thanks for your suggestion! > >

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