Re: [NTG-context] Mini-survey: What do you do with ConTeXt?

2005-11-06 Thread Hans van der Meer


I use ConTeXt for the presentations in my lectures on Cryptography at  
the University of Amsterdam.
I am considering changing my lecture notes (some 300 pages) from  
LaTeX into ConTeXt, especially because the ease of incorporating  
MetaFont pictures into the text.

Also for small documents as for example cd-covers.

Hans van der Meer


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Problems with Natural Tables

2005-11-06 Thread Vit Zyka

Vit Zyka wrote:
> ...

so please, is the file 'core-ntb-new.tex' somewhere available?


Solution of my own question, for who is interesting.

Description:
The next patch enables to define intercolumn gaps in Natural Table 
(bTABLE...eTABLE) environment.


Features:
- one can distinguish the amounts of first (colsepfirst), inner 
(colsepbetween), and last (colseplast) gaps.

- patch operates for both 'fit' or 'stretch' table options.
- gaps has no 'background' you have to use external one.

Example:
http://typokvitek.com/tmp/nattab-colskip.pdf

Usage:
\bTABLE[colsepbetween=2cm,colsepfirst=.3cm,colseplast=.5cm]
  \bTR
\bTD A\eTD\bTD B\eTD\bTD C\eTD
  \eTR
\eTABLE

Enjoy it,
vit

Patch:
---
% suppressing spurious space from setupTABLE
\let\DosetupTABLE=\setupTABLE
\def\setupTABLE[#1][#2][#3]{\DosetupTABLE[#1][#2][#3]\ignorespaces}

% new bTABLE options : colsepbetween, colsepfirst, colseplast
\def\nexttblcol
  {\doglobal\increment\colTBL\hskip\tbltblcolsepbetween\hbox{}&} % VZ

\def\begintblrow
  {\noalign
 {\doglobal\increment\rowTBL
  \doglobal\newcounter\colTBL}%
   \nexttblcol
   \hskip\tbltblcolsepfirst\hskip-\tbltblcolsepbetween} % VZ

\unprotected\def\endtblrow
  {\hskip-\tbltblcolsepbetween\hskip\tbltblcolseplast\hbox{}% VZ
   \crcr
   \noalign
 {\nointerlineskip
  \allowbreak
  \bgroup % protect local vars
\@@tblsplitafter
  \egroup
  \bgroup % protect local vars
\increment\rowTBL\relax
\ifnum\rowTBL>\noftblhdnxlines\relax
  \ifnum\rowTBL<\maximumrow\relax

\doifsomething\tbltblspaceinbetween{\blank[\tbltblspaceinbetween]}%
  \fi
\fi
  \egroup}}

\unprotected\def\endTBL
  {\appendtoks
 \endtbl
   \to\tbltoks
   \setbox\scratchbox\hbox
 {\localframed
[\@@tbl\@@tbl]
[\c!frame=\v!off,\c!background=,\c!align=\v!no]
{\strut}}%
   \edef\minimalcellheight{\the\ht\scratchbox}%
   \dorecurse\maximumcol
 {\settblaut\recurselevel\!!zeropoint % \zeropoint etc
  % new
  \let\xcol\recurselevel
  \dorecurse\maximumrow
{\settblwd \recurselevel\xcol\!!zeropoint
 \settblht \recurselevel\xcol\!!zeropoint}%
  % till here
  \settblwid\recurselevel\!!zeropoint}%
   \dorecurse\maximumrow
 {\settblhei\recurselevel\maxdimen}%
   \chardef\TBLpass\plusone
   \let\handleTBLcell\dohandleTBLcellA
   \def\makeTBL##1##2%
 {\gettbltxt{##1}{##2}}%
   \def\inTBLcell##1##2%
 {\ExpandBothAfter\doifinsetelse\localwidth{\v!fit,\v!broad} % user set
{}
{\scratchdimen\gettblaut\colTBL\relax
 \ifdim\localwidth>\scratchdimen
   \settblaut\colTBL\localwidth
 \fi}}%
   \setbox0\vbox{\trialtypesettingtrue \the\tbltoks}%
   \ifautoTBLspread
 % experimental, stretch non fixed cells to \hsize
 \checktblwidthsone   % trial run
 \checktblwidthstwo   % real run
 \stretchtblwidths
 \let\handleTBLcell\dohandleTBLcellB
 \setbox\scratchbox\vbox{\trialtypesettingtrue \the\tbltoks}%
   \else\ifdim\wd0>\hsize
 \ifautoTBLhsize
   \checktblwidthsone % trial run
   \checktblwidthstwo % real run
   \let\handleTBLcell\dohandleTBLcellB
   \setbox\scratchbox\vbox{\trialtypesettingtrue \the\tbltoks}%
 \fi
   \else\ifautoTBLrowspan\ifnum\maximumrowspan>1 % max ?
 % added jan 2002 because nx=* did no longer work
 \checktblwidthsone % trial run
 \checktblwidthstwo % real run
 %
 \let\handleTBLcell\dohandleTBLcellC
 \setbox\scratchbox\vbox{\trialtypesettingtrue \the\tbltoks}%
   \fi\fi\fi\fi
   \let\handleTBLcell\dohandleTBLcellD
   \chardef\TBLpass\plustwo
   \def\makeTBL##1##2% meer in cellD
 {\dimen2\zeropoint
  \globalpushmacro\colTBL
  \dorecurse{\gettblcol{##1}{##2}}
{\advance\dimen2 \gettblwid\colTBL
 \advance\dimen2 \tbltblcolsepbetween % VZ
 \increment\colTBL}%
  \advance\dimen2 -\tbltblcolsepbetween % VZ
  \edef\widthTBL{\the\dimen2}%
  \globalpopmacro\colTBL
  \setbox\scratchbox\hbox{\gettbltxt{##1}{##2}}%
  \settblht{##1}{##2}{\the\ht\scratchbox}%
  \settblwd{##1}{##2}{\the\wd\scratchbox}%
  \ifdim\ht\scratchbox>\gettblhei{##1}\relax
\settblhei{##1}{\the\ht\scratchbox}%
  \fi}%
   \setbox\scratchbox\vbox{\trialtypesettingtrue \the\tbltoks}%
   \checktblheightsone
   \checktblheightstwo
   \let\handleTBLcell\dohandleTBLcellE
   \chardef\TBLpass\plusthree
   \def\makeTBL##1##2%
 {% height
  \globalpushmacro\rowTBL
  \scratchdimen\zeropoint
  \def\rowTBL{##1}%
  \ifnum\gettblcol{##1}{##2}=\maximumcol\relax
% case: nc=maxcolumns
  \else
\dorecurse{\gettblrow{##1}{##2}}
  {\advance\scratchdimen \gettblhei\rowTBL
   \increment\rowTBL}%
\ifdim\scratchdimen<\gettblht{##1}{##2}\relax
  \scratchdimen\gettblht{##1}{##2}\relax
\fi
  \fi
  \edef\heightTBL{\the\scratchdimen}%
  \gl

Re: [NTG-context] Mini-survey: What do you do with ConTeXt?

2005-11-06 Thread Charles Doherty
Taco Hoekwater wrote:   What do you do with ConTeXT? Dear Taco,I use ConTeXt for a) my class guides (incorporating genealogical tables and other graphics) and book-lists in both paper and screen versionsb) for typesetting the Newsletter of the Group for the Study of Irish Historic Settlementc) my daughter used ConteXt (with my help) to typeset her thesisd) I have given three classes in the use of ConTeXt to my postgraduate students urging them to use ConTeXt to typeset their theses.Together with Omnigraffle and Bibdesk ConTeXt is ideal for students writing theses. I have been using XeTeX more and more for the ease of getting diacritical marks (when transliterating Sanskrit for example) or medieval characters using the SIL font Gentium.The use of fonts in ConTeXt is the main problem that I have. I have not come to terms with that area yet.Finally it is a joy to use ConTeXt. A very big thanks to Hans.Charlie Doherty ***Charles Doherty,Early Irish History,Room K113,School of History,John Henry Newman Building,University College Dublin,Belfield,Dublin 4Tel: +353 1 716 8381 ___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Mini-survey: What do you do with ConTeXt?

2005-11-06 Thread Peter Münster
My first experience with ConTeXt was typesetting my brother's PhD thesis in
chemistry. Used features: modes (A5 and A4), project-structure, a lot of
floats, bibliography.

ConTeXt at work:
- technical specifications for electronic devices (used features: modules,
  project-structure, tables generated by scripts)
- presentations
- documentation
- reports
My problem at work: besides me, everyone is speaking M$-Office. I send my
documents to my colleagues always in PDF. Just until today no problem, but
there is some risk, that someone will ask for a Word/Powerpoint version one
day...
Unfortunately, our business is developing electronic devices, but not
sophisticated typesetting, so I cannot spend much more time with ConTeXt,
than I already do.

ConTeXt at home:
- construction plans (one page per figure with well defined scale)
- letters
- finding solutions for problems with ConTeXt at work (with the help of the
  mailing-list)

Future projects:
- typesetting the thesis of my sister-in-law (2 columns with a lot of
  floats)
- writing a letter-module
- teaching ConTeXt to my wife (perhaps impossible)
- just doing more things with ConTeXt

Most important request:
a *complete* reference manual, with description of not only all commands,
but also all parameters. Something like texshow is already fine, but still
very far from complete.

Very much appreciated:
- all the nice features of ConTeXt
- the great support by the developers: thank you!

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Mini-survey: What do you do with ConTeXt?

2005-11-06 Thread Alan Bowen

Taco, Hans—

One of the key features of ConTeXt for me is its ability to create  
platform independent output that combines the ancient languages and  
mathematics in ways typical of publications in the humanities. So,  
first, my heartiest thanks to you both and also to Thomas Schmitz for  
his Greek module.


I currently use ConTeXt to publish the Institute’s review/journal  
(which is available online, in print, and on CD), as well as its  
brochures and announcements. I will also be using it to produce its  
books too.


I have designed a book publication series for my brother using  
ConTeXt; and I use it to write my own papers, reviews, and books.


The main problem that I have is not really with ConTeXt itself. Since  
few of the history of science journals that I send papers to use  
ConTeXt, I am often required to I submit an .rtf file along with  
the .pdf file produced with ConTeXt. So, what I am still  
contemplating is an efficient, “mechanical” way around this problem.


Best, Alan




On Nov 4, 2005, at 9:49 AM, Taco Hoekwater wrote:


Hi all,

For the next issue of the ntg's Maps journal, Hans and I believe
it would be nice to publish the collected responses to this simple
question:

  What do you do with ConTeXT?

We think it would be nice to see all the various ways in which people
experience ConTeXt. We are not looking for articles, in fact we really
want just a small amount of text per user, nothing longer then you
would normally type in an email message.

One, perhaps two paragraphs that simply tell about your personal  
experience using (or playing with) (or fighting with) (or yelling  
at) (or staring at in bewilderment) (or revelling in) (or running  
away from)

ConTeXt.

If you like this idea, just reply to this message. I will then
collect and merge the responses, and finally put a pdf on-line
somewhere.

Don't be shy!

Taco





___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Mini-survey: What do you do with ConTeXt?

2005-11-06 Thread Ciro Soto
I wrote my novel using ConTeXt. Inside figures with metapost, 
the cover layout with Scribus.

See 
http://www.TheGuitarMakerExploration.com

Ciro
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] Mini-survey: What do you do with ConTeXt?

2005-11-06 Thread Idris Samawi Hamid
>= Original Message From [EMAIL PROTECTED], mailing list for ConTeXt users 
 =
>I wrote my novel using ConTeXt. Inside figures with metapost,
>the cover layout with Scribus.

I downloaded the first chapter; it is beautiful-)

Best
Idris


Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Mini-survey: What do you do with ConTeXt?

2005-11-06 Thread olivier Turlier

  >   What do you do with ConTeXT?

I started  informatic at 33 when coming back to studies : 2 years later 
i've done my thesis with latex (took me 2.5 years!).
Now i try to teach buiding technics and design, with the help of  paper 
and electronic courses made with Context. Hopefully, my boss doesn't 
know that it took me sometimes 2 days for writing a one morning course!


I must recognise that sometimes I think of having a good dtp software, 
but after some test, I come back to Context. In the next decades, I'll 
try to succeed in quizz making and/or nice looking book. I wish to meet 
people using Context one day.


Thanks Hans  and all others on the list .

--
Olivier TURLIER
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] maximum of \externalfigure in MP

2005-11-06 Thread andrea valle

Hi to all,
I'm including many externalfigures in pdf in a MPgraphic (300 pdfs, 
more or less). The MPgraphic draws some arrows connecting the pdf 
fragments.

(it is the musical project using lilypond we discussed some time ago).

Till now, everything has always gone very well. Now I'm getting a 
little crazy.


in fact, I'm having a strange behaviour I cannot explain.
When I render the context file, as output I have the MP drawing, but 
all the (many) pdfs are replaced with blank spaces. I noticed that it 
seems that pdfs are not loaded (the console doesn't print their names 
in any way). I also checked the utility files (.mp, etc) but I'm not 
able to extract any useful info.
If I comment out some of the lines requesting \externalfigure, 
(remaining) pdfs are again displayed.
So, I'm guessing that is should be something related with a maximum of 
\externalfigure.
I'm surprised because I generated examples containing many more pdf 
fragments than the present one, and I have never had any problem.


Here's the zipped directory I'm working with:
www.semiotiche.it/andrea/membrana/nodi3-.zip

Any hint/help is much appreciated

Best

-a-



Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
[EMAIL PROTECTED]
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context