[NTG-context] ConTeXt as a service

2019-11-21 Thread Brian Ballsun-Stanton
In reply to: https://mailman.ntg.nl/pipermail/ntg-context/2019/096313.html

I personally run ConTeXt as a service (as a sort of do-it-yourself
Overleaf).

I use floobits (https://floobits.com/Denubis) as an intermediary code
server, and their floomatic sevice(https://floobits.com/help/floomatic)
running  on a server I have. That then calls a shell script that invokes
ConTeXt, which writes logs and pdfs to an nginx monitored folder. It's been
running for about 4 years now and has been solid enough for me to use
without thinking too much about.

Happy to share code and details. My deployment is super-hacky, but it works?

-Brian
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Brian Ballsun-Stanton
I use 3 steps to make: https://www.fedarch.org/resources/introPamphlet.pdf

Step 1, I lay out each individual page in a document.
Step 2. I make the cover in its own document. (I confess I don't remember
why I chose to do this)
Step 3. And then in a different document, I perform imposition to map the
pages to the folds.

My imposition code:

\definepapersize[sheet][width=99mm,height=210mm]

\setuppapersize[sheet][A4, landscape]
\setuppaper[nx=3, ny=1, dx=0mm, dy=0mm] % must come before \setuparranging!
\setuplayout[page][location=middle, marking=on]
\setuparranging [XY]
\setuplayout
  [backspace=0pt,
topspace=0pt,
   width=middle,
  height=middle,
location=middle,
  header=0pt,
  footer=0pt]

\starttext
\filterpages[../pdf/mobilePamphletInterior.pdf][4][width=0pt]
\filterpages[../pdf/mobilePamphletCover.pdf][2][width=0pt]
\filterpages[../pdf/mobilePamphletCover.pdf][1][width=0pt]
\filterpages[../pdf/mobilePamphletInterior.pdf][1,2,3][width=0pt]

\stoptext





On Fri, 21 Sep 2018 at 23:27, Jan U. Hasecke 
wrote:

> Hi all,
>
> consulting the wiki I found
>
> http://context.aanhet.net/svn/contextman/context-reference/en/co-pagedesign.pdf
> and the command \setuparranging [TRYPTICHON]. So I think that I should
> be able to make a pdf for a flyer and print it with an online printer.
>
> But as I am still very new to ConTeXt, I need a kickstart doing it.
>
> Has anybody made a template for a leaflet flyer. In Germany we call it
> DIN lang afaik, I don't know the English name of the format. But it ends
> up with six pages (width 99mm/ height 210 mm).
>
> TIA
> juh
>
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] WYSIWYM editor on top of ConTeXt / Lout

2017-12-02 Thread Brian Ballsun-Stanton
Hi Jonas,

A desktop editor, not so much. But it'd be wonderful to have a cloud based
one with Git integration. I've rolled my own with floobits and my own VM,
but that doesn't scale and I can't share it with my students.

What you describe has already been worked on by overleaf in terms of a
realtime option instead of a code option. Maybe extending their work would
be a good place to start?
Cheers,
-Brian

On 2 December 2017 at 18:42, Jonas Baggett  wrote:

> Hi everyone,
>
> This is a blog post I recently published: https://jonas17b.wixsite.com/m
> onsite/home/wysiwym-editor-on-top-of-context-lout. It is about some ideas
> I have for a WYSIWYM editor like LyX, but it would be designed for using
> more than 1 backend (e.g. ConTeXt, Lout), and to give a much better user
> experience.
>
> Anyone interested by the concept?
>
> Cheers,
> Jonas
>
> 
> ___
> 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/list
> info/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> 
> ___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Ancient Egyptian Representation

2017-11-09 Thread Brian Ballsun-Stanton
Hi Folks,

I'm trying to figure out ways of representing:



Using computer-intelligable output.

This (if you have a font supporting ancient egyptian installed):


㄂

ゝ





㈖

ぷ

る

㇋

ㅭ


㊵

ポ

㏏

㊪


べ

㈖



㈎

ㅡ

㏏

㇋
is an awful attempt at same using google docs tables inside tables, but
should have the virtue of being interactable-with.

The characters themselves are part of the ancient egpytian block and have
font support (noto by google) ​

The problem is in composition. There's: Above/below (that first "character"
is composed of two), overlapping (that bull-thing with bits), mirrored,
right-to-left and left-to-right, as well as vertical text.

While these characters can be laid out in jsesh or equivalent, the output
is of an *image* instead of something which can be well-represented
(much-less copied and pasted).

As one of the routes of exploration, since I do quite a lot of work in
ConTeXt, I'm wondering what ... modes one would need to be in to even
start thinking about placement here. (I'm avoiding simply placing graphics
objects by hand as that defeats the purpose).

I suppose my question is: is it worth trying to coerce ConTeXt into working
with this, or do I need to investigate a different *sort* of tool entirely?
(probably a purpose-built xml parser or something in that vein).

Cheers,
-Brian
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-08-22 Thread Brian Ballsun-Stanton
Hi Pablo,

It helped. (The numbers are eaten, but I think the example is important.

Thanks for your help.

-Brian

On 22 August 2017 at 03:21, Pablo Rodriguez <oi...@gmx.es> wrote:

> On 08/21/2017 03:15 AM, Brian Ballsun-Stanton wrote:
> > Hey folks, trying to be a good citizen, I added (And quoted) this
> > message onto the wiki:
> >
> > http://wiki.contextgarden.net/TABLE#Footnotes_in_TABLEs
> >
> > I tried for a bit to try to get the example to render, but no footnotes
> > would show at all. Anyone have thoughts as to how to get wiki rendering
> > to work here? And are there any other examples from this thread that
> > should be added?
>
> Hi Brian,
>
> footnotes in the wiki are tricky:
>
> \starttext
> \startbuffer
> \bTABLE[split=repeat,align=normal]
>\bTR\bTD Something\postponenotes\footnote[x]{bla bla}\eTD\eTR
>\bTR\bTD Foo\note[x] \eTD\eTR
> \eTABLE
> \flushnotes
> \stopbuffer
> \getbuffer
> \startTEXpage[offset=1em]
> \getbuffer
> \stopTEXpage
> \stoptext
>
> The second page is similar to the problem with the wiki.
>
> This might be a workaround for the wiki (if I’m not wrong):
>
> \setupnotes[location=text]
> \starttext
> \bTABLE[split=repeat,align=normal]
>\bTR\bTD Something\postponenotes\footnote[x]{bla bla}\eTD\eTR
>\bTR\bTD Foo\note[x] \eTD\eTR
> \eTABLE
> \flushnotes
> \placenotes[footnote]
> \stoptext
>
> Just in cases it helps,
>
> Pablo
> --
> http://www.ousia.tk
> 
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> 
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-08-20 Thread Brian Ballsun-Stanton
Hi Alan,

I'm sorry I'm... fuzzy today.

Are you asking me to add: "\automigrateinserts" to the wiki example as a
different mechanism to demonstrate from earlier in this thread, proposing
it as a different solution this problem, and/or proposing it as a solution
to the "not rendering inside the wiki ConTeXt version?

My apologies for misunderstanding.
-Brian


On 21 August 2017 at 12:35, Alan Braslau <braslau.l...@comcast.net> wrote:

> Perhaps try:
>
> \automigrateinserts
>
> this is needed to handle footnotes within a box.
>
> Alan
>
> On Mon, 21 Aug 2017 11:15:49 +1000
> Brian Ballsun-Stanton <denub...@gmail.com> wrote:
>
> > Hey folks, trying to be a good citizen, I added (And quoted) this
> > message onto the wiki:
> >
> > http://wiki.contextgarden.net/TABLE#Footnotes_in_TABLEs
> >
> > I tried for a bit to try to get the example to render, but no
> > footnotes would show at all. Anyone have thoughts as to how to get
> > wiki rendering to work here? And are there any other examples from
> > this thread that should be added?
> >
> > Also, thanks for this solution, Pablo, it really helped.
> >
> > On 6 July 2017 at 04:51, Pablo Rodriguez <oi...@gmx.es> wrote:
> >
> > > On 07/03/2017 05:00 PM, Andreas Schneider wrote:
> > > > Hello,
> > > >
> > > > in the current ConTeXt Minimals (ver: 2017.06.30 19:45 MKIV beta
> > > > fmt: 2017.7.3) the following example doesn't show any footnotes:
> > > >
> > > > 
> > > > \starttext
> > > > \bTABLE[split=repeat,align=normal]
> > > >\bTR\bTD Something\footnote[x]{bla bla}\eTD\eTR
> > > >\bTR\bTD Foo\note[x] \eTD\eTR
> > > > \eTABLE
> > > > \stoptext
> > > > 
> > >
> > > Hi Andreas,
> > >
> > > this might do what you intend:
> > >
> > > \starttext
> > > \bTABLE[split=repeat,align=normal]
> > >\bTR\bTD Something\postponenotes\footnote[x]{bla bla}\eTD\eTR
> > >\bTR\bTD Foo\note[x] \eTD\eTR
> > > \eTABLE
> > > \flushnotes
> > > \stoptext
> > >
> > > Just in case it helps,
> > >
> > >
> > > Pablo
> > > --
> > > http://www.ousia.tk
> > > 
> > > ___
> > > 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://context.aanhet.net
> > > archive  : https://bitbucket.org/phg/context-mirror/commits/
> > > wiki : http://contextgarden.net
> > > 
> > > ___
> > >
>
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-08-20 Thread Brian Ballsun-Stanton
Hey folks, trying to be a good citizen, I added (And quoted) this message
onto the wiki:

http://wiki.contextgarden.net/TABLE#Footnotes_in_TABLEs

I tried for a bit to try to get the example to render, but no footnotes
would show at all. Anyone have thoughts as to how to get wiki rendering to
work here? And are there any other examples from this thread that should be
added?

Also, thanks for this solution, Pablo, it really helped.

On 6 July 2017 at 04:51, Pablo Rodriguez  wrote:

> On 07/03/2017 05:00 PM, Andreas Schneider wrote:
> > Hello,
> >
> > in the current ConTeXt Minimals (ver: 2017.06.30 19:45 MKIV beta  fmt:
> > 2017.7.3) the following example doesn't show any footnotes:
> >
> > 
> > \starttext
> > \bTABLE[split=repeat,align=normal]
> >\bTR\bTD Something\footnote[x]{bla bla}\eTD\eTR
> >\bTR\bTD Foo\note[x] \eTD\eTR
> > \eTABLE
> > \stoptext
> > 
>
> Hi Andreas,
>
> this might do what you intend:
>
> \starttext
> \bTABLE[split=repeat,align=normal]
>\bTR\bTD Something\postponenotes\footnote[x]{bla bla}\eTD\eTR
>\bTR\bTD Foo\note[x] \eTD\eTR
> \eTABLE
> \flushnotes
> \stoptext
>
> Just in case it helps,
>
>
> Pablo
> --
> http://www.ousia.tk
> 
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> 
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] how to prevent stupid typos?

2017-06-20 Thread Brian Ballsun-Stanton
Hi Pablo,

Your script doesn't have texroot set.

You either need to source ~/.profile (or whatever sets texroot) or
explicitly set it.

At the top of my compile script, I've got:

TEXROOT=/opt/context/tex/
TEXMFOS=$TEXROOT/texmf-linux-64
export PATH=$TEXMFOS/bin:$PATH

I think the fact that you're sourcing setuptex but passing in $1 as a file
path is problematic, since setuptex eats $1 as the texroot.


On 8 June 2017 at 14:05, Pablo Rodriguez <oi...@gmx.es> wrote:

> On 06/07/2017 11:01 PM, Hans Hagen wrote:
> > sure it's no big deal to write such a script but in decades of tex i
> > never felt the need
>
> I wrote a small script for my Linux machine (check-context.sh), to be
> able to check a single file:
>
>   source $HOME/ctxbeta/tex/setuptex
>   mtxrunjit --autogenerate --script check $1
>   echo $1
>
> But when applied to a file, I get the following:
>
>   $ check-context untitled.tex
>   The argument "/home/ousia/untitled.tex" is not a valid TEXROOT path.
>   (There is no file "/home/ousia/untitled.tex/texmf/tex/plain
>   /base/plain.tex")
>   8  grouping error  ode[abc]  This is \linenote{abed
>intended.\stopt
>10  missing stop  enote{abed intended.\stoptext
>  (see line 7)
>
>   untitled.tex
>
> I mean, I get the output, but after an error. $1 has full path in the
> first ocurrence, but it has only the relative path with echo.
>
> Of course, I get not error by direct invocation:
>
>   $ mtxrunjit --autogenerate --script check untitled.tex
>   8  grouping error  ode[abc]  This is \linenote{abed
>intended.\stopt
>10  missing stop  enote{abed intended.\stoptext
> (see line 7)
>
> What am I doing wrong here?
>
> Many thanks for your help,
>
> Pablo
> --
> http://www.ousia.tk
> 
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ________
> ___
>



-- 

<http://fedarch.org/>

Brian Ballsun-Stanton Ph.D.
FAIMS Project <http://fedarch.org/> - Data Architect
<http://www.mendeley.com/profiles/brian-ballsun-stanton/>
br...@fedarch.org 0479 178 749
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Module for Markdown: any volunteer to make a ConTeXt interface?

2017-05-06 Thread Brian Ballsun-Stanton
For what it's worth, the folks I work with would find it very valuable. Our
team currently composes on drive and I have to kick things in various ways
via pandoc to get it into our ConTeXt server (multi-user editing with
floobits is ... kinda neat). Reducing complexity of that would be
wonderful. I also use the md mechanism in journal publishing (
https://github.com/sx-archipelagos/sxa) -- and would find it very useful
there.

(The other route that would be very useful here is any paperpile
integration, but that's rather outside the scope of this discussion).

On 6 May 2017 at 18:28, Hans Hagen <pra...@wxs.nl> wrote:

> On 5/5/2017 9:54 PM, Aditya Mahajan wrote:
>
>> On Thu, 4 May 2017, Mojca Miklavec wrote:
>>
>> Hi,
>>>
>>> There's a really nice module for processing markdown:
>>> https://github.com/Witiko/markdown
>>> that has been presented during the TUG meeting and is included in TeX
>>> Live.
>>>
>>
>> This is a fork of luamark (by the author of pandoc). Wouldn't it be
>> better to provide an interface around that? Is it simply providing a tex
>> interface around luamark or are there any changes in the parser as well.
>>
>> Any idea how it compares with the markdown parser in m-markdown already
>> included in ConTeXt?
>>
>
> that one was written when i tested some other lua thing that was very
> slow/inefficient .. irr some of the improved code was backported but as i
> never use markdown i didn't keep track of it (maybe some day i'll pick up
> that tread for mixed source coding or so)
>
> Hans
>
>
> -
>   Hans Hagen | PRAGMA ADE
>   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -
>
> 
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/list
> info/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ____________
> ___
>



-- 

<http://fedarch.org/>

Brian Ballsun-Stanton Ph.D.
FAIMS Project <http://fedarch.org/> - Data Architect
<http://www.mendeley.com/profiles/brian-ballsun-stanton/>
br...@fedarch.org 0479 178 749
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] ntg-context Digest, Vol 142, Issue 52

2016-04-19 Thread Brian Ballsun-Stanton
I'm dealing with a 500 page book (if you give me your github username, I'll
happily add you to the repo) and many of these problems emerge only at
scale. (when I render individual chapters, there are no issues, but when
rendering the whole book, the tables just have all sorts of formatting
issues.)

Here's a working example

% engine=luajittex
\startenvironment env_trap
\enableregime[utf-8]
\setupcolors[state=start]
\setupreferencing[autofile=yes]
\setupinteraction[state=start, color=blue, contrastcolor=blue, style={\tf}]
\usemodule[simplefonts]

\usemodule[database]
% Enable hyperlinks

\setuppapersize [A4][A4]
\definepapersize[standing][A4][A4]
\definepapersize[lying][A4,landscape][A4]
\setuplayout[width=middle,  backspace=.75in, cutspace=.75in,
 height=middle, topspace=.5in, bottomspace=.5in]

\setupbodyfont[11pt]

\setupwhitespace[none]

\setupcaption[table][location=top]
\setupcaptions[style={\tfx}, width=.9\textwidth,align=middle]

   \unprotect
   \appendtoks
 \setupbackgrounds[\v!page][\c!background=\makeupparameter\c!background]
   \to \t_page_makeup_every_setup
   \protect


\defineseparatedlist[CSV]
  [separator={,},
   quotechar={"},
   left=\bTD,right=\eTD,
   first=\bTR,last=\eTR,
   before=\bTABLE,after=\eTABLE]


\setupTABLE[c][each][align=flushleft,style={\tfx},width=fit]
\setupTABLE[r][1][background=color,backgroundcolor=gray,style={\tf}]
\setupTABLE[align=middle]
\setuppagenumbering[alternative=doublesided]

\stopenvironment

\starttext

\placetable[here][tab01]{Kazanlak site numbers, aggregate area and average
area
through through time}{
\setupTABLE[c][each][align=middle,style={\tfx},alignmentcharacter={.},aligncharacter=yes]
\chardef\characteralignmentmode=2
\startCSV
Period,NL,Chl,EBA,LBA,EIA,LIA,RM,LA,BYZ,MA,OTT
Aggregate Area (ha),1.5,2.9,5.0,6.7,21.5,43.3,54.9,31.2,24.4,30.7,94.9
Site Count,3,6,10,7,23,38,23,19,15,21,15
Avg Area (ha),0.5,0.5,0.5,1.0,0.9,1.1,2.4,1.6,1.6,1.5,6.3
\stopCSV
}

\stoptext

And I wasn't able to cause it to fail via a trivial 'making it a component'
and calling it from a project.



> --
>
> Message: 5
> Date: Mon, 18 Apr 2016 22:11:28 +0200
> From: Hans Hagen <pra...@wxs.nl>
> To: ntg-context@ntg.nl
> Subject: Re: [NTG-context] Table index is nil
> Message-ID: <57153f70.6050...@wxs.nl>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> On 4/18/2016 3:59 AM, Brian Ballsun-Stanton wrote:
> > I'm getting (suddenly) an error:
> > ...ext/tex/texmf-context/tex/context/base/mkiv/font-hsh.lua:124: table
> > index is nil
> >
> >
> > And I have a bunch of tables:
> >
> >
> > \placetable[here][tab01]{Kazanlak site numbers, aggregate area and
> > average area
> > through through time}{
> >
> \setupTABLE[c][each][align=middle,style={\tfx},alignmentcharacter={.},aligncharacter=yes]
> > \chardef\characteralignmentmode=2
> > \startCSV
> > Period,NL,Chl,EBA,LBA,EIA,LIA,RM,LA,BYZ,MA,OTT
> > Aggregate Area (ha),1.5,2.9,5.0,6.7,21.5,43.3,54.9,31.2,24.4,30.7,94.9
> > Site Count,3,6,10,7,23,38,23,19,15,21,15
> > Avg Area (ha),0.5,0.5,0.5,1.0,0.9,1.1,2.4,1.6,1.6,1.5,6.3
> > \stopCSV
> > }
> >
> > The odd thing is that no other chapters of the book (all of which use
> > the same environment, and many use the same table)
> >
> > When I comment out the series of tables, the errors go away.
> > I've just rerun first-setup.sh just out of paranoia. mtx-context |
> > current version: 2016.04.17 11:56
>
> i really need a small *working* example for this
>
>
>
___
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] Table index is nil

2016-04-17 Thread Brian Ballsun-Stanton
I'm getting (suddenly) an error:
...ext/tex/texmf-context/tex/context/base/mkiv/font-hsh.lua:124: table
index is nil


And I have a bunch of tables:


\placetable[here][tab01]{Kazanlak site numbers, aggregate area and average
area
through through time}{
\setupTABLE[c][each][align=middle,style={\tfx},alignmentcharacter={.},aligncharacter=yes]
\chardef\characteralignmentmode=2
\startCSV
Period,NL,Chl,EBA,LBA,EIA,LIA,RM,LA,BYZ,MA,OTT
Aggregate Area (ha),1.5,2.9,5.0,6.7,21.5,43.3,54.9,31.2,24.4,30.7,94.9
Site Count,3,6,10,7,23,38,23,19,15,21,15
Avg Area (ha),0.5,0.5,0.5,1.0,0.9,1.1,2.4,1.6,1.6,1.5,6.3
\stopCSV
}

The odd thing is that no other chapters of the book (all of which use the
same environment, and many use the same table)

When I comment out the series of tables, the errors go away.
I've just rerun first-setup.sh just out of paranoia. mtx-context |
current version: 2016.04.17 11:56
___
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] Interactionmenu not creating a button for the final page

2016-04-11 Thread Brian Ballsun-Stanton
Awesome. Thanks!

On 12 April 2016 at 03:16, <ntg-context-requ...@ntg.nl> wrote:

>
>
> --
>
> Message: 4
> Date: Mon, 11 Apr 2016 19:05:39 +0200
> From: Hans Hagen <pra...@wxs.nl>
> To: ntg-context@ntg.nl
> Subject: Re: [NTG-context] Interactionmenu not creating a button for
> the final page
> Message-ID: <570bd963.4050...@wxs.nl>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> On 4/11/2016 9:47 AM, Brian Ballsun-Stanton wrote:
>
> > it seems that the interactionmenu doesn't have a button for the final
> > page. I'm assuming I did something wrong, but I'm not quite sure what it
> > is.
>
> it's a bug in subpages (reference needs page offset) ... fixed in next
> upload
>
> Hans
>
> -
>Hans Hagen | PRAGMA ADE
>Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
> -
>
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

[NTG-context] Interactionmenu not creating a button for the final page

2016-04-11 Thread Brian Ballsun-Stanton
Given the following code:

\enableregime [utf]
> \mainlanguage [en]
> \definepapersize[sheet][width=1280px, height=960px]
> \setuppapersize[sheet][sheet]
> \setupexternalfigures[directory={img,
> /home/ubuntu/EGU2016-Presentation,
> /home/ubuntu/ConTeXt/img}]
> \usemodule[simplefonts]
> \setmainfont[Adventor][expansion=quality,protrusion=quality]
> \setupcolors[state=start]
> \definecolor[faimsblue][h=1B3E93]
> \definecolor[faimsorange][h=F68E1E]
> \setuphead[section][placehead=yes, page=yes, number=no, align=middle,
> style={\setupbodyfont[40pt]}]
>
> \setuplayout[
> backspace=.01\pagewidth,
> header=0pt,
> footer=.02\pageheight,
> topspace=.185\pageheight,
> cutspace-.1\pagewidth,
> width=.87\pagewidth,
> height=.798\pageheight,
> bottomspace=.8cm,
> bottom=12pt
> ]
> \setuppagenumbering[location=]
> \setupinteraction
>   [page=yes,
>color=faimsblue,
>contrastcolor=faimsorange,
>menu=on,
>state=start]
> \setupsubpagenumber
>   [way=bytext,
>state=start]
> \startinteractionmenu[bottom]
> {\interactionbar[alternative=f,width=\makeupwidth,height=2ex]}
> \stopinteractionmenu
> \starttext
> \input knuth
> \section{section 1}
> \input knuth
>
> \section{section 2}
> \input knuth
>
>
> \section{section 3}
> \input knuth
>
>
> \section{section 4}
> \input knuth
> \stoptext


(used in a real presentation:
http://context.fedarch.org/Context/presentation.pdf with environment at
https://github.com/FAIMS/EGU2016-Presentation/blob/master/envpresentation.tex
)

it seems that the interactionmenu doesn't have a button for the final page.
I'm assuming I did something wrong, but I'm not quite sure what it is.
___
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] non-splitting footnotes

2016-03-07 Thread Brian Ballsun-Stanton
Hi folks,

http://context.fedarch.org/Context/trapChapter16_petra.pdf page 7-8 there's
a very large space due to a footnote.

I've tried to induce footnote splitting (I just updated to mtx-context
| current version: 2016.03.04 10:39) but it doesn't seem to work.

All the discussion on this list is... 8 years old. What is a correct way of
solving the long footnote not splitting over pages problem (besides
shooting the author?)

Cheers,
-Brian
___
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] On the topic of fonts

2016-03-02 Thread Brian Ballsun-Stanton
Hi Wolfgang, Pablo.

I'm having a great deal of difficulties deploying custom user fonts using
the luatex loading sequence with either the new or old simplefonts setups.

Is there a wiki page which is most correct on how to go from "no user font
loaded" to "define font family, \input knuth" with instructions? I've got
the feeling I've been looking in the wrong places.

For the most desirable user font, can we presume 14.04 and the system
package fonts-roboto? (ttf) or I'm happy to attach the .otf compiled
versions I made if you think that worthwhile. We certainly can use whatever
directories we want -- but I'm just unsure about how to most consistently
achieve this.

Cheers,
-Brian
___
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
___