[NTG-context] Hyphenation documentation

2013-04-20 Thread Sietse Brouwer
Hello all,

I've just pulled together some questions of mine and their answers,
and written them up into a hyphenation Q&A.
http://wiki.contextgarden.net/Hyphenation
http://wiki.contextgarden.net/Command/definebreakpoint

Unfortunately, there are still some holes in the documentation I
wrote. Questions I still have, and which I now pose to the list:

1. how do I protect a single instance of a word against hyphenation?
Does ConTeXt, like LaTeX, use \hbox{myfragileword}, or something
different?

2. In the command \definebreakpoint, what do these keys do? I can't
get them to do anything (MWE below)
** left
** middle
** right

3. Is there perhaps a bug in breakpoints of type 2 and 3. (MWE below.)
The key 'type' seems to control where hyphens appear. If 1 is a
hyphenation character of type 1, etc, this is the observed behaviour
(`/` is the linebreak):
...1...1  / ...
...2...   / 2-...   % I would expect: ...2... / -2...
...3...-3 / ... % I would expect: ...3...3- / ...
...4...4  / 4...
../ ... % breakpoint of type 5 just disappears

If this behaviour is not a bug: is there a way to set a breakpoint X
that produces ...X...X- / ...?

Cheers,
Sietse

% 2013-04-20
\definebreakpoints[aapje]
\definebreakpoint [aapje] [1] [nleft=3,nright=3,type=1]
\definebreakpoint [aapje] [2] [nleft=3,nright=3,type=2]
\definebreakpoint [aapje] [3] [nleft=3,nright=3,type=3]
\definebreakpoint [aapje] [4] [nleft=3,nright=3,type=4]
\definebreakpoint [aapje] [5] [nleft=3,nright=3,type=5]
\definebreakpoint [aapje] [6] [nleft=3,nright=3,left=X,middle=Y,right=Z]
\setbreakpoints[aapje]

\setuppapersize[A7]
\showframe

\starttext

\setupwhitespace[big]
aapje1aapje1aapje1aapje1aapje1aapje1aapje \par
aapje2aapje2aapje2aapje2aapje2aapje2aapje \par
aapje3aapje3aapje3aapje3aapje3aapje3aapje \par
aapje4aapje4aapje4aapje4aapje4aapje4aapje \par
aapje5aapje5aapje5aapje5aapje5aapje5aapje \par
aapje6aapje6aapje6aapje6aapje6aapje6aapje \par
\stoptext
___
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] rotated placetable

2013-04-20 Thread Alan BRASLAU
On Sat, 20 Apr 2013 17:09:45 +0200
Wolfgang Schuster  wrote:

> This is nonsense because \startTEXpage … \stopTEXpage is supposed to
> create a standalone page on your document where you can control the
> width/height of the page.

It seemed to me to be a strange use of TEXpage, but I was just following
your own suggestion of Fri, 01 Oct 2010 09:13:39, see,
http://www.mail-archive.com/ntg-context@ntg.nl/msg49606.html
so nonsense indeed! :)
 
> It’s hard to tell why you need this without a example but you can try
> to force the table width with \bTABLE[textwidth=\textheight].

Indeed, this is the proper solution (and gives a better result). I had
tried "width=\textheight" but this set the width of *all* columns to
\textheight!

Thanks again!

Ala
-- 
Alan Braslau
CEA DSM-IRAMIS-SPEC
CNRS URA 2464
Orme des Merisiers
91191 Gif-sur-Yvette cedex FRANCE
tel: +33 1 69 08 73 15
fax: +33 1 69 08 87 86
mailto:alan.bras...@cea.fr
___
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] rotated placetable

2013-04-20 Thread Wolfgang Schuster

Am 20.04.2013 um 15:35 schrieb Alan BRASLAU :

> On Sat, 20 Apr 2013 14:24:25 +0200
> Wolfgang Schuster  wrote:
> 
>> \startplacetable[location={page,90},title=Table caption]
>> …
>> \stopplacetable
> 
> Thank you Wolfgang!
> 
> I find it necessary to do the following:
> 
> \startplacetable [location={page,90},title=Table caption]
>   \startTEXpage [width=\textheight]
>   …
>   \stopTEXpage
> \stopplacetable
> 
> The \startTEXpage [width=\textheight] … \stopTEXpage
> is necessary in order to get the content (table macros: \bTABLE
> \eTABLE) to work correctly.
> 
> I had thought that it would have made sense to use "width=\textheight"
> with \startplacetable, but this did not work.

This is nonsense because \startTEXpage … \stopTEXpage is supposed to create
a standalone page on your document where you can control the width/height
of the page.

It’s hard to tell why you need this without a example but you can try to force
the table width with \bTABLE[textwidth=\textheight].

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] Kile for ConTeXt

2013-04-20 Thread Prashanth

Being lazy, I'll copy-paste an answer I wrote elsewhere:

I use Kile. I found a syntax highlighter at KDE-files.org. I modified it 
based on the LaTeX highlighting file to (1) allow spell-checking only in 
text sections and (2) show section* headings in bold. I prefer to use 
the extensions, .mkii and .mkiv to prevent confusing the text editor. 
You may want to change that. You can find it at 
http://pastebin.com/Ac3Lt369. Save it as 
~/.kde4/share/apps/katepart/syntax/context.xml.


Auto-completion works on all words, including keywords, but it's not 
"smart": the suggestions are based on what you have written so far.


On 19/04/13 19:51, Jan Heinen wrote:
Does anyone here uses Kile for ConTeXt? On contextgarden-wiki I read 
"has native ConTeXt support as well". I installed Kile and as the only 
thing concerning ConTeXt II found


Build -> Compile -> ConTeXt

But no highlighting or autocompletion. Google gave no answer.
Do I have to install an additional aplugin?

Regards
Janis
___ 

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
___ 



___
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] rotated placetable

2013-04-20 Thread Alan BRASLAU
On Sat, 20 Apr 2013 14:24:25 +0200
Wolfgang Schuster  wrote:

> \startplacetable[location={page,90},title=Table caption]
> …
> \stopplacetable

Thank you Wolfgang!

I find it necessary to do the following:

\startplacetable [location={page,90},title=Table caption]
\startTEXpage [width=\textheight]
…
\stopTEXpage
\stopplacetable

The \startTEXpage [width=\textheight] … \stopTEXpage
is necessary in order to get the content (table macros: \bTABLE
\eTABLE) to work correctly.

I had thought that it would have made sense to use "width=\textheight"
with \startplacetable, but this did not work.

Alan
___
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] stoppers in section heading without having stoppers in references?

2013-04-20 Thread Sanjoy Mahajan
Thank you, that worked perfectly -- now wikified on the References page.

-Sanjoy
___
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] rotated placetable

2013-04-20 Thread Wolfgang Schuster

Am 20.04.2013 um 13:59 schrieb Alan BRASLAU :

> Hello,
> 
> On October 1, 2010 Mojca asked about inserting a rotated page content
> (landscape) in an otherwise portrait document, keeping the headers and
> footers upright. The suggested solution was essentially
>   \rotate [rotation=90] {\startTEXpage
>   [width=\textheight,height=\textwidth]
>   ...
>   \stopTEXpage}
> 
> I would like to place a wide table rotated as above, keeping the page
> headers and footers upright. In other words, I would like to do
> something like
>   \startplacetable [location=page,orientation=90,title=Table
>   caption]
>   ...
>   \stopplacetable
> That is, rotate the table contents *and its caption*, but not the page
> header and footer.
> 
> Note that the following will indeed rotate the contents but not the
> caption.
>   \startplacetable [title=Table caption]
>   \rotate [rotation=90] {\startTEXpage
>   ...
>   \stopTEXpage}
>   \stopplacetable

\startplacetable[location={page,90},title=Table caption]
…
\stopplacetable

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] rotated placetable

2013-04-20 Thread Alan BRASLAU
Hello,

On October 1, 2010 Mojca asked about inserting a rotated page content
(landscape) in an otherwise portrait document, keeping the headers and
footers upright. The suggested solution was essentially
\rotate [rotation=90] {\startTEXpage
[width=\textheight,height=\textwidth]
...
\stopTEXpage}

I would like to place a wide table rotated as above, keeping the page
headers and footers upright. In other words, I would like to do
something like
\startplacetable [location=page,orientation=90,title=Table
caption]
...
\stopplacetable
That is, rotate the table contents *and its caption*, but not the page
header and footer.

Note that the following will indeed rotate the contents but not the
caption.
\startplacetable [title=Table caption]
\rotate [rotation=90] {\startTEXpage
...
\stopTEXpage}
\stopplacetable

Alan
___
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] use plain LuaTeX in ConTeXt standalone

2013-04-20 Thread Hans Hagen

On 4/20/2013 12:43 PM, Tim Li wrote:

Yeah, I found that just now, so I changed "luatex-plain.fmt" to
"luatex.fmt". I try to move the new "luatex.fmt" to some directory in
the ConTeXt standalone, but it seems that the kpathsea can't find my
"luatex.fmt".


I'll add this

mtxrun --script plain --make
mtxrun --script plain somefile.tex

on windows: copy context.exe to plain.exe to get a stub, after that you 
can do just


plain --make
plain somefile.tex

--jit is also supported

(I will probably add some more plain support i.e. mess abit with 
luatexfication of plain some day. Not that I use it myself, more for 
testing issues.)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | 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
___


Re: [NTG-context] use plain LuaTeX in ConTeXt standalone

2013-04-20 Thread Marco Patzer
On 2013–04–20 Hans Hagen wrote:

> >1) Create a file “luatex-plain.tex” with the following context:
> >
> >\input plain
> >\directlua {tex.enableprimitives('', tex.extraprimitives())}
> >\pdfoutput=1
> >\everyjob \expandafter {%
> > \the\everyjob
> > \input luatex-basics\relax
> > \input luatex-fonts\relax
> > \input luatex-mplib\relax
> >}
> >\edef\fmtversion{\fmtversion+luatex}
> >\dump
> 
> there is a luatex-plain.tex in the context distribution

Indeed. That's probably where I got the snippet from.

@Tim: That means running

  luatex --ini luatex-plain.tex

is sufficient.


Marco


signature.asc
Description: Digital 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] use plain LuaTeX in ConTeXt standalone

2013-04-20 Thread Tim Li
Yeah, I found that just now, so I changed "luatex-plain.fmt" to "luatex.fmt". I 
try to move the new "luatex.fmt" to some directory in the ConTeXt standalone, 
but it seems that the kpathsea can't find my "luatex.fmt". Tim
 Date: Sat, 20 Apr 2013 12:37:19 +0200
From: home...@lavabit.com
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] use plain LuaTeX in ConTeXt standalone

On 2013�C04�C20 Tim Li wrote:
 
> Marco, many thanks. By the way, how can I load the
> `luatex-plain.fmt` by default when typing "luatex somefile.tex"?   
 
TeX checks for a format which is named the same as the binary. You
can create a link:
 
  ln -s /path/to/binary/luatex luatex-plain
 
and then call
 
  luatex-plain somefile.tex
 
and it'll use the format “luatex-plain”.
 
 
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
___
   ___
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] use plain LuaTeX in ConTeXt standalone

2013-04-20 Thread Hans Hagen

On 4/20/2013 12:05 PM, Marco Patzer wrote:

On 2013–04–20 Tim Li wrote:


Hi, many context users are also luatex user, and the context standalone also 
contains luatex binary (windows). I input the 'luatex' in the cmd, but it can't 
work. The message is as follows: d:\>luatex
luatex
This is LuaTeX, Version beta-0.77.0-2013041621 (rev 4633)
  \write18 enabled.
**\relax
I can't find the format file `luatex.fmt'!kpathsea: Running mktexfmt 
luatex.fmtThe command name is D:\context\tex\texmf-mswin\bin\mktexfmt Since 
there is not mktexfmt in the context standalone, is that mean I can't use plain 
luatex in the context standalone?  


1) Create a file “luatex-plain.tex” with the following context:

\input plain
\directlua {tex.enableprimitives('', tex.extraprimitives())}
\pdfoutput=1
\everyjob \expandafter {%
 \the\everyjob
 \input luatex-basics\relax
 \input luatex-fonts\relax
 \input luatex-mplib\relax
}
\edef\fmtversion{\fmtversion+luatex}
\dump


there is a luatex-plain.tex in the context distribution

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | 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
___


Re: [NTG-context] use plain LuaTeX in ConTeXt standalone

2013-04-20 Thread Marco Patzer
On 2013–04–20 Tim Li wrote:

> Marco, many thanks. By the way, how can I load the
> `luatex-plain.fmt` by default when typing "luatex somefile.tex"?   

TeX checks for a format which is named the same as the binary. You
can create a link:

  ln -s /path/to/binary/luatex luatex-plain

and then call

  luatex-plain somefile.tex

and it'll use the format “luatex-plain”.


Marco


signature.asc
Description: Digital 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] use plain LuaTeX in ConTeXt standalone

2013-04-20 Thread Tim Li
Marco, many thanks. By the way, how can I load the `luatex-plain.fmt` by 
default when typing "luatex somefile.tex"?   
 Date: Sat, 20 Apr 2013 12:05:25 +0200
From: home...@lavabit.com
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] use plain LuaTeX in ConTeXt standalone

On 2013�C04�C20 Tim Li wrote:
 
> Hi, many context users are also luatex user, and the context standalone also 
> contains luatex binary (windows). I input the 'luatex' in the cmd, but it 
> can't work. The message is as follows: d:\>luatex
> luatex
> This is LuaTeX, Version beta-0.77.0-2013041621 (rev 4633) 
>  \write18 enabled.
> **\relax
> I can't find the format file `luatex.fmt'!kpathsea: Running mktexfmt 
> luatex.fmtThe command name is D:\context\tex\texmf-mswin\bin\mktexfmt Since 
> there is not mktexfmt in the context standalone, is that mean I can't use 
> plain luatex in the context standalone?  
 
1) Create a file “luatex-plain.tex” with the following context:
 
\input plain
\directlua {tex.enableprimitives('', tex.extraprimitives())}
\pdfoutput=1
\everyjob \expandafter {%
\the\everyjob
\input luatex-basics\relax
\input luatex-fonts\relax
\input luatex-mplib\relax
}
\edef\fmtversion{\fmtversion+luatex}
\dump
 
2) Build the format:
 
  luatex --ini luatex-plain.tex
 
3) Compile with:
 
  luatex --fmt=luatex-plain.fmt somefile.tex
 
 
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
___
   ___
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] use plain LuaTeX in ConTeXt standalone

2013-04-20 Thread Marco Patzer
On 2013–04–20 Tim Li wrote:

> Hi, many context users are also luatex user, and the context standalone also 
> contains luatex binary (windows). I input the 'luatex' in the cmd, but it 
> can't work. The message is as follows: d:\>luatex
> luatex
> This is LuaTeX, Version beta-0.77.0-2013041621 (rev 4633) 
>  \write18 enabled.
> **\relax
> I can't find the format file `luatex.fmt'!kpathsea: Running mktexfmt 
> luatex.fmtThe command name is D:\context\tex\texmf-mswin\bin\mktexfmt Since 
> there is not mktexfmt in the context standalone, is that mean I can't use 
> plain luatex in the context standalone?  

1) Create a file “luatex-plain.tex” with the following context:

\input plain
\directlua {tex.enableprimitives('', tex.extraprimitives())}
\pdfoutput=1
\everyjob \expandafter {%
\the\everyjob
\input luatex-basics\relax
\input luatex-fonts\relax
\input luatex-mplib\relax
}
\edef\fmtversion{\fmtversion+luatex}
\dump

2) Build the format:

  luatex --ini luatex-plain.tex

3) Compile with:

  luatex --fmt=luatex-plain.fmt somefile.tex


Marco


signature.asc
Description: Digital 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
___

[NTG-context] use plain LuaTeX in ConTeXt standalone

2013-04-20 Thread Tim Li
Hi, many context users are also luatex user, and the context standalone also 
contains luatex binary (windows). I input the 'luatex' in the cmd, but it can't 
work. The message is as follows: d:\>luatex
luatex
This is LuaTeX, Version beta-0.77.0-2013041621 (rev 4633) 
 \write18 enabled.
**\relax
I can't find the format file `luatex.fmt'!kpathsea: Running mktexfmt 
luatex.fmtThe command name is D:\context\tex\texmf-mswin\bin\mktexfmt Since 
there is not mktexfmt in the context standalone, is that mean I can't use plain 
luatex in the context standalone?___
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] Is fine-grained grid control possible?

2013-04-20 Thread Tom Ellis
On Fri, Apr 19, 2013 at 02:13:44PM -0400, Aditya Mahajan wrote:
> On Fri, 19 Apr 2013, Tom Ellis wrote:
> 
> >On Fri, Apr 19, 2013 at 09:58:47AM -0400, Aditya Mahajan wrote:
> >>On Fri, 19 Apr 2013, Tom Ellis wrote:
> >>
> >>>Is ConTeX a good fit for my needs?  How could I do it?
> >>>
> >>>Here are some examples of the kind of thing I would like to do that I 
> >>>pulled
> >>>from an image search for "checklist"
> >>
> >>Most of these are simple tables with itemized lists. I don't think
> >>that you need grid or any other fine-grained control to get this
> >>output. So, the short answer is yes, ConTeXt can easily do such
> >>checklists.
> >
> >Agreed, but for the checklists I want to make I would prefer more
> >fine-grained control.
> 
> Then please give an example of the type of checklists that you want
> to make rather than picking random samples from google. Otherwise,
> it is impossible to answer whether what you have in mind is feasible
> in ConTeXt or not.

I care about having fine-grained control over the exact placement of labels
and boxes.  That is, can I place boxes and text labels at exact coordinates
on a page, either in absolute terms or relative to each other?  That's all
I'm after.

Tom

___
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] Is fine-grained grid control possible?

2013-04-20 Thread Tom Ellis
On Fri, Apr 19, 2013 at 09:58:47AM -0400, Aditya Mahajan wrote:
> On Fri, 19 Apr 2013, Tom Ellis wrote:
> 
> >I asked a question on tex.stackoverflow, and it was suggested ConTeXt could
> >help and that I should repost my question here.
> >
> >   
> > http://tex.stackexchange.com/questions/108850/is-fine-grained-grid-control-possible
> >
> >I want to make a variety of checklists which are essentially based on a grid
> >layout.  I care about having fine-grained control over the exact placement
> >of labels and boxes.  I do not care about paragraphs, hypenation, equations,
> >or anything like that which I know TeX is very good at.
> >
> >Is ConTeX a good fit for my needs?  How could I do it?
> >
> >I've already though about Tikz and PGF but I don't think they give me enough
> >fine-grained control.  If I fail to find a way to solve my problem using TeX
> >I will probably explore SVG and PostScript.
> >
> >Here are some examples of the kind of thing I would like to do that I pulled
> >from an image search for "checklist"
> >
> >* 
> >https://studenttechportfolio.wikispaces.com/file/view/checklist.png/34343465/checklist.png
> >* 
> >http://checklisttemplate911.com/wp-content/uploads/2012/02/checklist-template12.jpg
> >* http://img.docstoccdn.com/thumb/orig/72289360.png
> >* http://www.bimmerfest.com/forums/attachment.php?attachmentid=88940&stc=1
> >* 
> >http://theorganisedhousewife.com.au/shop/wp-content/uploads/2012/12/conference-checklist.jpg
> >* 
> >http://2.bp.blogspot.com/-piQobSY-8Mw/Tcihq580IgI/AgE/Fd0AQD1e69Y/s1600/Operator_Page_1.jpg
> >* 
> >http://www.dbh.govt.nz/UserFiles/Image/Publications/building/weathertightness/remediation-checklist-2.gif
> >* http://spxcooling.com/images/M92-1447C-s.jpg
> 
> Most of these are simple tables with itemized lists. I don't think
> that you need grid or any other fine-grained control to get this
> output. So, the short answer is yes, ConTeXt can easily do such
> checklists.

Agreed, but for the checklists I want to make I would prefer more
fine-grained control.
___
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
___