Re: [NTG-context] resize and center and clip image

2014-05-01 Thread Otared Kavian
}{\textwidth}{\textheight} it works well. Of course you should replace k.jpg with some other image name... /Mikael PS And please, if someone has opinions about the code, don't hesitate to tell me. This is my first time using lua... On Thu, May 1, 2014 at 4:59 PM, Otared Kavian ota

Re: [NTG-context] \triangledown placed too low in Palatino

2014-04-11 Thread Otared Kavian
Hi, The \triangle operator is used for instance in the « symmetric difference » of two subsets: if $E$ is a set and $A \subset E$, and $B \susbet E$, then one defines \startformula A \triangle B := (A \cup B) \setminus (A \cap B). \stopformula Then the mapping $(A,B) \mapsto A \triangle B$ is a

Re: [NTG-context] issues with greeknumerals

2014-04-07 Thread Otared Kavian
On 7 avr. 2014, at 21:25, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 07.04.2014 um 21:18 schrieb Pablo Rodriguez oi...@gmx.es: […] Since Romannumerals and romannumerals (or Characters and characters) are required, I thought it would be consistent to use Greeknumerals and

Re: [NTG-context] issues with greeknumerals

2014-04-07 Thread Otared Kavian
. 2014, at 05:09, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 07.04.2014 um 23:24 schrieb Otared Kavian ota...@gmail.com: On 7 avr. 2014, at 21:25, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 07.04.2014 um 21:18 schrieb Pablo Rodriguez oi...@gmx.es: […] Since

Re: [NTG-context] \placefigure and title bug in latest beta

2014-04-06 Thread Otared Kavian
Hi, I can confirm this… This is probably due to the new features Hans added today. Also, the new feature \placelist[figure][criterium=text] places indeed the list of the figures, but the names of the figures, or rather their captions are all indicated by the word « list ». Best

Re: [NTG-context] Footnote maker in parentheses

2014-03-25 Thread Otared Kavian
Hi Stéphane, Maybe this is what you want \define[1]\MyFootnotenoteCommand{\high{(#1)}} \setupnotation[footnote] [textcommand=\MyFootnoteCommand distance=1em, left={(}, right={)}] \starttext This is a note\footnote{I’m a footnote.}. \stoptext Best regards: OK

Re: [NTG-context] lower superscripts in MkIV -- too low?

2014-03-22 Thread Otared Kavian
Hi Sanjoy, I agree with you to say that the position of subscripts and superscripts in mkiv is not perfect: the same remark applies to the position of the derivative sign « prime » as $u’(t)$. Actually in mkii (and also in plain TeX) the positions of the superscripts in your example are the

Re: [NTG-context] solutions and problems

2014-02-20 Thread Otared Kavian
Hi, Maybe this is what you looking for: begin question-hint-answer.tex \defineblock[question] \defineblock[hint] \defineblock[answer] \defineenumeration[question][alternative=hanging,width=2.5cm,text={Question},stopper={.}] \defineenumeration[hint]

Re: [NTG-context] mp: choose colors randomly from list

2014-02-19 Thread Otared Kavian
Hi Thomas, One way is to increase the « degree of randomness » by saying withcolor transparent (1,0.3,mycolor[round(uniformdeviate(10*i)/10)]) or you can define a RandomColor as below: \startuniqueMPgraphic{colortest} save mycolor ; color mycolor[] ; mycolor[1] := (0.07, 0.21, 0.65) ;

[NTG-context] [Math in ConTeXt]

2014-02-16 Thread Otared Kavian
Hi all, After a series of exchanges on the list, on the topic of how mathematics typesetting is and should be in ConTeXt, I am writing you this message to ask all those who use ConTeXt to typeset mathematics and who encounter various types of difficulties, or shortcomings, to send me their

Re: [NTG-context] OT: Reflections on usability ConTeXt for typesetting of mathematics

2014-02-09 Thread Otared Kavian
Hi, I do use ConTeXt for typesetting mathematics, and actually I began to use ConTeXt several years ago for my work as a mathematician: up to now I haven’t encountered a single instance in which ConTeXt would not give the expected result, and as a matter of fact the out-of-the-box capabilities

[NTG-context] Metafun: numeric=color

2014-01-29 Thread Otared Kavian
Hi, With the latest beta, ConTeXt ver: 2013.06.07 17:34 MKII fmt: 2014.1.29 in a file typeset with mkii I have a bunch of metapost macros (drawing a logo…) which used to typeset correctly until last week, I get an error message saying: Preloading the plain mem file,

[NTG-context] Misplaced \widehat and \widetilde in mkiv?

2014-01-24 Thread Otared Kavian
Hi Hans, It seems that with the latest beta mkiv, version ConTeXt ver: 2014.01.23 01:55 MKIV beta fmt: 2014.1.23 \widetilde and \widehat in mathmode are misplaced (and this is so in any of the fonts I tried). Please compare the result of the following in mkii (where everything is

Re: [NTG-context] Misplaced \widehat and \widetilde in mkiv?

2014-01-24 Thread Otared Kavian
fmt: 2014.1.24). Am 23.01.2014 um 21:52 schrieb Otared Kavian otared.kav...@gmail.com: Hi Hans, It seems that with the latest beta mkiv, version ConTeXt ver: 2014.01.23 01:55 MKIV beta fmt: 2014.1.23 \widetilde and \widehat in mathmode are misplaced (and this is so in any

[NTG-context] Misplaced \widehat and \widetilde in mkiv?

2014-01-23 Thread Otared Kavian
Hi Hans, It seems that with the latest beta mkiv, version ConTeXt ver: 2014.01.23 01:55 MKIV beta fmt: 2014.1.23 \widetilde and \widehat in mathmode are misplaced (and this is so in any of the fonts I tried). Please compare the result of the following in mkii (where everything is

[NTG-context] Latest beta: file publ-old.mkiv not found

2014-01-14 Thread Otared Kavian
Hi Hans, After updating to th elatest version, Context 2014.01.14 15:03 one cannot typeset anymore with mkiv because a file seems missing. Here is the error message: I can't find file `publ-old.mkiv'. to be read again \relax l.490

Re: [NTG-context] Latest beta: file publ-old.mkiv not found

2014-01-14 Thread Otared Kavian
On 14 janv. 2014, at 16:27, Hans Hagen pra...@wxs.nl wrote: On 1/14/2014 4:17 PM, Otared Kavian wrote: Hi Hans, After updating to th elatest version, Context 2014.01.14 15:03 one cannot typeset anymore with mkiv because a file seems missing. Here is the error message: I

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

2014-01-12 Thread Otared Kavian
Remember that $10\times 10 = 100$. \endhint \beginanswer $10$ \endanswer \section{Hints to all questions} \useblocks[hint] \section{Answers to all questions} \useblocks[answer] \stoptext end question-hint-answer-blocks.tex Dne 11.1.2014 20:01, Otared Kavian napsal

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

2014-01-12 Thread Otared Kavian
Hi Wolfgang, Thanks for the tip: I’ll try to adapt what you suggest to the case of blocks and question-hint-answer, and then let you know if I succeed. Out of curiosity, how can one access the counter associated to an enumeration or an item? Also, if I understand correctly, the command

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

2014-01-11 Thread Otared Kavian
] \section{Answers to all questions} \useblocks[answer] \stoptext end question-hint-answer-blocks.tex On 11 janv. 2014, at 10:12, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 11.01.2014 um 00:36 schrieb Otared Kavian ota...@gmail.com: Hi Wolfgang, In mkiv, even using

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

2014-01-10 Thread Otared Kavian
Hi Wolfgang, In mkiv, even using \startanswer, \stopanswer (and the same syntax with questions and hints) the blocks mechanism seems to be broken. The error message is still the following: \dostopnormalblock ...meter \c!after \par \egroup

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,

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

2014-01-09 Thread Otared Kavian
\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 %%% % defining \startexo, \stopexo

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

2014-01-09 Thread Otared Kavian
\csname \??constructionsto… So I don’t know what to do if one has to use mkiv. Best regards: OK On 9 janv. 2014, at 18:23, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 09.01.2014 um 16:36 schrieb Otared Kavian ota...@gmail.com: On 9 janv. 2014

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

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

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

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] \mframed not aligned in mkiv

2013-10-22 Thread Otared Kavian
, at 22:18, Aditya Mahajan adit...@umich.edu 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 the following example (or rather

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

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 adit...@umich.edu 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

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 alan.bras...@cea.fr wrote: Math seems terribly broken in current beta. Minimal example: anything... :) Alan

Re: [NTG-context] Conditional float references

2013-09-25 Thread Otared Kavian
wrote: 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_references_smart_string{\labeltext\v!nextpage

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] 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 pra...@wxs.nl wrote: On 9/16/2013 2:29 PM, Otared Kavian wrote: Hi Hans, I noticed that recently a discrepancy in the way the prime

[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

[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 ota...@gmail.com wrote: Hi

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

Re: [NTG-context] installing two ConTeXt trees

2013-09-04 Thread Otared Kavian
On 3 sept. 2013, at 19:14, Aditya Mahajan adit...@umich.edu 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

Re: [NTG-context] installing two ConTeXt trees

2013-09-03 Thread Otared Kavian
On 2 sept. 2013, at 23:44, Hans Hagen pra...@wxs.nl 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

Re: [NTG-context] installing two ConTeXt trees

2013-09-03 Thread Otared Kavian
On 3 sept. 2013, at 10:50, Hans Hagen pra...@wxs.nl 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 --synctex=1 $1 --purge removes also the synctex.gz file

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

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

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

Re: [NTG-context] copypaste 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

Re: [NTG-context] new beta luatex error

2013-07-31 Thread Otared Kavian
On 31 juil. 2013, at 23:43, Marco Patzer home...@lavabit.com 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] new beta

2013-07-12 Thread Otared Kavian
On 12 juil. 2013, at 20:06, Aditya Mahajan adit...@umich.edu 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

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 pra...@wxs.nl 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

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:

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

2013-05-30 Thread Otared Kavian
On 30 mai 2013, at 22:40, Alan BRASLAU alan.bras...@cea.fr 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

Re: [NTG-context] new beta

2013-04-11 Thread Otared Kavian
On 10 avr. 2013, at 20:09, Hans Hagen pra...@wxs.nl 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

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] Resetting enumeration numbers

2013-04-05 Thread Otared Kavian
On 4 avr. 2013, at 23:13, Hans Hagen pra...@wxs.nl 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 schuster.wolfg...@gmail.com wrote: Am 05.04.2013 um 11:31 schrieb Otared Kavian ota...@gmail.com: On 4 avr. 2013, at 23:13, Hans Hagen pra...@wxs.nl wrote: […] \defineenumeration[test] \setupenumeration[test][way=bysection

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

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

2013-03-24 Thread Otared Kavian
On 24 mars 2013, at 11:24, Hans Hagen pra...@wxs.nl 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

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

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 adit...@umich.edu 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 like

Re: [NTG-context] upto current

2013-03-20 Thread Otared Kavian
On 19 mars 2013, at 19:47, Aditya Mahajan adit...@umich.edu 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

Re: [NTG-context] luatex 0.75

2013-03-04 Thread Otared Kavian
On 4 mars 2013, at 23:34, Hans Hagen pra...@wxs.nl wrote: […] first-setup currently fetches a 0.70 indeed Not here: I just updated with first-setup.sh on my Mac and got: This is LuaTeX, Version beta-0.75.0-2013030308 (TeX Live 2013/dev)(rev 4589) an ConTeXt version is

Re: [NTG-context] Fixed Line Height

2013-02-07 Thread Otared Kavian
Hi Troy, You are right, I am responsible for the old http://wiki.contextgarden.net/SlideWithSteps which is just adapted from what I used to use in the old good times of Plain TeX. But I wasn't successful in changing the macros to make them work in mkiv. I think the approach should

Re: [NTG-context] Fixed Line Height

2013-02-06 Thread Otared Kavian
Hi Troy, Thanks for sharing! Your macros slide-with-steps are very nice and the steps shown in the file foo.tex are very good, but I couldn't typeset the other file, bar.tex, since it seems that due to the use of \startalign and \stopalign in some steps in the middle create some difficulties

[NTG-context] Latest beta broken?

2013-02-05 Thread Otared Kavian
Hi Hans, The latest beta (version: 2013.02.05 13:35) gives an erreor message with this minimal example: \starttext Hello hans! \stoptext The error message is: ! LuaTeX error ...-minimal/tex/texmf-context/tex/context/base/file-job.lua:785: bad argument #1 to 'for iterator' (table expected,

Re: [NTG-context] \goto links to figures are inactive

2013-02-03 Thread Otared Kavian
Hi Hans, After changing the definition of \floatcaptionattribute in the file [/context-minimal]/tex/texmf-context/tex/context/base/strc-flt.mkvi and remaking th eformats with context --make --all everything seems to work fine with the following example: %%% begin

Re: [NTG-context] \goto links to figures are inactive

2013-02-02 Thread Otared Kavian
Hi Alan, I guess you are using mkiv, since in mkii your code seems to work here. Then, I think the way references to floats should be entered have changed and one should use a construction such as: \setupinteraction[state=start] \starttext \goto{Figure A}[fig:cow.pdf] Reference to Figure A on

Re: [NTG-context] Math typesetting problems

2013-01-28 Thread Otared Kavian
Hi Janne, Personnally I prefer to use the Plain TeX alternative \over (which works fine in ConTeXt), that is ${a \over b}$ instead of $\frac{a}{b}$ Compare the following two outputs in the example you want to typeset: I think the second is more or less what you want \starttext

Re: [NTG-context] \overrightarrow changed

2013-01-27 Thread Otared Kavian
On 27 janv. 2013, at 21:40, Hans Hagen pra...@wxs.nl wrote: […] fixed. some more info about the updated mkiv arrow related mechanisms can be found in http://www.pragma-ade.com/general/manuals/about.pdf (btw, one needs the latest greatest lm/gyre math fonts) Hans This is an amazing

Re: [NTG-context] Bug in reference to sections

2013-01-23 Thread Otared Kavian
On 23 janv. 2013, at 09:38, Hans Hagen pra...@wxs.nl wrote: As there are indeed side effects I'll remove that options. Asking for a number of an unnumbered section is weird anyway. Hi, Thanks to Hans and Wolfgang for your attention and the workarounds you offer. When I want to refer to an

[NTG-context] Big with \widehat and \widetilde

2013-01-23 Thread Otared Kavian
Hi Hans, With the latest betas (version 2013.01.23 14:45 MKIV fmt: 2013.1.23) \widehat and \widetilde do not work anymore in mkiv (no matter the font): minimal example begin bug-tilde.tex \starttext ${\widetilde V}$ ${\tilde u}$ ${\widehat \phi}$ ${\hat \alpha}$ \stoptext

[NTG-context] Bug in reference to sections

2013-01-22 Thread Otared Kavian
Hi Hans, I noticed that with the latest mkiv (version 2013.01.22 18:33 MKIV fmt: 2013.1.22) when the sections have no numbers two « ! » are printed and this behavior is new: with previous versions when invoking for instance \in{other section}[sec:other] there used to be a link to the

Re: [NTG-context] fails to fonts reloading

2013-01-04 Thread Otared Kavian
Hi Li Yanrui, I tried (with version: 2013.01.02 18:19 on Mac OS X 10.8.2) mtxrun --script fonts --reload with the minimals and did not notice any problem: indeed the first line of the output is fonts | names | warnings are disabled (tracker 'fonts.warnings') but the

Re: [NTG-context] hbar (and probably some other symbols) doesn't work in latest beta

2013-01-03 Thread Otared Kavian
Dear Michael and Dalyoung, In order to test again and reproduce the problem you encounter I removed my texmf-cache and typeset the example: here is what I observe. --- with \enablemode[lmmath] the \hbar appears and is a math italic « h » with a bar in the top third of the vertical part of the

Re: [NTG-context] hbar (and probably some other symbols) doesn't work in latest beta

2013-01-02 Thread Otared Kavian
Hi Michael, Your code typesets without any problem on my machine with the latest beta ConTeXt ver: 2013.01.02 18:19 MKIV fmt: 2013.1.2. Which version on which platform are you using? Happy New Year to you and all the List! Best regards: OK On 2 janv. 2013, at 11:44, Michael Murphy

Re: [NTG-context] hbar (and probably some other symbols) doesn't work in latest beta

2013-01-02 Thread Otared Kavian
/dvips/lm/lm-rm.map} fontsfallback modern rm 12pt is loaded Michael -- Michael Murphy murphy...@gmail.com On 2 Jan 2013, at 21:13, Otared Kavian ota...@gmail.com wrote: Hi Michael, Your code typesets without any problem on my machine with the latest beta ConTeXt ver

Re: [NTG-context] MetaPost Animations

2012-12-28 Thread Otared Kavian
Dear Troy, I just looked up your animations webpage: congratulations for the beautiful work you have done, and thanks for sharing. I played a little bit with the hypocycloid source file you sent some time ago and found it useful for other situations as well. Would it be possible to have the

Re: [NTG-context] MetaPost Animations

2012-12-28 Thread Otared Kavian
Dear Troy, The gears are much better now. However, have a look at http://fr.wikipedia.org/wiki/Fichier:Involute_wheel.gif and http://fr.wikipedia.org/wiki/Engrenage The animation for Gibbs is also very nice: thanks for sharing! I tried the TeX file for your Gibbs phenomena

Re: [NTG-context] New module: simplesteps.

2012-12-14 Thread Otared Kavian
Hi André, You were so quick to write your module… Thanks for sharing, but I could not typeset the example file you sent: I didn't get whether your file simplesteps.mkiv should be renamed simplesteps.mkiv or simplesteps.tex or even t-simplesteps.tex or any other suffix. Maybe after you apply the

Re: [NTG-context] beta (MP)

2012-12-11 Thread Otared Kavian
Hi Alan, Your example works on my machine (Mac OS X 10.8 and Context version 2012.12.10 23:20). Best regards: OK On 11 déc. 2012, at 09:05, Alan BRASLAU alan.bras...@cea.fr wrote: On Mon, 10 Dec 2012 23:28:17 +0100 Hans Hagen pra...@wxs.nl wrote: Hi, I uploaded a beta. There are some

Re: [NTG-context] drops module (draft)

2012-12-07 Thread Otared Kavian
Hi Peter, Thank you for your very nice module. For your information, I wanted just to report an issue I noticed with Adobe Reader (Version: 11.0.0 (11.0.0)) on Mac OS X 10.8: when I try to open the file « pile.pdf » (which is in your « examples » directory) Adobe Reader crashes and there is no

Re: [NTG-context] Q about hangaround commands

2012-12-06 Thread Otared Kavian
Hi Mikael, The example given by Wolfgang works fine for me with mkii, but not in mkiv: probably something has changed in mkiv, for example the way [scale=500] must be used in mkiv. Best regards: OK On 6 déc. 2012, at 10:58, Mikael P. Sundqvist mic...@gmail.com wrote: On Wed, Nov 3, 2010 at

Re: [NTG-context] Math not loaded?

2012-12-06 Thread Otared Kavian
Hi Michael, Your example typesets without problem on my machine (running Mac OS X 10.8 and ConTeXt ver: 2012.12.06 01:21 MKIV). Which version rae you testing? Best regards: OK On 6 déc. 2012, at 13:13, Rogers, Michael K mrog...@emory.edu wrote: The following gives the error with the latest

Re: [NTG-context] Doubled annotation content

2012-12-06 Thread Otared Kavian
Hi Marco, It seems that your command \cmd places again the content… Why do you want that command? This works fine: \usemodule [annotation] \defineannotation [myannotation] \starttext \startmyannotation foo \input knuth.tex \stopmyannotation \stoptext Best regards: OK On 6 déc.

Re: [NTG-context] new

2012-12-05 Thread Otared Kavian
Hi Hans, This is great news! Thanks for the feature,a nd even more thanks for having made it public… Is there also a way to control the way some signs are more or less close together? For instance in the following example a global way to have a result similar to

Re: [NTG-context] \not\in doesn't work properly

2012-12-04 Thread Otared Kavian
On 4 déc. 2012, at 17:38, Hans Hagen pra...@wxs.nl wrote: concerning the bug reports … Hi Hans, Thank you for the fixes and adding the commands \notin and \imply: I did some testing with your examples and others of my own, and it seems that some of the issues are fixed. However with

Re: [NTG-context] \not\in doesn't work properly

2012-12-03 Thread Otared Kavian
Hi Hans, Hi Jeong Dal, On November 21st I reported this issue and others with the new versions of mkiv where math characters are treated with a new method. Indeed the issue appears with Latin Modern and their new implementation. However with some fonts the behaviour is correct but the size of

Re: [NTG-context] beta

2012-11-21 Thread Otared Kavian
Hi Hans, I made some testings with the new beta and noticed that there are a few maths characters or commands which are broken now. Here is a minimal example: %%% begin bug-lm.tex \starttext The commands \type{\imply} is not anymore defined. \type{\iff}, \type{\Longrightarrow},

Re: [NTG-context] beta

2012-11-21 Thread Otared Kavian
On 21 nov. 2012, at 23:45, Aditya Mahajan adit...@umich.edu wrote: […] Do these work with xits or cambria, i.e., is it a font or a context issue. Hi Aditya, The bug appears with Latin Modern, that is the default font in TeX. With xits and palatino the example I sent works fine. Best regards:

Re: [NTG-context] \startitemize[columns] once again...

2012-11-17 Thread Otared Kavian
Hi Marcin, I think there is a small bug with itemize and columns: in another thread (with Subject « vertical alignment problem in column items» ) Dalyoung reported also an issue, which is related to what you have observed. Please see my message in a reply to Dalyoung's message, where I

Re: [NTG-context] vertical alignment problem in column items

2012-11-16 Thread Otared Kavian
Hi Dalyoung, I think that there must be a small bug in mkiv regarding itemize in columns, but at the same time I think that the problem comes from the fact that in your example you use inline maths and fractions: this perturbs the way the horizontal and vertical distances are calculated by

[NTG-context] Resetting numbers in section header

2012-11-13 Thread Otared Kavian
Hi all, Assume for some reason I want a section to be numbered in a particular way: I thought the command resetnumber=yes would do that, but it seems that I am wrong… or this option is now obsolete. Can anyone have a look at the following example and give a hint? \starttext

Re: [NTG-context] Resetting numbers in section header

2012-11-13 Thread Otared Kavian
On 13 nov. 2012, at 11:48, luigi scarso luigi.sca...@gmail.com wrote: Hm , is it save to mix \section and \startsection ..\stopsection ? -- luigi Hi Luigi, Thanks for your attention, but the fact that \section and \start-\stop-section is used is of no importance regarding the way I

Re: [NTG-context] Resetting numbers in section header

2012-11-13 Thread Otared Kavian
Thanks Luigi! Grazie mille… That's exactly what I was seeking! Best regards: OK On 13 nov. 2012, at 13:54, luigi scarso luigi.sca...@gmail.com wrote: […] Some help at http://wiki.contextgarden.net/Titles \starttext \startsection[title={Section 1 }] \input ward \stopsection

Re: [NTG-context] using variable for subscript in math+lua

2012-10-25 Thread Otared Kavian
Hi Philipp, Thanks to you, Dalyoung and Hans for the nice example using luacode. I was wonedring how would you modify your code in order to be able to change the name of the matrix if necessary. For instance, how to modify your code in such a way that upon saying

Re: [NTG-context] Help with Long Titles

2012-10-19 Thread Otared Kavian
Hi Malte, If you say \setvariables [titlepage] [set=\texsetup{titlepage}, project={Pearson}, title={\startframedtext[width=\textwidth,frame=off] This document title is very long, \crlf so I'd like to break it into two lines \stopframedtext}, author={Tony

Re: [NTG-context] Numbering subformulas

2012-10-15 Thread Otared Kavian
Hi Andreas, Wolfgang and Aditya, Thanks for your attention and suggesting a fix. However, after I applied the change mentioned by Andreas for the definition of \strc_formulas_handle_sub_numbering in cont-new.mkiv and made the formats anew, the subformulas are not numbered as expected.

Re: [NTG-context] Subscript Depth

2012-10-15 Thread Otared Kavian
Hi Nick, As far as I can say from my own experience TeX, that is both plain TeX and ConTeXt, treat the subscripts differently according to whether there is also a superscript or not: please see the following examples: \starttext Compare $a_{b}'a_{b}$ and $a_{b}'a_{b}^{}$ \stoptext Best

Re: [NTG-context] Index and Publications suddenly remain empty??? [not solved yet]

2012-10-15 Thread Otared Kavian
On 14 oct. 2012, at 15:52, Wolfgang Schuster wolfgang.schus...@gmail.com wrote: […] I don’t know if the bug was also in the stable but it’s in the beta version I use. You can use the following example to check for the bug: \starttext \placeontopofeachother{A}{B} \stoptext Hi I can

[NTG-context] Numbering subformulas

2012-10-14 Thread Otared Kavian
Hi Aditya, It seems that numbering subformulas as described in your « My Way » magazine entitled « Using \startalign » does not work with mkiv. The following minimal example taken from page 6 of the above mentioned manual, does not result in what is described there: \starttext \placesubformula

[NTG-context] Bug in xits font? No widehat shows up

2012-09-17 Thread Otared Kavian
Dear Khaled, dear Hans, I noticed that when using xits fonts the command \widehat is ignored (though \hat gives the expected result). Minimal example %%% begin example \setupbodyfont[xits,11pt] \starttext By definition we set ${\widehat \phi}(\xi) := {\cal F}(\phi)(\xi)$ that is \startformula

<    3   4   5   6   7   8   9   10   11   12   >