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 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 following (given by one of ou

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

[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

[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 i

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 which are named f

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

2017-09-28 Thread Otared Kavian
28/2017 9:30 PM, Otared Kavian wrote: >>> On 28 Sep 2017, at 19:12, Hans Hagen mailto:pra...@wxs.nl>> >>> wrote: >>>> […] >>> files in the tex tree (styles and such) are not accessible (protected) as >>> you don't want them to get messed u

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)}}} \setupnote[textcommand=\MyFootnot

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 + b^4

[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 int

Re: [NTG-context] Problem with math alignment

2017-11-12 Thread Otared Kavian
t; \stopmathmatrix > \stopformula > \stoptext > > Matthias > >> On Nov 12, 2017, at 11:37 AM, Otared Kavian wrote: >> >> Hi everybody, >> >> Does anyone have noticed that the mathalignment has changed its behaviour >> recently? I think a bug has managed

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] 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 meanwh

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 wrote: > > On Fri, Nov 17, 2017 at 2:27 PM, Otared Kavian wrote: >> Hi Alan, >>

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 > > __

[NTG-context] Context version 2018.01.04 17:37 does not produce output…

2018-01-05 Thread Otared Kavian
Hi Hans, I wish you and all the community a happy new year. I wanted to report a problem with yesterday’s beta release, version 2018.01.04 17:37, which is that no PDF ouput is produced when a file is typeset: % begin test.tex \starttext Hello \stoptext %end test.tex When issuing the command

Re: [NTG-context] Context version 2018.01.04 17:37 does not produce output…

2018-01-05 Thread Otared Kavian
> On 5 Jan 2018, at 14:21, Hans Hagen wrote: >> […] > hm, soon that will be 1.07 ... anyway, as a quick hack you can change it in > context.mkiv to 1.05 Many thanks for your quick answer. I just did change \ifnum\luatexversion<106 into \ifnum\luatexversion<105 and rebuilt th

Re: [NTG-context] Bug? numberstopper in references

2018-01-16 Thread Otared Kavian
Hi Bernard, Transposing your table to an example given by Wolfgang Schuster some time ago I obtain the correct behavior, but I don’t know where the problem in your example comes from… Please see whether the following gives what you want and comapre with the PDF I get here with ConTeXt version

Re: [NTG-context] Bug? numberstopper in references

2018-01-16 Thread Otared Kavian
Oh I sent my previous message too quickly… I was just using the \at command for referring to captions, while you want to use the \in command: maybe this is the problem. > On 16 Jan 2018, at 22:25, bbvo...@home.nl wrote: > > Dear list, > > When I use the numberstopper option in setupcaptions it

Re: [NTG-context] Problem with \definemathmatrix

2018-01-17 Thread Otared Kavian
Hi Fabrice, I think the problem comes from a blank line in your matrix (after your last line of entries in your matrix). The following works fine for me: \definemathmatrix [pmatrix] [left={\left(\,},right={\,\right)}] \starttext \startformula A = \startpmatrix \NC 11 \NC 12 \NR \NC 21 \N

Re: [NTG-context] Problem with \definemathmatrix

2018-01-18 Thread Otared Kavian
Hi Aditya, Thanks for sharing this nice module, it is really useful, especially when making documents for students while using Matlab or Scilab. There is also in the distribution the module m-matrix.mkiv written by Hans and Jeong Dalyoung, which allows to manipulate matrices. Maybe one should

[NTG-context] Registers and getparameters

2018-01-22 Thread Otared Kavian
Hi all, I have a list of speakers (and abstracts of their talk) in a rather long document, and the name of each speaker is written to a register named speakers. Then with the command \getparameters[Talk] I get the name of each speaker and try to write it to the register with \speakers{

Re: [NTG-context] Registers and getparameters

2018-01-22 Thread Otared Kavian
[speakers] \stoptext %%% end register-talks.tex > On 22 Jan 2018, at 20:26, Wolfgang Schuster <mailto:schuster.wolfg...@gmail.com>> wrote: > > >> Otared Kavian <mailto:ota...@gmail.com> 22. Januar 2018 um 19:53 >> Hi all, >> >> I have a list of speaker

Re: [NTG-context] Registers and getparameters

2018-01-22 Thread Otared Kavian
Hi Wolfgang, Thanks a lot! Indeed with removing the \doflushatpar and putting the page reference out of the tabulate solves all the problems. Have a nice day: Otared K. > On 22 Jan 2018, at 22:38, Wolfgang Schuster > wrote: > > >> Otared Kavian <mailto:ota...@gmail.co

Re: [NTG-context] Registers and getparameters

2018-01-23 Thread Otared Kavian
On 23 Jan 2018, at 10:19, Hans Hagen wrote: > > On 1/22/2018 8:26 PM, Wolfgang Schuster wrote: >>> […] >> You have to add \expanded, i.e. \expanded{\speakers{...}}. > > or maybe try the 'expanded' option > > \setupregister > [speakers] > [style=sansbold, > n=2, > expansion=yes] Hi Hans,

[NTG-context] How to control the placement of a button

2018-01-25 Thread Otared Kavian
Hi all, Some years ago Wolfgang Schuster answered a question about interactive buttons placed on a page in order to navigate in a PDF document. Somehow, unfortunately, I did not keep his complete answer, but kept just an example code he sent, which I copy below. So my question is: how can one

[NTG-context] Bug in interaction and button?

2018-01-27 Thread Otared Kavian
Hi Hans, While experimenting with \button according to your suggestions, I noticed that there might be a bug somewhere between interaction and the button command: the following code (sent by you some years ago…) works fine as expected in mkii but does not work in mkiv (neither the most recent b

[NTG-context] Placing a figure with a command for the file in mkiv

2018-01-27 Thread Otared Kavian
Hi all, I have a document (sort of proceedings of a meeting) which have to contain several pages, with each page dedicated to an author and a specific figure (say a photo). In mkii I used to do have a command like \define\authorpicture{hacker.jpg} and then use a command like: \ex

Re: [NTG-context] Placing a figure with a command for the file in mkiv

2018-01-27 Thread Otared Kavian
> On 27 Jan 2018, at 11:43, Wolfgang Schuster > wrote: > […] > \defineexpandable\...{…} Hi Wolfgang, Thanks again! Indeed \defineexpandable\authorpicture{hacker.jpg} solves the problem in the simplified case I was reporting. However in the real case, the file « hacker.jpg » is in

Re: [NTG-context] Placing a figure with a command for the file in mkiv

2018-01-27 Thread Otared Kavian
> On 27 Jan 2018, at 12:39, Wolfgang Schuster > wrote: >> […] > […] > You’re missing a coma after “picture=hacker.jpg” which results in “jpeg ” > (which a space at the end) as file extension for the image. Yes indeed this was the issue… In fact I had tested « picture={hacker.jpg} » without th

[NTG-context] \setvariables and database module

2018-01-30 Thread Otared Kavian
Hi all, I need to create a document using a database and the \setvariables command (which I understood thanks to Wolfgang Schuster). Everything works fine except that using the approach below I need to change the entries in the database by enclosing each entry between a pair of braces {}, becau

Re: [NTG-context] \setvariables and database module

2018-01-30 Thread Otared Kavian
> On 30 Jan 2018, at 15:54, Wolfgang Schuster > wrote: >> […] > > Use the command key which grabs the content of each column as argument (i.e. > your commands needs as many arguments as your table has columns): > > \defineseparatedlist > [seplisttalk] > [separator={;}, >command=\maket

Re: [NTG-context] \setvariables and database module

2018-01-30 Thread Otared Kavian
tolerant for the filename? Best regards: OK > On 30 Jan 2018, at 16:28, Otared Kavian wrote: > > >> On 30 Jan 2018, at 15:54, Wolfgang Schuster > <mailto:schuster.wolfg...@gmail.com>> wrote: >>> […] >> >> Use the command key which grabs the content of

Re: [NTG-context] \setvariables and database module

2018-01-30 Thread Otared Kavian
> On 30 Jan 2018, at 17:37, Wolfgang Schuster > wrote: > >> […] >> Is there a way to make the \defineseparatedlist command to be more tolerant >> for the filename? >> > No but you can remove the space with Lua. > > \externalfigure[\cldcontext{string.collapsespaces("\getvariable{talk}{picture

Re: [NTG-context] \setvariables and database module

2018-01-30 Thread Otared Kavian
> On 30 Jan 2018, at 19:05, Wolfgang Schuster > wrote: >> […] > Spaces after a control sequence are gobbled and multiple spaces are skipped. > > Braces around the filename are allowed because this function was added with > the extensions to the TeX binary (which means it doesn’t work with Knu

Re: [NTG-context] \setvariables and database module

2018-01-31 Thread Otared Kavian
> On 31 Jan 2018, at 17:40, Wolfgang Schuster > wrote: > >> […] >> > Add “strip=yes” to remove spaces around the cells. > > \defineseparatedlist > [seplisttalk] > [separator={;}, >command=\maketalk, >strip=yes] > Yes it does the job! Thanks again, but I wonder where did you fi

Re: [NTG-context] \setvariables and database module

2018-01-31 Thread Otared Kavian
> On 31 Jan 2018, at 18:11, Wolfgang Schuster > wrote: > >> […] >> Thanks again, but I wonder where did you find this trick?… in i-context.pdf >> there is no entry for \defineseparatedlist… > > setup-en.pdf (and i-context.pdf) contains only commands from the core. There > are lists for many

Re: [NTG-context] text on every page howto

2018-02-02 Thread Otared Kavian
Hi, I think the following can solve your problem, but I don’t know whether it is the optimal way to achieve what you are looking for: in any case you can play with the dimensions used here as an example, in order to find the correct location. Best regards: OK %% begin rotated-text.tex \define\

Re: [NTG-context] Latest beta: reference to items broken in mkiv

2018-02-07 Thread Otared Kavian
Hi Robert, I think the issue does not come from the version of Context you are using but rather from a lack of formatting your itemgroups with the keyword « repeat ». I guess what you want to obtain can be achieved with the following example below. At least here with either versions of Context

Re: [NTG-context] Latest beta: reference to items broken in mkiv

2018-02-07 Thread Otared Kavian
gt; 2. Item 2, reference 2 > > > See Item 1.b / 1b, see also items 2 and 1 above, as well as the sub-sub item > 1.b.ii / 1bii. > > > Is this possible? > > Regards, > > Robert > > > > >> Op 7 feb. 2018, om 12:37 heeft Otared Kavian > &l

Re: [NTG-context] Latest beta: reference to items broken in mkiv

2018-02-07 Thread Otared Kavian
1.c. Item c, reference c > > 2. Item 2, reference 2 > > > See Item 1.b / 1b, see also items 2 and 1 above, as well as the sub-sub item > 1.b.ii / 1bii. > > > Is this possible? > > Regards, > > Robert > > > > >> Op 7 feb. 2018, om 12:

Re: [NTG-context] Unexpected emergency stop

2018-02-09 Thread Otared Kavian
Hi Tim, Welcome back to ConTeXt! When one defines a command, in particular when using the brackets […], it is wise to put a percent sign at the end of the line if one changes the line on which the macro is defined. In your case, saying \definemacro\see[#1:#2]% {\dosee{#1}{#2}} suppress

[NTG-context] To \getbuffer or to \input: which one is it better?

2018-02-10 Thread Otared Kavian
Hi all, In a project using the \setvariables command of ConTeXt, a file containing more than 200 instances of a structure resembling (but with much more fields…) \setvariables[talk] [speaker={Dr Some Speaker}, title={Some title}, room={Some

Re: [NTG-context] Problem with a macro

2018-02-11 Thread Otared Kavian
Hi Fabrice, If you remove the line \setupmathextensible[integral][rightoffset=-3mu,exact=yes,factor=2] then your example typesets well with the last beta version 2018.02.09 00:04. Best regards: OK > On 11 Feb 2018, at 09:35, Fabrice Couvreur > wrote: > > Hi Hans, > The macro that yo

Re: [NTG-context] Problem with a macro

2018-02-11 Thread Otared Kavian
Hi Dalyoung, You are right regarding the unnatural way of using \autointegral. An easy way to use the \autointegral command in a more natural way is to define one’s own macro, as in the following: \setupmathdelimiter[integral][rightoffset=-3mu,exact=yes,factor=2] \unexpanded\def\myint#1#2#3#4{

Re: [NTG-context] To \getbuffer or to \input: which one is it better?

2018-02-13 Thread Otared Kavian
> On 11 Feb 2018, at 14:17, Aditya Mahajan wrote: > > On Sun, 11 Feb 2018, Hans Hagen wrote: > […] > > I prefer starting with XML and converting it to a lua table using helper > functions. The advantage of XML is that you can verify the data using an RNC > schema. Hi Aditya, Thanks for you

[NTG-context] Paasing two arguments from Lua to Context

2018-02-13 Thread Otared Kavian
Hi all, After Hans showed me an example of using Lua code in ConTeXt, I am learning this stuff in the manual cld-mkiv.pdf, which is in [ConTeXt-StandAlone]/tex/texmf-context/doc/context/documents/general/manuals/cld-mkiv.pdf From that manual I understand that if a macro command \mycommand is

Re: [NTG-context] Passing two arguments from Lua to Context

2018-02-13 Thread Otared Kavian
> On 13 Feb 2018, at 17:38, Hans Hagen wrote: > >> […] > > context.goto( "Index", { "ref:index" }) > > \def\foo#1#2{} > > context.foo("a","b") > > \def\foo[#1][#2]{} > > context.foo( { "a" }, { "b" } ) > > etc Hi Hans, Thanks for your attention, your quick response and the hints,

[NTG-context] Learning how to use \setupbtxrendering

2018-02-17 Thread Otared Kavian
Dear all, I am in the process of learning how to use the bibliography mechanism in mkiv, and I would lik eto understand the meanings of the various parameters in the command: \setupbtxrendering [...,1,...] [..,..2=..,..] 1 NAME 2 textstate = start stop pagestate = start stop s

Re: [NTG-context] about makempy (metapost outlines)

2018-02-18 Thread Otared Kavian
Hi Dalyoung, Tha sample code below runs correctly, except that the Korean words are not displayed, since there is no body fonts set up for that language. Could you please send a more complete sample in order for us to see what you are reporting? Best regards: OK > On 19 Feb 2018, at 03:21, Jeo

Re: [NTG-context] Learning how to use \setupbtxrendering

2018-02-19 Thread Otared Kavian
test.bib Description: Binary data > On 17 Feb 2018, at 20:29, Alan Braslau wrote: > > HANS: there is one specific comment for you, below. > > On Sat, 17 Feb 2018 15:27:03 +0100 > Otared Kavian wrote: > >> Dear all, >> >> I am in the process of learning ho

Re: [NTG-context] Learning how to use \setupbtxrendering

2018-02-20 Thread Otared Kavian
Hi Thomas, Many thanks for your insight. Indeed as Alan and you explain, it is straightforward to define one's own specification. I have not done that yet, but already I could change some of the renderings by modifying a few of the definitions in the file publ-imp-default.mkvi in my test file.

Re: [NTG-context] \eqalign not working in latest beta

2018-03-01 Thread Otared Kavian
Hi Alan, I think in mkiv one is supposed to use rather the \startalign...\stopalign structure, as in the following: \starttext \startformula \startalign \NC t_{L,\text{early}} \NC = t_{L,\text{late}} = t_{L,\text{ray}} \NR \NC\NC = 6\ \mu m \NR \stopalign \stopformula \stoptext Best regards:

Re: [NTG-context] Macro to write the euro symbol

2018-04-08 Thread Otared Kavian
Hi Fabrice, I don't know about the \symbol[EUR], but you can use directly the € symbol as in: \unexpanded\def\euros#1{#1\,€} \starttext \euros{100} \stoptext Best regards: OK > On 7 Apr 2018, at 23:56, Fabrice Couvreur wrote: > > Hello, > This macro does not work anymore and I do not

Re: [NTG-context] next beta

2018-04-17 Thread Otared Kavian
Hi Hans, Thanks for the new feature for row backgrounds, which I tested: it works (though see below) and it is another great feature! I wanted to add the information on the wiki, but thought it would be better to explain the meanings of \ND and \NL: is the following correct: \NC = New Column \N

Re: [NTG-context] goto reference

2018-04-18 Thread Otared Kavian
Hi, On my Mac, running MacOS High Sierra 10.13.5 Beta, the example given by Wolfgang works fine: clicking on the link created by ConTeXt, from within TeXShop, Safari opens that document on the desired page, that is the physical page 58. Best regards: OK > On 18 Apr 2018, at 23:04, Hans van de

Re: [NTG-context] goto reference

2018-04-19 Thread Otared Kavian
st.pdf\letterhash > > page=10)]{\quad\bf Put your own path here!}\blank > \goto{click test.pdf page10 with ftp://test.pdf <ftp://test.pdf/> (local > path)) does not open}[url(file://test.pdf\letterhash > page=10)]\blank > \stoptext > > >> On 19 Apr 2018,

Re: [NTG-context] roadmap

2018-05-17 Thread Otared Kavian
Hi Mohammad Hossein, Thanks for your work regarding the RawSteps! However I tried just now the examples you have on github, but it seems that it does not work out of the box: ConTeXt reports an error at line 114 of p-rsteps.tex, complaining about an « Undefined control sequence » which points

[NTG-context] TeXLive and ConTeXt

2018-06-06 Thread Otared Kavian
Hi all, I would like to report (with a rather bad humor) on an issue regarding the use of ConTeXt when one starts with TeXLive. Last week I was at a meeting of mathematicians and several people asked me to explain why I am using ConTeXt rather than LaTeX, and show them some of the features whi

Re: [NTG-context] TeXLive and ConTeXt

2018-06-06 Thread Otared Kavian
ote: > > Hi Otared, > > Since it works for me just fine (TL2018), a wild guess is that the installed > TeXLive did not > install the context scheme at all? > > Best wishes, > Taxo > >> On 6 Jun 2018, at 16:54, Otared Kavian wrote: >> >> Hi all, >>

Re: [NTG-context] TeXLive and ConTeXt

2018-06-06 Thread Otared Kavian
, > > On Wed, 6 Jun 2018, Otared Kavian wrote: > >> I don't know to whom I should write to have ConTeXt enabled in TeXLive when >> one installs it: can anyone give me a hint? > > I haven't used context that comes with texlive so I tried doing so on a new &

Re: [NTG-context] TeXLive and ConTeXt

2018-06-06 Thread Otared Kavian
an be fixed and how. Best regards: OK > On 6 Jun 2018, at 19:15, Hans Hagen wrote: > > On 6/6/2018 4:54 PM, Otared Kavian wrote: >> Hi all, >> I would like to report (with a rather bad humor) on an issue regarding the >> use of ConTeXt when one starts with TeXLive. &g

Re: [NTG-context] OT: Pexeso (one missing rule)

2018-06-12 Thread Otared Kavian
Hi Lukas, Thanks for sharing your code and this nice game… even for adults :-) I tried your code with a set of images describing various shapes of leaves, and you can find it here: https://www.dropbox.com/s/thbm6xxbvobakj6/feuilles-jeu-1.pdf?dl=0 I was wondering how to change your code

Re: [NTG-context] upto current

2013-03-19 Thread Otared Kavian
On 19 mars 2013, at 19:47, Aditya Mahajan wrote: > […]Although most active users use ConTeXt standalone and are willing to > update frequently, TL still plays an important role in introducing new users > to ConTeXt. An experienced TeX user who wants to try ConTeXt is more likely > to try ConT

Re: [NTG-context] Nabla operator appears italic in formula

2013-03-24 Thread Otared Kavian
On 24 mars 2013, at 11:24, Hans Hagen wrote: > On 3/23/2013 9:34 PM, Xenia wrote: >> Dear context list, >> >> using the nabla symbol ∇ in formulas, I wondered why it looks italic and >> not upright as for example in [1]. >> I attach an example. > > Because that's how it's defined in math itali

Re: [NTG-context] A thinner hrule for headers

2013-03-24 Thread Otared Kavian
Hi, Maybe you need something like \hairline: \setupthinrules[height=.1pt,depth=.1pt] \setupheader[after=\hairline] You can also enclose your header in a \framed commande, such as \framed[frame=off,bottomframe=on] Best regards: OK On 24 mars 2013, at 13:32, Thomas Kreuzer wrote: > Hel

Re: [NTG-context] A thinner hrule for headers

2013-03-24 Thread Otared Kavian
regards: OK On 24 mars 2013, at 21:35, Aditya Mahajan wrote: > On Sun, 24 Mar 2013, Otared Kavian wrote: > >> You can also enclose your header in a \framed commande, such as >> \framed[frame=off,bottomframe=on] > > A header is already enclosed in a frame! Something lik

Re: [NTG-context] \setupheadertexts [section]

2013-03-26 Thread Otared Kavian
Hi Alan, I think the reason is that ConTeXt expects any text to be part of a certain structure as in Chapter > Section > Subsection and therefore what you add after your chapter, that is > \page [yes] > > Some trailing remarks… should be part of a new chapter (or maybe an unnumbered ch

Re: [NTG-context] Resetting enumeration numbers

2013-04-05 Thread Otared Kavian
On 4 avr. 2013, at 23:13, Hans Hagen wrote: > […] > \defineenumeration[test] > > \setupenumeration[test][way=bysection] ^ This should rather be \setupenumerations[test][way=bysection] Best regards: OK > > \starttext >\startsection[title=one] >

Re: [NTG-context] Resetting enumeration numbers

2013-04-05 Thread Otared Kavian
On 5 avr. 2013, at 14:48, Wolfgang Schuster wrote: > > Am 05.04.2013 um 11:31 schrieb Otared Kavian : > >> >> On 4 avr. 2013, at 23:13, Hans Hagen wrote: >>> […] >>> \defineenumeration[test] >>> >>> \setupenumeration[test][way=byse

Re: [NTG-context] New user of ConTeXt

2013-04-10 Thread Otared Kavian
Hi Tristan, If you ar eusing TeXLive and TeXShop on a Mac, when typesetting you should use a different engine than the one you use now. To do so, pay attention to menu on the top of you source file, to th eright of the « Typeset » button: there it is indicated which engine you are going to use

Re: [NTG-context] new beta

2013-04-11 Thread Otared Kavian
On 10 avr. 2013, at 20:09, Hans Hagen wrote: > Hi, > > An extra chapter in: > > http://www.pragma-ade.nl/general/manuals/about.pdf > > explaining abit the updated math fractions (and math styles mechanism). Hi Hans, Thanks for the explanations given in the above new manual about the new fe

Re: [NTG-context] MAC (preview, finder) and ConTeXt pdf

2013-05-30 Thread Otared Kavian
Hi Alan, I do use mkiv n Mac OS X and PDFs do not show the problem you mention: they are searchable and text can be copied from them without any problem. If you send me an example of PDF file which shows this kind of problem, I can test it on my machine and the n let you know. Best regards: OK

Re: [NTG-context] MAC (preview, finder) and ConTeXt pdf

2013-05-30 Thread Otared Kavian
On 30 mai 2013, at 22:40, Alan BRASLAU wrote: > […] It is not too surprising that the Mac is buggy, but this is somewhat > worrisome. I don't think the Mac, or the Mac OS X, is buggy… until it is proved that the problem is a real one on all Macs. The documents produced by mkiv or mkii, the on

Re: [NTG-context] Fraction with a fraction in the denominator

2013-06-05 Thread Otared Kavian
On 4 juin 2013, at 21:34, Hans Hagen wrote: > […] > ok, a new feature for SB: Thanks hans! Very nice feature. Wikified in http://wiki.contextgarden.net/Command/fraction but the output on the wiki is not correct since ConTeXt there is mkii. Best regards: OK > > \definemathfraction > [

Re: [NTG-context] new beta

2013-07-12 Thread Otared Kavian
On 12 juil. 2013, at 20:06, Aditya Mahajan wrote: > On Fri, 12 Jul 2013, Pablo Rodríguez wrote: > >> On 12/07/13 19:21, Hans Hagen wrote: >>> Hi, >>> >>> I uploaded a beta. There are not that many changes. Currently I develop >>> in a separate branch but it might be that some changes are refle

Re: [NTG-context] new beta luatex error

2013-07-31 Thread Otared Kavian
On 31 juil. 2013, at 23:43, Marco Patzer wrote: > On 2013–07–31 Hans Hagen wrote: > >> On 7/31/2013 10:56 PM, Marco Patzer wrote: >>> \starttext >>> foo >>> \stoptext >>> >>> ! LuaTeX error [string "\directlua "]:1: attempt to call field >>> 'resetprevdepth' (a nil value) >>> stack traceback:

Re: [NTG-context] copy&paste from pdf bug (smallcaps, text figures)

2013-08-01 Thread Otared Kavian
Hi, I tested your example: no problem here on Mac OS X 10.8.4, with either TeXShop, Adobe Redaer or Preview, with the latest beta (ConTeXt ver: 2013.08.01 01:31 MKIV beta fmt: 2013.8.1 int: english/english). Best regards: OK On 1 août 2013, at 19:33, Philipp Gesang wrote: > Hi, > > copy

Re: [NTG-context] problem with Persian feature

2013-08-07 Thread Otared Kavian
Hi Mingranina, As Wolfgang said, if I fix the name of the key in \setmainfont (from « feature » to « features », see below), then your test works fine here (using Mac OS X 10.8.4, and ConTeXt ver: 2013.08.07 14:40 MKIV beta fmt: 2013.8.7). By the way in mkiv you don't need to add \enableregime

Re: [NTG-context] beta

2013-08-23 Thread Otared Kavian
Hi Hans, This is a very nice feature indeed. Out of curiosity, I wondered whether it is possible to to have \placeinitial to work with \definefirstline, or a variant of it: that is not only have the first character of the first sentence as a dropped capital, but also the first line (or first fe

Re: [NTG-context] installing two ConTeXt trees

2013-09-02 Thread Otared Kavian
Hi Alan, Using TeXShop on MacOS X you can create two files named « mkiv-stable.engine » and « mkiv-testing.engine » and put them in the folder Library/TeXShop/Engines The first file « mkiv-stable.engine » contains the following: #!/bin/bash source [path-to-your-

Re: [NTG-context] installing two ConTeXt trees

2013-09-03 Thread Otared Kavian
On 2 sept. 2013, at 23:44, Hans Hagen wrote: > On 9/2/2013 6:14 PM, Alan Bowen wrote: > >>(personnaly I add also >> rm -f *.tui *.log *.tuo *.xdv *.mp *.tmp *.top *-mpgraph.* >>*-mpgraph-temp.dvi *.tuc >>at the end of each of the files to remove auxiliary files, but you

Re: [NTG-context] installing two ConTeXt trees

2013-09-03 Thread Otared Kavian
On 3 sept. 2013, at 10:50, Hans Hagen wrote: > On 9/3/2013 9:31 AM, Otared Kavian wrote: >> […] >> Thanks Hans for your attention, but saying >> texexec --autogenerate --synctex=1 "$1" --purge >> >> or >> context --autogenerate

Re: [NTG-context] installing two ConTeXt trees

2013-09-04 Thread Otared Kavian
On 3 sept. 2013, at 19:14, Aditya Mahajan wrote: >> […] >> the synctex.gz file is not anymore deleted (however a utility file >> [file-name].tuc remains). > > That (not deleting tuc file) is delebrate (as it saves time in successive > runs). If you want to delete the tuc file, you can use --p

Re: [NTG-context] installing two ConTeXt trees

2013-09-06 Thread Otared Kavian
Hi Hans, Thanks for this new feature for passing optional flags to the mkiv engine: I tested it on TeXShop and from a Terminal command line, and evrything works as expected. I wikified your instructions, http://wiki.contextgarden.net/purge_aux_files but I wonder whether I chose the right

[NTG-context] Wrong ConTeXt version?

2013-09-13 Thread Otared Kavian
Hi, Running first-setup.sh in order to update to the latest ConTeXt gives me a wrong result: I get current version: 2013.04.20 01:15 while before updating I had current version: 2013.09.10 17:17 Are we going backward in time? :-) Best regards: OK ___

Re: [NTG-context] Wrong ConTeXt version?

2013-09-13 Thread Otared Kavian
Answering to myself… Sorry for the noise: the version is correct after updating via first-setup.sh: I have in fact current version: 2013.09.13 10:59 the other version is the one in TeXLive… With my apologies: OK On 13 sept. 2013, at 17:15, Otared Kavian wrote: > Hi, > > Runn

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

2013-09-16 Thread Otared Kavian
Hi Hans, I noticed that recently a discrepancy in the way the prime is positioned in the presence of an index as in $f'_n$ or $f_n'$ (please see the attached PDF). However the positioning is correct in expressions such as $u^k_n$. The problem shows up only in mkiv, and as far as I can say the di

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

2013-09-17 Thread Otared Kavian
Thanks Hans: I did some testing with several fonts and situations, and everything is perfect. Best regards: OK On 17 sept. 2013, at 14:58, Hans Hagen wrote: > On 9/16/2013 2:29 PM, Otared Kavian wrote: >> Hi Hans, >> >> I noticed that recently a discrepancy in the way th

Re: [NTG-context] Conditional float references

2013-09-24 Thread Otared Kavian
Hi Marco, Your macro is a wonderful help to have smart references: I have not yet tried it with references to maths formulas, theorems, lemmas and such, but Iguess it should work as well. In order to help you nail down some small issues, here is how I used your module: I put the file you sent

Re: [NTG-context] Conditional float references

2013-09-25 Thread Otared Kavian
t; On 2013–09–25 Otared Kavian wrote: > >> I have not yet tried it with references to maths formulas, >> theorems, lemmas and such, > > Me neither. > > \ifsinglesided >\strc_references_do_relative_else\plusone > {\def\strc

Re: [NTG-context] Math in current beta

2013-10-08 Thread Otared Kavian
Which version are you using? I didn't notice any difficulty in math typesetting with version: 2013.10.07 23:31. Best regards: OK On 8 oct. 2013, at 22:49, Alan BRASLAU wrote: > Math seems terribly broken in current beta. > > Minimal example: anything... :) > > Alan >

[NTG-context] \mframed not aligned in mkiv

2013-10-21 Thread Otared Kavian
Dear Hans, I noticed a difference between mkii and mkiv in the behavior of \mframed: it seems that in mkiv the frame is not vertically aligned with the the + sign in the following example (or rather it is not vertically centered, please see the attached PDF produced with ConTeXt ver: 2013.10.1

Re: [NTG-context] \mframed not aligned in mkiv

2013-10-21 Thread Otared Kavian
Thanks Aditya! I overlooked this change in mkiv… Best regards: OK On 21 oct. 2013, at 22:18, Aditya Mahajan wrote: > On Mon, 21 Oct 2013, Otared Kavian wrote: > >> Dear Hans, >> >> I noticed a difference between mkii and mkiv in the behavior of \mframed: it >>

Re: [NTG-context] \mframed not aligned in mkiv

2013-10-22 Thread Otared Kavian
22:18, Aditya Mahajan wrote: > On Mon, 21 Oct 2013, Otared Kavian wrote: > >> Dear Hans, >> >> I noticed a difference between mkii and mkiv in the behavior of \mframed: it >> seems that in mkiv the frame is not vertically aligned with the the + sign >> in

Re: [NTG-context] MacOsX Mavericks and Luatex

2013-10-25 Thread Otared Kavian
Hi everyone, I installed MacOS X 10.9 « Mavericks » on top of the latest MacOS X 10.8, and could run my installation of ConTeXt stand alone without any problem, despite having Skia.ttf on my system: Version 8.0d1e1 Location/Library/Fonts/Skia.ttf Unique name

Re: [NTG-context] hanging on fonts

2013-11-12 Thread Otared Kavian
Hi, According to Wolfgang Schuster and some others removing the file Skia.ttf may solve the problem. Please see the thread http://www.ntg.nl/pipermail/ntg-context/2013/075689.html and more precisely http://www.ntg.nl/pipermail/ntg-context/2013/075701.html Best regards: OK On

Re: [NTG-context] context with mavericks: broken

2013-11-18 Thread Otared Kavian
Hi Andrea, According to Wolfgang Schuster and some others removing the file Skia.ttf may solve the problem. Please read the thread http://www.ntg.nl/pipermail/ntg-context/2013/075689.html and more precisely http://www.ntg.nl/pipermail/ntg-context/2013/075701.html Best regards

Re: [NTG-context] [OT] Book complete and thank you

2013-12-11 Thread Otared Kavian
Very nice book! Thanks for sharing. I would like just to point out that contrary to what is said on page 40, Pierre Verhulst was not a French mathematician but rather a Belgian mathematician who proposed a model of differential equations to describe population and resource dynamics , please see:

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Otared Kavian
Hi Jean Guillaume, I guess Marco Patzer and Wolfgang Schuster gave you already the appropriate answers. Nevertheless, I wanted to share with you the definitions I use for the kind of work you want to do: %%% begin example-exercise.tex %%% % defining \startexo, \s

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Otared Kavian
\endanswer \endquestion \section{Hints} \useblocks[hint] \section{Answers} \useblocks[answer] \stoptext %%% end question-hint-answer.tex Best regards: OK > > > Dne 9.1.2014 15:19, Otared Kavian napsal(a): >> %%% begin example-exercise.tex >> %%%

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