Re: [NTG-context] drawpathoptions and drawoptions

2016-08-04 Thread Mikael P. Sundqvist
On Tue, Aug 2, 2016 at 5:48 PM, Mikael P. Sundqvist <mic...@gmail.com> wrote: > Hi, > > I have two questions: > > 1) In the metafun manual I found (p 57 in the version I browse) a > setting drawpathoptions. > > I tried with > > \startMPpage > drawpathop

[NTG-context] drawpathoptions and drawoptions

2016-08-02 Thread Mikael P. Sundqvist
Hi, I have two questions: 1) In the metafun manual I found (p 57 in the version I browse) a setting drawpathoptions. I tried with \startMPpage drawpathoptions(withcolor darkred); path p; p:= (0,0)--(1cm,1cm)--(1cm,0)--(0,1cm); draw p; \stopMPpage but the result turned out to be black. Isn't

Re: [NTG-context] Randomize control points in metapost/metafun?

2016-08-01 Thread Mikael P. Sundqvist
On Mon, Aug 1, 2016 at 10:12 AM, Hans Hagen <pra...@wxs.nl> wrote: > On 8/1/2016 8:03 AM, Mikael P. Sundqvist wrote: >> >> Hi! >> >> I look for a way to randomize control points of a path, leaving the >> coordinates themselves untouched. >> &

[NTG-context] Randomize control points in metapost/metafun?

2016-08-01 Thread Mikael P. Sundqvist
Hi! I look for a way to randomize control points of a path, leaving the coordinates themselves untouched. The reason is the following: I want to draw (for example) a circle with a triangle inside, and I want them to look slightly randomized. If I do (see attached pdf for a typical result of

Re: [NTG-context] smallcaps

2016-06-29 Thread Mikael P. Sundqvist
On Wed, Jun 29, 2016 at 10:05 AM, dr. Hans van der Meer wrote: > I do not understand the behaviour of the \sc macro. I thought smallcaps would > turn out to be smaller than capitals. But I see no difference between them > except a subtle difference in letterspacing. Am I

Re: [NTG-context] [OT] Full-width justification (xkcd)

2016-05-09 Thread Mikael P. Sundqvist
On Mon, May 9, 2016 at 9:41 AM, Mojca Miklavec wrote: > http://xkcd.com/1676/ > > Mojca > > > PS: I guess that ConTeXt still lacks support for fillers and > > \startalign[snakes] > ... > \stopalign >

Re: [NTG-context] Diamond, and Unicode math symbols

2016-03-11 Thread Mikael P. Sundqvist
On Thu, Mar 10, 2016 at 10:00 PM, Nicola wrote: > I'm looking for a symbol similar to \lozenge, but squarer (like > \Diamond in some LaTeX packages, see The Comprehensive Symbol List, > p. 112). Any idea how I may typeset it in ConTeXt (MKIV)? \diamond > is too small. I am

Re: [NTG-context] Greek letter fall back for math

2016-03-10 Thread Mikael P. Sundqvist
inface] [mm] [Brill] > [preset=math:uppercasegreeknormal], since Knuth/TeX sets Greek capital > letters upright. > > Alan > > On Thu, Mar 10, 2016 at 9:56 AM, Mikael P. Sundqvist <mic...@gmail.com> > wrote: >> >> On Thu, Mar 10, 2016 at 3:34 PM, Alan Bowen <bowenala...

Re: [NTG-context] Greek letter fall back for math

2016-03-10 Thread Mikael P. Sundqvist
On Thu, Mar 10, 2016 at 3:34 PM, Alan Bowen wrote: > Assuming that it is possible, I have been trying to substitute the Greek > letters of my main font for those used in the math font. (if it works, it > should look better on the page than what I have now.) > > So, what

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

2015-05-12 Thread Mikael P. Sundqvist
On Tue, May 12, 2015 at 8:05 PM, Aditya Mahajan adit...@umich.edu wrote: Note that there is no consensus on how the `d` in calculus should be typeset. There are also \differentiald and \differentialD that map to unicode slots. Maybe not consensus, but see tug.org/TUGboat/tb18-1/tb54becc.pdf

Re: [NTG-context] Columns and itemize not showing up as expected

2015-03-21 Thread Mikael P. Sundqvist
On Sat, Mar 21, 2015 at 2:54 PM, Norbert Melzer timmel...@gmail.com wrote: This one works. Thank you! Is there a way to have other column count than 2? \startitemize[columns,three] seems to give three columns. /Mikael

Re: [NTG-context] Columns and itemize not showing up as expected

2015-03-21 Thread Mikael P. Sundqvist
On Sat, Mar 21, 2015 at 1:38 PM, Norbert Melzer timmel...@gmail.com wrote: \startcolumns[n=2] \startitemize \item a \item b \item c \item d \item e \item f \stopitemize \stopcolumns Try \starttext \startcolumns[n=2] \startitemize

Re: [NTG-context] Itemization

2015-03-12 Thread Mikael P. Sundqvist
On Thu, Mar 12, 2015 at 10:39 AM, MANUEL GONZALEZ SUAREZ gonzalezsman...@uniovi.es wrote: Dear friends. I have one basic question, but I'm not very skilled in ConTeXt: How I can do that in a list, display each of the items with a lowercase Greek letter followed by a parenthesis? That is:

Re: [NTG-context] crash with new beta (2015.03.09 19:27)

2015-03-09 Thread Mikael P. Sundqvist
On Mon, Mar 9, 2015 at 9:28 PM, Hans Hagen pra...@wxs.nl wrote: On 3/9/2015 8:11 PM, Pablo Rodriguez wrote: Hans, I’m afraid that the following sample crashes ConTeXt: \starttext \input knuth \stoptext Error message is the following: tex errorerror on line 1 in

Re: [NTG-context] Numbers in appendix roman, but want arabic

2015-02-14 Thread Mikael P. Sundqvist
On Sat, Feb 14, 2015 at 6:32 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 13.02.2015 um 09:45 schrieb Mikael P. Sundqvist mic...@gmail.com: Hi, with the example below, I have two problems (that are probably related). In the appendix, the Theorem is numbered Theorem II

[NTG-context] Numbers in appendix roman, but want arabic

2015-02-13 Thread Mikael P. Sundqvist
Hi, with the example below, I have two problems (that are probably related). In the appendix, the Theorem is numbered Theorem II instead of Theorem 2, i.e. roman numbers are used instead of arabic ones. Also, when I refer to Theorem 1 from the appendix , it says Theorem I. Again with roman

Re: [NTG-context] Numbers in appendix roman, but want arabic

2015-02-13 Thread Mikael P. Sundqvist
On Fri, Feb 13, 2015 at 6:20 PM, Rik Kabel cont...@rik.users.panix.com wrote: \defineconversionset [appendix:floatconversionset] [] [n] \setupcaption[numberconversionset=floatconversionset] Thank you very much! \defineconversionset [appendix:enumconversionset] [] [n]

[NTG-context] Primes again in math

2014-12-02 Thread Mikael P. Sundqvist
Hi! A possible bug in latest standalone: \starttext $u''(t)$ \stoptext yields u'(t) (one prime!). Is there a quick fix? I have a lot of '' in my file, so it would be nice not to have to change all of them... Result is attached. /Mikael open source 1 1

Re: [NTG-context] Primes again in math

2014-12-02 Thread Mikael P. Sundqvist
On Tue, Dec 2, 2014 at 6:52 PM, Herbert Voss herbert.v...@fu-berlin.de wrote: use $u{''}(t)$ Herbert Thanks, that works! Before adapting this in all places I'd like to know if this is the way it should be done from now on? If not, I'd like to know the suggested way. So I don't have to change

Re: [NTG-context] nested itemize

2014-11-30 Thread Mikael P. Sundqvist
On Sun, Nov 30, 2014 at 9:58 PM, Otared Kavian ota...@gmail.com wrote: On 29 Nov 2014, at 11:43, Mikael P. Sundqvist mic...@gmail.com wrote: […] To Otared: Thank you also for replying. Your code indeed compiles, but the nested itemize starts on a new line, i.e. 1 a instead of 1

Re: [NTG-context] nested itemize

2014-11-29 Thread Mikael P. Sundqvist
On Sat, Nov 29, 2014 at 11:04 AM, Hans Hagen pra...@wxs.nl wrote: On 11/28/2014 7:01 PM, Mikael P. Sundqvist wrote: The following code (using latest minimals) \starttext \startitemize[n] \item FOO \startitemize[a] \item Hello \item Good bye \stopitemize \stopitemize \startitemize[n

[NTG-context] nested itemize

2014-11-28 Thread Mikael P. Sundqvist
The following code (using latest minimals) \starttext \startitemize[n] \item FOO \startitemize[a] \item Hello \item Good bye \stopitemize \stopitemize \startitemize[n] \item \startitemize[a] \item Hello \item Good bye \stopitemize \stopitemize \stoptext gives the attached pdf file, i.e. the

Re: [NTG-context] position of qed symbol in proofs

2014-11-11 Thread Mikael P. Sundqvist
On Mon, Nov 10, 2014 at 11:22 AM, Otared Kavian ota...@gmail.com wrote: On 10 Nov 2014, at 10:58, Hans Hagen pra...@wxs.nl wrote: […] i'm not surprised: eqno only works in a formula and closecommand is not in the formula ... it would not align properly anyway Oh… I see. So there is not

Re: [NTG-context] position of qed symbol in proofs

2014-11-09 Thread Mikael P. Sundqvist
the change occurred, but at least it worked last year (which for ConTeXt means pregistoric times… :—). As a temporary hack one can always say: \startformula 1+1=2. \eqno{\square} \stopformula Best regards: OK On 08 Nov 2014, at 14:40, Mikael P. Sundqvist mic...@gmail.com wrote: On Mon

Re: [NTG-context] position of qed symbol in proofs

2014-11-08 Thread Mikael P. Sundqvist
On Mon, Nov 3, 2014 at 9:15 PM, Mikael P. Sundqvist mic...@gmail.com wrote: Hi, I once used \defineenumeration[proof][ text=Proof, closesymbol=\mathematics{\square}, closecommand=\ifmmode\eqno\else\wordright\fi, ] \starttext \startproof This is a simple proof. \stopproof

Re: [NTG-context] pgfplots broken?

2014-11-05 Thread Mikael P. Sundqvist
On Wed, Nov 5, 2014 at 8:42 AM, Akira Kakuto kak...@fuk.kindai.ac.jp wrote: Dear Mikael, An example from PGFPlots Gallery. Please try if it works. Here on windows, it seems to work. Attached files are tt.log.txt and tt.pdf. Best, Akira Dear Akira, since loading the package generates the

[NTG-context] pgfplots broken?

2014-11-04 Thread Mikael P. Sundqvist
Hi, pgfplots seems broken with the latest standalone.With the example \usemodule[pgfplots] \starttext Foo \stoptext Best regards, Mikael lua errorerror on line 75 in file /opt/ConTeXt/tex/texmf-modules/tex/generic/pgf/libraries/luamath/pgflibraryluamath.code.tex:

Re: [NTG-context] pgfplots broken?

2014-11-04 Thread Mikael P. Sundqvist
On Tue, Nov 4, 2014 at 4:32 PM, Hans Hagen pra...@wxs.nl wrote: On 11/4/2014 12:42 PM, Mikael P. Sundqvist wrote: Hi, pgfplots seems broken with the latest standalone.With the example \usemodule[pgfplots] \starttext Foo \stoptext Is there a pgfluamath.* file on the system? Hans

Re: [NTG-context] pgfplots broken?

2014-11-04 Thread Mikael P. Sundqvist
On Tue, Nov 4, 2014 at 3:44 PM, Akira Kakuto kak...@fuk.kindai.ac.jp wrote: Can confirm not working in latest Beta. It looks like there is no problem here. mtx-context | current version: 2014.11.04 11:02 Best, Akira

Re: [NTG-context] pgfplots broken?

2014-11-04 Thread Mikael P. Sundqvist
On Tue, Nov 4, 2014 at 8:12 PM, Hans Hagen pra...@wxs.nl wrote: you can try with \enabletrackers[resolvers.swiglib] to see what gets checked I (if you meant me) get the attached log file. /Mikael open source 1 1 /home/mickep/ConTeXt/tex/texmf-context/tex/context/base/cont-yes.mkiv

[NTG-context] position of qed symbol in proofs

2014-11-03 Thread Mikael P. Sundqvist
Hi, I once used \defineenumeration[proof][ text=Proof, closesymbol=\mathematics{\square}, closecommand=\ifmmode\eqno\else\wordright\fi, ] \starttext \startproof This is a simple proof. \stopproof \startproof This is another simple proof that ends with a formula \startformula 1+1=2.

Re: [NTG-context] displaymath, grid, vertical spacing, setupformulas

2014-10-19 Thread Mikael P. Sundqvist
On Sat, Oct 18, 2014 at 7:22 PM, Mikael P. Sundqvist mic...@gmail.com wrote: Hi, I have problems to tune the vertical spacing before and after displaymathformulas in grid typesetting. With the example below, I like the spacing in the second formula but not the first (too big). If I comment

[NTG-context] displaymath, grid, vertical spacing, setupformulas

2014-10-18 Thread Mikael P. Sundqvist
Hi, I have problems to tune the vertical spacing before and after displaymathformulas in grid typesetting. With the example below, I like the spacing in the second formula but not the first (too big). If I comment out the \setupformulas part, then the first one looks OK, but the second is good.

Re: [NTG-context] \setupformulas and \frac give small symbols

2014-10-16 Thread Mikael P. Sundqvist
] However the results are fine and as expected with mkii and with ConTeXt ver: 2014.05.21 22:04 MKIV beta fmt: 2014.6.27 int: english/english Best regards: OK On 15 Oct 2014, at 19:03, Mikael P. Sundqvist mic...@gmail.com wrote: Hi, with a standalone installation updated today, I get

Re: [NTG-context] math snapping

2014-10-16 Thread Mikael P. Sundqvist
On Wed, Oct 15, 2014 at 1:30 PM, Hans Hagen pra...@wxs.nl wrote: Hi, new experimental feature in next beta \enabletrackers[math.openedup] \starttext \dorecurse{10}{\dorecurse{#1}{whatever }} \startitemize[packed] \startitem whatever \openedupimath{\frac{1}{2}} whatever

Re: [NTG-context] \setupformulas and \frac give small symbols

2014-10-16 Thread Mikael P. Sundqvist
On Thu, Oct 16, 2014 at 1:20 PM, Mikael P. Sundqvist mic...@gmail.com wrote: On Wed, Oct 15, 2014 at 4:07 PM, Otared Kavian ota...@gmail.com wrote: Hi Mikael, You are right, it seems to be a new bug in ConTeXt ver: 2014.10.14 12:05 MKIV beta fmt: 2014.10.14 int: english/english

Re: [NTG-context] math snapping

2014-10-16 Thread Mikael P. Sundqvist
On Thu, Oct 16, 2014 at 1:33 PM, Hans Hagen pra...@wxs.nl wrote: On 10/16/2014 1:23 PM, Mikael P. Sundqvist wrote: On Wed, Oct 15, 2014 at 1:30 PM, Hans Hagen pra...@wxs.nl wrote: Hi, new experimental feature in next beta \enabletrackers[math.openedup] \starttext \dorecurse{10

[NTG-context] \setupformulas and \frac give small symbols

2014-10-15 Thread Mikael P. Sundqvist
Hi, with a standalone installation updated today, I get smaller letters in \frac if \setupformulas[align=flushleft] is applied. The test file below generates the attached pdf. /Mikael \starttext \startformula z=\frac{x}{y} \stopformula \setupformulas[align=flushleft] \startformula

Re: [NTG-context] Stopper and itemize

2014-10-14 Thread Mikael P. Sundqvist
On Tue, Oct 14, 2014 at 6:54 PM, Fabrice couvreur.fabr...@wanadoo.fr wrote: Hi, My English is not perfect ! I mean bracket, that is to say, 1) instead of 1. Best regards, Fabrice ___ If your question is of

Re: [NTG-context] frac and tfrac with sqrt

2014-10-06 Thread Mikael P. Sundqvist
On Fri, Oct 3, 2014 at 1:30 PM, Mikael P. Sundqvist mic...@gmail.com wrote: Hi! Is this (see frac.pdf) the expected output of \frac and \tfrac in combination with \sqrt? To me the \sqrt{3} looks too big in \tfrac. I attach also the output from the corresponding latex document, having

Re: [NTG-context] frac and tfrac with sqrt

2014-10-06 Thread Mikael P. Sundqvist
On Mon, Oct 6, 2014 at 11:32 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: \setupmathradical[alternative=default] Very good! Hans, will the default be default in next beta? :) Best regards, Mikael ___ If

[NTG-context] frac and tfrac with sqrt

2014-10-03 Thread Mikael P. Sundqvist
Hi! Is this (see frac.pdf) the expected output of \frac and \tfrac in combination with \sqrt? To me the \sqrt{3} looks too big in \tfrac. I attach also the output from the corresponding latex document, having the result I expect. Best regards, Mikael PS Compilation done with latest standalone

Re: [NTG-context] contextref.pdf unsearchable?

2014-08-17 Thread Mikael P. Sundqvist
On Sun, Aug 17, 2014 at 8:33 PM, Gerben Wierda gerben.wie...@rna.nl wrote: I have two manuals, cont-enp.pdf (2001) and contextref.pdf (2013). I often have to go to cont-enp.pdf because contextref.pdf is unsearchable. Is it indeed unsearchable? Or is something wrong at my end? G

Re: [NTG-context] contextref.pdf unsearchable?

2014-08-17 Thread Mikael P. Sundqvist
On Sun, Aug 17, 2014 at 8:46 PM, Gerben Wierda gerben.wie...@rna.nl wrote: On 17 Aug 2014, at 20:44, Mikael P. Sundqvist mic...@gmail.com wrote: On Sun, Aug 17, 2014 at 8:33 PM, Gerben Wierda gerben.wie...@rna.nl wrote: I have two manuals, cont-enp.pdf (2001) and contextref.pdf (2013). I

Re: [NTG-context] \definefallbackfamily and small h

2014-08-05 Thread Mikael P. Sundqvist
On Tue, Aug 5, 2014 at 12:18 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: You have to change the symbol for the planck constant which is used by unicode for the mathematical small italic h, you can see in the unicode chart (http://www.unicode.org/charts/PDF/U1D400.pdf) there is a

[NTG-context] \definefallbackfamily and small h

2014-08-04 Thread Mikael P. Sundqvist
Dear list, I have a problem with the small letter h when I do a \definefallbackfamily. Example: \definefontfamily [myface] [rm] [TeX Gyre Pagella] \definefallbackfamily[myface][math][TeX Gyre Termes][preset=math:lowercaseitalic] \definefontfamily[myface][math][TeX Gyre Pagella Math]

Re: [NTG-context] upright lowercase Greek letters in math formulas

2014-05-26 Thread Mikael P. Sundqvist
On Mon, May 26, 2014 at 2:12 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: How could I get upright lowercase Greek letters in math formulas (provided that such a symbol exists, of course)? $\mathgreekupright 15{\rm\frac{μm}{μs}}$ 15 μs I guess you are aware of

Re: [NTG-context] ConTeXt mkiv and rsfs fonts

2014-05-22 Thread Mikael P. Sundqvist
On Thu, May 22, 2014 at 10:36 AM, Otared Kavian ota...@gmail.com wrote: \definefontfamily [mainface] [rm] [Palatino] \definefontfamily [mainface] [math] [Latin Modern Math] What if you change those lines to \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface]

Re: [NTG-context] Blindtext

2014-05-21 Thread Mikael P. Sundqvist
On Wed, May 21, 2014 at 11:39 AM, Werner Hintze w.hin...@posteo.eu wrote: Aha. Thank you. I unterstand that there is a solution, but I don’t unterstand it. Anyway: There are lots of more important things in ConTeXt I don’t understand yet – and may be never will unterstand. (For example how to

Re: [NTG-context] ConTeXt mkiv and rsfs fonts

2014-05-21 Thread Mikael P. Sundqvist
On Wed, May 21, 2014 at 4:43 PM, Otared Kavian ota...@gmail.com wrote: Thanks for the answer. Is there another script font for LM, or for Palatino, which looks a little bit more readable than \cal in those fonts, and which can be used with the simplefonts mechanism? Best regards: OK

Re: [NTG-context] ConTeXt mkiv and rsfs fonts

2014-05-21 Thread Mikael P. Sundqvist
On Wed, May 21, 2014 at 9:01 PM, Otared Kavian ota...@gmail.com wrote: Since other people may benefit from it, I would like to update the wiki on the matter. But actually I do not understand what does the « range » mean in the example

Re: [NTG-context] SimpleFonts

2014-05-20 Thread Mikael P. Sundqvist
On Wed, May 21, 2014 at 5:32 AM, hwit...@gmail.com wrote: I just installed the standalone context and tried to typeset a document which uses simplefonts but the resolver indicates that simplefonts is not found. This isn't surprising, but I need to learn how to install simplefonts to use

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-13 Thread Mikael P. Sundqvist
On Tue, May 13, 2014 at 9:22 AM, Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote: ... Wikified: http://wiki.contextgarden.net/Tabulate#Horizontal_centering_table_on_the_page Lukas I realized that the second none is not needed. It is sufficient with empty {} (or they could include

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-13 Thread Mikael P. Sundqvist
On Tue, May 13, 2014 at 10:36 AM, Otared Kavian ota...@gmail.com wrote: Actually the « none » in \placetable[force,none] means you don’t want a caption and the first braces enclose the caption, while the second braces enclose what is going to be « placed »: compare

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-13 Thread Mikael P. Sundqvist
On Tue, May 13, 2014 at 10:49 AM, Mikael P. Sundqvist mic...@gmail.com wrote: \startplacetable%[force,none] \starttabulate[|r|l|] \HL \NC I want this table \NC aligned in the center.\NR \HL \stoptabulate \stopplacetable Sorry for the spamming, according to older examples on the list

Re: [NTG-context] Natural Tables

2014-05-12 Thread Mikael P. Sundqvist
The only place in the source where bTC is mentioned is in tabl-ntb.mkiv (and tabl-ntb.mkii), which says says \unexpanded\def\bTC#1\eTC{\bTD#1\eTD} \let\eTC\relax \unexpanded\def\bTX#1\eTX{\bTD#1\eTD} \let\eTX\relax \unexpanded\def\bTY#1\eTY{\bTR#1\eTR} \let\eTY\relax I guess that means \bTC and

Re: [NTG-context] Mobilephone Symbol

2014-05-12 Thread Mikael P. Sundqvist
In symb-imp-mvs.mkiv, there is a (note the spelling!) \definesymbol [Mobilefone] [\MartinVogelSymbol{Mobilefone}] and \definesymbol [Telephone] [\MartinVogelSymbol{Telefon}] I don't know if that helps, but it is a(ny) suggestion. /Mikael On Mon, May 12, 2014 at 6:35 PM,

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-12 Thread Mikael P. Sundqvist
On Tue, May 13, 2014 at 5:28 AM, Devendra Ghate devendra.gh...@gmail.com wrote: I expect follow MWE to produce a centered table. But it does not. Am I making any obvious mistake. --- \definetabulate[centeredTable][|r|l|] \setuptabulate [centeredTable] [align={middle}]

Re: [NTG-context] Continuous Item Numbering throughout an Entire Document

2014-05-08 Thread Mikael P. Sundqvist
On Thu, May 8, 2014 at 1:11 AM, Dr Malte Stien malte.st...@smartward.com.au wrote: Hi all, I have a rather long document listing a number of items, which I need to be numbered continuously throughout the entire document. The following approach appears to work well, except that the numbering

Re: [NTG-context] \pm set too low in MkIV?

2014-05-07 Thread Mikael P. Sundqvist
On Wed, May 7, 2014 at 2:34 AM, Sanjoy Mahajan san...@mit.edu wrote: the + aligns on the math axis so one can argue if the type-one variant is ok ... so we would need a smaller (less height) + then which would look visually weird Plain TeX doesn't align the plus/minus to the math axis.

Re: [NTG-context] \pm set too low in MkIV?

2014-05-06 Thread Mikael P. Sundqvist
On Tue, May 6, 2014 at 4:22 PM, Sanjoy Mahajan san...@mit.edu wrote: Continuing my recent theme of finding glyphs too low or too high: The \pm symbol looks like it is set too low, in MkIV. \setuppagenumbering[location=] \starttext $\pm2$ \stoptext The minus part of the sign lies below

Re: [NTG-context] joinedup in itemize changed?

2014-05-02 Thread Mikael P. Sundqvist
On Wed, Apr 30, 2014 at 8:38 PM, Mikael P. Sundqvist mic...@gmail.com wrote: Hi, has joinedup changed? At the moment it gives no white space before first item and last item _and_ pack it. See example. Best regards, Mikael \starttext Bla \startitemize[3]%OK \item One \item Two \item

Re: [NTG-context] joinedup in itemize changed?

2014-05-02 Thread Mikael P. Sundqvist
\item Two \item Three \stopitemize \stoptext On May 2, 2014, at 3:17 AM, Mikael P. Sundqvist mic...@gmail.com wrote: On Wed, Apr 30, 2014 at 8:38 PM, Mikael P. Sundqvist mic...@gmail.com wrote: Hi, has joinedup changed? At the moment it gives no white space before first item and last

[NTG-context] resize and center and clip image

2014-05-01 Thread Mikael P. Sundqvist
Hi! Assume that I want to fill in the text area with images, and I want to clip and scale them according to these rules: 1) If the image is too wide (in sense of proportions), then scale it so that the height fits the text area height, center it, and clip it to the text area. (See the attached

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

2014-05-01 Thread Mikael P. Sundqvist
({k.jpg},{height=7cm}) context.sprint(bar) end \stopluacode }} If there are any bad side effects of this or simplifications, please do not hesitate to tell me :) /Mikael On Thu, May 1, 2014 at 1:50 PM, Mikael P. Sundqvist mic...@gmail.com wrote: Hi! Assume that I want to fill in the text

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

2014-05-01 Thread Mikael P. Sundqvist
mai 2014, at 15:38, Mikael P. Sundqvist mic...@gmail.com wrote: OK, sorry for the noise. I think I have the solution: \startexternalfigurecollection[k.jpg] \useexternalfigure[k.jpg][k.jpg] \stopexternalfigurecollection \externalfigurecollectionminwidth{k.jpg

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

2014-05-01 Thread Mikael P. Sundqvist
On Thu, May 1, 2014 at 8:00 PM, Aditya Mahajan adit...@umich.edu wrote: On Thu, 1 May 2014, Mikael P. Sundqvist wrote: \startluacode userdata = userdata or {} function userdata.lundklippfyllbild(str, bredd, hojd) if tex.dimen[0] / tex.dimen[2] tex.dimen[4] / tex.dimen[6] then local

Re: [NTG-context] A new question on \definefallbackfamily

2014-04-30 Thread Mikael P. Sundqvist
with context test.tex. I can reproduce this both on my home computer and on my computer at work, both with late(st) standalone installed. Best regards, Mikael On Tue, Apr 29, 2014 at 8:44 PM, Mikael P. Sundqvist mic...@gmail.com wrote: Hi, With the file below (and the latest Standalone) I get

[NTG-context] joinedup in itemize changed?

2014-04-30 Thread Mikael P. Sundqvist
Hi, has joinedup changed? At the moment it gives no white space before first item and last item _and_ pack it. See example. Best regards, Mikael \starttext Bla \startitemize[3]%OK \item One \item Two \item Three \stopitemize Bla \startitemize[3,joinedup]% Not as expected \item One \item Two

[NTG-context] A new question on \definefallbackfamily

2014-04-29 Thread Mikael P. Sundqvist
Hi, With the file below (and the latest Standalone) I get different output different times I compile. Sometimes the fourth 3 is bold and sometimes it is not (I don't want it to be bold). What is going on? I attach also the log files from a successful run (test.log) and a failure (test-error.log).

Re: [NTG-context] Two questions on \definefallbackfamily

2014-04-28 Thread Mikael P. Sundqvist
On Mon, Apr 28, 2014 at 3:02 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 28.04.2014 um 14:38 schrieb Mikael P. Sundqvist mic...@gmail.com: Thank you very much for your answer, Wolfgang. I can't get it to work with iwona being substituted. With the example file below all math

[NTG-context] Two questions on \definefallbackfamily

2014-04-25 Thread Mikael P. Sundqvist
Hi! 1) If i write %%% \definefontfamily [luface] [rm] [Adobe Garamond Pro][opticalsize=yes] \definefontfamily [luface] [ss] [FrutigerLTstd][opticalsize=yes] \definefallbackfamily [luface] [math] [Adobe Garamond Pro] [math:uppercasenormal] \definefallbackfamily [luface] [math] [Adobe Garamond Pro]

[NTG-context] Line number in tex error

2014-04-24 Thread Mikael P. Sundqvist
Hi, When running the five lines long file \starttext Bla bla \blank[foo] Bla bla \stoptext through context I get the error below (the foo in the blank is there to get an error, see the attached log file for the full log file). My question is why is context first telling me that the error is on

Re: [NTG-context] Line number in tex error

2014-04-24 Thread Mikael P. Sundqvist
On Thu, Apr 24, 2014 at 10:55 PM, Hans Hagen pra...@wxs.nl wrote: On 4/24/2014 10:05 PM, Mikael P. Sundqvist wrote: Hi, When running the five lines long file \starttext Bla bla \blank[foo] Bla bla \stoptext through context I get the error below (the foo in the blank is there to get

Re: [NTG-context] Baskervald ADF Virtual Math Fonts

2014-04-18 Thread Mikael P. Sundqvist
Hi Joas, I do not have that font to try (and sorry if I misunderstand the question), but the following works to get Minion italic as lowercaseitalic and so on instead of Pagella. Maybe using the names instead of the glyph ranges work for you aswell? \definefontfamily [mainface] [rm] [Minion

Re: [NTG-context] Baskervald ADF Virtual Math Fonts

2014-04-18 Thread Mikael P. Sundqvist
Thank you for the clarification, Wolfgang. I think this is a really nice feature. Best regards, Mikael On Fri, Apr 18, 2014 at 4:28 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 18.04.2014 um 08:38 schrieb Mikael P. Sundqvist mic...@gmail.com: \definefallbackfamily [mainface

[NTG-context] Fail to upgrade, can't find file page-lin.mkiv

2014-04-15 Thread Mikael P. Sundqvist
Hi, I tried today to upgrade my ConTeXt Standalone (using first-setup.sh) and get the error ! I can't find file `page-lin.mkiv'. to be read again \relax l.299 \loadmarkfile{page-lin} What can I do about this? Best regards, Mikael

Re: [NTG-context] Fail to upgrade, can't find file page-lin.mkiv

2014-04-15 Thread Mikael P. Sundqvist
OK, I reinstalled and that seemed to just work. Not sure if the problem was here or in the upgrading, but this is no longer a problem here at least. /Mikael On Tue, Apr 15, 2014 at 8:58 AM, Mikael P. Sundqvist mic...@gmail.com wrote: Hi, I tried today to upgrade my ConTeXt Standalone (using

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

2014-04-10 Thread Mikael P. Sundqvist
Instead of \triangle you should use \Delta for the laplacian (as you should use \nabla for the gradient). Mikael On Fri, Apr 11, 2014 at 6:06 AM, Sanjoy Mahajan san...@mit.edu wrote: I cannot say whether the wrong placement is due to the wrong font metrics or the wrong mapping (mathop vs

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

2014-02-13 Thread Mikael P. Sundqvist
), but to be able to write very common formulas (look at the example with double derivative with respect to x in my examples above, and tell me how to do that correctly in ConTeXt!) in an acceptable way. Best regards, Mikael Am 11.02.2014 um 14:18 schrieb Mikael P. Sundqvist mic...@gmail.com

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

2014-02-13 Thread Mikael P. Sundqvist
On Thu, Feb 13, 2014 at 3:34 PM, Khaled Hosny khaledho...@eglug.org wrote: On Thu, Feb 13, 2014 at 02:40:18PM +0100, Mikael P. Sundqvist wrote: I do not agree with you. It is not so important to have the same syntax as in LaTeX (exception: it would be nice to get double bars from \| since

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

2014-02-11 Thread Mikael P. Sundqvist
On Mon, Feb 10, 2014 at 6:57 PM, Hans Hagen pra...@wxs.nl wrote: On 2/10/2014 9:24 AM, Mikael P. Sundqvist wrote: Hi, I used ConTeXt (mkii) to write my PhD thesis in Mathematics in 2008. It worked just fine. At the moment I write some exams and hand-outs using ConTeXt, but research using

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

2014-02-11 Thread Mikael P. Sundqvist
On Tue, Feb 11, 2014 at 11:33 AM, Keith J. Schultz schul...@uni-trier.dewrote: Am 11.02.2014 um 09:57 schrieb Mikael P. Sundqvist mic...@gmail.com: On Mon, Feb 10, 2014 at 6:57 PM, Hans Hagen pra...@wxs.nl wrote: On 2/10/2014 9:24 AM, Mikael P. Sundqvist wrote: Hi, I used ConTeXt (mkii

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

2014-02-10 Thread Mikael P. Sundqvist
Hi, I used ConTeXt (mkii) to write my PhD thesis in Mathematics in 2008. It worked just fine. At the moment I write some exams and hand-outs using ConTeXt, but research using LaTeX (since the journals do not really accept ConTeXt and my collaborators dont know ConTeXt). It certainly works OK to

Re: [NTG-context] reference error

2013-11-02 Thread Mikael P. Sundqvist
If you remove the space, i.e. \starttext \startchapter [ title={Vorwort}, reference=chap:vorwort] Siehe \in{Kapitel}[chap:neu] \at{Seite}[chap:neu]. \stopchapter \startchapter [ title={Neu}, reference=chap:neu] Bla. \stopchapter \stoptext it works here. /Mikael On Sat, Nov 2, 2013 at 1:49

Re: [NTG-context] Problem with \overrightarrow over BC and CB

2013-10-14 Thread Mikael P. Sundqvist
On Mon, Oct 14, 2013 at 12:05 AM, Hans Hagen pra...@wxs.nl wrote: On 10/11/2013 9:53 AM, Mikael P. Sundqvist wrote: Dear all, with the latest beta (and older ones), the following file you can control this with \setupmathstackers [both] [hoffset=.5pt] granularity might improve

[NTG-context] Problem with \overrightarrow over BC and CB

2013-10-11 Thread Mikael P. Sundqvist
Dear all, with the latest beta (and older ones), the following file %%% start test file \definefontfamily [mainface] [serif] [DejaVu Serif] \definefontfamily [mainface] [sans] [DejaVu Sans] \definefontfamily [mainface] [mono] [DejaVu Sans Mono] [feature=none] \definefontfamily [mainface]

[NTG-context] partial derivatives with bonum/pagella font

2013-05-22 Thread Mikael P. Sundqvist
Hi all, The following examples give wrong space. There is a space between the prime and the subscripted x. If I do not load the bonum font it just looks as it should. \setupbodyfont[bonum] \starttext $f'_x$, $f_x'$ $f\prime_x$. \stoptext (it does not look good with the pagella font either...)

Re: [NTG-context] partial derivatives with bonum/pagella font

2013-05-22 Thread Mikael P. Sundqvist
22, 2013 at 12:01 PM, Hans Hagen pra...@wxs.nl wrote: On 5/22/2013 10:46 AM, Mikael P. Sundqvist wrote: Hi all, The following examples give wrong space. There is a space between the prime and the subscripted x. If I do not load the bonum font it just looks as it should. \setupbodyfont

Re: [NTG-context] partial derivatives with bonum/pagella font

2013-05-22 Thread Mikael P. Sundqvist
Thank you very much Sietse! This fits my needs for the students for tomorrow... I also defined \def\sprime{\myprime{\prime}} \def\dprime{\myprime{\prime\kern-0.1em\prime}} Then $f\sprime_x$ and $f\dprime_{xx}$ is not too hard to write :) /Mikael On Wed, May 22, 2013 at 2:22 PM, Sietse Brouwer

Re: [NTG-context] recalculate background on every page with \uniqueMPgraphic?

2013-03-04 Thread Mikael P. Sundqvist
On Tue, Feb 26, 2013 at 10:01 PM, Marco Patzer home...@lavabit.com wrote: Hi Mikael, your original example works for me with a current beta if you replace uniqueMPgraphic with useMPgraphic. Marco ___ If your

[NTG-context] vertical position in itemize and math

2013-03-01 Thread Mikael P. Sundqvist
Hi, I have two problems with vertical position, one in itemize and one in math. The example below show them both. \starttext \startitemize[n] \item \startitemize[a][left={},right={)},stopper=] \item Bla bla $\theta = \arctan\bigl(\frac{\bar{y}^2}{\bar{x}^2}\bigr)$ % comment this line out to see

Re: [NTG-context] recalculate background on every page with \uniqueMPgraphic?

2013-02-26 Thread Mikael P. Sundqvist
On Mon, Feb 18, 2013 at 10:53 AM, Marco Patzer home...@lavabit.com wrote: On 2013–02–18 Mikael P. Sundqvist wrote: Thank you Marco for giving a better example. I thought that uniqueMPgraphic meant it was redrawn everytime while useMPgraphic meant it was done once and then gave the same

[NTG-context] || missing in iwona?

2013-02-22 Thread Mikael P. Sundqvist
With the latest discussion about the || in mind, I notice that I cannot get it in iwona. \stupbodyfont[iwona] \starttext $\fenced[doublebar]{v}$ $\Vert v\Vert$ $||v||$ \stoptext Does it mean that the glyph is missing in the font? /Mikael

Re: [NTG-context] \| should give two || and not one

2013-02-19 Thread Mikael P. Sundqvist
On Tue, Feb 19, 2013 at 10:29 AM, Hans Hagen pra...@wxs.nl wrote: On 2/19/2013 8:36 AM, Keith J. Schultz wrote: Hi All, In a way, it is correct that for compatibility reasons and and convert it is good to keep the old syntax. Yet, ConTeXt is suppose to be more natural. I consider the \{

Re: [NTG-context] \| should give two || and not one

2013-02-18 Thread Mikael P. Sundqvist
Indeed, luigi, but is that what you expect? /Mikael On Fri, Feb 15, 2013 at 5:19 PM, luigi scarso luigi.sca...@gmail.com wrote: On Fri, Feb 15, 2013 at 11:14 AM, Mikael P. Sundqvist mic...@gmail.com wrote: Dear list, \starttext $\|v\|$ \stoptext I expect two vertical bars on each side

Re: [NTG-context] recalculate background on every page with \uniqueMPgraphic?

2013-02-18 Thread Mikael P. Sundqvist
On Fri, Feb 15, 2013 at 4:02 PM, Marco Patzer home...@lavabit.com wrote: On 2013–02–15 Mikael P. Sundqvist wrote: with the (almost minimal) example below, I reduced your minimal example slightly further: \startuseMPgraphic{figram} StartPage; fill Field[Text][Text]; StopPage

Re: [NTG-context] \| should give two || and not one

2013-02-18 Thread Mikael P. Sundqvist
On Mon, Feb 18, 2013 at 10:42 AM, luigi scarso luigi.sca...@gmail.com wrote: On Mon, Feb 18, 2013 at 10:23 AM, Mikael P. Sundqvist mic...@gmail.com wrote: Indeed, luigi, but is that what you expect? Hm, hard to say for me. I find natural to use \vert and \Vert or, if possible

[NTG-context] \| should give two || and not one

2013-02-15 Thread Mikael P. Sundqvist
Dear list, \starttext $\|v\|$ \stoptext I expect two vertical bars on each side of v, but see only one. Tested with the latest beta. /Mikael ___ If your question is of interest to others as well, please add an

Re: [NTG-context] \| should give two || and not one

2013-02-15 Thread Mikael P. Sundqvist
On Fri, Feb 15, 2013 at 1:42 PM, Wim W. Wilhelm ww.wilh...@kpnmail.nl wrote: use $\Vert v \Vert$ Wim W. Wilhelm Dear list, \starttext $\|v\|$ \stoptext I expect two vertical bars on each side of v, but see only one. Tested with the latest beta. /Mikael Thank you for your reply,

<    1   2   3   4   >