[NTG-context] Errors with MacTeX/TeXLive installation

2010-08-02 Thread Grant W. Petty
I am trying out ConTeXt for the very first time, hoping to assess
whether it's worth re-tooling from LaTeX for authoring scientific
textbooks.

I am using a fresh installation of TeX Live 2009 (installed via MacTex
on a MacBook running Mac OS X 10.6), and I'm trying to process a
sample file I downloaded from one of the ConTeXt web pages.
Unfortunately, the process generates a couple of cryptic warnings
(Lua binary way out of date)  and a fatal error (can't find
...dcc/formats/cont-en.luc).  I wonder if someone can examine the
input file and the log file (both attached) to help me understand what
I have to do to clean things up and, if possible, why the TeX Live
ConTeXt configuration doesn't work correctly right out of the box to
begin with.

  Thanks,
  Grant
% interface=en output=pdftex

% Choose a font
\usetypescript [palatino][\defaultencoding]
\setupbodyfont [palatino,12pt]

% Be tolerant with paragraph building
\setuptolerance [horizontal,verytolerant,stretch]

% Choose a language, and associated hyphenation rules.
\language [en]

% No page number
\setuppagenumbering [state=off]

% White space between paragraphs
\setupwhitespace [big]

% Paper size
\setuppapersize [a4]

% On the grid please
\setuplayout
  [grid=yes,
   footer=0.5\footerheight,
   header=0.5\headerheight]

% Enable colors and activate hyperlinks
\setupcolors [state=start]
\definecolor[lightBlue][r=0.5, g=0.5, b=1.0]
\setupinteraction [state=start, color=lightBlue]
\setupurl[style=small, space=yes]

% Enumerate the URLs
\useURL [pragma] [{www.pragma-ade.com}]
\useURL [contextgarden] [{contextgarden.net}]
\useURL [ntg-context] [{www.ntg.nl/mailman/listinfo/ntg-context}]
\useURL [literatesolutions] 
[{literatesolutions.com/Members/guravage/tpj/askNelly/context.tex}]
\useURL [mge] [{mailto:i...@literatesolutions.com}][][\tfx 
i...@literatesolutions.com]

\starttext

\midaligned{\tfb Ask Nelly: What is ConTeXt?}

\midaligned{\tfx Michael Guravage}

\ConTeXt\ is a macro package for \TeX\ written by Hans Hagen and Ton
Otten of Pragma ADE in the Netherlands. Like \LaTeX\, \ConTeXt\ is
applicable to most typesetting needs.  Unlike \LaTeX\, \ConTeXt\ is
monolithic, by which I mean it is designed, implemented, and
distributed as a whole. Its completeness is evident in the breath of
its concepts and consistency of its syntax.

Forged in the crucible of the educational publishing world, \ConTeXt\
has grown to accommodate the most advanced and demanding typesetting
needs. The practical upshot of this is that if you need a particular
feature, it probably is already implemented. A few of its most noteworthy
features include:

\startitemize[packed,n]
  \item multiple language interfaces including: English, German, and Dutch
  \item a font naming scheme that allows you mix and match different typefaces
  \item a native XML parser
  \item a native XML-FO support
  \item native MathML support
  \item integrated graphics with \MetaPost
  \item full color support in both {\sc rgb} or {\sc cmyk}
  \item direct access to and control over the interactive capabilities of PDF
\stopitemize

I would not say that \ConTeXt\ has a steep learning curve but rather a
long one.  Thankfully, there is sufficient documentation, and a
vibrant development community to offer support.

Visit the Pragma website at \from[pragma] to learn more about
\ConTeXt.  There you will find both examples to whet your appetite and
manuals to answer your questions. I recommend you start by reading the
introductory `\ConTeXt\ an Excursion' and then move onto the full
\ConTeXt\ manual.  You will find additional examples of, discussions
about, and documentation for \ConTeXt\ on the community wiki at:
\from[contextgarden].  Finally, you can subscribe to the \ConTeXt\
mailing list at: \from[ntg-context].

Michael Guravage is a consultant who specializes in content management
and document engineering. He can be reached at \from[mge].

\stoptext

% finis


context.log
Description: Binary data
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Errors with MacTeX/TeXLive installation

2010-08-02 Thread Grant W. Petty
Thanks for the advice.  I'm glad to hear the problem I described was
not just a manifestation of my own incompetence!

I'm taking the suggestion of downloading MacTeX 2010 and will try that
out as soon as it finishes downloading.

 - Grant
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] ConTeXt vs. LaTeX - XML/MathML - XHTML/SVG/PNG - ePub

2010-08-02 Thread Grant W. Petty
On Mon, Aug 2, 2010 at 10:10 AM, Grant W. Petty grant...@gmail.com wrote:
 I am trying out ConTeXt for the very first time, hoping to assess
 whether it's worth re-tooling from LaTeX for authoring scientific
 textbooks.


To elaborate on this comment which I made in another thread, I have
written and self-published two university-level atmospheric science
textbooks in LaTeX which are doing quite well by the standards of my
small field.   I am now also contracting to publish textbooks for
other authors.

I am very interested in eventually reformatting my own existing books,
as well as future books, as documents that can be both printed as
professional-quality bound textbooks as well as distributed as e-books
-- for example  ePub format and/or XHTML.   The principle technical
hurdle seems to be posed by the heavy use of mathematical equations.
I want the math in the electronic versions to be very clean and
scalable (e.g., SVG; eventually MathML as e-readers do a better job of
supporting it).

While there are programs like TeX4HT and LaTeXML that convert LaTeX
source to XML/MathML, they seem to have trouble with unfamiliar
packages and macros, and the math rendering seems quite imperfect as
well (though I can't yet tell whether that's a problem with the
conversion to MathML or rather with current e-readers imperfect
support for MathML).

My question is whether anyone has insight into the relative strengths
of LaTeX vs. ConTeXt as an authoring environment in the specific case
that the author wants high-quality multi-format outputs for  print and
electronic distribution.  An example workflow I could imagine would be

ConTeXT or LaTeX source   -   XML/MathML  (DocBook?)  -  PDF or
XHTML with math encoded as MathML and/or SVG and/or PNG - ePub with
high-quality math readable on various commercial readers

I'm quite new to this subject matter, having only begun to learn about
e-publishing formats a couple of weeks ago, so I'll welcome any
advice, however basic.

It's my impression, by the way, that ConTeXT does not directly support
AMSMath, which might mean having to not only rewrite a lot of existing
source but also to re-learn how to write math.

Thanks,
Grant
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___