[NTG-context] wikifyable

2007-10-25 Thread Hans Hagen
in such cases \dontleavehmode is neede

\starttext
 \placefigure[left]{}{}
 \startlinecorrection \dontleavehmode \bTABLE
 \bTR  \bTD oeps \eTD  \eTR
 \eTABLE
 \stoplinecorrection
 \placefigure[right]{}{}
 \startlinecorrection \dontleavehmode \bTABLE
 \bTR  \bTD oeps \eTD  \eTR
 \eTABLE
 \stoplinecorrection
\stoptext


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] [OT] Quick ref for Lua ?

2007-10-25 Thread luigi scarso
Does anybody know or use about pdf/ppt quick reference for Lua as used
in LuaTeX ?

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


[NTG-context] Error updating context with ctxtools

2007-10-25 Thread WN
Hi,

I thought it might be time to update my standalone Context on Windows 
(08-08-2007). I am using
ctxtools --update but I am getting the following error

loading : Context Regime Macros (synonyms)
) 
(C:/Context/isoimage/usr/local/context/tex/texmf-local/tex/context/base/lang-ini.tex
loading : Context Language Macros / Initialization
(C:/Context/isoimage/usr/local/context/tex/texmf-local/tex/context/base/lang-ini.mkiv
! LuaTeX error 
...ontext/tex/texmf-local/tex/context/base/lang-ini.lua:9: attempt to 
index global 'lang' (a nil value).
\ctxluabytecode ...ode  .. #1 .. str) end end }

\registerctxluafile ...{\the \luabytecodecounter }
  \fi \fi
l.16 \registerctxluafile{lang-ini}{1.001}

?

Kind regards
Wim Neimeijer


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


Re: [NTG-context] [OT] Quick ref for Lua ?

2007-10-25 Thread Arthur Reutenauer
  The Lua users wiki is very helpful but I don't think there is any PDF
quick ref (http://lua-users.org/wiki/).  And if you mean “Lua, as in Lua
used in LuaTeX (with all the additional libraries, etc.), then no,
definitely no.

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


Re: [NTG-context] [OT] Quick ref for Lua ?

2007-10-25 Thread luigi scarso
On 10/25/07, Arthur Reutenauer [EMAIL PROTECTED] wrote:
   The Lua users wiki is very helpful but I don't think there is any PDF
 quick ref (http://lua-users.org/wiki/).  And if you mean Lua, as in Lua
 used in LuaTeX (with all the additional libraries, etc.), then no,
 definitely no.

http://luaforge.net/docman/index.php?group_id=80selected_doc_group_id=95language_id=1

but is lua 5.0, not lua 5.1 as that one used in luatex

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


Re: [NTG-context] Error updating context with ctxtools

2007-10-25 Thread Arthur Reutenauer
  You need the latest LuaTeX (a trunk version with less than one month
approximately; I'm not even sure if the latest beta supports this).

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


Re: [NTG-context] [OT] Quick ref for Lua ?

2007-10-25 Thread Arthur Reutenauer
 http://luaforge.net/docman/index.php?group_id=80selected_doc_group_id=95language_id=1

  Thanks, I didn't know that. But anyway there's much more to it, since
lua as used in LuaTeX has many external libraries embedded (luazip, Lua
Parsing Expression Grammars, a library for manipulating Unicode strings
etc.); and in addition to that all the special libraries that have been
written by Taco and Hans (chapter 4 of the LuaTeX reference manual).

  So there are actually quite a lot of additional things and I expect
the difference between versions 5.0 and 5.1 of the core language and
libraries to be rather unimportant (at least in that respect).

Arthur

P-S for Taco: Am I right in saying that the list of additional libraries is:
  • The twelve ones documented in luatexref-t.pdf
  • lfs, luamd5, lpeg, luazip, luazlib and Selene Unicode (as seen in src/libs)?

  That could be a start to write a complete texlua manual ... (here I'm
only interested in the libraries providing new lua functions,
obviously).
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] luatex

2007-10-25 Thread John Culleton
On Tuesday 23 October 2007 10:49:44 am Hans Hagen wrote:
 Thomas A. Schmitz wrote:
  Hi,
 
  at the risk of sounding rude or impatient: I'd love to know when new
  releases of luatex and ConTeXt mkiv can be expected. The latest
  luatex trunk has some problems (no ligatures, hyphenation flaky) and
  doesn't work with some of my fonts. Latest ConTeXt beta only works
  with trunk of luatex. Hans mentioned some fundamental changes in
  luatex, so I was just wondering.

 later this week there will be a new beta

 Hans

What will a luatex based Context do for us that the current stable Context 
doesn't?





-- 
John Culleton
Precision Typesetting
Able Indexers and Typesetters
http://wexfordpress.com
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] luatex

2007-10-25 Thread Hans Hagen
John Culleton wrote:
 On Tuesday 23 October 2007 10:49:44 am Hans Hagen wrote:
 Thomas A. Schmitz wrote:
 Hi,

 at the risk of sounding rude or impatient: I'd love to know when new
 releases of luatex and ConTeXt mkiv can be expected. The latest
 luatex trunk has some problems (no ligatures, hyphenation flaky) and
 doesn't work with some of my fonts. Latest ConTeXt beta only works
 with trunk of luatex. Hans mentioned some fundamental changes in
 luatex, so I was just wondering.
 later this week there will be a new beta

 Hans
 
 What will a luatex based Context do for us that the current stable Context 
 doesn't?

open type to start with, robustly grouped features, better and more 
robust spacing some day soon, more efficient and flexible xml, a new 
sectioning implementation, instant metapost processing (next year), and 
much more; eventually fundamental new features will only be written for 
luatex and pdftex (traditional tex) will be frozen.

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [OT] Quick ref for Lua ?

2007-10-25 Thread luigi scarso
On 10/25/07, Arthur Reutenauer [EMAIL PROTECTED] wrote:
  http://luaforge.net/docman/index.php?group_id=80selected_doc_group_id=95language_id=1

   Thanks, I didn't know that. But anyway there's much more to it, since
 lua as used in LuaTeX has many external libraries embedded
yes, I know.
But i'm searching for a quick ref of Lua, because I manage others
scripts-language
and sometimes I feel a bit confused.

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


Re: [NTG-context] luatex

2007-10-25 Thread John Culleton
On Thursday 25 October 2007 12:10:24 pm Hans Hagen wrote:
 John Culleton wrote:
  On Tuesday 23 October 2007 10:49:44 am Hans Hagen wrote:
  Thomas A. Schmitz wrote:
  Hi,
 
  at the risk of sounding rude or impatient: I'd love to know when new
  releases of luatex and ConTeXt mkiv can be expected. The latest
  luatex trunk has some problems (no ligatures, hyphenation flaky) and
  doesn't work with some of my fonts. Latest ConTeXt beta only works
  with trunk of luatex. Hans mentioned some fundamental changes in
  luatex, so I was just wondering.
 
  later this week there will be a new beta
 
  Hans
 
  What will a luatex based Context do for us that the current stable
  Context doesn't?

 open type to start with, robustly grouped features, better and more
 robust spacing some day soon, more efficient and flexible xml, a new
 sectioning implementation, instant metapost processing (next year), and
 much more; eventually fundamental new features will only be written for
 luatex and pdftex (traditional tex) will be frozen.

 Hans

In my further exploration I came across another product, toally unrelated, 
dealing with spreadsheets.  with the name of luatex.   Is the name luatex a 
trademark?  Lua is apparently. 

See:
www.luatex.com
-- 
John Culleton
Want to know what I really think?
http://apps.wexfordpress.net/blog/
And my must-read (free) short list:
http://wexfordpress.com/tex/shortlist.pdf
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] HTML to ConTeXt

2007-10-25 Thread Aditya Mahajan
This is interesting. A website that converts html to context 
(actually uses markdown behind the scenes).

http://johnmacfarlane.net/pandoc/html2x.html

This is how the context wiki looks like.

http://johnmacfarlane.net/cgi-bin/html2x.pl?url=http%3A%2F%2Fwiki.contextgarden.net%2FMain_Pageformat=context

The program is written in haskell and is also available for download. 
You can use it to convert markdown to context. I had been looking for 
this for a while, when multiple formats are needed. Write in markdown 
and generate html or context. I do not completely like the context 
output it generates (for example 
http://johnmacfarlane.net/pandoc/README gets converted to 
http://johnmacfarlane.net/pandoc/example11.tex.html)

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


[NTG-context] Success Story - II

2007-10-25 Thread Vyatcheslav Yatskovsky
Hello

Happy to report that Luatex made my life easier once again.  :) I've made 
another test papers for my students, with varying problems, and it was possible 
only due to Lua emedded code. Examples:

  Perform logical AND, OR and XOR under the following pair of hexadecimal 
numbers: 
  \startluacode 
n = math.random(10,255)  
m = math.random(10,255)
tex.print(string.format(%X, %X, n, m)) 
  \stopluacode

  Encode your Name and Surname as a   
  \startluacode 
 a = {'null-terminated', 'dollar-terminated', 'Pascal'}
 tex.print( string.format('%s string.', a[math.random(1,3)]) );
  \stopluacode

Lucky, the discussion about Lua reference started in the list today, because I 
need more knowledge of Lua to make even more flexible assignments.

Best regards,
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] luatex

2007-10-25 Thread Arthur Reutenauer
 In my further exploration I came across another product, toally unrelated, 
 dealing with spreadsheets.  with the name of luatex.

  Yes, this was mentioned at the ConTeXt meeting last spring.  It's a
bit frustrating, sure, but ...

  Interestingly enough, this other luatex is to be parsed Lua / t / eX
because the last two letters stand for Excel.  And the normative
spelling is LuateX with an uppercase X :-)

Is the name luatex a 
 trademark?

  Not that I know of.  I don't think there would be any benefit to it,
though.  Recall that the name TEX itself---all uppercase---was a
trademark since a couple of years by the time TeX was created.  Who
remembers this typesetting system by the Honeywell company today?

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


Re: [NTG-context] HTML to ConTeXt

2007-10-25 Thread Idris Samawi Hamid
Hi Aditya,

On Thu, 25 Oct 2007 08:50:03 -0600, Aditya Mahajan [EMAIL PROTECTED]  
wrote:

 This is interesting. A website that converts html to context
 (actually uses markdown behind the scenes).

 http://johnmacfarlane.net/pandoc/html2x.html

 This is how the context wiki looks like.

 http://johnmacfarlane.net/cgi-bin/html2x.pl?url=http%3A%2F%2Fwiki.contextgarden.net%2FMain_Pageformat=context

 The program is written in haskell and is also available for download.
 You can use it to convert markdown to context. I had been looking for
 this for a while, when multiple formats are needed. Write in markdown
 and generate html or context. I do not completely like the context
 output it generates (for example
 http://johnmacfarlane.net/pandoc/README gets converted to
 http://johnmacfarlane.net/pandoc/example11.tex.html)

This looks very promising. Perhaps some of us can help the developers to  
improve the ConTeXt support.

Thank you very much for sharing this!

Best wishes
Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Fwd: Re: Greetings and ConTeXt

2007-10-25 Thread Idris Samawi Hamid
For anyone who's interested:

--- Forwarded message ---
From: John MacFarlane [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc:
Subject: Re: Greetings and ConTeXt
Date: Thu, 25 Oct 2007 14:33:18 -0600


Great!  I know comparatively little about ConTeXt, so if you find
ways to improve pandoc's ConTeXt output, please let me know (either
here or by filing a bug report on pandoc's issue tracker).

John

+++ ishamid [Oct 25 07 13:26 ]:

 Hi,

 I just learned about pandoc from the ConTeXt list. I am very excited
 about the possibilities of this new tool and hope to learn more soon.
 I am something of a ConTeXt power user (not a programmer) but would
 like to help in any way I can. As the editor of an academic journal
 the need to convert other formats to ConTeXt is a laborious task;
 maybe this tool will help to streamline that someday.

 Best wishes
 Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] HTML to ConTeXt

2007-10-25 Thread Aditya Mahajan
On Thu, 25 Oct 2007, Idris Samawi Hamid wrote:

 Hi Aditya,

 On Thu, 25 Oct 2007 08:50:03 -0600, Aditya Mahajan [EMAIL PROTECTED]
 wrote:

 This is interesting. A website that converts html to context
 (actually uses markdown behind the scenes).

 http://johnmacfarlane.net/pandoc/html2x.html

 This is how the context wiki looks like.

 http://johnmacfarlane.net/cgi-bin/html2x.pl?url=http%3A%2F%2Fwiki.contextgarden.net%2FMain_Pageformat=context

 The program is written in haskell and is also available for download.
 You can use it to convert markdown to context. I had been looking for
 this for a while, when multiple formats are needed. Write in markdown
 and generate html or context. I do not completely like the context
 output it generates (for example
 http://johnmacfarlane.net/pandoc/README gets converted to
 http://johnmacfarlane.net/pandoc/example11.tex.html)

 This looks very promising. Perhaps some of us can help the developers to
 improve the ConTeXt support.

I will explore pandoc in more detail in the future. I am more 
interested in it from the point of view of understanding Haskell 
parsers, but improving the context output will definitely not hurt.

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