Re: [NTG-context] invert colors in \externalfigure

2016-01-22 Thread Pablo Rodriguez
On 01/20/2016 07:35 PM, Alan BRASLAU wrote:
> On Wed, 20 Jan 2016 17:56:53 +0100 Pablo Rodriguez  wrote:
> 
>> On 01/20/2016 01:19 PM, Wolfgang Schuster wrote:
 Pablo Rodriguez 20. Januar 2016 um 13:10
 [...]
 How can I invert the colors in the external figure without having
 to edit the image file?

 Many thanks for your help,  
>>> You have to use the Adobe Reader to view the PDF.  
>>
>> I’m afraid that I’m on Linux and I don’t have Adobe Reader installed.
> 
> Not just on Linux... (Adobe reader is a notorious security hole).

Many thanks for your reply, Alan.

\startnegative is the way of doing it, as Wolfgang suggested. Don’t
worry, I won’t install Adobe Reader.

Ghostscript also implements what actually is the /TR (transformation)
entry for /ExtGState (graphics state) dictionary. (I was wrong in my
previous message.)

Only poppler and mupdf should implement it.

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] \sharp and \flat are not displayed

2016-01-22 Thread Hans Hagen

On 1/22/2016 2:05 PM, Vya. Y. wrote:

Hi,


In the beta, I cannot get \sharp and \flat signs after font setup. What
should I do to get them back?

Minimal example:

\starttypescript [serif] [MinionPro]

\definefontsynonym [Serif][MinionPro-Cn.otf][features=default]

\stoptypescript


\starttypescript [MinionPro]

\definetypeface [MinionPro][rm][serif][MinionPro][default]

\stoptypescript


\usetypescript[MinionPro]

\setupbodyfont[MinionPro,16pt]


\starttext

\sharp

\flat

\stoptext


here

\starttext

\definedfont[MinionPro*default]

test \sharp \flat

\stoptext

shows both shapes


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Usage of label in startsection etc.

2016-01-22 Thread Jan U. Hasecke
Hi list,

on this page
http://wiki.contextgarden.net/Command/startsection

the argument "label" is not explained.

Since the argument "reference" is used for the text references \in, \at
and \about I wonder what "label" is used for?

TIA
juh
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Fieldstacks are broken

2016-01-22 Thread Jeong Dal
Dear Hans, Wolfgang

Thank you for the solutions.

“\unexpanded …” method is working well.

It can make the class materials more interesting.

Thanks again.

Best regards,

Dalyoung


___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Fieldstacks are broken

2016-01-22 Thread Jeong Dal
Dear Otared,

You are welcome. It is not my code.
As you know I am just an enduser of ConTeXt.
I also always thank to Hans, ConTeXt team and this list.
Here are always answers!

I mainly use ConTeXt to prepare documents, math papers, and class materials.
It is really good to use Metafun and Lua inside ConTeXt with ease. 
And the animation feature is really good to give better presentation to 
students.

As you said \dostepwiserecurse would be useful in many ways.

Please share your ideas too.

Best regards,

Dalyoung


> Hi Jeong,
> 
> I played with your code and indeed it is very nice to use this animation 
> feature (I never succeeded to imbed a movie in a TeX file typeset with 
> Context…).
> Thanks to Hans and Wolfgang, and you, I can now use such things in my 
> presentations.
> 
> Just to say something which may be useful, one can also use 
> \dostepwiserecurse as in
> 
> \startanimation[menu=yes]
> \dostepwiserecurse{0}{20}{2}{\expanded{\startframe \MyGraphics{\recurselevel} 
> \stopframe}}
> \stopanimation
> 
> Best regards: OK

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] \sharp and \flat are not displayed

2016-01-22 Thread Vya. Y.
Hi,


In the beta, I cannot get \sharp and \flat signs after font setup. What
should I do to get them back?

Minimal example:

\starttypescript [serif] [MinionPro]

\definefontsynonym [Serif][MinionPro-Cn.otf][features=default]

\stoptypescript


\starttypescript [MinionPro]

\definetypeface [MinionPro][rm][serif][MinionPro][default]

\stoptypescript


\usetypescript[MinionPro]

\setupbodyfont[MinionPro,16pt]


\starttext

\sharp

\flat

\stoptext
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Problem with \inouter and text justification

2016-01-22 Thread josephcanedo
Dear list,


The problem with margin notes and main text justification being wrong in some 
lines when using stack=continue is still present with latest beta mtx-context   
  | current version: 2016.01.18 22:21 


This can be verified with the test stacking-002.tex in test suite or with MWE I 
posted earlier.


Just wanted to know if fixing this problem was planned for next “stable” 
version or if that feature is somewhat deprecated ? This problem does not occur 
with current “stable” ConTeXt version.


Many thanks for any hint,


Joseph





From: josephcan...@gmail.com
Sent: ‎Tuesday‎, ‎December‎ ‎15‎, ‎2015 ‎9‎:‎58‎ ‎PM
To: ntg-context@ntg.nl






Is this problem a hard limitation from (lua)TeX ? or simply some bug in ConTeXt 
?

The problem with main text justification is not present with “stable” version 
of ConTeXt, so my guess is that’s a regression in beta.




I initially used stack=yes but despite the name in some cases the notes fail to 
stack and overlapped. 




Thanks a lot,




Joseph





From: josephcan...@gmail.com
Sent: ‎Friday‎, ‎December‎ ‎11‎, ‎2015 ‎9‎:‎03‎ ‎PM
To: ntg-context@ntg.nl





Thanks Wolfgang for alternative proposal.

I had a try with your sample and it seems the margin notes stay stacked but not 
nearby the line I insert them in the text, which is what I

am looking for. Is there a way to achieve this using notes ?




Otherwise I assume that there is a bug with \ininner \inouter then ? 




Also I noticed there is a \ininnermargin, but I was curious to know what’s the 
difference with \ininner.




Thanks a lot




Joseph





From: Wolfgang Schuster
Sent: ‎Friday‎, ‎December‎ ‎11‎, ‎2015 ‎1‎:‎13‎ ‎PM
To: ntg-context@ntg.nl








josephcan...@gmail.com

10. Dezember 2015 um 11:04


Dear all,




Another problem appears if using both \inouter and \ininner to have notes in 
both sides. Apparently when doing so the stack=continue does not work any 
longer. I see margin notes overlapping and not being stacked.




If the “left note” is removed the right side notes are stacked properly again.




Is there any solution to avoid the previous problem and this one please ? 
Are notes a alternative for you?

\startsetups[marginnotes]
\startframed[width=max,height=max,align=high,strut=no]
\placenotes[marginnote][before=,after=,rule=off]
\stopframed
\stopsetups

\setuptexttexts[margin][][\directsetup{marginnotes}]

\definenote   [marginnote][criterium=page]
\setupnotation[marginnote][number=no]

\starttext

\dorecurse{100}{\input ward\expanded{\marginnote{This is note \recurselevel}} }

\stoptext

Wolfgang___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___