Re: [NTG-context] simplefonts or Typecripts

2010-08-14 Thread Gour D.
On Fri, 13 Aug 2010 17:58:55 +0200
 Hans == Hans Hagen pra...@wxs.nl wrote:

Hans it depends ... simplefonts uses some heuristics and therefore can
Hans make it easier but not all fonts fit into a systematic approach

I see.

Hans for a long time project making a few typescripts (just use those
Hans defined at the end of type-otf.mkiv as template) and using file:
Hans is more robust esp as it will nicely fail when something
Hans fundamental has changed (names or so)

Thanks for the hint.

By inspecting type-otf.mkiv from texlive  context-minimals, I see
that the latter is almost 4x bigger - probably it includes most of the
interesting free fonts available.

For now, it can be enough considering that atm we'll mostly write
markdown/reST and convert to ConTeXt via pandoc, but later we'll go
into final production and then there will be another question
relevant - whether there are some affordable commercial quality
fonts which could enhance the free collection and which cover extended
Unicode range (we need to use Sanskrit diacritics that were created via
TeX accent mechanism when we worked in old LaTeX).


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG: CDBF17CA

-- 


signature.asc
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] other markup to ConTeXt

2010-08-14 Thread Philipp Gesang
On 2010-08-14 07:19:17, Gour D. wrote:
 Finally, for the high-quality output, we plan to convert to ConTeXt
 (via pandoc since there is no ConTeXt writer for sphinx/docutils) for
 high-quality PDF output (if rst2pdf won't be satisfying or if we would
 like to provide paper putput.

Hi Gour, Hraban, John, and the list,

did you consider directly processing reST or similar markdown with
context using lua? Certainly it has advantages to have a converter output
context (backslash style) code and being able to finalize it. But
implementing some .rst processing directly in context shouldn't be that
hard (and with luatex you could handle the html output as well). 

Has somebody already made some steps in that way?  (I'm thinking about
doing so for quite some time now but then, it's not that pressing
either.)

Philipp


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


-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgpa3Ay4fEVch.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] other markup to ConTeXt

2010-08-14 Thread John Haltiwanger
This was exactly what I was wondering last night:

How hard would it be to just write the converter into LuaTeX? Does
LuaTeX's position as a moving target affect this at all?

As you suggest Phillip, it might not be so difficult. It certainly
sounds like a worthwhile project. Seeming as how there is an obvious
spread of interest, perhaps we can start working on something
collaboratively.

On Sat, Aug 14, 2010 at 9:23 AM, Philipp Gesang
pges...@ix.urz.uni-heidelberg.de wrote:
 On 2010-08-14 07:19:17, Gour D. wrote:
 Finally, for the high-quality output, we plan to convert to ConTeXt
 (via pandoc since there is no ConTeXt writer for sphinx/docutils) for
 high-quality PDF output (if rst2pdf won't be satisfying or if we would
 like to provide paper putput.

 Hi Gour, Hraban, John, and the list,

 did you consider directly processing reST or similar markdown with
 context using lua? Certainly it has advantages to have a converter output
 context (backslash style) code and being able to finalize it. But
 implementing some .rst processing directly in context shouldn't be that
 hard (and with luatex you could handle the html output as well).

 Has somebody already made some steps in that way?  (I'm thinking about
 doing so for quite some time now but then, it's not that pressing
 either.)

 Philipp


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


 --
 ()  ascii ribbon campaign - against html e-mail
 /\  www.asciiribbon.org   - against proprietary attachments

 ___
 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] other markup to ConTeXt

2010-08-14 Thread Khaled Hosny
There is a lua markdown converter:
http://github.com/jgm/lunamark
It can output html and latex, I don't think it would be hard to make it
output context and integrate it in some way.

On Sat, Aug 14, 2010 at 09:31:06AM +, John Haltiwanger wrote:
 This was exactly what I was wondering last night:
 
 How hard would it be to just write the converter into LuaTeX? Does
 LuaTeX's position as a moving target affect this at all?
 
 As you suggest Phillip, it might not be so difficult. It certainly
 sounds like a worthwhile project. Seeming as how there is an obvious
 spread of interest, perhaps we can start working on something
 collaboratively.
 
 On Sat, Aug 14, 2010 at 9:23 AM, Philipp Gesang
 pges...@ix.urz.uni-heidelberg.de wrote:
  On 2010-08-14 07:19:17, Gour D. wrote:
  Finally, for the high-quality output, we plan to convert to ConTeXt
  (via pandoc since there is no ConTeXt writer for sphinx/docutils) for
  high-quality PDF output (if rst2pdf won't be satisfying or if we would
  like to provide paper putput.
 
  Hi Gour, Hraban, John, and the list,
 
  did you consider directly processing reST or similar markdown with
  context using lua? Certainly it has advantages to have a converter output
  context (backslash style) code and being able to finalize it. But
  implementing some .rst processing directly in context shouldn't be that
  hard (and with luatex you could handle the html output as well).
 
  Has somebody already made some steps in that way?  (I'm thinking about
  doing so for quite some time now but then, it's not that pressing
  either.)
 
  Philipp
 
 
  ___
  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
  ___
 
 
  --
  ()  ascii ribbon campaign - against html e-mail
  /\  www.asciiribbon.org   - against proprietary attachments
 
  ___
  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
 ___

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___
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] other markup to ConTeXt

2010-08-14 Thread Hans Hagen

On 14-8-2010 11:23, Philipp Gesang wrote:


Has somebody already made some steps in that way?  (I'm thinking about
doing so for quite some time now but then, it's not that pressing
either.)


is there a precise spec?

(I'm still looking for a few examples that I can use at the ctx 
conference.)


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] other markup to ConTeXt

2010-08-14 Thread Philipp Gesang
On 2010-08-14 11:52:12, Hans Hagen wrote:
 On 14-8-2010 11:23, Philipp Gesang wrote:
 
 Has somebody already made some steps in that way?  (I'm thinking about
 doing so for quite some time now but then, it's not that pressing
 either.)
 
 is there a precise spec?

You mean something like this?:
http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#quick-syntax-overview

Hth, Philipp
 
 (I'm still looking for a few examples that I can use at the ctx
 conference.)
 
 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
 ___

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgptpmHlS0qvv.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] other markup to ConTeXt

2010-08-14 Thread Henning Hraban Ramm

Am 2010-08-14 um 11:23 schrieb Philipp Gesang:


did you consider directly processing reST or similar markdown with
context using lua? Certainly it has advantages to have a converter  
output

context (backslash style) code and being able to finalize it. But
implementing some .rst processing directly in context shouldn't be  
that

hard (and with luatex you could handle the html output as well).


I was planning on using Python docutils with changing its LaTeX  
converter for ConTeXt.


But of course direct LuaTeX parsing of other markup would be really  
nice.


Markdown, ReST, Creole - I don't really care, as far as there's a  
parser in Python, so that I can integrate it in my Django-based Web CMS.


None of their specs is really precise AFAIR, but I guess ConTeXt's  
standard markup commands are flexible enough.


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)



smime.p7s
Description: S/MIME cryptographic 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] Issues with MetaPost boxes

2010-08-14 Thread Andreas Schneider
Since some weeks I have strange problems with MetaPost in MKIV (beta). The
attached example should (and did in the past) output a central box (Fakt)
surrounded by five boxes named Dimension. However some of them (in that
particular example one) is drawn wrong: the box is on the right spot, but
the label seems to be at 0,0. It seems to happen whenever the boxes are
drawn from within a loop - at least all of my problems with boxes show
similar symptoms and only occur within loops.

Any ideas what goes wrong here?\startMPinclusions
input boxes;
\stopMPinclusions

\startMPpage
u := 1cm;

circleit.fact(\sometxt{\bf Fakt});
fact.c = (0u, 0u);
fact.dx = fact.dy;

drawboxed(fact);

for i = 45 step 72 until 360:
circleit.dim[i](\sometxt{Dimension});
dim[i].c = 3u*right rotated i;
dim[i].dx = dim[i].dy;
drawoptions(dashed evenly);
drawboxed(dim[i]);
drawoptions();
drawarrow fact.c -- dim[i].c cutbefore bpath.fact cutafter 
bpath.dim[i];
endfor;
\stopMPpage___
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] Issues with MetaPost boxes

2010-08-14 Thread taco

Andreas Schneider wrote:

Since some weeks I have strange problems with MetaPost in MKIV (beta). The
attached example should (and did in the past) output a central box (Fakt)
surrounded by five boxes named Dimension. However some of them (in that
particular example one) is drawn wrong: the box is on the right spot, but
the label seems to be at 0,0. It seems to happen whenever the boxes are
drawn from within a loop - at least all of my problems with boxes show
similar symptoms and only occur within loops.

Any ideas what goes wrong here?


Probably a metapost bug, I'll check.
___
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
___