Re: [NTG-context] Is there a way to split TABLE and TABLE caption for longtables

2010-12-16 Thread Wolfgang Schuster

Am 14.12.2010 um 10:00 schrieb barney schwartz:

 Group, Hans. Wolfgang, Help PLEASE
  
 I have numerous loong tables to publish. attached find minimal example.
  
 I need these tables to mimic \longtables LaTeX package.
  
 I got a recode from Wolfgang using the TABLE module which works well for the 
 header, footer and TABLEbody however:
  
 I need table caption and tablefoot to state:
  
 table xx (continue)
  
 Also it would be perfect if the top of the continued page(s) were open and 
 the footer for the continued page(s) said:
  
 table xxx (continued)
  
 Is there a way to accomplishe this feat of magic within ConTeXt?

MkII provided subnumbers for splitted tables, this function is not yet rewritten
for MkIV but because Hans hasn’t needed it so far. Although you provided a 
example
it wasn’t minimal enough for a test.

Here is a minimal example for Hans, which shows correct numbering for split 
tables
which is currently wrong for MkIV:

\setuppapersize[A7][A7]

\starttext

\placetable
  [split]
  {Test 1}
  {\bTABLE
   \dorecurse{20}{\bTR\bTD #1 \eTD\eTR}
   \eTABLE}

\placetable
  {Test 2}
  {\bTABLE
   \bTR\bTD 1 \eTD\eTR
   \eTABLE}

\stoptext

Wolfgang


___
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] listalternative “d” and \[ start|stop]narrower

2010-12-16 Thread Philipp Gesang
Hi all,

is it possible somehow (in mkiv) to setup the list alternative
“d” to resemble this example from the source (works in mkii,
slightly shortened) with narrower to the left and the right?

···8

%\setupinteraction[state=start] \setupcolors[state=start]

\setuphead [part][page=right,placehead=yes]
\setuplist [chapter] [alternative=d,before=\blank,after=\blank]
\setuplist [part][before=\blank,after=\blank]

\starttext
  \startsetups chapter
\blank \startnarrower[3*middle] \placecontent[criterium=local] \stopnarrower
  \stopsetups
  \placelist[part][criterium=text,after=\setups{chapter}]

  \part{First part}   \chapter{Chapter one}  \chapter{Chapter two}
  \chapter{Chapter three} \chapter{Chapter four} \chapter{Chapter five}
  \part{Second part}  \chapter{Chapter one}  \chapter{Chapter two}
  \chapter{Chapter three} \chapter{Chapter four} \chapter{Chapter five}
  \part{Third part}   \chapter{Chapter one}  \chapter{Chapter two}
  \chapter{Chapter three} \chapter{Chapter four} \chapter{Chapter five}
\stoptext \endinput
···8

(Hanging text is possible via the “margin” key of “\setuplist”
but only on the left side. Alternatively, could there be
interaction support for custom list commands?)

Thanks for any suggestions, Philipp



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


pgpbQjTdN7gqo.pgp
Description: PGP signature
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] listalternative “d” and \[ start|stop]narrower

2010-12-16 Thread Wolfgang Schuster

Am 16.12.2010 um 13:17 schrieb Philipp Gesang:

 Hi all,
 
 is it possible somehow (in mkiv) to setup the list alternative
 “d” to resemble this example from the source (works in mkii,
 slightly shortened) with narrower to the left and the right?
 
 ···8
 
 %\setupinteraction[state=start] \setupcolors[state=start]
 
 \setuphead [part][page=right,placehead=yes]
 \setuplist [chapter] [alternative=d,before=\blank,after=\blank]
 \setuplist [part][before=\blank,after=\blank]
 
 \starttext
  \startsetups chapter
\blank \startnarrower[3*middle] \placecontent[criterium=local] 
 \stopnarrower

   \blank \startnarrower[3*middle] \placelist[chapter] \stopnarrower

Wolfgang

___
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] listalternative “d” and \[ start|stop]narrower

2010-12-16 Thread Philipp Gesang
On 2010-12-16 13:24:27, Wolfgang Schuster wrote:
 
 Am 16.12.2010 um 13:17 schrieb Philipp Gesang:
 
  Hi all,
  
  is it possible somehow (in mkiv) to setup the list alternative
  “d” to resemble this example from the source (works in mkii,
  slightly shortened) with narrower to the left and the right?
  
  ···8
  
  %\setupinteraction[state=start] \setupcolors[state=start]
  
  \setuphead [part][page=right,placehead=yes]
  \setuplist [chapter] [alternative=d,before=\blank,after=\blank]
  \setuplist [part][before=\blank,after=\blank]
  
  \starttext
   \startsetups chapter
 \blank \startnarrower[3*middle] \placecontent[criterium=local] 
  \stopnarrower
 
\blank \startnarrower[3*middle] \placelist[chapter] \stopnarrower
 
 Wolfgang

Oha, that was fast! Many thanks, this arguably looks better than
my hacking a “\rightskip” into “\dodofixdlistelementD” …

Philipp

 
 ___
 If your question is of interest to others as well, please add an entry to the 
 Wiki!
 
 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

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


pgpVUgkMRGHC0.pgp
Description: PGP signature
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] \par in end of define fails

2010-12-16 Thread Mojca Miklavec
On Thu, Dec 16, 2010 at 05:58, Aditya Mahajan wrote:
 On Thu, 16 Dec 2010, Jonas Stein wrote:

 \define[1]\myoneliner{#1 \par }

 raises an error.

 (Untested)

 \define[1]\myoneliner{#1 \endgraf}

This is also nicely covered in TeXBook.

Alternatively \long\def might work.

Mojca
___
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] Typescript struggles

2010-12-16 Thread Willi Egger
Hi all,

what is wrong with the following typescript file? - Sorry the font's name is 
Nothing.otf

\starttypescript [handwriting] [nothing]
   \definefontsynonym [Nothing-Regular][file:Nothing]
\stoptypescript

\starttypescript [handwriting] [nothing] [name]
\definefontsynonym [Handwriting] [Nothing-Regular]
\stoptypescrip

\starttypescript [Nothing]
   \definetypeface [Nothing] [hw] 
[handwriting][nothing][default][features=default]
\stoptypescript


The reason to ask this is, that I can use the module simplefonts or 
\definedfont[name:nothing at 24pt] and these work.

kind regards 

Willi
___
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] Wiki: Bug: cmd/foo/cmd does not link to foo-reference

2010-12-16 Thread Jonas Stein
cmdfoo/cmd
creates a javascript link that opens a new small window with the 
reference list inside.

It would be nice, if it would open the corresponding page.
like 
http://wiki.contextgarden.net/Reference/en/foo

is that possible?

kind regards,

-- 
Jonas Stein n...@jonasstein.de

___
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] \par in end of define fails

2010-12-16 Thread Jonas Stein
 \define[1]\myoneliner{#1 \par }
 raises an error.

 \define[1]\myoneliner{#1 \endgraf}

works fine. Thank you!

 This is also nicely covered in TeXBook.
 Alternatively \long\def might work.

\long\define[1]\myoneliner{#1 \par }
fails too

kind regards,

-- 
Jonas Stein n...@jonasstein.de

___
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] \par in end of define fails

2010-12-16 Thread Vedran Miletić
2010/12/16 Jonas Stein n...@jonasstein.de

  \define[1]\myoneliner{#1 \par }
  raises an error.

  \define[1]\myoneliner{#1 \endgraf}

 works fine. Thank you!

  This is also nicely covered in TeXBook.
  Alternatively \long\def might work.

 \long\define[1]\myoneliner{#1 \par }

fails too


\long\def\myoneliner#1{#1 \par} should work.

Regards,

Vedran Miletić
___
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] 4000 pages limit?

2010-12-16 Thread Marco Pessotto

Hello there. 

Yesterday I was trying to typeset a very, very long document (about 3000
pages in A4). Well, mkiv died with a 

PANIC: unprotected error in call to Lua API (stack overflow (out of stack 
space))

It's easily reproducible with a simple

\starttext
\dorecurse{5}{
\input knuth
}

Once it reaches page 4000 it will die.

I'm obviously going to split the document, because a pdf of 4000 pages
is just insane, but now I'm curious if this is a known limit.

Bests

-- 
Marco

___
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] 4000 pages limit?

2010-12-16 Thread luigi scarso
On Thu, Dec 16, 2010 at 8:12 PM, Marco Pessotto melmo...@gmail.com wrote:

 Hello there.

 Yesterday I was trying to typeset a very, very long document (about 3000
 pages in A4). Well, mkiv died with a

 PANIC: unprotected error in call to Lua API (stack overflow (out of stack 
 space))

 It's easily reproducible with a simple

 \starttext
 \dorecurse{5}{
 \input knuth
 }
Confirmed
\starttext
\dorecurse{5}{
\input knuth
}\stoptext
die with

pagesflushing realpage 3987, userpage 3987
PANIC: unprotected error in call to Lua API (stack overflow (out of
stack space))

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

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


[NTG-context] Bug against minimals

2010-12-16 Thread Xan

Hi,

With latest stable minimals version I don't get correct output of the 
metapost article (I attach it)
But with the texlive package with ubuntu 8.04 (and only with 8.04; with 
10.10 I have the same problem), it works. I think it's a bug


Thanks,
Xan.


PS: Please Ccme
% Choose a font
\setupbodyfont [cmr,11pt]

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

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

% Page number
\setuppagenumbering [location={footer}]

% Paper size
\setuppapersize [A4]

% Margins
%\setuplayout  [grid=yes, footer=0.5\footerheight, header=0.5\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
\setuplayout[topspace=1.5cm,margin=1.5cm,header=1.5cm,footer=1.5cm,width=fit,height=fit,backspace=1.5cm]


% 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]
\setupurl[space=yes]

% Enumerate the URLs
%\useURL[wiki][http://wiki.contextgarden.net][][\ConTeXt\ wiki]

% Fonts
%% Chapters...
\setupheads[align=flushleft]
\setuphead[chapter][style={\tfd\bf}]
\setuphead[section][style={\bfb}, header=nomarking]
\setuphead[subsection][style={\bfa}]
\setuphead[subsubsection][style={\bfa}]
%\setuphead[section][textstyle=bold]

% Bibliography options
% BIBTEX
%\usemodule[bib]
%\usemodule[bibltx]
%\setupbibtex[database=funcions,sort=author]
%\setuppublications [alternative=ams,numbering=yes, sorttype=bbl, 
criterium=all]%
%\setupheadtext[ca][pubs=Referències]
%\setuppublicationlist[authoretallimit=3]
%\setuppublicationlist[authoretaltext={\it\  et al.}]
%\setuppublicationlist[authoretaldisplay=1]

%Indentation
\setupheads[indentnext=yes] 
\setupindenting[yes,small,first]

% Vertical spaces between paragraphs
\setupwhitespace[none]

%Itemize
\setupitemize[each][identnext=yes,margin=2em]
\setupitemize[each][headstyle=bold]

% Mathematical packets
%\usemodule[newmat]

% Modules
\usemodule[tikz]
\usetikzlibrary[mindmap,arrows,calc]
%\usetikzlibrary[trees]

% AMSTHM
\defineenumeration
  [exercici]
  [text={Exercici},headstyle=bold,between=\blank,textdistance=1em,
stopper={.\space},location=serried,left={\bgroup\bf},right={\egroup},width=fit,headstyle=\ss,title=yes,titlestyle=\ss,titledistance=.5em]

% Table of contents
%% dots between... and subsubsubsection are not listed
\setupcombinedlist[content][level=4,alternative=c] 
%% section = bold. % width= 10mm -- less space between num-letter
%% line break after section.
\setuplist[section][style=bold,width=10mm] 
\setuplist[section][before=\blank]
%% margin = 10 mm. Put the subsection just bottom section.
\setuplist[subsection][margin=10mm,width=10mm]
\setuplist[subsubsection][margin=20mm,width=10mm]
% Set Índex like Índex de continguts
\setupheadtext [ca] [content=Índex]

% Heads and footers
\setupfootertexts[{\tfx \pagenumber/\lastpage}]
\setupfooter[text][before=\hrule]
\setupheader[text][after=\hrule]
\setupheadertexts[{\tfx IES Binissalem. Dpt. Orientació}][{\tfx 3r DIV}]

% hyphenating
\hyphenation{do-cu-ment}
\hyphenation{subs-ti-tueix}
\hyphenation{pro-ble-ma}
\hyphenation{Ma-the-ma-tics}
\hyphenation{Ma-the-ma-ti-cal}
\hyphenation{es-crip-tu-ra}
\hyphenation{ge-ne-ra-lit-za-ció}
\hyphenation{va-ria-bles}

% em = bf italic
\setupbodyfontenvironment[default][em=italic]

% underline
\setupunderbar[alternative=b]

% Virgueries
%% Quadres de text
%% Per usar-ho: 
\startframedtext[width=\textwidth,background=QuadreBasic,frame=off]

\startuseMPgraphic{QuadreBasic}
  picture p ; numeric w, h, o ;
  p := textext.rt(\MPstring{QuadreBasic}) ;
  w := OverlayWidth ; h := OverlayHeight ; o := BodyFontSize ;
  p := p shifted (2o,h-ypart center p) ; draw p ;
  drawoptions (withpen pencircle scaled 2pt withcolor .625red) ;
  draw (2o,h)--(0,h)--(0,0)--(w,0)--(w,h)--(xpart urcorner p,h) ;
  draw boundingbox p ;
  draw (0,0) -- (0,-5pt) ;
  draw (-5pt,0) -- (0,0);
  draw (w, h) -- (w, h+5pt);
  draw (w,h) -- (w+5pt,h);
  setbounds currentpicture to unitsquare xyscaled(w,h) ;
\stopuseMPgraphic

\defineoverlay[QuadreBasic][\useMPgraphic{QuadreBasic}]
% interface=en output=pdftex
% Regime
\enableregime[utf]

\input capcalera.contex

\setupheadertexts[{\tfx 3r DIV. T4 - MAT}][{\tfx {\bf FULL 1}. \currentdate}]

% Start the text
\starttext

\bigskip
\startframedtext[width=broad, location=middle]
\startalignment[middle]
{\sca Full de problemes d'equacions de 1r grau}
\stopalignment
\stopframedtext

\section{Traducció d'enunciats}

% Pàgina 132 del manual de de MetaFun
\startuniqueMPgraphic{lions a}
path p ; p := fullsquare
xyscaled (\overlaywidth,\overlayheight) superellipsed .85 ;
pickup pencircle scaled 1pt ;
fill p withcolor .850white ; draw p withcolor .625yellow ;
\stopuniqueMPgraphic
\defineoverlay[lions][\uniqueMPgraphic{lions a}]

\def\processword#1%

Re: [NTG-context] \par in end of define fails

2010-12-16 Thread Wolfgang Schuster

Am 16.12.2010 um 18:28 schrieb Vedran Miletić:

 2010/12/16 Jonas Stein n...@jonasstein.de
  \define[1]\myoneliner{#1 \par }
  raises an error.
 
  \define[1]\myoneliner{#1 \endgraf}
 
 works fine. Thank you!
 
  This is also nicely covered in TeXBook.
  Alternatively \long\def might work.
 
 \long\define[1]\myoneliner{#1 \par } 
 fails too
 
 \long\def\myoneliner#1{#1 \par} should work.

You don’t need \long in this case, the problem is that
\define itself isn’t defined as \long while in mkiv
all commands are defined as \long.

Wolfgang

___
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] Marginal line numbers

2010-12-16 Thread Jon Crump
Thomas, et alia.

Thanks so very much! I now have this:

\startluacode
 function filter(s)
   if math.mod(s,5) == 0 then
 context.color( { darkred }, s )
   end
 end
\stopluacode

\define[1]\MyNumber%
 {\ctxlua{filter(#1)}\endgraf}

\startxmlsetups xml:lb
\lineNumbers{\MyNumber{\xmlatt{#1}{n}}}
\xmlflush{#1}
\stopxmlsetups

\defineinmargin [lineNumbers] [outer] [normal]

This gets me what I wanted.  Still fumbling greatly with the macro
syntax. I'm not sure what the recursion is for, for example. On the
other hand the lua seems rather straightforward to me by comparison. I
tried returning an empty string like this: context.color( {blue}, ''
) to remove the other numbers, but that seemed silly, so I just
removed the 'else' clause instead, and that seemed to work as well.

In python-speak I'd interpret context.color() as a method call on a
module 'context'. Could you, or anyone, direct me to any documentation
for this module and a list of the properties and methods that it
supports?

On Wed, Dec 15, 2010 at 11:34 PM, Thomas A. Schmitz
thomas.schm...@uni-bonn.de wrote:

 This is easy with a lua function. Since you know python, I guess the 
 following example will be easy for you:

 \startluacode
  function filter(s)
    if math.mod(s,5) == 0 then
      context.color( { darkred }, s )
    else
      context.color( { darkblue }, s )
    end
  end
 \stopluacode

 \define[1]\MyNumber%
  {\ctxlua{filter(#1)}\endgraf}

 \starttext

 \dorecurse{25}{\MyNumber{\recurselevel}}

 \stoptext

 This should get you going, I hope

 Good luck

 Thomas
___
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] Wiki: Bug: cmd/foo/cmd does not link to foo-reference

2010-12-16 Thread Patrick Gundlach

Am 16.12.2010 um 16:35 schrieb Jonas Stein:

 cmdfoo/cmd
 creates a javascript link that opens a new small window with the 
 reference list inside.
 
 It would be nice, if it would open the corresponding page.
 like 
 http://wiki.contextgarden.net/Reference/en/foo
 
 is that possible?

I'll have a look into it.

Patrick

___
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] Marginal line numbers

2010-12-16 Thread Wolfgang Schuster

Am 16.12.2010 um 22:28 schrieb Jon Crump:

 In python-speak I'd interpret context.color() as a method call on a
 module 'context'. Could you, or anyone, direct me to any documentation
 for this module and a list of the properties and methods that it
 supports?

http://pragma-ade.com/show-man-44.htm

Wolfgang

___
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] 4000 pages limit?

2010-12-16 Thread Jonas Stein
 Yesterday I was trying to typeset a very, very long document (about 3000
 pages in A4). Well, mkiv died with a 

 PANIC: unprotected error in call to Lua API (stack overflow (out of stack 
 space))

 It's easily reproducible with a simple

 \starttext
 \dorecurse{5}{
 \input knuth
 }

 Once it reaches page 4000 it will die.

i could run this
\starttext 
\dorecurse{5}{narf \page}
\stoptext 

==
pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet!
Output written on test.pdf (5 pages, 10574005 bytes).
Transcript written on test.log.
TeXExec | runtime: 310.679998
==

and got 5 pages in one pdf.
Okular is quite slow in opening it and needs 200 MB RAM, but it works.

But i could not use Ctrl-C to break the loop. 
I think that is a bug, or not?

i use this context:
http://packages.debian.org/experimental/context

Kind regards,

-- 
Jonas Stein n...@jonasstein.de

___
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] where is the source repository?

2010-12-16 Thread Jonas Stein
in the wiki are many different links to the source 
repository. 
Most of them look strange, so there is one wich dates on
2010-MAR

What is the repository you are working with?
Somewhere i read about switching to git. 
Do you use git already? 

Kind Regards,

-- 
Jonas Stein n...@jonasstein.de

___
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] Which way to type greek letters in synonym list?

2010-12-16 Thread Jonas Stein

 \abbreviation[ALPHA]{α}{Angle of something}
 \setupbodyfont[termes]
 \starttext
 \ALPHA
 \stoptext

a copy is here now:
http://wiki.contextgarden.net/Reference/en/definesynonyms#Hint

-- 
Jonas Stein n...@jonasstein.de

___
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] Three column nomenclature settings?

2010-12-16 Thread Jonas Stein

 But I want a three-column nomenclature list. The first column is the
 synonym, the second is the meaning, the third is the si-unit of it, if the
 synonym has an unit. Like

you could use
 \define[3]\mynomenclature{...}

http://wiki.contextgarden.net/Reference/en/define


-- 
Jonas Stein n...@jonasstein.de

___
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] FR: Wiki: Button to include code area

2010-12-16 Thread Jonas Stein
My Featurerequest for the Wiki:

in some wikis its possible to enhance the buttons 
in the edit window with own tags.

I would suggest to add 

context source=yes
$text
/context


that should work like the link button that creates [[$text]]

That would be fantastic!
Thank you.

-- 
Jonas Stein n...@jonasstein.de

___
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] how to insert a imagefile like a letter?

2010-12-16 Thread Jonas Stein
 Why do you need a command, symbols are the perfect tool for this
 and with a symbol you can even do this:

i'd like to renew this document:

http://jonasstein.de/lib/exe/fetch.php?id=downloadcache=cachemedia=signaltabelle.pdf

the tex-code would be more readable if i could write \bell\ \bell\ 

kind regards,

-- 
Jonas Stein n...@jonasstein.de

___
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] 4000 pages limit?

2010-12-16 Thread luigi scarso
On Fri, Dec 17, 2010 at 12:04 AM, Jonas Stein n...@jonasstein.de wrote:
 Yesterday I was trying to typeset a very, very long document (about 3000
 pages in A4). Well, mkiv died with a

 PANIC: unprotected error in call to Lua API (stack overflow (out of stack 
 space))

 It's easily reproducible with a simple

 \starttext
 \dorecurse{5}{
 \input knuth
 }
\starttext
 \dorecurse{5}{
 \input knuth
 }\stoptext
also fails after page  [1619.1619]) with
! TeX capacity exceeded, sorry [pool size=1254582].


 i could run this
 \starttext
 \dorecurse{5}{narf \page}
 \stoptext
pdftex is ok
luatex fails with
pagesflushing realpage 3987, userpage 3987
PANIC: unprotected error in call to Lua API (stack overflow (out of
stack space))

 I think that is a bug, or not?
yes, I think so.

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

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