Re: [NTG-context] On creating my own fonts

2009-06-26 Thread Joel C. Salomon
Arthur Reutenauer wrote:
 Cool idea!  I don’t believe there are many METATYPE1 fonts drawn with
 any degree of parameterization (meta-ness)—are there any besides the
 GUST Antykwa fonts (Toruńska  Półtawskiego)?
 
   Of course: the Latin Modern fonts are, inheriting from Computer
 Modern, as is the whole Gyre family.  For the latter you might say there
 is no real parametrization, but the Metatype1 sources are not available.

That’s not what I understood from the papers I’ve read.  The original CM
fonts are parametrized, but the LM set is METATYPE1 taken from traced
bitmaps of CM.  I.e., you cannot easily generate the 15.7pt set.

—Joel Salomon
___
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] On creating my own fonts

2009-06-25 Thread Joel C. Salomon
luigi scarso wrote:
 uh why is it so difficult ?
 I  mean, I understand that can be hard.. but so hard ?

From all I’ve learned by lurking on Typophile.com, yes; the $20–40 per
weight-style most fonts sell for is quite reasonable given the work
required to produce it.

William Adams wrote:
 I've been considering re-starting the whole thing using Metatype1 and
 using what I've drawn as check points, but haven't found the time yet.

Cool idea!  I don’t believe there are many METATYPE1 fonts drawn with
any degree of parameterization (meta-ness)—are there any besides the
GUST Antykwa fonts (Toruńska  Półtawskiego)?

—Joel Salomon
___
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] stand-alone ConTeXt

2009-06-15 Thread Joel C. Salomon
Yue Wang wrote:
 the mswincontext zip always provided ruby and gs and as well as xmlproc and
 xsltproc

 it's just that now that we have the garden minimals i no longer make my own
 so making mswincontex makes less sense too

 
 What about make a mswinbonus.zip for the user who need them,
 like MacTeX shipped its gs/imagemagick...

It depends if the Minimals are intended to be a complete TeX system or
if they are meant to be a minimal system for ConTeXt, possibly
complementing the utility programs from TeX Live.

—Joel Salomon
___
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] Symbol join of \ll and equal

2009-06-14 Thread Joel C. Salomon
Xan wrote:
 I just want to know if there is a symbol that join \ll and = like \leq
 joins  and =. If not, it's possible to make that symbol (that has 
 in upper and - in bottom; like \leq but with two )?

No doubt you _could_ define such a symbol, but what is the meaning of
it?  The statement “a ≪ b” means a is _much_ less than b; i.e., not
anywhere near b, let alone _equal_ to b.

—Joel Salomon
___
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] Symbol join of \ll and equal

2009-06-14 Thread Joel C. Salomon
Joel C. Salomon wrote:
 Xan wrote:
 I just want to know if there is a symbol that join \ll and = like \leq
 joins  and =. If not, it's possible to make that symbol (that has 
 in upper and - in bottom; like \leq but with two )?
 
 No doubt you _could_ define such a symbol, but what is the meaning of
 it?  The statement “a ≪ b” means a is _much_ less than b; i.e., not
 anywhere near b, let alone _equal_ to b.

B.T.W., I don’t see this in the Comprehensive LᴬTᴇX Symbol List, but
there is Unicode character U+2AA3 [⪣] “Double Nested Less-Than with
Underbar”.

—Joel Salomon

___
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] \goto and email

2009-06-11 Thread Joel C. Salomon
Vyatcheslav Yatskovsky wrote:
 I have success with \goto instead of \useURL. Actually, I like \goto
 even more, because it is more simple.
 
 \goto{http://url.com/index.html}[url(http://url.com/index.html)]
 
 My question is: how to mark a email in this way? (So that clicking on it
 opened mail client)

Look into the ‘mailto’ URL type, e.g.,
\goto{mailto:y...@mail.net}[url(mailto:y...@mail.net)]
See http://www.outfront.net/tutorials_02/adv_tech/mailto.htm for more
on this.

—Joel Salomon
___
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] Unicode Math - what it is

2009-02-13 Thread Joel C. Salomon
On Tue, Feb 10, 2009 at 4:04 PM, Michail Vidiassov mas...@iaas.msu.ru wrote:
 Unicode Nearly Plain-Text Encoding of Mathematics
 http://www.unicode.org/notes/tn28/UTN28-PlainTextMath-v2.pdf

Unicode Tech Note #28 is completely unrelated to TeX. It is a
suggestion for a different method of encoding math, distinct from TeX,
MathML, c., but with the advantage that it looks nearly like plain
(Unicode) text. The paper was written by Murray Sargent of Microsoft,
who works with the MS Office Math component and maintains a blog about
it at http://blogs.msdn.com/murrays/. The input to Office 2007+ Math
is based on this paper, and you can in fact switch an equation in Word
between display and linear formats. (The internal format is
XML-based OMML.)

—Joel
___
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] Deleted files (Was re. Windows tools in XeTeX)

2008-04-18 Thread Joel C. Salomon
On Thu, Apr 17, 2008 at 8:58 PM, Akira Kakuto [EMAIL PROTECTED] wrote:
   There are some new executables in w32tex's XeTeX.

  I'll remove them.

How does the Minimals distribution deal with files deleted from the
server?  Does rsync know enough to remove files as well?

--Joel
___
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] announce of new version of Context Minimals Installer for Windows

2008-04-17 Thread Joel C. Salomon
On Thu, Apr 17, 2008 at 3:51 AM, Vyatcheslav Yatskovsky
[EMAIL PROTECTED] wrote:
  I've commited new version of Context Minimals Installer for Windows.

  
 http://minimals.contextgarden.net/setup/context-installer/ContextMinimalInstall.exe

Could you please update the online source as well?

--Joel
___
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] Roll-Your-Own Stand-Alone (Was re. ConTeXt ultraminimals)

2008-04-17 Thread Joel C. Salomon
I'm working on ConTeXt+SciTE-on-a-USB-Stick.  A downloadable program
is still far off, as is a version that can be put on PortableApps.com,
but I've gotten to the point of mapping out the basic parameters:

• We need to have a start-up program, which will set up the
environment and start SciTE and/or a command prompt.
• Legacy-free is nice, but if ConTeXt+XeTeX (which I'll call mkiii
whether that's an official name or no) requires texexec then we need
to include Ruby anyway, so we may as well keep PDFTeX (mkii), BUT:
• Since my Windows machine already has Perl, Python,  Ruby, I'm going
to defer working on that last point.
• In fact, I'm going to defer including SciTE also, until I have a
working stand-alone ConTeXt…

I've put my rsync invocations on the wiki.  (Since the calls are so
closely tied to the directory structure of the Minimals, I added them
to http://wiki.contextgarden.net/ConTeXt_Minimals/Structure as an
example of how to use  customize them, but I'll move it if folks
think it belongs elsewhere.)

Also, the commands I'm using to generate my formats are on that page.
Could someone please check them for sanity?

--Joel
___
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] Roll-Your-Own Stand-Alone (Was re. ConTeXt ultraminimals)

2008-04-17 Thread Joel C. Salomon
On Thu, Apr 17, 2008 at 5:19 PM, Hans Hagen [EMAIL PROTECTED] wrote:
   I'm going to defer working on [Perl  Ruby].

  we dont't need full perl and ruby; perl only when you want to use
  mptopdf, which is not needed because texexec can do the same; so, a
  small ruby is enough

So does anyone on the list have any experience in packaging a
stripped-down Ruby?

   I'm going to defer including SciTE until I have a working stand-alone 
 ConTeXt

  there is a startup script in the cdwincontext zip

Do you mean cscite.bat?  Looks like a good place to start.

--Joel
___
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] mtx-update --context=beta?

2008-04-16 Thread Joel C. Salomon
I'm putting together my own rsync calls based on the Minimals
firstsetup.bat and Vyatcheslav's installer.  Found a difference:
firstsetup.bat includes the switch --context=beta in its call to
mtx-update.  What is the difference if it's used or no?
___
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] ConTeXt ultraminimals (was re: Perl/Ruby dependency)

2008-04-16 Thread Joel C. Salomon
On Sat, Apr 12, 2008 at 3:02 AM, Hans Hagen [EMAIL PROTECTED] wrote:
   Slight tangent: Is there any support for using any of the OpenType
   math fonts (I know of Cambria Math, STIX, and Asana Math—this last on
   tug.org) in mkiv?

  cambria ... probably in the near future (as tex gyre will also have math
  and), since stix is type 1 and spread over many fonts, it will not be
  supported (that is: i will not make the typescripts for pdftex, but
  someoneelse may see it as a challenge)

So will Stix be supported in mkiv or ConTeXt+XeTeX?

--Joel
___
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] Unable to generate luatex formats

2008-04-16 Thread Joel C. Salomon
Same problem, fresh rsync from minimals:

C:\Users\chesky\Programs\ConTeXtluatools --ini --compile cont-en

LuaTools | creating initialization file cont-en
LuaTools | using library path :
C:/Users/chesky/Programs/ConTeXt/texmf-context/tex/context/base
LuaTools | using lua libraries: l-string.lua l-lpeg.lua l-table.lua
l-boolean.lua l-number.lua l-set.lua l-unicode.lua l-md5.lua l-os.lua
l-io.lua l-file.lua l-url.lua l-dir.lua l-utils.lua l-tex.lua
luat-env.lua luat-lib.lua luat-inp.lua luat-tmp.lua luat-zip.lua
luat-tex.lua
LuaTools | using compiled initialization file cont-en.luc
LuaTools | using lua initialization file cont-en.luc
LuaTools | running command: luatex --ini --lua=cont-en.luc
C:/Users/chesky/Programs/ConTeXt/texmf-context/tex/context/base/cont-en.tex
\dump
(C:/Users/chesky/Programs/ConTeXt/texmf-context/tex/context/base/cont-en.tex
(C:/Users/chesky/Programs/ConTeXt/texmf-context/tex/context/base/context.tex
(C:/Users/chesky/Programs/ConTeXt/texmf-context/tex/context/base/syst-pln.tex)
(C:/Users/chesky/Programs/ConTeXt/texmf-context/tex/context/base/syst-prm.tex)
(C:/Users/chesky/Programs/ConTeXt/texmf-context/tex/context/base/luat-env.tex)
(C:/Users/chesky/Programs/ConTeXt/texmf-context/tex/context/base/luat-lib.tex
! LuaTeX error ...ams/ConTeXt/texmf-context/tex/context/base/l-aux.lua:55:
attempt to call field 'Carg' (a nil value).
\ctxluabytecode ...ode  .. #1 .. str) end end }

\registerctxluafile ...{\the \luabytecodecounter }
  \fi
l.45 \registerctxluafile{l-aux}{1.001}

?

Multiple runs of luatools --selfupdate and luatools --generate don't help.

I'll try pulling again later, see if that works.

--Joel
___
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] ConTeXt ultraminimals (was re: Perl/Ruby dependency)

2008-04-11 Thread Joel C. Salomon
On Fri, Apr 11, 2008 at 3:42 AM, Hans Hagen [EMAIL PROTECTED] wrote:
  one option is to write a dedicated fetch script, load the minimals for
  luatex use only (is an option) and then look at the files you need

Any clues for how to go about this?

  i wonder if it's worth the trouble because all you get extra on top of
  lm is tex gyre open type

I wasn't being dogmatic about cutting out all other fonts; just wanted
to avoid the old TeX-style pfb/vfb/c. messes.  LM+Gyre is fine.

What I have in mind is a small package with SciTE  the
ultra-minimals, with a launcher like the portableapps.com programs
have that will set the appropriate environment variables.  Include
SciTE or Notepad++ (with a stripped-down set of configuration files,
perhaps; just enough for ConTeXt/lua/mp) and Sumatra PDF Portable, and
you've got a complete, truly stand-alone, modern typesetting
environment on a USB stick.

--Joel
___
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] ConTeXt ultraminimals (was re: Perl/Ruby dependency)

2008-04-11 Thread Joel C. Salomon
On Fri, Apr 11, 2008 at 9:54 AM, Mojca Miklavec
[EMAIL PROTECTED] wrote:
  There are many other OpenType fonts that get fetched by default as
  well. And maybe the whole bin/common can be left out in that case
  (maybe windows still needs some libraries).

  So there is still some space that could be saved.

See my reply to Hans (about five minutes before this message); it's
complexity of installation and options, not disc usage, that I'm
trying to minimize.

--Joel
___
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] ConTeXt ultraminimals (was re: Perl/Ruby dependency)

2008-04-11 Thread Joel C. Salomon
On Fri, Apr 11, 2008 at 10:37 AM, Mojca Miklavec
[EMAIL PROTECTED] wrote:
  Any clues for how to go about this?

 There are two options:
 1.) take a look at first-setup.sh (really stupid script); you can call
 mtx-update with --engine=luatex

As opposed to --engine=all?  Sounds good so far.  But...

 you still get pfb files as they are needed for math; and you get quite
 some helvetica/times enc/map/pfb files since px  tx math fonts need
 them (needed for gyre) - this will go away once gyre math is ready;

I suppose that a legacy-free TeX will have to wait a bit...

Slight tangent: Is there any support for using any of the OpenType
math fonts (I know of Cambria Math, STIX, and Asana Math—this last on
tug.org) in mkiv?

 2.) you can write your own set of rsync calls, like:
snip
 See also:
   http://minimals.contextgarden.net/setup/context-installer/src/
 you can then start from there.

Looking into it.

  What I have in mind is a small package with …
  a complete, truly stand-alone, modern typesetting
  environment on a USB stick.

 If you're willing to work on it, just tell me what exactly you need (I
 can put different stuff on the garden).

Can't promise a lot of time, but it's something I need so I'll work on it.

--Joel
___
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] ConTeXt ultraminimals (was re: Perl/Ruby dependency)

2008-04-10 Thread Joel C. Salomon
On Tue, Apr 8, 2008 at 4:22 PM, Hans Hagen [EMAIL PROTECTED] wrote:
 luatex + context mkiv is indeed independent [of Ruby]

 - index sorting takes place in mkiv
 - job control is done with mtxrun/mtx-context

Now that I've been told the idea is at least possible, I've been
thinking about how to generate a micro-minimal mkiv distribution: no
fonts except the LM set, no engines except luaTeX, no kpathsea, 
preferably no external dependencies (perl, ruby, c.).

So how to best go about this?  I'm downloading the current minimals
(or should I use the .zips at
http://www.pragma-ade.nl/download-1.htm?); what can I cut out?

--Joel
___
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] perl/Ruby dependency -- how deep?

2008-04-08 Thread Joel C. Salomon
Two questions came up when I was looking into putting ConTeXt on a USB
stick (i.e., as a portable app):

1.  Is perl still required for a ConTeXt installation (say, under
Windows)?  I know texexec is now written in Ruby, but are there other
programs in Stand-alone or the Minimals that require perl?

2.  I vaguely recall some mention of eventually replacing texexec with
a Lua version.  Is this actually being planned, and would that
eliminate the external language dependencies of ConTeXt?

--Joel
___
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] margins

2008-03-24 Thread Joel C. Salomon
On Mon, Mar 24, 2008 at 6:27 PM, Peter I. Hansen [EMAIL PROTECTED] wrote:
  I'm typesetting a document to be printed in book format. For this
  purpose I need the left margin of an odd numbered page to be larger
  than the right margin, and the right margin of an even numbered page
  to be larger than the left margin.

In other words, you want large inner margins and small outer margins.

  However, the standard behaviour seems to be the opposite.

For very good reason.  When a two-page spread is laid flat, it usually
looks best if the outer margins are both approximately equal in width
to the combined inner margins.  The default layout takes that into
account.

While the binding of a book does eat some of the inner margin, it's
probably less than you think (IIRC, from ¼ʺ to ½ʺ, depending on the
binding method), and often the print shop can correct for that.  (If
you need to be exact, measure against a book bound where your book
will be and in the same method.)

--Joel
___
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] DEB of Context 2008-01-28 anybody?

2008-02-06 Thread Joel C. Salomon
On Feb 6, 2008 11:35 AM, Johannes Graumann [EMAIL PROTECTED] wrote:
 Is there a *.deb release for the current context version, or what are the
 plans for it?

Norbert Preining is on vacation, so I'm guessing no.  The most recent
version he's got on his site
(http://people.debian.org/~preining/TeX/context/) is 2008.01.02.

 I'm hesitant to go with a distribution independent context install ...

Do you absolutely, positively need the most recent version, or did you
want to test it?

--Joel
___
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] tex gyre math

2008-01-18 Thread Joel C. Salomon
On Jan 18, 2008 8:08 AM, Hans Hagen [EMAIL PROTECTED] wrote:
 The TeXGyre team is currently trying to get funding for the next stage
 of TeXGYre: unicode math coverage. As usual we first approach user
 groups, but i fear that this stage (some 40KEUR) is quite a burden on
 them. So, if you're working at an organization that uses teX, ans see
 opportunities of participating in this, let me know and i can send you a
 detailed proposal off list.

Is there a paypal account where private individuals can contribute
some small amounts?

 (This is the second of TeX Gyre, the third stage will deal with a
 cleanup and redesign of current shapes that are not okay.)

That'll be useful; see http://typophile.com/node/41012.

--Joel
___
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] ConTeXt mkiv on Ubuntu (Hardy alpha)

2008-01-18 Thread Joel C. Salomon
On Jan 18, 2008 2:47 AM, Olivier [EMAIL PROTECTED] wrote:
 I am using Debian packages. It works but as Aditya already said,
 you have to export at least those two variables: TEXMFCNF and TEXMFCACHE.
snip
 But (from your mails) you do not seem to have set the environment
 variables correctly.

That put me on the right track:

[EMAIL PROTECTED]:~$ kpsewhich --expand-var '$TEXMFCNF'
/usr/share/texmf/web2c:/usr/local/share/texmf/web2c
[EMAIL PROTECTED]:~$ luatools --generate

LuaTools | skipping
/usr/share/texmf/web2c:/usr/local/share/texmf/web2c/texmf.cnf
LuaTools |
LuaTools | runtime: 0.005 seconds
[EMAIL PROTECTED]:~$ export TEXMFCNF=/usr/share/texmf/web2c
[EMAIL PROTECTED]:~$ luatools --generate

LuaTools | loading /usr/share/texmf/web2c/texmf.cnf
many lines of output deleted

...And now mkiv works!

So do I report as a Debian/Ubuntu package bug that TEXMFCNF is set
with multiple directories, or as a luatools bug that it can't handle a
multiple path?

--Joel
___
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] ConTeXt mkiv on Ubuntu (Hardy alpha)

2008-01-17 Thread Joel C. Salomon
On Jan 16, 2008 6:49 PM, Taco Hoekwater [EMAIL PROTECTED] wrote:
  Is texexec for some reason not actually running luatex here?

 Yes ...

   [EMAIL PROTECTED]:~/Documents/tex practice$ texexec --lutex hello_lua.tex

--luatex, not --lutex

Good eye!

But now the problem looks different:

[EMAIL PROTECTED]:~/Documents/tex practice$ cat hello_lua.tex
\starttext
Hello World
\ctxlua{a = 1.5 ; b = 1.8 ; c = a*b ; tex.print(c) ;}
\stoptext

[EMAIL PROTECTED]:~/Documents/tex practice$ texexec --luatex hello_lua.tex
TeXExec | processing document 'hello_lua.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file hello_lua.top
TeXExec | using randomseed 734
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en

LuaTools | using format name
///home/chesky/luatex-cache/context/192d6cc536013c8f36d612384a3a539c/formats/cont-en.fmt
LuaTools | no luc/lua with name
///home/chesky/luatex-cache/context/192d6cc536013c8f36d612384a3a539c/formats/cont-en
LuaTools |
LuaTools | runtime: 0.012 seconds
TeXUtil | parsing file hello_lua.tui
TeXUtil | check loading of file 'hello_lua', begin/end problem
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 1
TeXUtil | temporary files: 0
TeXUtil | commands: 3
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | runtime: 0.399001
[EMAIL PROTECTED]:~/Documents/tex practice$

...and no PDF file is generated.  Any clues as to what I'm still doing wrong?

--Joel
___
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] ConTeXt mkiv on Ubuntu (Hardy alpha)

2008-01-17 Thread Joel C. Salomon
On Jan 17, 2008 3:36 PM, luigi scarso [EMAIL PROTECTED] wrote:
 What about

 $ luatools --variables
 and
 $texlua -help

[EMAIL PROTECTED]:~/Documents/tex practice$ luatools --variables

[EMAIL PROTECTED]:~/Documents/tex practice$ texlua -help
Usage: luatex --lua=FILE [OPTION]... [TEXNAME[.tex]] [COMMANDS]
   or: luatex --lua=FILE [OPTION]... \FIRST-LINE
   or: luatex --lua=FILE [OPTION]... FMT ARGS
  Run luaTeX on TEXNAME, usually creating TEXNAME.pdf.
  Any remaining COMMANDS are processed as luatex input, after TEXNAME is read.

  Alternatively, if the first non-option argument begins with a backslash,
  interpret all non-option arguments as a line of luatex input.

  Alternatively, if the first non-option argument begins with a , the
  next word is taken as the FMT to read, overriding all else.  Any
  remaining arguments are processed as above.

  If no arguments or options are specified, prompt for input.

  --lua=FILE   the lua initialization file
  --safer  disable some easily exploitable lua commands
  --fmt=FORMAT load the format file FORMAT
  --inibe initex, for dumping formats
  --help   display this help and exit
  --versionoutput version information and exit

  Alternate behaviour models can be obtained by special switches

  --luaonlyrun a lua file, then exit
  --luaconly   byte-compile a lua file, then exit

Email bug reports to [EMAIL PROTECTED]
[EMAIL PROTECTED]:~/Documents/tex practice$
___
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] ConTeXt mkiv on Ubuntu (Hardy alpha)

2008-01-16 Thread Joel C. Salomon
On Jan 15, 2008 10:51 PM, Aditya Mahajan [EMAIL PROTECTED] wrote:
  Is there a test file with mkiv-only features I can better test my
  installation on?

 \ctxlua{a = 1.5 ; b = 1.8 ; c = a*b ; tex.print(c) ;}

 This will definitely not work for mkii :)

Good point; and here's where I ran into trouble:

[EMAIL PROTECTED]:~/Documents/tex practice$ cat hello_lua.tex
\starttext
Hello World
\ctxlua{a = 1.5 ; b = 1.8 ; c = a*b ; tex.print(c) ;}
\stoptext

[EMAIL PROTECTED]:~/Documents/tex practice$ texexec --lutex hello_lua.tex
TeXExec | processing document 'hello_lua.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file hello_lua.top
TeXExec | using randomseed 657
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-en
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 %-line parsing enabled.
 (/usr/share/texmf/web2c/natural.tcx)
entering extended mode
(./hello_lua.tex

ConTeXt  ver: 2008.01.02 14:18 MKII  fmt: 2008.1.15  int: english/english

language: language en is active
system  : cont-new loaded
(/usr/share/texmf/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/usr/share/texmf/tex/context/base/cont-new.mkii)
(/usr/share/texmf/tex/context/base/cont-mtx.tex))
system  : cont-old loaded
(/usr/share/texmf/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system  : cont-fil loaded
(/usr/share/texmf/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system  : cont-sys.rme loaded
(/etc/texmf/tex/context/user/cont-sys.rme
(/usr/share/texmf/tex/context/base/type-tmf.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-one.tex)
(/usr/share/texmf/tex/context/base/type-akb.tex))
bodyfont: 12pt rm is loaded
language: patterns en-ec:ec-1-2:3 uk-ec:ec-2-2:3 de-texnansi:tex
nansi-3-2:3 de-ec:ec-4-2:3 fr-texnansi:texnansi-5-2:3 fr-ec:ec-6-2:3
 es-ec:ec-7-2:3 pt-texnansi:texnansi-8-2:3 pt-ec:ec-9-2:3 it-texnansi
:texnansi-10-2:3 it-ec:ec-11-2:3 nl-texnansi:texnansi-12-2:3 nl-ec:ec-
13-2:3 cz-il2:il2-14-2:3 cz-ec:ec-15-2:3 sk-il2:il2-16-2:3 sk-ec:ec
-17-2:3 pl-pl0:pl0-18-2:3 pl-ec:ec-19-2:3 pl-qx:qx-20-2:3 loaded
specials: tex,postscript,rokicki loaded
system  : hello_lua.top loaded
(./hello_lua.top
specials: loading definition file tpd
(/usr/share/texmf/tex/context/base/spec-tpd.tex
specials: loading definition file fdf
(/usr/share/texmf/tex/context/base/spec-fdf.tex
(/usr/share/texmf/tex/context/base/spec-fdf.mkii))
specials: fdf loaded
)
specials: fdf,tpd loaded
)
systems : system commands are disabled
(/usr/share/texmf/tex/context/base/pdfr-def.tex)
systems : begin file hello_lua at line 1
! Undefined control sequence.
l.3 \ctxlua
   {a = 1.5 ; b = 1.8 ; c = a*b ; tex.print(c) ;}
?

Is texexec for some reason not actually running luatex here?

--Joel
___
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] ConTeXt mkiv on Ubuntu (Hardy alpha)

2008-01-15 Thread Joel C. Salomon
...is still not working for me.

For those of you who have used mkiv under Ubuntu (or Debian, I
suppose), had it worked out of the box or is some assembly
required?

--Joel
___
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] ConTeXt mkiv on Ubuntu (Hardy alpha)

2008-01-15 Thread Joel C. Salomon
On Jan 15, 2008 7:47 PM, Aditya Mahajan [EMAIL PROTECTED] wrote:
  For those of you who have used mkiv under Ubuntu (or Debian, I
  suppose), had it worked out of the box or is some assembly
  required?

 Can you use Debian sid repositories for Hardy? If so, Norbert Preining
 provides deb packages for context, texlive, luatex, and tex-gyre, which
 are fairly up-to-date, and may be the easiest way to get a fully working
 mkiv.

As I understand it, Dr Preining is the Debian maintainer of the
context, luatex, c. packages, and so the .debs on his website are
previews of the official packages.  I'd installed and uninstalled his
packages trying to make things work, but only the install I did today
actually produced PDF output from texexec --luatex hello.tex.  I
did, however need to generate the format files; Norbert, can you
please include that in the ConTeXt package set-up?

(As an aside, texlive-xetex depends on a version of libpoppler that my
Ubuntu system doesn't yet have.)

 I use Gusty and have a almost fully working mkiv. I compiled luatex on my
 own, and had to set TEXMFCNF and LUAINPUTS variables in my shell.

Don't have them in the environment, only in kpathsea, but the
compilation went OK.

Is there a test file with mkiv-only features I can better test my
installation on?

--Joel
___
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] ConTeXt on Ubuntu

2008-01-14 Thread Joel C. Salomon
Has anyone had success running ConTeXt as packaged with Ubuntu?  I
can't get texexec --lua to find the ConTeXt format files, nor can I
figure out how to generate the format files for luatex.  XeTeX is
similarly flaky.  I'm running Ubuntu Hardy alpha in hopes of getting
more up-to-date packages; is this a vain hope?

--Joel
___
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] ConTeXt on Ubuntu

2008-01-14 Thread Joel C. Salomon
On Jan 14, 2008 2:26 PM, Hans Hagen [EMAIL PROTECTED] wrote:
 luatools --generate

 texexec --make --luatex

 texexec --luatex yourfile.tex

Should the first two lines be run with root privilege or separately
for each user?

--Joel
___
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] ConTeXt on Ubuntu

2008-01-14 Thread Joel C. Salomon
On Jan 14, 2008 2:26 PM, Hans Hagen [EMAIL PROTECTED] wrote:
 luatools --generate

 texexec --make --luatex

 texexec --luatex yourfile.tex

Looks like I'm still doing something wrong...

[EMAIL PROTECTED]:~$ sudo luatools --generate

LuaTools | skipping /texmf-local/web2c/texmf.cnf
LuaTools | skipping /texmf/web2c/texmf.cnf
LuaTools |
LuaTools | runtime: 0.04 seconds
[EMAIL PROTECTED]:~$ sudo texexec --make --luatex
TeXExec | using search method 'kpsewhich'
TeXExec | updating file database
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVE...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.

LuaTools | version 1.1.1 - 2006+ - PRAGMA ADE / CONTEXT

LuaTools | skipping /usr/bin/texmf-local/web2c/texmf.cnf
LuaTools | skipping /usr/bin/texmf/web2c/texmf.cnf
LuaTools |
LuaTools | runtime: 0.05 seconds
TeXExec | using tex engine luatex
TeXExec | using tex format path /etc/texmf/web2c/luatex
TeXExec | generating tex format cont-en

LuaTools | no tex file with name cont-en.tex
LuaTools |
LuaTools | runtime: 0.06 seconds
TeXExec | generating tex format cont-nl

LuaTools | no tex file with name cont-nl.tex
LuaTools |
LuaTools | runtime: 0.06 seconds
TeXExec | generating tex format mptopdf

LuaTools | no tex file with name mptopdf.tex
LuaTools |
LuaTools | runtime: 0.06 seconds
TeXExec | no lua compilations needed
TeXExec | using mp engine mpost
TeXExec | using mps format path /etc/texmf/web2c
TeXExec | generating mps format metafun
This is MetaPost, Version 0.993 (Web2C 7.5.6) (INIMP)
(/usr/share/texmf/web2c/natural.tcx)
(/usr/share/texmf/metapost/context/base/metafun.mp
(/usr/share/texmf/metapost/context/base/mp-base.mp
Preloading the plain mem file, version 0.63)
(/usr/share/texmf/metapost/context/base/mp-tool.mp)
(/usr/share/texmf/metapost/context/base/mp-spec.mp)
(/usr/share/texmf/metapost/context/base/mp-core.mp)
(/usr/share/texmf/metapost/context/base/mp-page.mp)
(/usr/share/texmf/metapost/context/base/mp-text.mp)
(/usr/share/texmf/metapost/context/base/mp-txts.mp)
(/usr/share/texmf/metapost/context/base/mp-shap.mp)
(/usr/share/texmf/metapost/context/base/mp-butt.mp)
(/usr/share/texmf/metapost/context/base/mp-char.mp)
(/usr/share/texmf/metapost/context/base/mp-step.mp)
(/usr/share/texmf/metapost/context/base/mp-grph.mp)
(/usr/share/texmf/metapost/context/base/mp-figs.mp)
(/usr/share/texmf/metapost/context/base/mp-grid.mp
(/usr/share/texmf/metapost/context/base/mp-form.mp
(/usr/share/texmf-texlive/metapost/base/string.mp)
(/usr/share/texmf-texlive/metapost/base/marith.mp
(/usr/share/texmf-texlive/metapost/base/string.mp
(/usr/share/texmf/metapost/context/base/mp-func.mp) )
Beginning to dump on file metafun.mem
 (mem=metafun 2008.1.14)
at most 3040 strings of total length 40279
48398 memory locations dumped; current usage is 1262635547
1763 symbolic tokens
Transcript written on metafun.log.
TeXExec |
TeXExec | tex engine path: /etc/texmf/web2c/luatex
TeXExec | mps engine path: /etc/texmf/web2c
TeXExec |
TeXExec | mps: 14/01/2008 14:59:41  /etc/texmf/web2c/metafun.mem (482060)
TeXExec |
TeXExec | runtime: 2.967322
[EMAIL PROTECTED]:~$ texexec --luatex hello.tex
TeXExec | processing document 'hello.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file hello.top
TeXExec | using randomseed 23
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en

LuaTools | using format name
/home/chesky/luatex-cache/context/formats/cont-en.fmt
LuaTools | no luc/lua with name
/home/chesky/luatex-cache/context/formats/cont-en
LuaTools |
LuaTools | runtime: 0.06 seconds
TeXUtil | unable to locate hello.tui
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 0
TeXUtil | temporary files: 0
TeXUtil | commands: 0
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | TeX run 2
TeXExec | writing option file hello.top
TeXExec | using randomseed 23
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en

LuaTools | using format name
/home/chesky/luatex-cache/context/formats/cont-en.fmt
LuaTools | no luc/lua with name
/home/chesky/luatex-cache/context/formats/cont-en
LuaTools |
LuaTools | runtime: 0.05 seconds
TeXUtil | unable to locate hello.tui
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 0
TeXUtil | temporary files: 0
TeXUtil | commands: 0
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | runtime: 0.463467
[EMAIL PROTECTED]:~$

Any tips?

--Joel
___
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] ConTeXt on Ubuntu

2008-01-14 Thread Joel C. Salomon
On Jan 14, 2008 3:16 PM, Arthur Reutenauer
[EMAIL PROTECTED] wrote:
   You probably should set TEXMFCACHE as well.

Where to set it?  Just as a UNIX environment variable (presumably in
my .profile or similar) or as a kpse variable (which I don't know how
to set)?

--Joel
___
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] ConTeXt on Ubuntu

2008-01-14 Thread Joel C. Salomon
On Jan 14, 2008 3:16 PM, Arthur Reutenauer
[EMAIL PROTECTED] wrote:
   You probably should set TEXMFCACHE as well.

[EMAIL PROTECTED]:~$ mkdir .texmf-cache
[EMAIL PROTECTED]:~$ export TEXMFCACHE=~/.texmf-cache
[EMAIL PROTECTED]:~$ kpsewhich --expand-var '$TEXMFCACHE'
/home/chesky/.texmf-cache

Then I re-ran (without sudo) luatools --generate, texexec --make
--luatex, and texexec --luatex hello.tex, and got the same results.
 That wasn't it.

--Joel
___
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] [Dev-luatex] luatex and context for Debian

2008-01-06 Thread Joel C. Salomon
On Dec 23, 2007 4:57 PM, Norbert Preining [EMAIL PROTECTED] wrote:
 I have updated luatex and context so currently I can even run MkIV
 documents

Running Ubuntu Hardy alpha 2, reloading package lists reports:

W: GPG error: http://people.debian.org context/ Release: The following
signatures couldn't be verified because the public key is not
available: NO_PUBKEY D2BF4AA309C5B094

--Joel
___
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] Keeping up-to-date under TeXLive

2007-12-25 Thread Joel C. Salomon
I'm trying to put everything together so potential problems are easily
identifiable, and so that a recipe or shell script can perhaps be put
on the wiki.

On Dec 23, 2007 5:08 AM, Mojca Miklavec [EMAIL PROTECTED] wrote:
 Also, if you already have a working TeX distribution, you can write a
 few rsync calls yourself. At
 http://minimals.contextgarden.net/current/
 you have:
 - current ConTeXt
 - almost-latest binaries
 - fonts
 any you can combine the stuff from there in some arbitrary way.

So, since I have a working TeX from Ubuntu, I want to put all the
new stuff in my TEXMFHOME (A.K.A. ~/texmf).  To this end, I could
use some help putting the rsync calls together.

In each case the command will take the form rsync --recursive --perms
--compress --checksum --times --links --verbose rsync://something/
~/texmf/somewhere, which I'll abbreviate in this email as rsync
-rvzctlp rs://cg.net/minimals/current/... ~/texmf/... (so lines don't
get broken at inconvenient times).

The basic ConTeXt stuff gets pulled in, as Mojca suggested, thus:
rsync -rvzctlp rs://cg.net/minimals/current/context/current/ ~/texmf/

Next, I want to get the up-to-date binaries, for which I'd like to do
something like
rsync -rvzctlp rs://cg.net/minimals/current/bin/[*]/linux/ ~/texmf/
where I either need to write a separate line for each of {common,
context, luatex, metapost, pdftex, xetex}, or have a single command
that includes them all.  (Since I intend to put this all in a shell
script, a bit of duplication isn't a problem.)  This will put
/current/bin/[package]/[system]/bin/[whatever] into ~/texmf/bin/,
where I think they belong in an installed system.

The manuals seem to be in a somewhat odd place (under bin!); I'd use
rsync -rvzctlp rs://cg.net/minimals/current/bin/man/ ~/texmf/
but no programs should care where they are; this is my own use.  In
fact, perhaps I should put the man pages where the man system can find
them.  I'll leave this for another day.

NB:  I have no idea whether I need the stuff in /current/base or
/current/misc, nor where in the texmf tree they would go.

I won't be installing any modules now, so I can ignore that part of the tree.

The fonts are, like the binaries, in a
/current/fonts/[group]/fonts/[format]/... tree, and the installed
system should have them in ~/texmf/fonts/[format]/..., so I need
another four lines of the sort
rsync -rvzctlp rs://cg.net/minimals/current/fonts/[*]/ ~/texmf/
where [*] is one of {common, new, old, other}.  (Are there any I
really don't need or want?)

I add ~/texmf/bin to the front of my PATH.

And then I follow all that up with a rebuilding of the format files with
texexec -- make --all
texexec -- make --all --xtx
texexec -- make --all --lua
(Will the formats be made in TEXMFHOME or somewhere else?)

If this passes the sanity check with you guys, and if I can get
answers to the stuff I'm unsure on, I'll try it  report back.

--Joel
___
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] Setting up a project

2007-12-22 Thread Joel C. Salomon
On Dec 21, 2007 4:08 PM, Wolfgang Schuster
[EMAIL PROTECTED] wrote:
textwidth=288pt, textheight=432pt,

 replace these two lines with

 width=288pt and height=432pt

 don't use textwidth and textheight in \setuplayout.

Actually, width=288pt, textheight=432pt, gives me exactly the result
I wanted.  I'd just like to be able to set the distance between the
top of the paper and the top of the text area directly, as in
header=12pt, headerdistance=12pt, something=72pt
rather than what I'm currently using:
header=12pt, headerdistance=12pt, topspace=48pt, % 48 = 72 - (12+12)
Is this possible, and what is the something's name?

 leftmargindistance is only the distance between the textarea and the
 left box for the left margin, the layout concept could be a little bit
 confusing.

Ya think maybe? ;)

Thanks for the help,
--Joel
___
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] Keeping up-to-date under TeXLive

2007-12-22 Thread Joel C. Salomon
On Dec 21, 2007 9:17 PM, Aditya Mahajan [EMAIL PROTECTED] wrote:
 Create $HOME/texmf. Download justtex.zip, and cont-tmf.zip, cont-fnt.zip
 from pragma's website, and unzip them inside $HOME/texmf. Download the
 font files from TeX Gyre and unzip then in $HOME/texmf.

Do I need to set the TEXMFHOME environment variable?

Also: will downloading linuxtex.zip to the same place give me
up-to-date luatex, or will it just mess up my installation?

 Remake the formats, move the stubs and few programs to the path, and you
 are done.

Is there a command to remake the pdftex and xetex formats together?

Rather than moving programs, might it be easier to add
~/texmf/whatever/bin to the PATH?

 The only drawback of this is that you have to update manually. ctxtools
 --updatecontext unzip the file in TEXMFLOCAL, and not TEXMFHOME, so it
 does not work with this setup.

Hmm...  will the rsync update work, or do I need to download the zips?

Thanks for the suggestion; I'll report back on what works.

--Joel
___
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] Setting up a project

2007-12-21 Thread Joel C. Salomon
On Dec 21, 2007 3:19 AM, Hans Hagen [EMAIL PROTECTED] wrote:
 \setuppapersize[sixbynine][oversized]
 \setuplayout[marking=on]

Cool!  Is there a way to center the 6″×9″ page on 8½″×11″ paper?  I've tried
\setuppapersize[sixbynine][letter]
but that puts the page in the upper-left corner.  Right now I'm using
\setuppapersize[sixbynine][sixbynine]
and having Acrobat Reader center this on the printed page.  (Which
might well be the best way to do this.)

 use \showframe

 stat with defining headers and footers and then set topspace and
 backspace dimensions

Thanks; now I can see what I'm doing.

On Dec 21, 2007 3:55 AM, Wolfgang Schuster
[EMAIL PROTECTED] wrote:
 you can omit the project file, I use it myself only for documents where
 I use the same layout for more than one product/Dokument.

I assume that I'd replace every instance of \project
firefly_novelization_proj with \environment
firefly_novelization_env, correct?  But keeping the project file
isn't much hassle, and there might be two volumes, so...

 How to use th Gentium fonts with ConTeXt have been asked

My use of Gentium is a temporary thing for the OpenOffice mockup; I'm
asking for type suggestions on Typophile.  For the nonce I'l be
satisfied with the Latin Modern fonts.

 You forgot \setuppagenumbering[location=doublesided] in your
 environment to get a doublesided document.

Thanks; that was not obvious from any sample document I've seen.

 \setuplayout
   [backspace=48pt,
snip
footerdistance=12pt]

I'm using
\setuplayout
[marking=on
%backspace=48pt, cutspace=96pt,
backspace=36pt, cutspace=84pt,
width=fit, height=fit,
%topspace=72pt,
topspace=48pt, header=12pt, headerdistance=12pt,
%bottomspace=144pt,
bottomspace=120pt, footer=12pt, footerdistance=12pt]
right now.  Notice the backspace  cutspace values; the values you
gave me defined some sort of left and right marginal areas with a
separation between them and the main text area, and I wanted the text
area to be 6″×9″.  Now I'm thinking there must be a clearer way to
express it, something like:
width=288pt, height=432pt,
header=12pt, headerdistance=12pt,
footer=12pt, footerdistance=12pt,
left**=48pt, right**=96pt, top**=72pt, bottom**=144pt,
something to define an outer marginal area; I don't intend to put
anything in the inner margin]
where the left** c. define the distance between the paper's edge and
the edge of the text area.  Is this what the edgedistance values are?

 You could try to read the example layouts on the wiki.

I'm using those for ideas too; I'm still missing some important things though.

--Joel
___
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] Keeping up-to-date under TeXLive

2007-12-21 Thread Joel C. Salomon
My new Ubuntu installation includes TeXLive version 2007-10.  Is there
a way for me to keep the ConTeXt part of this up-to-date with current
(stable) versions?  Considering that I have XeTeX 0.996, do I want to,
or should I stick with what currently works?

--Joel
___
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] Setting up a project

2007-12-21 Thread Joel C. Salomon
On Dec 21, 2007 12:29 PM, Hans Hagen [EMAIL PROTECTED] wrote:
 location=middle (in setuplayout)

Is there a problem with having location=middle in setuplayout and
location=doublesided in setuppagenumbering?

--Joel
___
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] Setting up a project

2007-12-21 Thread Joel C. Salomon
On Dec 21, 2007 12:49 PM, Joel C. Salomon [EMAIL PROTECTED] wrote:
 Is there a problem with having location=middle in setuplayout and
 location=doublesided in setuppagenumbering?

Never mind; I had done something dumb with the margin widths.

Anyhow, I'm trying the environment shown below, but I'm evidently not
understanding what the various *space values are.  Only cutspace seems
to work as I expected it to; even the text area isn't the right size
(unless the rectangle isn't around the text area itself).

\definepapersize[sixbynine][width=6in,height=9in]
\setuppapersize[sixbynine][letter]
\setuplayout
[marking=on, location=middle,
textwidth=288pt, textheight=432pt,
header=12pt, headerdistance=12pt, topspace=72pt,
footer=12pt, footerdistance=12pt, bottomspace=144pt,
leftmargindistance=12pt, leftmargin=24pt, backspace=48pt,
rightmargindistance=12pt, rightmargin=24pt, cutspace=96pt]
\setuppagenumbering[location=doublesided]
\showframe

--Joel
___
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] Setting up a project

2007-12-21 Thread Joel C. Salomon
On Dec 21, 2007 2:01 PM, Wolfgang Schuster
[EMAIL PROTECTED] wrote:
 What do you mean by the rectangle around the text area.

Here's the project I'm compiling (as it currently stands), condensed
into a single file:

\definepapersize[sixbynine][width=6in,height=9in]
\setuppapersize[sixbynine][letter]
\setuplayout
[marking=on, location=middle,
textwidth=288pt, textheight=432pt,
header=12pt, headerdistance=12pt, topspace=72pt,
footer=12pt, footerdistance=12pt, bottomspace=144pt,
leftmargindistance=12pt, leftmargin=24pt, backspace=48pt,
rightmargindistance=12pt, rightmargin=24pt]
\setuppagenumbering[alternative=doublesided]
\showframe
\starttext
\title{Preface}
A few paragraphs of {\em Lorem ipsum} text.
\stoptext

The center rectangle, surrounding the text area, seems to have its
left  right margins some distance from the actual text.  How do I set
that distance, and why is it different from the leftmargindistance?

--Joel
___
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] Setting up a project

2007-12-20 Thread Joel C. Salomon
I'm trying a fairly ambitious project to teach myself practical
ConTeXt -- typesetting a book I'm writing.  As per
http://wiki.contextgarden.net/Project_structure, I've created files
for the project, environment, product, and component.  The component
file (preface.tex) is the only one with (dummy) content right now.

Side questions:
Does a project with a single product really require the full hierarchy?
Is there a dummy layout I can put into the environment file to test the set-up?

Now I want to set up the layout.  An example of what I'm trying to
achieve is at http://typophile.com/files/Layout.pdf, currently done
in OpenOffice.  I'm not yet asking about fonts; I just want to put the
text in the correct places.  It doesn't seem that 6×9 (inches) is a
built-in size, so my environment file (env_firefly.tex) needs to look
something like:

\startenvironment env_firefly
\definepapersize[sixbynine][
width=6in,height=9in,
offset=???,scale=???]
\setuppapersize[sixbynine][sixbynine]
\setuplayout[...
...]
\stopenvironment

Do I need to define  name the paper size, or is putting it in the
\setuplayout sufficient?
What are the offset  scale in the paper size?

I want to have 6″×9″ trim, inner margin of 48pt, outer margin 96pt,
top margin 72pt, bottom margin 144pt for starters.  Headers and
footers, when they exist, are allocated 12 points height and are 12pt
away from the text. (See the linked-to example.)

I have read several of the manuals, I'm just having trouble putting it
all together.  Also, I'm not looking for a recipe but guides on
developing the layout myself so I can understand it.

Thanks,
--Joel
___
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] updatecontext woes

2007-11-22 Thread Joel C. Salomon
On Nov 22, 2007 1:24 PM, Arthur Reutenauer
[EMAIL PROTECTED] wrote:
   You need a newer LuaTeX binary; many things have changed in
 hyphenation and language issues in September and the current ConTeXt
 uses the new scheme. The last snapshot-0.15 should be enough.

Is the new binary in
http://minimals.contextgarden.net/minimals/mswin?  If so, I'll just
try Vaytcheslav Yatskovsky's InnoSetup installer.

--Joel
___
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] updatecontext woes

2007-11-22 Thread Joel C. Salomon
I just tried running ctxtools --updatecontext on my minimal
installation.  It successfully downloads  extracts cont-tmf.zip,
mktexlsr remakes all formats, then LuaTools and MtxRun start doing
some configuration magic:

LuaTools | old script
C:/Users/chesky/Programs/context/tex/texmf-mswin/bin/luatools.lua
LuaTools | new script
C:/Users/chesky/Programs/context/tex/texmf-local/scripts/context/lua/luatools.lua
LuaTools | old script content replaced by new content
LuaTools |
LuaTools | runtime: 1.627 seconds
MtxRun | old script
C:/Users/chesky/Programs/context/tex/texmf-mswin/bin/mtxrun.lua
MtxRun | new script
C:/Users/chesky/Programs/context/tex/texmf-local/scripts/context/lua/mtxrun.lua
MtxRun | old script content replaced by new content
LuaTools | loading
C:/Users/chesky/Programs/context/tex/texmf-local/web2c/texmf.cnf
LuaTools | loading C:/Users/chesky/Programs/context/tex/texmf/web2c/texmf.cnf
LuaTools | preparing configuration in
C:/Users/chesky/AppData/Local/Temp/luatex-cache/context/b208f38697f78de9cef2c42fc3caa621/trees/d885c87af9510561ed13a9578d2d9af5.tma
... (a few hundred more lines, until finally)
(C:/Users/chesky/Programs/context/tex/texmf-local/tex/context/base/enco-mis.tex)
(C:/Users/chesky/Programs/context/tex/texmf-local/tex/context/base/enco-ini.mkiv
encoding : coding 032 is loaded
(C:/Users/chesky/Programs/context/tex/texmf-local/tex/context/base/enco-032.tex)
encoding : unknown coding 033
encoding : coding 037 is loaded
(C:/Users/chesky/Programs/context/tex/texmf-local/tex/context/base/enco-037.tex)))
(C:/Users/chesky/Programs/context/tex/texmf-local/tex/context/base/filt-ini.tex
loading : Context Filter Macros (ini)
) 
(C:/Users/chesky/Programs/context/tex/texmf-local/tex/context/base/hand-ini.tex
loading : Context Handling Macros (ini)
handling : font handling def is loaded
(C:/Users/chesky/Programs/context/tex/texmf-local/tex/context/base/hand-def.tex))
(C:/Users/chesky/Programs/context/tex/texmf-local/tex/context/base/regi-syn.tex
loading : Context Regime Macros (synonyms)
) 
(C:/Users/chesky/Programs/context/tex/texmf-local/tex/context/base/lang-ini.tex
loading : Context Language Macros / Initialization
(C:/Users/chesky/Programs/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}

?

Evidently something's gone wrong, and I have no idea what.  I hope
this is enough info to diagnose the problem.

--Joel
___
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] Gentium Basic/Book

2007-11-22 Thread Joel C. Salomon
On Nov 22, 2007 1:31 PM, Wolfgang Schuster
[EMAIL PROTECTED] wrote:
 The following works for me with LuaTeX and XeTeX. I had my test
 file in the same directory as the fonts, can you try this or you
 forgot to call fc-cache -v -r.

I ran fc-cache -v -r, and that typescript worked for me, but I
couldn't make the one-liner work.  Does it require some ConTeXt magic
that I'm not calling?

--Joel
___
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] Gentium Basic/Book

2007-11-19 Thread Joel C. Salomon
How difficult would it be to adapt the typescript for Gentium (at
http://wiki.contextgarden.net/TypeScripts) to use the new Gentium
Basic for headings  Gentium Book Basic for text weights (both have
Roman, Bold Roman, Italic,  Bold Italic) -- but with reverting to
Gentium for characters that aren't in the Basic fonts?

--Joel
___
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] Gentium Basic/Book

2007-11-19 Thread Joel C. Salomon
Guess I asked for too much at once.

I've downloaded the Gentium Basic/Basic Book set of fonts from
http://scripts.sil.org/Gentium_basic, and I'd like to use them with
ConTeXt.  I ran texfont (with the command line texfont
--fontroot=c:\users\chesky\programs\context\tex\texmf-local
--sourcepath=... --vendor=sil --collection=gentium --makepath
--install), and now running texexec on the newly generated
texnansi-sil-gentium.tex produces some sort of glyph list.

Now I'm trying to adapt the typescript from
http://wiki.contextgarden.net/TypeScripts for the new set of fonts.
(I intend to use only utf-8 input files, if that matters any.)  I'd
like to use Gentium Basic as the titling font and Gentium Book Basic
as the text font, with regular, italic, bold,  bold-italic all
available in the normal fashion.  But I find I don't know what I'm
doing.

Has anyone yet tried to use the new fonts with ConTeXt?

--Joel
___
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] ConTeXt Package for Notepad++ v. 4.5

2007-11-01 Thread Joel C. Salomon
On 11/1/07, Idris Samawi Hamid [EMAIL PROTECTED] wrote:
 I have uploaded an updated version of the ConTeXt-support package for
 Notepad++ (Npp):

Thanks!  I'm trying to make it work with my np++ installation without
losing my tweaks  configurations, so I've been manually merging
config files rather than copying—but I seem not to have access to a
few features.

Actually, all I can tell is that I have ConTeXt-aware syntax
highlighting.  Auto-completion doesn't work either.

Basically, I need to know what parts of the distribution do what.  For example:

 One nice feature is that from any text selection (such as a control sequence)
 you may do a ConTeXt Wiki search from the RUN menu or ALT-F2.

How does that get enabled?

 Most of the Scite ConTeXt commands are included (same shortcuts), in both
 RUN and script versions (for the console F6).

I can get a console with F6; can you give an example of what to do with it?

--Joel
___
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] beware: some patches loaded from cont-new.tex

2007-10-31 Thread Joel C. Salomon
On 10/31/07, Hans Hagen [EMAIL PROTECTED] wrote:
  beware: some patches loaded from cont-new.tex
 
  Is this normal?

 yes

What does the warning mean, and if it's normal why is there a warning for it?

--Joel
___
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] updating mswincontext

2007-10-31 Thread Joel C. Salomon
What is the best way of keeping a mswincontext installation
up-to-date?  Do I need to download beta releases of the luatex binary
and newer versions of the ConTeXt distribution from
http://www.pragma-ade.com/download-1.htm, or is there an automatic
updater?

On a related note, where should I unzip the cont-xxx.zip packages I'd
like to use on my system?  In texmf-local, or texmf-extra, or where?

--Joel
___
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] beware: some patches loaded from cont-new.tex

2007-10-30 Thread Joel C. Salomon
Testing a new installation of mswincontext, I got this message when
texexecing the first example from the wiki:

(c:/Users/chesky/Programs/context/tex/texmf-local/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex

Is this normal?

(My setup is mswincontex.zip/isoimage/usr/local/context extracted to
c:\users\chesky\programs\context, and the following environment
variables set:
  OSFONTDIR=C:\Windows\Fonts
  Path=…;C:\Users\chesky\Programs\context\tex\texmf-mswin\bin;…
  TEXPATH=C:\Users\chesky\Programs\context\tex
  TEXMFCNF=C:\Users\chesky\Programs\context\tex\texmf{-local,}\web2c
  TEXMFEXTRA=C:\Users\chesky\Programs\context\tex\texmf-extra
  TEXMFFONTS=C:\Users\chesky\Programs\context\tex\texmf-fonts
  TEXMFLOCAL=C:\Users\chesky\Programs\context\tex\texmf-local
  TEXMFMAIN=C:\Users\chesky\Programs\context\tex\texmf
  TEXMFOS=C:\Users\chesky\Programs\context\tex\texmf-mswin
  TEXMFPROJECT=C:\Users\chesky\Programs\context\tex\texmf-project
  
TEXMF={$TEXMFOS,$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFEXTRA,!!$TEXMFMAIN}
as per the discussion if a few weeks back.)

--Joel
___
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] MKIV: encoding for pdf-strings

2007-10-23 Thread Joel C. Salomon
On 10/23/07, Idris Samawi Hamid [EMAIL PROTECTED] wrote:
 A curiosity: With \enableregime[utf] commented the file size is 2919
 bytes, with it uncommented it's 2918 bytes.

 I wonder where the extra 1-byte savings with \enableregime[utf] is coming
 from...

The '%', perhaps?  ;)

I'd have guessed the 'ü' (U+00FC) can be encoded as the two-byte utf-8
stream or as a single Windows-1252 character, except that it's the
utf-8 version that's shorter…

--Joel
___
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 and Unicode Math

2007-10-03 Thread Joel C. Salomon
On 10/3/07, Hans Hagen [EMAIL PROTECTED] wrote:
 well, we can start thinking of virtal fonts; on the other hand, a year
 from now we will have math in the tex gyre fonts so maybe it's not worth
 the effort

Also Cambria/Cambria Math is obtainable, and the Stix fonts have been
a month away for half a year now.  Truly Unicode-aware math handling
in TeX will be really nice.

--Joel
___
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 and Unicode Math

2007-10-03 Thread Joel C. Salomon
On 10/3/07, Mojca Miklavec [EMAIL PROTECTED] wrote:
 Emmm ... no. But I have no influence on encoding - there seems to be
 some smart algorithm behind gmail, which tries to guess which
 encoding to use. Usually it takes ascii or utf-8, but apparently it
 sometimes favors other encodings for some reason :(

On the General tab in Gmail settings is an option to set Outgoing
message encoding either to default (= autodetect, with sometimes
amusing results) or to UTF-8.

--Joel
___
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] still waiting for mswincontext

2007-09-30 Thread Joel C. Salomon
On 9/26/07, Hans Hagen [EMAIL PROTECTED] wrote:
  1) Why we need to set almost all in setuptex.bat, while the same vars 
  (except Windows' PATH) are already set in texmf.cnf?

 well, this is not recent, but has aways been the case; in setuptex i
 make sure that no conflicts can arise between different trees; so one
 can have multiple trees installed, without clashed; you don't wanna know
 what can happen (and how much time it costs to find out and fix) if some
 installer has set variables at the outer shell level; i just don't want
 to take any risk here

So what environment variables can I set globally to avoid the need for
running setuptex.bat?  My first guess is:

OSFONTDIR=%SystemRoot%\fonts
SETUPTEX=done
CTXMINIMAL=yes

TEXPATH=C:\...whatever the path is...\context\tex\
TEXMFMAIN=%TEXPATH%\texmf

TEXMFOS=%TEXPATH%\texmf-mswin
TEXMFPROJECT=%TEXPATH%\texmf-project
TEXMFFONTS=%TEXPATH%\texmf-fonts
TEXMFLOCAL=%TEXPATH%\texmf-local
TEXMFEXTRA=%TEXPATH%\texmf-extra

TEXMFCNF=%TEXPATH%\texmf{-local,}\web2c
TEXPOOL=%TEXMFOS%/web2c\{$engine,}
TEXFORMATS=%TEXMFOS%\web2c\{$engine,}
MPMEMS=%TEXMFOS%\web2c\{$engine,}
MPPOOL=%TEXMFOS%\web2c\{$engine,}

Path=%TEXMFOS%\BIN;%Path%

TEXMFCACHE=%TEMP%
VARTEXMF=%TEXMFCACHE%\texmf-var

TEXMF={$TEXMFOS,$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFEXTRA,!!$TEXMFMAIN}
TEXMFDBS=$TEXMF


RUBYLIB=%TEXMFLOCAL%\SCRIPTS\CONTEXT\RUBY;
___
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] still waiting for mswincontext

2007-09-30 Thread Joel C. Salomon
On 9/30/07, Hans Hagen [EMAIL PROTECTED] wrote:
  So what environment variables can I set globally to avoid the need for
  running setuptex.bat?  My first guess is:
snip
  SETUPTEX=done
  CTXMINIMAL=yes

 not if setuptex is not used

CTXMINIMAL is also not needed?

  TEXPATH=C:\...whatever the path is...\context\tex\
  TEXMFMAIN=%TEXPATH%\texmf
 
  TEXMFOS=%TEXPATH%\texmf-mswin
  TEXMFPROJECT=%TEXPATH%\texmf-project
  TEXMFFONTS=%TEXPATH%\texmf-fonts
  TEXMFLOCAL=%TEXPATH%\texmf-local
  TEXMFEXTRA=%TEXPATH%\texmf-extra

 depends on your trees

Using the directory tree as stored in mswincontext as my starting point.

  TEXPOOL=%TEXMFOS%/web2c\{$engine,}

 not for luatex/xetex

  TEXFORMATS=%TEXMFOS%\web2c\{$engine,}

 not for luatex

  MPMEMS=%TEXMFOS%\web2c\{$engine,}

 depends

  MPPOOL=%TEXMFOS%\web2c\{$engine,}

 not needed any more

But setuptex still sets these.  What does it mean, that TEXPOOL al.
aren't needed for luatex/xetex?  Does MKII need them?

  TEXMF={$TEXMFOS,$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFEXTRA,!!$TEXMFMAIN}

 yes

  TEXMFDBS=$TEXMF

 dependes on kpse version i think

I've been using %var% notation for parts that Windows expands when the
variable is defined, but I see UNIX-style $var here and there.  Should
these be expanded at define-time also, or are these for the programs
that use them to understand?

I've got Perl, Python, and Ruby installed,  I'm using mswincontext
and upgrades thereto as the only TeX distribution on the machine; I'd
like it to work as smoothly as MiKTeX does where it's installed --
i.e., replace setuptex with a machine-global set-up.  And I'm willing
to jump through some hoops to find the right way so installation can
be made easier for others

--Joel
___
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] still waiting for mswincontext

2007-09-30 Thread Joel C. Salomon
So, to sum up: The tex engines should be accessible via PATH,
OSFONTDIR is really handy; other than that only TEXPATH and TEXMF* are
needed, since pool files (whatever they are) are on the way out.

Seems straightforward enough, if that's complete.

Is there any real point to creating an NSIS or Inno Setup install
program for mswincontext, or is someone working onthat already?  They
both handle environment variables nicely, I've heard.

--Joel
___
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] waiting for mswincontext

2007-09-20 Thread Joel C. Salomon
On 9/20/07, Taco Hoekwater [EMAIL PROTECTED] wrote:
 Really, we (=I) should move away from bibtex.

Has anyone on the list tried CrossTeX
(http://crosstex.sourceforge.net/)?  I've successfully used it with
LaTeX; no idea how much trouble it would be to use with ConTeXt.

--Joel
___
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] waiting for mswincontext

2007-09-19 Thread Joel C. Salomon
On 9/19/07, Hans Hagen [EMAIL PROTECTED] wrote:
 i need to update a few more binaries, and mojca and i have to fix/test a
 couple of xetex things (new xetex bin too)

So the minimal distribution will come with mkii, mkiii, and mkiv?  Thanks!

One question: does the bundled LuaTeX track the current (semi)stable
LuaTeX releases?

--Joel
___
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] waiting for mswincontext

2007-09-19 Thread Joel C. Salomon
On 9/19/07, Idris Samawi Hamid [EMAIL PROTECTED] wrote:
 Don't forget to incorporate tex-gyre, including otf's!

Is the installation really that hard?

I'd rather have a tarball to be unzipped over the directory tree than
have a constantly growing 'minimal' installation.

--Joel
___
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] context_reg_install

2007-08-28 Thread Joel C. Salomon
On 8/28/07, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote:
 Let me share my installer for MSWinContext. The archive contains installer 
 and source code.
snip
 Any questions/suggestions?

I use the standalone MSWinContext on a machine with MiKTeX installed.
By default I run the MiKTeX binaries; when I want to play with luatex
and mkiv I run a batch file to reset the environment variables.

Can MSWinContext as set up by your installer work side-by-side with MiKTeX?

--Joel
___
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] installing MKIV

2007-08-09 Thread Joel C. Salomon
On 8/8/07, Peter Rolf [EMAIL PROTECTED] wrote:
So you don't even need lua anymore.
  i see. but on windows you waste more than 7mb disk space this way.
  installing the lua binaries costs only 288kb. so where is the benefit?
 
  - no need to install anything else (no huge ruby/perl or whatever)
  - bytcode compiler in sync with luatex internals
  - texlua has the libs that we need built in
 
 it's just that i don't see the need for three identical files, when you
 can use one with different (mode switching) parameters. yes, i know.
 it's an early beta.

If you're concerned about the the 7 MB -- or in my case, not sure
you'll remember to update all three files at once -- and you're on a
machine with NTFS, you can create hard links.

--Joel
___
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] installing MKIV

2007-08-08 Thread Joel C. Salomon
On 8/8/07, Arthur Reutenauer [EMAIL PROTECTED] wrote:
  Where luatex is located in PRAGMA? I see only cont-tfm.zip. I use
  TeXLive, so only luatex binaries I'm missing now.

   In the minimal distribution (mswintex.zip for Windows, linuxtex.zip etc 
 ...).

So the stand-alone mswincontext.zip will have everything I need to
experiment with luatex (and XeTeX)?

Just trying to confirm what I think I've understood.

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