[NTG-context] SVG with \externalfigure and http:// handler

2013-04-11 Thread Marco Patzer
Hi,

Including local SVG graphics works, so does including remote PNGs.
Remote SVGs are not displayed, however. Example:

\starttext
  \externalfigure[http://www.gnu.org/graphics/gnu2.svg]
\stoptext

Is this not supported or am I missing a required option?


Marco


signature.asc
Description: Digital signature
___
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] [mtx-package] merger output ambiguous

2013-04-11 Thread Philipp Gesang
Hi Hans,

merging produces invalid output when concatenating a numbers into
a string. Example:

return 42 .. foo

which is merged into:

return 42..foo
 ^

where the dot after the number leads to a “malformed number”
error. (Iirc there was a thread on lua-l about this not long
ago.)

Regards
Philipp



pgpW2kjPg2r8l.pgp
Description: PGP signature
___
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] [***SPAM***] Background color with dotted frame formula

2013-04-11 Thread hwitloc


I am trying to make a rounded corner dotted frame with a formula on a gray 
background.

I can't seem to get both the background and the dotted frame working well at 
the same time.

Here is the same mkiv macros showing three specimens.

#1 is stand rounded gray background.  This works
#2 The grey background seems to not go up to the dotted frame of the frame is 
too high?
#3 The dotted frame does not show up at all.

Here is the mkiv file:

\startuniqueMPgraphic{Label}
path p; p := (0,0) -- (OverlayWidth,0) -- (OverlayWidth, OverlayHeight) -- (0, 
OverlayHeight) -- (0,0);
draw p withpen pencircle scaled 1pt dashed withdots;
setbounds currentpicture to boundingbox OverlayBox;
\stopuniqueMPgraphic

\defineoverlay[Label][\useMPgraphic{Label}]

\def\dottext#1%
{  \mframed[frame=off, background=Label, location=low]
  { #1 }
 }

\setupcolors[state=start]

\def\rndgraymath{\mframed[frame=off,% for math have to use \mframed
corner=0, background=color,  backgroundcolor=gray,  backgroundoffset=3pt] }

\starttext

Large font with rounded gray background 
\startformula
\rndgraymath{\tfc e^{i\pi} + 1 = 0 }
\stopformula \blank[big]

Large font in dotted rounded frame  gray background (should be)
\startformula
\rndgraymath{\dottext{\tfc e^{i\pi} + 1 = 0 }}
\stopformula \blank[big]

Large font in dotted rounded frame  gray background  (should be)
\startformula
\dottext{\rndgraymath{\tfc e^{i\pi} + 1 = 0 }}
\stopformula

\stoptext

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

2013-04-11 Thread Meer H. van der
The contextgarden mentions a command flushfootnotes, however

\starttext
\flushfootnotes
\stoptext

results in an error:

! Undefined control sequence.
log
system   tex  error on line 2 in file sectioning.tex: Undefined 
control sequence ...
l.2 \flushfootnotes

ConTeXt  ver: 2013.03.20 10:34 MKIV  fmt: 2013.3.20  int: english/english

Hans van der Meer



___
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] endnotes not placed

2013-04-11 Thread Meer H. van der
The contextgarden tells me under Command/placefootnotesPlace unplaced footnotes. Has no visible effect if location=page, but can be used to place footnotes (or endnotes) made when location=text was in effect.However nothing happens for an \endnote, but it works for a \footnote. See minimal example.Minimal example:\setupfootnotes[location=text]\starttextabc\endnote{an endnote}\placefootnotes\stoptext
Hans van der Meer

ConTeXt ver: 2013.03.20 10:34 MKIV fmt: 2013.3.20 int: english/english

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

Re: [NTG-context] [mtx-package] merger output ambiguous

2013-04-11 Thread Hans Hagen

On 4/11/2013 12:00 PM, Philipp Gesang wrote:

Hi Hans,

merging produces invalid output when concatenating a numbers into
a string. Example:

 return 42 .. foo

which is merged into:

 return 42..foo
  ^

where the dot after the number leads to a “malformed number”
error. (Iirc there was a thread on lua-l about this not long
ago.)


ok. fixed in next

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | 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
___


Re: [NTG-context] [mtx-package] merger output ambiguous

2013-04-11 Thread Philipp Gesang
···date: 2013-04-11, Thursday···from: Hans Hagen···

 On 4/11/2013 12:00 PM, Philipp Gesang wrote:
 Hi Hans,
 
 merging produces invalid output when concatenating a numbers into
 a string. Example:
 
  return 42 .. foo
 
 which is merged into:
 
  return 42..foo
   ^
 
 where the dot after the number leads to a “malformed number”
 error. (Iirc there was a thread on lua-l about this not long
 ago.)
 
 ok. fixed in next

Many thanks!
Philipp



pgpEa127tFPfi.pgp
Description: PGP signature
___
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] 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 new 
features with fractions and fences. 

However, on page 27, there is a sentence which I disagree with… 
You say there:
 « ConTEXt is always considered somewhat less math savvy than for instance 
LaTEX », 
but actually I cannot see any example of maths typesetting which cannot be done 
in ConTeXt. 
It is true that most mathematicians may not use ConTeXt, but this is because 
they are not aware of the package and, mainly, because maths journals do not 
accept yet papers typeset with ConTeXt. I hope this will change soon.

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
___


Re: [NTG-context] new beta

2013-04-11 Thread luigi scarso
On Thu, Apr 11, 2013 at 6:25 PM, Otared Kavian ota...@gmail.com wrote:
 However, on page 27, there is a sentence which I disagree with…
 You say there:
  « ConTEXt is always considered somewhat less math savvy than for instance 
 LaTEX »,
 but actually I cannot see any example of maths typesetting which cannot be 
 done in ConTeXt.
 It is true that most mathematicians may not use ConTeXt, but this is because 
 they are not aware of the package and, mainly, because maths journals do not 
 accept yet papers typeset with ConTeXt. I hope this will change soon.
It's true that  ConTEXt is always  considered less math savy than LaTeX
not that ConTEXt is  less math savy than LaTeX.

--
luigi
___
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] new manual

2013-04-11 Thread Giulio Bertellini
HI,
just downloaded the beautiful fonts-MKIV manual onto my Android 7 tablet
(inexpensive Samsung) and it displays quite well both with Adobe Reader and
the Kindle reader.  with Adobe reader all hyperlinks work great and there
is no comparison to the Kindle as a pdf reader. Kindle is nice for reading
and navigating through pages with horizontal scrolling, but you loose all
cross-links and hyperlinks.

Congratulations for the great work.

giulio


On Tue, Apr 2, 2013 at 9:36 PM, Willi Egger cont...@boede.nl wrote:

 Hi,

 I just downloaded this beautiful manual. Great pleasure to look at, nice
 design and it contains oh so much information although it is not finished!

 Thank you very much Hans

 Willi
 On Mar 27, 2013, at 1:38 PM, Hans Hagen wrote:

  Hi,
 
  I uploaded a work-in-progress manual:
 
  http://www.pragma-ade.com/general/manuals/fonts-mkiv.pdf
 
  Hans
 
  -
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | voip: 087 875 68 74 | 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
 
 ___


 ___
 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

 ___

___
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] new beta

2013-04-11 Thread Peter Münster
On Thu, Apr 11 2013, luigi scarso wrote:

 It's true that  ConTEXt is always  considered less math savy than LaTeX
 not that ConTEXt is  less math savy than LaTeX.

Perhaps better: always - often ?

-- 
   Peter
___
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] literal tilde glyph in ordinary text.

2013-04-11 Thread john Culleton
In a non-math situation where I just wish to print a literal
tilde to indicate the user's directory in Linux what do I use? 

such as: ~/.config 

-- 
John Culleton
Wexford Press
___
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] endnotes not placed

2013-04-11 Thread Wolfgang Schuster

Am 11.04.2013 um 14:51 schrieb Meer H. van der h.vanderm...@uva.nl:

 The contextgarden tells me under Command/placefootnotes
 
 Place unplaced footnotes. Has no visible effect if location=page, but can be 
 used to place footnotes (or endnotes) made when location=text was in effect.
 However nothing happens for an \endnote, but it works for a \footnote. See 
 minimal example.

Use \placenotes[endnote] to flush your endnotes, \placefootnotes is only a 
abbreviation for \placenotes[footnote].

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
___

Re: [NTG-context] literal tilde glyph in ordinary text.

2013-04-11 Thread Wolfgang Schuster

Am 11.04.2013 um 22:54 schrieb john Culleton j...@wexfordpress.com:

 In a non-math situation where I just wish to print a literal
 tilde to indicate the user's directory in Linux what do I use? 
 
 such as: ~/.config 

\starttext

1. \lettertilde

2. \textasciitilde

\asciimode

3. ~

\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
___


Re: [NTG-context] new beta

2013-04-11 Thread Hans Hagen

On 4/11/2013 10:15 PM, Peter Münster wrote:

On Thu, Apr 11 2013, luigi scarso wrote:


It's true that  ConTEXt is always  considered less math savy than LaTeX
not that ConTEXt is  less math savy than LaTeX.


Perhaps better: always - often ?


Ok.

Concerning math ... in many aspects the functionality of mkii is 
available in mkiv, but the implementation is often completely different, 
which makes that we can go a step further in control.


Years ago, when he was involved in scientific publishing, Taco made sure 
that mkii had most of the features needed to deal with advanced math (at 
that time via a module that implemented some ams constructs). Eventually 
that code was normalized, extended and integrated into the Later Aditya 
added support for ams-like code too.


In mkiv nearly all had been or will be redone. Some of the accumulated 
implementation details are quite interesting (compared to the 
traditional approach) so I might wrap that up some day in a larger 
summary (chapter). I uploaded the latest hybrid.pdf to the website which 
has some explanations and I'll try to keep wrapping up in future 
chapters if About (and other documents).


If you feel that something fundamental is missing, don't hesitate to 
mention it. (Many math sub-mechanisms are relatively independent so 
adding code has not much change of breaking existing code.)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | 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
___


Re: [NTG-context] literal tilde glyph in ordinary text.

2013-04-11 Thread Hans Hagen

On 4/11/2013 10:54 PM, john Culleton wrote:

In a non-math situation where I just wish to print a literal
tilde to indicate the user's directory in Linux what do I use?

such as: ~/.config


\type{~/.config}



--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | 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
___


Re: [NTG-context] [***SPAM***] Background color with dotted frame formula

2013-04-11 Thread Hans Hagen

On 4/11/2013 2:39 PM, hwit...@gmail.com wrote:



I am trying to make a rounded corner dotted frame with a formula on a gray 
background.

I can't seem to get both the background and the dotted frame working well at 
the same time.

Here is the same mkiv macros showing three specimens.

#1 is stand rounded gray background.  This works
#2 The grey background seems to not go up to the dotted frame of the frame is 
too high?
#3 The dotted frame does not show up at all.

Here is the mkiv file:



\startuniqueMPgraphic{LabelA}
path p ; p := OverlayBox cornered 5pt ;
fill p enlarged 2pt withcolor OverlayColor ;
draw p withpen pencircle scaled 2pt dashed withdots ;
\stopuniqueMPgraphic

\startuniqueMPgraphic{LabelB}
path p ; p := OverlayBox cornered 5pt ;
fill p enlarged 2pt withcolor OverlayColor ;
draw p withpen pencircle scaled 2pt dashed withdots withcolor 
OverlayLineColor ;

\stopuniqueMPgraphic

\defineoverlay[LabelA][\uniqueMPgraphic{LabelA}]
\defineoverlay[LabelB][\uniqueMPgraphic{LabelB}]

\def\VariantA{\mframed[foregroundstyle=\tfc,frame=off,background=LabelA,backgroundoffset=3pt,backgroundcolor=red]}
\def\VariantB{\mframed[foregroundstyle=\tfc,frame=off,background=LabelA,backgroundoffset=4pt,backgroundcolor=green]}
\def\VariantC{\mframed[foregroundstyle=\tfc,frame=off,background=LabelB,backgroundoffset=5pt,backgroundcolor=blue,foregroundcolor=white,framecolor=white]}

\starttext

Large font with rounded gray background

\startformula
\VariantA{e^{i\pi} + 1 = 0}
\stopformula

\blank[big]

Large font in dotted rounded frame  gray background (should be)

\startformula
\VariantB{e^{i\pi} + 1 = 0}
\stopformula

\blank[big]

Large font in dotted rounded frame  gray background  (should be)

\startformula
\VariantC{e^{i\pi} + 1 = 0}
\stopformula

\stoptext


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | 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
___


Re: [NTG-context] endnotes not placed

2013-04-11 Thread Meer H. van der
Thanks. 
I checked again in the contextgarden, fearing I might have overlooked the 
obvious, but \placenotes is not among the commands described. 
Hans van der Meer



On 11 apr. 2013, at 22:54, Wolfgang Schuster schuster.wolfg...@gmail.com
 wrote:

 
 Am 11.04.2013 um 14:51 schrieb Meer H. van der h.vanderm...@uva.nl:
 
 The contextgarden tells me under Command/placefootnotes
 
 Place unplaced footnotes. Has no visible effect if location=page, but can be 
 used to place footnotes (or endnotes) made when location=text was in effect.
 However nothing happens for an \endnote, but it works for a \footnote. See 
 minimal example.
 
 Use \placenotes[endnote] to flush your endnotes, \placefootnotes is only a 
 abbreviation for \placenotes[footnote].
 
 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
 ___

___
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] new manual

2013-04-11 Thread Vyatcheslav Y.
Thank you for this new manual! |

Should try it on my Nook reader )

Vyatcheslav
___
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
___