Re: [NTG-context] Horizontal adjustment of left/right floats

2017-05-11 Thread Jan Willem Flamma
Hi Aditya,

This is what I could find. Hope it suits your needs.

From the details manual, page 57:

\starttext
\movesidefloat [x=-2cm]
\startplacefigure[location={left,none}]
\externalfigure[cow]
\stopplacefigure
\input knuth
\stoptext

Regards,
Jan Willem Flamma

> On 11 May 2017, at 17:43, Aditya Mahajan  wrote:
> 
> Hi,
> 
> Is it possible to adjust the horizontal placement of left/right floats 
> (similar to how 2*line etc can adjust the vertical placement).
> 
> Minmal example:
> 
> \starttext
> \startplacefigure[location={left,none}]
> \externalfigure[cow]
> \stopplacefigure
> \input knuth
> \stoptext
> 
> Aditya
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] bug with en and em dashes

2017-05-11 Thread Marcus Vinicius Mesquita
It works flawless in arch linux 64bits.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] bug with en and em dashes

2017-05-11 Thread Mikael P. Sundqvist
On Thu, May 11, 2017 at 9:04 PM, Pablo Rodriguez  wrote:
> On 05/11/2017 04:17 PM, Thomas Floeren wrote:
>>> On 9. May 2017, at 21:10, Pablo Rodriguez wrote:
>>> [...]
>>> Ligatures aren’t converted and even real en and em dashes are converted
>>> to hyphens.
>>>
>>> Could anyone confirm the issue?
>>
>> Works as expected here, with ConTeXt 2017.05.10 10:41
>
> Hi Tom,
>
> many thanks for your reply.
>
> I guess your OS is MacOS X. I have just tested a brand-new installation
> in Linux 32bit:
>
> time (cd && mkdir temp-ctx-install && cd temp-ctx-install &&\
> rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . &&\
> ./first-setup.sh --modules=all && cd &&\
> source temp-ctx-install/tex/setuptex && mtxrunjit --generate\
> && echo "\starttext – —\par-- ---\stoptext" \
>> test-ctx-temp.mkiv && contextjit --purgeall test-ctx-temp.mkiv &&\
> evince test-ctx-temp.pdf)
>
> And I’m still experiencing the issue. I wonder whether other Linux
> (32bit or 64bit) users are experiencing this.
>
> Many thanks for your help,
>
> Pablo
> --
> http://www.ousia.tk
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

Hi!

I'm not sure what you see but I attach the resulting file, and I see no problem.

$ uname -a
Linux hurf 4.8.0-41-generic #44-Ubuntu SMP Fri Mar 3 15:27:17 UTC 2017
x86_64 x86_64 x86_64 GNU/Linux

$ context --version

mtx-context | ConTeXt Process Management 1.01
mtx-context |
mtx-context | main context file:
/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2017.05.09 10:14

/Mikael


dashtest.pdf
Description: Adobe PDF document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] bug with en and em dashes

2017-05-11 Thread Pablo Rodriguez
On 05/11/2017 04:17 PM, Thomas Floeren wrote:
>> On 9. May 2017, at 21:10, Pablo Rodriguez wrote:
>> [...]
>> Ligatures aren’t converted and even real en and em dashes are converted
>> to hyphens.
>>
>> Could anyone confirm the issue?
> 
> Works as expected here, with ConTeXt 2017.05.10 10:41

Hi Tom,

many thanks for your reply.

I guess your OS is MacOS X. I have just tested a brand-new installation
in Linux 32bit:

time (cd && mkdir temp-ctx-install && cd temp-ctx-install &&\
rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . &&\
./first-setup.sh --modules=all && cd &&\
source temp-ctx-install/tex/setuptex && mtxrunjit --generate\
&& echo "\starttext – —\par-- ---\stoptext" \
> test-ctx-temp.mkiv && contextjit --purgeall test-ctx-temp.mkiv &&\
evince test-ctx-temp.pdf)

And I’m still experiencing the issue. I wonder whether other Linux
(32bit or 64bit) users are experiencing this.

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Location of primes and strange latin modern font

2017-05-11 Thread Mathias Schickel
> 2) The math font looks strange (or should I say different) in the
> ConTeXt example. (Wrong size, scaled?)

Yeah, this seems to be a bug in the current version. I have observed that, too. 
Hans did recently add (due to my suggestion, so thanks again, Hans, even if 
this seems to have caused some trouble) support for optical sizes in fallbacks 
and I suppose the bug has been introduced there. So at present the bug occurs 
that ConTeXt uses the smallest optical size for every symbol (independent of 
the size). This results in strange looking mathematics. Maybe you can fix this, 
Hans?

-Mathias


> Am 11.05.2017 um 18:51 schrieb Mikael P. Sundqvist :
> 
> Dear list,
> 
> I posted this question on stack exchange
> (https://tex.stackexchange.com/q/369226/52406), and got the suggestion
> that it might be a bug, and therefore I post it here as well:
> 
> I have a problem with typesetting derivatives (and latin modern) in
> ConTeXt in latest standalone.
> 
> Minimal example:
> 
> \starttext
> Compare $u_p''$ and $u''_p$ with $u''$
> \stoptext
> 
> Please see the attached image for the output (here I have also
> included the corresponding output, compiling a similar simple document
> in LaTeX, where things look as I expect.)
> 
> Basically, I have two questions:
> 
> 1) How should I write derivatives (say second derivatives) in ConTeXt?
> I think that the primes are too far away from each other. In
> particular when the subscript $p$ is there (the first formula).
> 
> 2) The math font looks strange (or should I say different) in the
> ConTeXt example. (Wrong size, scaled?)
> 
> For a while I thought that the second problem might be because I
> define no font. But the following example gives a similar result.
> 
> \definefontfamily[myface][rm][Latin Modern Roman]
> \definefontfamily[myface][mm][Latin Modern Math]
> 
> \setupbodyfont[myface]
> 
> \starttext
> Compare $u_p''$ and $u''_p$ with $u''$
> \stoptext
> 
> Any ideas?
> 
> /Mikael
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Location of primes and strange latin modern font

2017-05-11 Thread Mikael P. Sundqvist
Dear list,

I posted this question on stack exchange
(https://tex.stackexchange.com/q/369226/52406), and got the suggestion
that it might be a bug, and therefore I post it here as well:

I have a problem with typesetting derivatives (and latin modern) in
ConTeXt in latest standalone.

Minimal example:

\starttext
Compare $u_p''$ and $u''_p$ with $u''$
\stoptext

Please see the attached image for the output (here I have also
included the corresponding output, compiling a similar simple document
in LaTeX, where things look as I expect.)

Basically, I have two questions:

1) How should I write derivatives (say second derivatives) in ConTeXt?
I think that the primes are too far away from each other. In
particular when the subscript $p$ is there (the first formula).

2) The math font looks strange (or should I say different) in the
ConTeXt example. (Wrong size, scaled?)

For a while I thought that the second problem might be because I
define no font. But the following example gives a similar result.

\definefontfamily[myface][rm][Latin Modern Roman]
\definefontfamily[myface][mm][Latin Modern Math]

\setupbodyfont[myface]

\starttext
Compare $u_p''$ and $u''_p$ with $u''$
\stoptext

Any ideas?

/Mikael
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Horizontal adjustment of left/right floats

2017-05-11 Thread Aditya Mahajan

Hi,

Is it possible to adjust the horizontal placement of left/right floats 
(similar to how 2*line etc can adjust the vertical placement).


Minmal example:

\starttext
\startplacefigure[location={left,none}]
\externalfigure[cow]
\stopplacefigure
\input knuth
\stoptext

Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] bug with en and em dashes

2017-05-11 Thread Thomas Floeren
> On 9. May 2017, at 21:10, Pablo Rodriguez  wrote:
> 
> Dear list,
> 
> using latest beta from 2017.05.09 10:14 with the following sample:
> 
>\starttext
>\startTEXpage[offset=1em]
>-- ---
> 
>– —
>\stopTEXpage
>\stoptext
> 
> I get as result:
> 
>-- 
>-- 
> 
> Ligatures aren’t converted and even real en and em dashes are converted
> to hyphens.
> 
> Could anyone confirm the issue?



Works as expected here, with ConTeXt 2017.05.10 10:41

Best,
Tom


> 
> Many thanks for your help,
> 
> Pablo
> -- 
> http://www.ousia.tk
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___