Re: [NTG-context] align text and formula

2016-08-24 Thread Otared Kavian
Hi Jan, You can specify a certain horizontal distance in the second column, as in the following: %%% begin example.tex \starttext \setupformulas[align=flushleft] \startformula \startalign[n=2,align={left,middle}] \NC \text{Text1}\NC\qquad E = mc^2\NR \NC

Re: [NTG-context] \startalign \stopalign equation number placement seems wrong

2016-08-17 Thread Otared Kavian
Hi Mikael, I confirm that the latest beta (ConTeXt version 2016.08.11 13:56 MKIV beta) has the issue you are reporting. This bug is absent from the current version from TeXLive2016, that is ConTeXt version 2016.05.17 19:20 MKIV current. Some time ago I reported an analogous issue with

Re: [NTG-context] Place a text over an arrow (Metafun)

2016-07-25 Thread Otared Kavian
> On 25 Jul 2016, at 11:47, Fabrice Couvreur > wrote: > > Hi Hans and Otared, > I did not know this module (Context is so rich !), it's great ! > thanks > Fabrice Indeed… ConTeXt is so rich! Probably I use only one or two per cent of its capabilities, but still I

Re: [NTG-context] Place a text over an arrow (Metafun)

2016-07-25 Thread Otared Kavian
Hi Fabrice, Do you know the step charts module in ConTeXt? I guess you can achieve what you want as in the example below (sorry, I did not took your example, I am just copying an example from my archives…). %% \usemodule[steps] \starttext Pour voir que la composée de deux fonctions

Re: [NTG-context] (no subject)

2016-07-17 Thread Otared Kavian
be on the > baseline of the letter A. > Fabrice > > 2016-07-16 11:28 GMT+02:00 Otared Kavian <ota...@gmail.com>: > Hi Fabrice, > > Indeed you can place your float a little bit higher in th emargin, as in the > example below, by using the keyword « high ». > &g

Re: [NTG-context] (no subject)

2016-07-16 Thread Otared Kavian
Hi Fabrice, Indeed you can place your float a little bit higher in th emargin, as in the example below, by using the keyword « high ». Best regrads: Otared K. % begin fabrice-inmargin.tex \setuplayout [width=13cm, rightmargin=5cm] \setupbodyfont[pagella,11pt] \definefloat [recipe]

Re: [NTG-context] (no subject)

2016-07-15 Thread Otared Kavian
Hi Fabrice, You can give an option to \framed, as in: \placerecipe{}{\framed[align=justify,offset=2pt]{La vie n'est pas un long fleuve tranquille !}} You may also (in the above example) replace « fleuve » by « fleu||ve » in order to get a hyphenation. Best regards: OK > On 15 Jul 2016, at

Re: [NTG-context] Wrap figures and equations

2016-07-13 Thread Otared Kavian
Hi Hans, I was going to report a similar issue with \placeformula and floats in general, as in the example below. However the trick suggested by Wolfgang does not solve all the problems and in fact in my real size document it triggers an error message saying:

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

2016-07-05 Thread Otared Kavian
016, at 13:08, Hans Hagen <pra...@wxs.nl> wrote: > > On 7/4/2016 11:11 AM, Otared Kavian wrote: > >> Below is an example (sorry if it is not absolutely minimal: I ran into this >> bug when updating a lecture notes which uses a left frame around \proclaim >> stuff). I a

[NTG-context] Bug in placeformula with framed text

2016-07-04 Thread Otared Kavian
Hi Hans, It seems that there is a bug in the latest beta (ConTeXt vesion: 2016.07.01 16:28) when using \placeformula with a framed text environment. The numbers for the formulas are placed incorrectly, on the left as well as on the right. Also, as one may see in the example below the numbering

Re: [NTG-context] issue with French patterns

2016-06-30 Thread Otared Kavian
Hi Pablo, Your example is typeset correctly if one puts \setuplanguage[fr,agr] instead of \setuplanguage[fr][patterns={fr, agr}]. On the wiki I didn’t find the keyword « patterns =………» for \setuplanguage. Best regards: OK > On 30 Jun 2016, at 20:15, Pablo Rodriguez

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-30 Thread Otared Kavian
Hi again, Maybe what you want to achieve is resetting the page numbers at some point: in that case you can say: \page \resetuserpagenumber just before the chapter where you want your chapter with roman numerals beginning at number 1. Best regards: OK > On 28 Jun 2016, at 14:15, Ursula

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-30 Thread Otared Kavian
Hello Ursula, I don’t know whether the example you sent is what you typeset, but you should pay attention to close each \startchpater by a corresponding \stopchapter. The same remark applies to other \startSOMETHING command, which should have a corresponding \stopSOMETHING. This is probably

[NTG-context] Strange result with formulaframed

2016-06-22 Thread Otared Kavian
Dear Hans, I just did some experiments with the new \setupformulaframed, which you added recently after a demand by Aditya. However it seems to me that it does not do exactly what one might expect, at least in the example below. Would it be possible to have a mechanism which gives somehow what

Re: [NTG-context] Enumerations

2016-05-08 Thread Otared Kavian
Hi Pablo, You are right, the « norepeat » key does not work any more, but I do not know when the change, or th ebug, was introduced. In the « Teste Suite » there is a file entitled « repeat-001.tex » which used to give the behavoir expected by Henman and you, but when typeset now it gives

Re: [NTG-context] NEW : ConTeXt documentation in French (Wikibook)

2016-05-03 Thread Otared Kavian
Hi Jean-Pierre, You ahve done a wonderful job, thanks for sharing. I’ll look on a regular basis your wikibook and let you know if I find typos and examples to improve. Best regards: Otared K. > On 03 May 2016, at 11:11, Jean-Pierre Delange wrote: > > Dear French ConTeXt

Re: [NTG-context] right to left direction for itemize columns

2016-04-28 Thread Otared Kavian
s Mohammad *Hossein*, not Mohammad Reza :) > > > > On Thu, Apr 28, 2016 at 12:41 AM, Otared Kavian <ota...@gmail.com> wrote: > Hi Mohammad Reza, > > I tried your example, but it seems to me that the way the columns are > presented when writing Right-to-Left is still incorre

Re: [NTG-context] right to left direction for itemize columns

2016-04-27 Thread Otared Kavian
Hi Mohammad Reza, I tried your example, but it seems to me that the way the columns are presented when writing Right-to-Left is still incorrect. In the following example one should have the column containing the lines « First » and « Second » to the right of the column containing « Third » and

Re: [NTG-context] updating ConTeXt standalone

2016-04-23 Thread Otared Kavian
> On 04/23/2016 02:48 PM, Otared Kavian wrote: >> Hi Alan, >> >> Until this morning updating would give the version you are >> mentioning, but right now I updated again and now I get: >> >> Context version: 2015.05.18 12:26 >> >> So probb

Re: [NTG-context] updating ConTeXt standalone

2016-04-23 Thread Otared Kavian
Hi Alan, Until this morning updating would give the version you are mentioning, but right now I updated again and now I get: Context version: 2015.05.18 12:26 So probbaly you may run again first-setup.sh. Bets regrads: OK > On 23 Apr 2016, at 14:15, Alan Bowen

Re: [NTG-context] RTL section heads

2016-04-12 Thread Otared Kavian
Hi Hans and Mohammad Reza, I can confirm that the wrong behaviour of numbers and digits in Right to Left (more specifically Persian) is recent: indeed with ConTeXt ver: 2015.05.18 12:26 MKIV current fmt: 2015.6.18 int: english/english from TeXLive 2015 the numbers and digits are

Re: [NTG-context] Bug in enumeration?

2016-04-12 Thread Otared Kavian
Thanks for your attention, and the fix, Hans. Best regards: OK > On 12 Apr 2016, at 10:11, Hans Hagen wrote: > > […] > > swapped arguments in ... (actually that was a fix for something else, a space > in captions) > > \unexpanded\def\strc_enumerations_inject_extra_text >

[NTG-context] Bug in enumeration?

2016-04-12 Thread Otared Kavian
Hi Hans, It seems that the new beta has introduced an issue with enumerations: the title does not show up as it did previously (until last Friday for instance). Below is an example. Best regards %%% bug-enumeartion.tex %%% \defineframedtext[ProclaimFramed] [width=\textwidth,

Re: [NTG-context] Bug in startitemize

2016-03-07 Thread Otared Kavian
Thanks Wolfgang, Your patch does indeed solve the problem, after rebuilding with context --make —all Best regards: OK > On 07 Mar 2016, at 20:46, Wolfgang Schuster <schuster.wolfg...@gmail.com> > wrote: > >> Otared Kavian 7. März 2016 um 20:28 >&g

[NTG-context] Bug in startitemize

2016-03-07 Thread Otared Kavian
Hi Hans, It seems that with the new beta (ConTeXt ver: 2016.03.04 10:39 MKIV beta fmt: 2016.3.7), there is a bug with random itemization. I cannot tell exactly when this feature has been broken. The problem is that for instance in the following example, sometimes the item C is repeated three

Re: [NTG-context] Deprecated $…$ for inline math?

2016-02-16 Thread Otared Kavian
I agree totally with Alan in saying that the inline math signals $\cdots$ should NEVER be left out from ConTeXt, or even become deprecated. Indeed many people move mathematical texts from one file to another one, in order to be able to typeset or print it either with ConTeXt, or other

Re: [NTG-context] How can I define a dotted underbar in ConTeXt?

2016-02-15 Thread Otared Kavian
Hi Hans, Thanks for this new nice feature! However it seems to me that \underdashes produces dots under ords, while \underdots produces dashes… Is it on purpose? Also the name \underrandoms seems misleading too. Best regards: OK > On 15 Feb 2016, at 10:39, Hans Hagen wrote:

Re: [NTG-context] \usemodule[pgfplots] fails

2016-02-08 Thread Otared Kavian
I don’t now, the error message is similar to that obtained by Lukas: on my installation the typesetting freezes with this on the console: close source> 1 > 16 > /context-minimal/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv Best regards: OK > On 08 Feb 2016, at 15:55, Hans Hagen

Re: [NTG-context] \usemodule[pgfplots] fails

2016-02-08 Thread Otared Kavian
Hi Lukas, I can confirm that your code below does not work with the latest beta ConTeXt ver: 2016.02.06 14:06 MKIV beta fmt: 2016.2.8 int: english/english, on a Mac running Mac OS X 10.11.4. However it works with a previous version from TeXLive. Best regards: OK PS: Here is the code I

[NTG-context] Distance between items

2016-01-28 Thread Otared Kavian
Dear List Members, I don’t remember how to tweak the distance between items: What I would like to have is a distance between items a little bit bigger than the distance between them when the option « packed » is given, but smaller than the distance between items when « packed is left out.

Re: [NTG-context] Distance between items

2016-01-28 Thread Otared Kavian
Thanks… I had tried mistakingly joinedup (distance between two sets of itemization) instead of inbetween (distance between items in a given itemization). Best regards: OK > On 28 Jan 2016, at 12:00, Marco Patzer <li...@homerow.info> wrote: > > On Thu, 28 Jan 2016 11:48:12

Re: [NTG-context] which is the best/right element for elements in cover and title pages?

2016-01-25 Thread Otared Kavian
Hi Pablo, I wanted just to congratulate you for the nice manual you have written… I don’t know Pandoc and what it can be used for, but after seeing your manual I willing to learn about it! Best regards: OK > On 25 Jan 2016, at 21:54, Pablo Rodriguez wrote: > > Dear list, > >

Re: [NTG-context] ConTeXt vs Beamer

2016-01-25 Thread Otared Kavian
Hi, I have been using Context for all my presentations for many years and I think it is easier to use than any Latex package, since out of the box I can add pictures, menus, graphs of functions, etc. Now, depending on the complexity of what one wants to do, it would be more or less easy to

Re: [NTG-context] Fieldstacks are broken

2016-01-21 Thread Otared Kavian
Hi Jeong, I played with your code and indeed it is very nice to use this animation feature (I never succeeded to imbed a movie in a TeX file typeset with Context…). Thanks to Hans and Wolfgang, and you, I can now use such things in my presentations. Just to say something which may be useful,

Re: [NTG-context] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Otared Kavian
Hi, There is the command \persiandecimals is that what you are looking for? Best regards: OK > On 19 Jan 2016, at 12:30, Mohammad Hossein Bateni wrote: > > Also \arabicnumerals is probably not what you want: this will produce an > abjad-like sequence: > ا ب ج د ه

Re: [NTG-context] Instalation ConTeXt to MAC - newbie problem

2016-01-17 Thread Otared Kavian
Hello Jaroslav, Here is what I do on my Mac: 1) While in the Finder, create a folder named Context-standalone 2) Put the attached file « first-setup.sh » in the folder Context-standalone 3) Open Terminal and issue the command cd [Path-to-the-folder-Context-standalone] 4) Then in

Re: [NTG-context] Instalation ConTeXt to MAC - newbie problem

2016-01-17 Thread Otared Kavian
(for me) an unfamiliar OS-X it is for me still long run (but > adventurous) :-). > However installation on my MAC is currently commissioned and operational. > Thanks for the advices. > > Jaroslav Hajtmar > > > > Dne 17.01.16 v 14:38 Otared Kavian napsal(a): >&

Re: [NTG-context] strange output in math display mode

2015-12-21 Thread Otared Kavian
Hi Dalyoung, I can confirm that in displayed math, the digit 1 in the command \frac{1}{2} results in 494 > 1 which is unexpected… However the command {1 \over 2} gives the correct result. Actually there seems to be a spurious 494 > in the source tree of the latest release, since any

Re: [NTG-context] Problem with first setup of StandAlone ConTeXt

2015-12-16 Thread Otared Kavian
Hi Bruce, You have three solutions in order to solve the TeXShop issue. Here they are: Solution 1: add the following line at the top of your source file: %!TEX TS-program = mkiv Note that in the above you should replace « mkiv » with whatever engine name known to your TeXShop installation

Re: [NTG-context] Problem with first setup of StandAlone ConTeXt

2015-12-15 Thread Otared Kavian
Hi Bruce, If you want to use your standalone version of ConTeXt, you should create a specific « .engine » file for this and then in TeXShop use that engine. Here is what I have when I typeset a file in TeXShop using mkiv ConTeXt: % begin file mkiv.engine #!/bin/bash export

Re: [NTG-context] % !TeX root problem

2015-11-16 Thread Otared Kavian
Hi, I am not sure about this, but it seems to me that you have % !TEX root= instead of having %!TEX root = that is the the space after the apersand should not be there. Best regards: OK > On 14 Nov 2015, at 14:41, Jeong Dal wrote: > > Dear all, > > I use

Re: [NTG-context] How to start a \definedescription-defined description's body on a new line, not the same as the description's header?

2015-10-16 Thread Otared Kavian
Hi Louis, II guess what you need is the keyword alternative=top in the setup of your descritiption. Best regards: OK > On 09 Oct 2015, at 18:13, Louis Strous wrote: > > With > > [start sample] >

Re: [NTG-context] Troubles with presentations

2015-10-14 Thread Otared Kavian
Hi Tomas, The rawstep module is to be used with mkii, and the spurious « yes » you see appears only when you typeset with mkiv. On the other hand, it is true that \SetupSteps is not defined or recognized, and \StartSteps does not honor the optional arguments, when given. I have been using an

Re: [NTG-context] footnote in title

2015-10-13 Thread Otared Kavian
Hi Thomas, The following works here, without using \automigrateregisters… \starttext \startchapter [title={Silly title}\footnote{A silly footnote}] More text.\footnote{With more footnotes.} \stopchapter \stoptext Using version ConTeXt ver: 2015.10.09 21:28 MKIV beta on a Mac (indeed… what

Re: [NTG-context] \setupitemgroup...

2015-10-07 Thread Otared Kavian
Hi Wolfgang and Willi, Indeed the observation made by Wolfgang is correct, but even upon following those instructions, somehow the level 2 does not work as expected: Best regards: OK PS: Please see the example below: \setupitemgroup [itemize] [1] [packed,n] [after=]

Re: [NTG-context] \setupitemgroup...

2015-10-07 Thread Otared Kavian
symbol like 1,r,a. > > Kind regards > > Willi >> On 7 okt. 2015, at 11:45, Wolfgang Schuster <schuster.wolfg...@gmail.com> >> wrote: >> >>> Otared Kavian 7. Oktober 2015 um 11:27 >>> Hi Wolfgang and Willi, >>> >>> Indeed

Re: [NTG-context] Space between both environments

2015-09-07 Thread Otared Kavian
Hi Fabrice, You can use after={\strut\blank} in your definition of MyDefinition, as in: \defineframedtext [MyDefinition] [before={\blank}, after={\strut\blank}, frame=off, background=MyFrame, width=\textwidth, height=fit, location=left, style=italic] Best

[NTG-context] Bug in placefloat at right

2015-09-03 Thread Otared Kavian
Hi Hans, As it was reported by Fabrice Couvreur in another thread, there is a bug with placing floats on the right in ConTeXt ver: 2015.09.01 11:10 MKIV beta fmt: 2015.9.3 A minimal example follows, with the output attached. begin bug-placefigure.tex \starttext

Re: [NTG-context] Title of parts

2015-08-30 Thread Otared Kavian
Hi Eric, If you use either \part{This is part 1} or \startpart[title={This part 2}] \startchapter[title={This is chapter 1}] \stopchapter \stoppart you get a title for part 1 and part 2. Best regards: OK On 30 Aug 2015, at 11:42, Eric Détrez i...@eric-detrez.fr wrote: By default \part

Re: [NTG-context] Left border of a rectangle (Metafun)

2015-08-30 Thread Otared Kavian
: Hi, Hans Otared and thank you for your suggestions. A question for Hans : why my code does not give the expected result ? Fabrice 2015-08-29 13:35 GMT+02:00 Hans Hagen pra...@wxs.nl mailto:pra...@wxs.nl: On 8/29/2015 1:11 PM, Otared Kavian wrote: Hi fabrice, I dont’t know whether

Re: [NTG-context] Left border of a rectangle (Metafun)

2015-08-29 Thread Otared Kavian
Hi Fabrice, You can also use the following simpler method: % begin leftframe.tex \definecolor[MyColorA][c=0.3, m=0.00, y=0.00, k=0.05] \defineframedtext [MethodeB] [before={\blank}, after={\blank}, frame=off, leftframe=on, framecolor=MyColorA, rulethickness=6.5pt,

Re: [NTG-context] Left border of a rectangle (Metafun)

2015-08-29 Thread Otared Kavian
Hi fabrice, I dont’t know whether this the best solution, but you can use the following definition of the MPgraphic Funny: \startuseMPgraphic{Funny} interim linecap := butt ; path p ; p := unitsquare xyscaled (OverlayWidth,OverlayHeight) ; drawoptions (withpen pencircle scaled

Re: [NTG-context] No space after a closing delimiter

2015-08-27 Thread Otared Kavian
Thanks Hans! I wikified your tip: http://wiki.contextgarden.net/autoinsertnextspace Best regards: OK On 27 Aug 2015, at 20:42, Hans Hagen pra...@wxs.nl wrote: On 8/27/2015 2:39 PM, Fabrice Couvreur wrote: In fact, you are both right, write the macro differently.

Re: [NTG-context] No space after a closing delimiter

2015-08-27 Thread Otared Kavian
time ! Thanks, Fabrice 2015-08-27 11:30 GMT+02:00 Otared Kavian ota...@gmail.com mailto:ota...@gmail.com: Hi Fabrice, This is a normal behaviour of TeX macro commands. You should use your command by invoking it like the following: \repere\ blabla blabal Best regards: OK

Re: [NTG-context] No space after a closing delimiter

2015-08-27 Thread Otared Kavian
Hi Fabrice, This is a normal behaviour of TeX macro commands. You should use your command by invoking it like the following: \repere\ blabla blabal Best regards: OK On 27 Aug 2015, at 10:06, Fabrice Couvreur fabrice1.couvr...@gmail.com wrote: Hi, The macro \repere does not

Re: [NTG-context] superscripts th nd rd st on dates etc..

2015-08-26 Thread Otared Kavian
\highordinalstr{st} etc. On Tue, 25 Aug 2015 09:19:21 +0200 Otared Kavian ota...@gmail.com wrote: \high{th} \high{nd} \high{st} On 24 Aug 2015, at 23:19, John Culleton j...@wexfordpress.com wrote: Forgot how to do these. -- John Culleton -- Alan Braslau CEA DSM-IRAMIS

Re: [NTG-context] superscripts th nd rd st on dates etc..

2015-08-25 Thread Otared Kavian
\high{th} \high{nd} \high{st} On 24 Aug 2015, at 23:19, John Culleton j...@wexfordpress.com wrote: Forgot how to do these. -- John Culleton Wexford Press Book layout, typesetting and Indexing Free list of books for self-publishers: http://wexfordpress.net/shortlist.html

Re: [NTG-context] margindata does not work in latest beta

2015-08-11 Thread Otared Kavian
Hi Thomas, I tested your example file and looked into my archive tests: it seems that a bug has appeared recently, maybe when Hans changed something in order to have linenumbering working in floats. Indeed now the linenumbering does not work in mkiv, neither when using \startsimplecolumns (it

Re: [NTG-context] margindata does not work in latest beta

2015-08-08 Thread Otared Kavian
Hi Thomas, Your file gives the expected result here, with ConTeXt ver: 2015.08.05 16:35 MKIV beta fmt: 2015.8.7 int: english/english Please see the attached output. Best regards: OK margindata.pdf Description: Adobe PDF document On 08 Aug 2015, at 14:26, Thomas A. Schmitz

Re: [NTG-context] Text around a figure in a framedtext (Wolfgang Schuster)

2015-08-08 Thread Otared Kavian
Hi Jeong, You are right, but probably this is due to the way the source file knuth.tex is encoded: if you replace \input knuth by the text itself, that is by the following Thus, I came to the conclusion that the designer of a new system must not only be the implementer and first

Re: [NTG-context] Text around a figure in a framedtext

2015-08-07 Thread Otared Kavian
Hi, You should use the same width if you want to obtain the same result (by the way, you have to say also \stopframedtext in your source file): \startframedtext[width=\textwidth]{ \placefigure[right,none]{}{% \startMPcode draw unitsquare scaled 2cm ; \stopMPcode} \input knuth.tex }

Re: [NTG-context] Numbering subformulas

2015-08-06 Thread Otared Kavian
Hi Wolfgang, Thanks for having solved the problem with subformulas numbering. I would just make a comment on your answers to Lukás, regarding the use of \startsubformulas[mylabel] Indeed using this structure instead of \startsubformulas[+] allows one to refer to all the

Re: [NTG-context] Numbering subformulas

2015-08-06 Thread Otared Kavian
Hi Lukás, You configure the way the equations are numbered by sayng (for example) \setupformulas[prefix=yes, prefixsegments=chapter:section, way=bysection, location=right] If you say « prefix= no » then you don’t need the other specifications, but I am giving a more example above in

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-04 Thread Otared Kavian
\setupdefaultnumberings[arabicdecimals] which sets a default for conversion of numbers for all the counters. Again many thanks for the features you included in ConTeXt for bidi writing. Best regards: OK On 04 Aug 2015, at 01:30, Hans Hagen pra...@wxs.nl wrote: On 8/3/2015 9:25 PM, Otared Kavian

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread Otared Kavian
Hi Hans, Idris, Talal, Some years ago we had a discussion on the issue, but I don’t remember where we ended up… In my opinion, I think that the numberings should be maned as follows: arabicnumerals: should be ١,٢,٣,٤,٥,٦,٧,٨,٩,٠ persiannumerals: should be ۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹ ۰ abjadnumerals:

Re: [NTG-context] em-/en-dashes and newotf

2015-07-12 Thread Otared Kavian
Hi Pablo,On my installation everything seems to work fine: Context version2015.07.12 15:40 Please see the attached file.Best regards: OK newotf-ligatures.pdf Description: Adobe PDF document On 12 Jul 2015, at 11:38, Pablo Rodriguez oi...@gmx.es wrote:On 07/12/2015

Re: [NTG-context] Testing the value of a number defined with \definenumber

2015-06-27 Thread Otared Kavian
Hi MF, You should use \rawcountervalue instead of \getnumber, as in the following: \starttext \definenumber[numero][] \setnumber[numero][42] The value of {\tt numero} is \getnumber[numero]. The value of {\tt numero} is \rawnumber[numero]. The value of {\tt numero} is \rawcountervalue[numero].

Re: [NTG-context] definereferencestructureprefix for floats

2015-06-22 Thread Otared Kavian
Hi Aditya, Hi Wolfgang, I was following this thread and I fixed too the typo, then rebuilt the formats but the results I get are as Aditya describes it (please see the attached output I get). Actually I need something analogous but regarding a reference to a Theorem or Lemma within a given

Re: [NTG-context] Multi-page (split) natural tables and footnotes

2015-06-07 Thread Otared Kavian
Hi Christoph, There exists a local footnotes environment in floats, as in the following example: I don’t know if it solves the problem you mention… \starttext \startlocalfootnotes \placetable[align=middle]{A table with footnotes.} {\starttable[|l|r|] \HL \VL

Re: [NTG-context] \math or $ doesn't work.

2015-06-02 Thread Otared Kavian
On 02 Jun 2015, at 21:08, John Culleton j...@wexfordpress.com wrote: […] Everything works. But there is something wrong with my math code. There is no horizontal bar between the 1 and the 2. I guess I will study The TEXbook some more. Hi John, It is a good idea to read again The TeXBook,

Re: [NTG-context] bug in latest beta?

2015-06-01 Thread Otared Kavian
Hi Pablo, Indeed the document I was talking about has been typeset with various versions of mkiv, but now I observe that sometimes the pagebreaks are made in a very strange way. Since I can’t make a minimal example, I put on the following link an excerpt of the PDF document where the bad

Re: [NTG-context] ConTeXt not defending the right margin

2015-06-01 Thread Otared Kavian
Hi, Probably instead of underscores you should use horizontal line, that is \hl[3] (or any other value instead of 3), something like \starttext Date: \hl[8], 20\hl[5], at \hl[5], City \hl[7] \stoptext Best regards: OK On 01 Jun 2015, at 08:11, henman dhen...@gmail.com wrote: I am

Re: [NTG-context] ConTeXt not defending the right margin

2015-06-01 Thread Otared Kavian
On 01 Jun 2015, at 09:33, Pablo Rodriguez oi...@gmx.es wrote: On 06/01/2015 09:12 AM, Otared Kavian wrote: Hi, Probably instead of underscores you should use horizontal line, that is \hl[3] (or any other value instead of 3), something like \starttext Date: \hl[8], 20\hl[5

Re: [NTG-context] bug in latest beta?

2015-06-01 Thread Otared Kavian
On 01 Jun 2015, at 09:28, Pablo Rodriguez oi...@gmx.es wrote: […] Hi Otared, having only three theorems my guess will be probably wrong, but I’ll try it. The theorem that doesn’t cause a wrong pagebreak is preceeded by a single line paragraph. In order to confirm whether this is

Re: [NTG-context] bug in latest beta?

2015-05-28 Thread Otared Kavian
Hi Pablo, I tested your sample with ConTeXt ver: 2014.05.21 22:04 MKIV beta fmt: 2015.3.31 int: english/english (which is from TeXLIve 2014) and also with ConTeXt ver: 2015.05.21 13:39 MKIV beta fmt: 2015.5.21 int: english/english and I get exactly the same result, with

Re: [NTG-context] arranging pages

2015-05-24 Thread Otared Kavian
Hi, Maybe you need to say also: \setuppagenumbering[alternative={singlesided,doublesided}] or just \setuppagenumbering[alternative={singlesided}] Best regards: OK On 24 May 2015, at 11:24, Meer, H. van der h.vanderm...@uva.nl wrote: Trying to put 2 pages in A5 format

Re: [NTG-context] arranging pages

2015-05-24 Thread Otared Kavian
Hi again, Sorry I didn’t notice that you used \setuparranging[2UP] Actually what you want to do may be: begin arranging-up-or-side.tex \setuppapersize[A5][A4,landscape] \setuplayout[location=middle] \setuparranging[2SIDE] %\setuparranging[2UP] —— Compare with the above

Re: [NTG-context] \big\lfloor and \big\lceil do not work

2015-05-12 Thread Otared Kavian
Hi Hans, While you are at the delimiters, could you please add also \| as an alias for \Vert? The command \| exists in plain TeX (and in many other TeX packages used by mathematicians) as an alias for the double bar norm, \Vert, or ||, while as of now in ConTeXt it is an alias for the

Re: [NTG-context] Changing font for math function

2015-05-11 Thread Otared Kavian
: OK On 11 May 2015, at 04:47, Aditya Mahajan adit...@umich.edu wrote: On Sun, 10 May 2015, Otared Kavian wrote: Everything works fine, except that when one tries to modify, for instance the definition of \liminf (in order to have it as an underlined lim), ConTeXt reports an error

Re: [NTG-context] Changing font for math function

2015-05-11 Thread Otared Kavian
, at 10:05, Hans Hagen pra...@wxs.nl wrote: On 5/11/2015 9:07 AM, Otared Kavian wrote: Hi Aditya, Thanks for your remark: indeed with the correct use of \underline, I get what was intended, but somehow before yesterday ConTeXt was more tolerant and for years it accepted my wrong definition

Re: [NTG-context] Changing font for math function

2015-05-10 Thread Otared Kavian
Hi Hans, Thanks for the new feature in \setupmathematics. I did some testing of the feature on a several documents, , and followed the discussions you had with Aditya and Wolfgang. Everything works fine, except that when one tries to modify, for instance the definition of \liminf (in order to

Re: [NTG-context] alternative numerical \cite command

2015-05-04 Thread Otared Kavian
Hi Alan, Excuse-me to jump over a discussion related to the new bibliography features of mkiv, but is it now reasonably stable to swithch completely from mkii to mkiv (I still have some files in mkii which I use only because of the bibliography features I have set up on purpose). And where

Re: [NTG-context] alternative numerical \cite command

2015-05-04 Thread Otared Kavian
Thanks to remarks by Mojca and Alan, I did some testing with mkiv and my old setups for bibliography under mkii, and magically it works also with the new bibliography features of mkiv, that is without saying \usemodule[bib]. However somehow I couldn’t find an equivalent for the

Re: [NTG-context] Check the character after a macro

2015-05-01 Thread Otared Kavian
Hi, You have several commands in ConTeXt doing what you are seeking to do: please look at the examples below: %%% begin do-if-inset.tex \starttext \type{\doifinset{A}{A,B,C}{should go}:} \doifinset{A}{A,B,C}{should go} \type{\doifinset{D}{A,B,C}{should go}:} \doifinset{D}{A,B,C}{should

Re: [NTG-context] A macro which gives a random name

2015-04-19 Thread Otared Kavian
by Hans On 18 Apr 2015, at 22:36, Hans Hagen pra...@wxs.nl wrote: On 4/18/2015 10:24 PM, Otared Kavian wrote: Hi again Wolfgang, Thanks to your hint, I could solve the problem… In case someone else would encounter a similar problem to solve, below is a macro which chooses an element from

[NTG-context] A macro which gives a random name

2015-04-18 Thread Otared Kavian
Hi everyone, In the example below I define a macro which chooses at random a name from a list of names. But I wonder whether this can be done in a more clever way without using a numerical macro created with math.random in Lua. The shortcoming of the macro below is that before hand I must know

Re: [NTG-context] A macro which gives a random name

2015-04-18 Thread Otared Kavian
). Is there a solution ? Best regards: OK On 18 Apr 2015, at 19:23, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 18.04.2015 um 18:55 schrieb Otared Kavian ota...@gmail.com: Hi everyone, In the example below I define a macro which chooses at random a name from a list of names

Re: [NTG-context] A macro which gives a random name

2015-04-18 Thread Otared Kavian
$.\par \hairline\par} \stoptext end choose-element.tex On 18 Apr 2015, at 19:23, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 18.04.2015 um 18:55 schrieb Otared Kavian ota...@gmail.com: Hi everyone, In the example below I define a macro which chooses at random a name from

[NTG-context] Bug in latest beta: behavior of \text in StepCharts

2015-04-16 Thread Otared Kavian
Hi Hans, It seems that with the latest beta there is a bug in the way how the command \text is handled in step charts (plesae see the attached PDF). This bug is absent from mkii, and absent from previous versions of mkiv (up to a weak ago, I believe). This is a minimal example which shows that

[NTG-context] New command: \showreferences

2015-04-14 Thread Otared Kavian
Hi all, Many thanks to Hans who cooked up in a very short notice a new command named \showreferences which does what its names suggests: it shows the points at which a cross reference is invoked. This command works in interactive documents. There is a Wiki page about how to use it, and

Re: [NTG-context] Writing between lines

2015-04-13 Thread Otared Kavian
On 13 Apr 2015, at 18:30, Hans Hagen pra...@wxs.nl wrote: […] pushing stuff in between will probably mess up spacing etc etc so if you follow that route just accept that your proof is not what you will eventually get anyway, i added some ref tracing to the upcoming beta (1)

[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. But

Re: [NTG-context] how to insert symbols into document?

2015-04-13 Thread Otared Kavian
: Otared Kavian írta: On 13 Apr 2015, at 01:29, Csikos Bela wrote: Hello context users: I would like to insert symbols into my document, especially black-diamond and losenge symbols. I read symbols page at contextgarden but still don't know how to do it. I also tried \showsymbolset

Re: [NTG-context] how to insert symbols into document?

2015-04-12 Thread Otared Kavian
Hi, You can use the mathmode to access those characters, as in the following example: \starttext This is \type{$\blacklozenge$} $\blacklozenge$ This is \type{$\lozenge$} $\lozenge$ \stoptext If you want to know the name of some specific characters you can use the following code, typeset in

[NTG-context] \version[temporary] in mkiv

2015-04-11 Thread Otared Kavian
Hi Hans, In mkii, we used to have the command \version[temporary] in the document, so that the labels for cross references would be printed in the margin, which is extremely useful when proof reading. In mkiv the command exists, but does not that: it prints only in small print the name

Re: [NTG-context] \version[temporary] in mkiv

2015-04-11 Thread Otared Kavian
, Otared Kavian wrote: Hi Hans, In mkii, we used to have the command \version[temporary] in the document, so that the labels for cross references would be printed in the margin, which is extremely useful when proof reading. In mkiv the command exists, but does not that: it prints only

Re: [NTG-context] \version[temporary] in mkiv

2015-04-11 Thread Otared Kavian
On 11 Apr 2015, at 15:38, Hans Hagen pra...@wxs.nl wrote: […] What do you need then? Math is handled in several files. Hi, something like the following definition for \placeformularef below, which would work in multine formulas (I don’t know how to write in the margin next to the number of

Re: [NTG-context] caption setup

2015-04-09 Thread Otared Kavian
Hi, Maybe something like the following gives what you want: \setupcaption[figure][numberstopper={ ábra.}] \setuplabeltext[figure={}] However I don’t know how you would like the reference to a figure appear in the text: maybe the above solution doesn’t give what you want, and so

Re: [NTG-context] For the Mac users: AppleScript to launch ConTeXt in a flexile way

2015-04-09 Thread Otared Kavian
Hi Thomas, Thanks for sharing your script! Today I installed the update, but unfortunately now I cannot run it… because of a security message which prevents its execution, saying: begin system message The app has been modified or damaged The app has been modified, and its code does not

[NTG-context] Help wanted: cross referencing

2015-04-08 Thread Otared Kavian
Maybe a third post will get attention from a guru… Hi all, As explained in the example below, I would like to setup the referencing mechanism so that a cross reference within a given chapter gives only the number of the section and that of an equation, while if the same reference is used in

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