Re: [NTG-context] Strange behavior in math mode: < and minus sign give leftarrow

2019-04-10 Thread Otared Kavian
2019 9:40 AM, Mikael P. Sundqvist wrote: >> On Wed, Apr 10, 2019 at 9:21 AM Otared Kavian wrote: >>> [… > Indeed. Aditya is in charge of decisions about these defaults so if you want > it differently you need to convince him. (I'm not sure how many

Re: [NTG-context] Strange behavior in math mode: < and minus sign give leftarrow

2019-04-10 Thread Otared Kavian
Hi Mikael, Thanks for your quick reply. Indeed I did not know about this feature, and setting collapsing=1 solves my problem… Best regards: OK > On 10 Apr 2019, at 09:40, Mikael P. Sundqvist wrote: > > On Wed, Apr 10, 2019 at 9:21 AM Otared Kavian wrote: >> […] > > H

Re: [NTG-context] SyncTeX and Skim/TeXShop

2019-04-10 Thread Otared Kavian
Hi Nicola, I do use ConTeXt with TeXShop on MacOS, and I use extensively synctex. Indeed there has been a big change in synctex a few years ago, since the « classic » synctex code by Jérôme Laurens was changed, and more or less at the same time Hans introduced independently a new synctex

[NTG-context] Strange behavior in math mode: < and minus sign give leftarrow

2019-04-10 Thread Otared Kavian
Hi Hans, While testing old documents with lmtx, I noticed that with recent versions of mkiv, as well as LuaMetaTeX, there is a strange behavior in math mode: when the characters < and - follow each other one gets \leftarrow… This is embarrassing when one writes inequalities for negative

[NTG-context] Variable name in lua and lmtx

2019-04-08 Thread Otared Kavian
Hi Hans, While testing the new LuaMetaTeX with an old project, I noticed that lmtx crashed when I had variables named « numéro » and « prénom » as in local n, numéro, email, Nom, prénom When I changed these to local n, numero, email, Nom, prenom the file was typeset

Re: [NTG-context] follow up

2019-04-08 Thread Otared Kavian
.nl >> >> You can reach the person managing the list at >> ntg-context-ow...@ntg.nl >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of ntg-context digest..." >>

Re: [NTG-context] follow up

2019-04-05 Thread Otared Kavian
Hi Dalyoung, If this can be of any help, here is what I did in order to install LuaMetaTeX on MacOS in order to use it with TeXShop: 1) I downloaded from http://www.pragma-ade.nl/install.htm the version of the installer for MacOS and installed a folder named context-osx-64 at an

Re: [NTG-context] announcement

2019-04-01 Thread Otared Kavian
Thanks for the announcement, but is it April Fool's Day 2.0? > On 1 Apr 2019, at 08:34, Hans Hagen wrote: > > Hi, > > Nearly 20 years into the new millennium, we have decided to freeze the > development of ConTeXt MkIV as well as luatex and are undertaking today a new > project. A core team

Re: [NTG-context] additional space with sidebar and narrower

2019-03-26 Thread Otared Kavian
Hi, If the issue is the size of the sidebar, I think if you add something like \setupsidebar[topoffset=-5mm,bottomoffset=-5mm] you can get rid of the spurious length of the sidebar. Indeed here 5mm should be replaced with what looks better with your setting of interlinespace. Best

Re: [NTG-context] xtables rowspan

2019-02-27 Thread Otared Kavian
Hi Felipe, Your code gives the result you want here on my machine (version 2019.02.26 20:04 MKIV beta), so there is no error in your code. Please see the attachment. Maybe you should update your installation of ConTeXt? Best regards: OK xtable-span.pdf Description: Adobe PDF document > On

Re: [NTG-context] Pretty printer for matlab

2019-02-21 Thread Otared Kavian
solution with \usemodule[vim] \definevimtyping[scilab][syntax=scilab] Thanks again, Best regards: OK > On 21 Feb 2019, at 15:31, Marco Patzer wrote: > > On Thu, 21 Feb 2019 15:10:27 +0100 > Otared Kavian wrote: > >> Thanks for pointing to that module, which

Re: [NTG-context] Pretty printer for matlab

2019-02-21 Thread Otared Kavian
regards: OK > On 21 Feb 2019, at 14:43, Marco Patzer wrote: > > On Thu, 21 Feb 2019 14:25:03 +0100 > Otared Kavian wrote: > >> Is there a pretty printer file to typeset Matlab codes? > > How about Aditya's vim module? It supports Matlab: > > \usemodule

[NTG-context] Pretty printer for matlab

2019-02-21 Thread Otared Kavian
Hi all, Is there a pretty printer file to typeset Matlab codes? Actually I would like to modify such a file in order to define a typing environment to typeset portions of codes written for Scilab, which is a sort of free version of Matlab. Thanks for any comment and help: OK

Re: [NTG-context] Macro for a header does not work as well

2019-02-19 Thread Otared Kavian
Hi Jan, Your example works fine here on my machine… Which version of ConTeXt are you using? Best regards: OK > On 19 Feb 2019, at 13:49, Jan U. Hasecke wrote: > > Am 19.02.19 um 12:55 schrieb Otared Kavian: >> Hi Fabrice, >> >> After adding >> >>

Re: [NTG-context] Macro for a header does not work as well

2019-02-19 Thread Otared Kavian
t; Hi Otared, > No that's not what I want to talk about. Before I got this "27 février 2019" > and now this d = 27 m = 02 y = 2019. > Thank you. > Fabrice > > Le lun. 18 févr. 2019 à 14:31, Otared Kavian a écrit : > Hi Fabrice, > > Do you mean the fac

Re: [NTG-context] Macro for a header does not work as well

2019-02-18 Thread Otared Kavian
Hi Fabrice, Do you mean the fact that the date is not in the usual French format? In that case you should add \mainlanguage[fr] to the beginning of your file. Best regards: OK > On 18 Feb 2019, at 12:04, Fabrice Couvreur > wrote: > > Hi, > Aditya offered me this macro some time

[NTG-context] Bug in math: version

2019-02-13 Thread Otared Kavian
Hi Hans, With the latest beta there seems a bug has been intoduced with « \| » which should give a vertical double bar and not a simple bar. This is a minimal example: \starttext With 2019.02.10 17:43, the command \type{\|x\|} gives an incorrect result: $\|x\| = 1$ $|x| = 1$ \stoptext Best

Re: [NTG-context] getting ConTeXt results back to Lua (for typesetting solutions at end of document)

2019-02-01 Thread Otared Kavian
Hi Sanjoy, Two or three years ago Wolfgang helped me to solve an analogous question. Here is an example which works fine, and moreover one can navigate from a question to its hint (if there is one…) and then from the hint to its solution (if present…). Best regards: OK begin

Re: [NTG-context] Automatic thousands separation in \unit

2019-01-31 Thread Otared Kavian
Hi Marco, Can this give what you wish? \define[2]\myunit{\spaceddigits{#1}\unit{#2}} \starttext \myunit{123456789}{volt} \stoptext > On 31 Jan 2019, at 13:28, Marco Patzer wrote: > > Hi! > > I'm wondering if there's a way to have automatic thousands separation in the > \unit command?

Re: [NTG-context] Issue with the latest beta of context standalone

2019-01-27 Thread Otared Kavian
> On 27 Jan 2019, at 17:30, Wolfgang Schuster > > wrote: > > […] > 1. You don’t have to remake the format for patches in cont-new.mkiv because > the file is loaded at runtime. > > 2. The patch works and I get “2019 januari 27” with your example. >

Re: [NTG-context] Issue with the latest beta of context standalone

2019-01-27 Thread Otared Kavian
> On 27 Jan 2019, at 16:55, Hans Hagen wrote: > > […] > put this in cont-new.mkiv (after \unprotect) > > \def\syst_converters_check_date > {\edef\temp{\systemparameter\c!d}\scratchcounterone > \ifx\temp\empty\normalday \else\temp\fi > \edef\temp{\systemparameter\c!m}\scratchcountertwo

Re: [NTG-context] Issue with the latest beta of context standalone

2019-01-27 Thread Otared Kavian
Hi Hans, I can confirm that with version 2019.01.25 20:06, when the main language is set to fr, the \date command does not work correctly. However setting \mainlanguage[en] gives the correct behavior of \date, in english, in the example file sent by Fabrice. Also this minimal example gives a

Re: [NTG-context] Changes \setuphead

2019-01-21 Thread Otared Kavian
Hi Ursula, If you replace the \startsetups[chapter:before] with the following, you obtain a page without the page number: \startsetups [chapter:before] \doifoddpageelse {} {\pushbackground[page] \setuppagenumbering[state=stop]

Re: [NTG-context] \startcolumns and multi-line footnotes

2019-01-16 Thread Otared Kavian
Hi Taco, There two documents /context-minimal/tex/texmf-context/doc/context/documents/general/manuals/notnow.pdf and /context-minimal/tex/texmf-context/doc/context/documents/general/manuals/pagecolumns.pdf written by Hans in which he says that long footnotes and columns cannot

Re: [NTG-context] How to adjust inter item vertical space

2019-01-16 Thread Otared Kavian
Hi, You can define your own white space and then attribute it to each item, as in the following: \setupwhitespace[big] \startsetups[mywhitespace] \setupwhitespace[small] \setupblank[small] \stopsetups \setupitemize[each][inner=\directsetup{mywhitespace}] \starttext \input knuth

Re: [NTG-context] local ToC after each chapter title

2019-01-10 Thread Otared Kavian
Hi Hraban, Probably instead of > \setuplist[chapter][ > before=, > after={\placecombinedlist[content][criterium=local]},] you wanted to say \setuphead[chapter][ before=, after={\placecombinedlist[content][criterium=local]}] which gives the expected result without any

Re: [NTG-context] Equivalent of alignat of amsmath with context

2019-01-05 Thread Otared Kavian
Hi Fabrice, I think you have to use \startalign[n=3,align={left,right}] and finish the alignment with \stopalign Is this what you are looking for? \starttext \startformula \startalign[n=3,align={left,right}] \NC \qquad

Re: [NTG-context] graphics

2018-12-13 Thread Otared Kavian
Hi Mikael, Thank you, as ell as Alan and Henri, for giving us a simple way to use Bessel functions, directly in ConTeXt. However I have a question, which may show my total ignorance of the maths libraries ffi and consorts: how do you specify the value of the integr $n$ when you want to use

Re: [NTG-context] checking text boundaries

2018-11-07 Thread Otared Kavian
Hi Andrea, Isn't \showframe what you are looking for? Best regards: OK > On 8 Nov 2018, at 00:24, Andrea Valle wrote: > > Dear all, > > I’m typesetting a book, and I have many figures on white background. > I’m scaling figures using something like this > >

Re: [NTG-context] xtables with lua

2018-09-30 Thread Otared Kavian
Hi Aditya, Thanks for pointing to your context-blog: one learns always some good stuff there! I wanted to make an observation about the last example in that page, which does not typeset correctly as expected, and also it does not work well if one wanted to make a multiplication table instead

Re: [NTG-context] The definitive guide to ConTeXt MkIV documentation

2018-09-01 Thread Otared Kavian
Hi Henri, Your guide is extremely useful. But as Aditya says, in order to be able to find it when one needs it, maybe the best place is to put it on the wiki. Thank you very much for your work! Best regards: OK > On 2 Sep 2018, at 01:57, Henri Menke wrote: > > Dear list, > > I have written

Re: [NTG-context] unable to define 'texgyrepagella-regula' error etc.

2018-07-25 Thread Otared Kavian
Hi Dalyoung, The question of TXGyre fonts has been mentioned on this list recently, and the following answer from Wolfgang Schuster seems to solve the problem (until the original problem is fixed). This answer was on the thread « Problem with pagella font (beta) »: > On 23 Jul 2018, at 12:39,

Re: [NTG-context] Strange behavior with font pagella

2018-07-16 Thread Otared Kavian
ared, > If I change the font using modern, it works but the text remains bold if I > use most other fonts, it's really strange ! > Fabrice > > 2018-07-16 9:57 GMT+02:00 Otared Kavian <mailto:ota...@gmail.com>>: > Hi Fabrice, > > When typesetting your examp

Re: [NTG-context] Strange behavior with font pagella

2018-07-16 Thread Otared Kavian
Hi Fabrice, When typesetting your example here I get the correct behaviour: the text is not in bold face. Best regards: OK > On 15 Jul 2018, at 23:39, Fabrice Couvreur > wrote: > > Good evening, > In the code below, why is the text in bold ? > Thank you > Fabrice > >

Re: [NTG-context] Strange behavior !

2018-07-16 Thread Otared Kavian
Hi Fabrice, This is because you define MyColorA, MyColorB but you don't define MyColor and myColor: but you use these two colors in your MPgraphic. Best regards: OK > On 16 Jul 2018, at 00:03, Fabrice Couvreur > wrote: > > Good evening, > In the code below, I get frames filled in black​ ​!

Re: [NTG-context] text in mathematics

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

Re: [NTG-context] bidi in footnotes

2018-06-20 Thread Otared Kavian
Hi Idriss, As Mohammad Hossein pointed out, adding a setups solves both problems you mentioned (font declaration and bidi in footnotes): % begin test-bidi-footnote.tex \setupdirections[bidi=global] \startsetups[bidi:footnotes] \setupdirections[bidi=on] \definedfont[file:almfixed.otf*arabic

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

Re: [NTG-context] TeXLive and ConTeXt

2018-06-06 Thread Otared Kavian
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. >

Re: [NTG-context] TeXLive and ConTeXt

2018-06-06 Thread Otared Kavian
Hi Otared, > > 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 > comput

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

[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

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

Re: [NTG-context] goto reference

2018-04-19 Thread Otared Kavian
TeX/Test-tex/gotopdf/test.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 > > >&g

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

Re: [NTG-context] next beta

2018-04-18 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

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

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

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] Learning how to use \setupbtxrendering

2018-02-19 Thread Otared Kavian
: Binary data > On 17 Feb 2018, at 20:29, Alan Braslau <braslau.l...@comcast.net> wrote: > > HANS: there is one specific comment for you, below. > > On Sat, 17 Feb 2018 15:27:03 +0100 > Otared Kavian <ota...@gmail.com> wrote: > >> Dear all, >>

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,

[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

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

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

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]

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

[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},

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

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] 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 <ota..

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

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

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,

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

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

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 <ota...@gmail.com> wrote: > > >> On 30 Jan 2018, at 15:54, Wolfgang Schuster <schuster.wolfg...@gmail.com >> <mailto:schuster.wolfg...@gmail.com>> wrote: >>> […] &g

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

[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 {},

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 «

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,

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

[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

[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

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

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 <schuster.wolfg...@gmail.com> > wrote: > > >> O

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 <schuster.wolfg...@gmail.com > <mailto:schuster.wolfg...@gmail.com>> wrote: > > >> Otared Kavian <mailto:ota...@gmail.com> 22. Januar 2018 um 19:53 >> Hi all, >&

[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

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

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

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

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

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

[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] \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

  1   2   3   4   5   6   7   8   9   10   >