[NTG-context] problem with \startcolumns[distance=0pt]

2012-08-06 Thread Peter Münster
Hi,

The distance is not 0pt here (MKIV):

--8<---cut here---start->8---
\starttext
\startcolumns[distance=0pt]
\input tufte
\stopcolumns
\stoptext
--8<---cut here---end--->8---

-- 
   Peter
___
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] Et tu, Taco?

2012-08-06 Thread Bill Meahan

On 08/06/2012 03:42 PM, Alan BRASLAU wrote:



Oh, you mean TECO...

Alan



Yup. Type in your name on the command line and try to guess what it will 
do. :)

--
Bill Meahan, Westland, Michigan USA

“Writing is a combination of intangible
  creative fantasy and appallingly
  hard work.”

  —Anthony Powell


This message is digitally signed with an X.509 certificate
to prove it is from me and has not been altered since it was sent.



smime.p7s
Description: S/MIME Cryptographic 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] Marking a textfragment for later reference

2012-08-06 Thread Robert Blackstone

On 6 aug. 2012, Mon, 6 Aug 2012 14:16:09 +020
Wolfgang Schuster  wrote
> Am 06.08.2012 um 09:41 schrieb Robert Blackstone 
> :
> 
>> Thank you Marco. Another very useful tool for me. I realize now that many 
>> things with labels can be used as anchors for references, and I'm still a 
>> bit surprised that a delimited text with a label cannot be used that way.
> 
> Where has the delimited text in your example a label?
> 
> Wolfgang


I had not included a minimal example but I had run some trials. Since they did 
not work, and you gave me a good solution, I trashed them. I kept the pdf's 
though, in which I included the source. So I can reconstruct the examples.
I'll try to make it again tomorrow morning. I would be interested to learn what 
sort of errors I committed.
Kind regards,
Robert Blackstone
___
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] Et tu, Taco?

2012-08-06 Thread Alan BRASLAU
> On 06/08/2012 14:54 Bill Meahan wrote:
>
> On 08/05/2012 05:00 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: 
> > Dear Knights of the ConTeXt Table, 
> > 
> > I am sad to report that our beloved Taco has gone over to the dark
> > side: 
> > 
> > http://tacosw.com/latexian/ 
> > 
> > Is there a Merlin among us to bring back our holy grail? Wolfgang?
> > Luigi? 
> > 
> > :D 
> > 
> > Best wishes 
> > Idris 
> 
> Poor Taco. Other than the "tabs" he has managed to duplicate the 
> features Emacs has had for some time now albeit at the expense of 
> installing a couple of optional packages. Then there's Lyx,
> Texworks... 
> 
> Perhaps we need our own deprogrammers to help rescue our community 
> members from the Cult of Mac. :) 
> 
> -- 
> Bill Meahan, Westland, Michigan USA
> 
> 
> “Writing is a combination of intangible 
> creative fantasy and appallingly 
> hard work.” 
> 
> —Anthony Powell 

Oh, you mean TECO...

Alan

-- 
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] Layers

2012-08-06 Thread Bill Meahan

On 08/06/2012 02:47 PM, luigi scarso wrote:



http://archive.contextgarden.net/message/20090628.103925.be696f95.en.html



I'll add that to the wiki under Layers where it will be a little easier 
to find. :)


Many, many thanks!

--
Bill Meahan, Westland, Michigan USA

“Writing is a combination of intangible
  creative fantasy and appallingly
  hard work.”

  —Anthony Powell


This message is digitally signed with an X.509 certificate
to prove it is from me and has not been altered since it was sent.



smime.p7s
Description: S/MIME Cryptographic 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] Layers

2012-08-06 Thread luigi scarso
On Mon, Aug 6, 2012 at 8:06 PM, Bill Meahan  wrote:

> Is there any issue with "stacking" layers on top of each other?
>
> What I want to do is create a newsletter nameplate consisting of a base
> layer containing a JPEG graphic of a logo, a partially-transparent layer
> above that to screen the graphic and a top layer containing the newsletter
> name in a large and fancy font ala' *The New York Times" & al.
>
> I've already created a nameplate in Inkscape and can simply place the
> resultant graphic but I'd like to do the whole thing in ConTeXt if I can as
> I could easily use the technique in other situations.
>
> I'll wikify any answers.
>
>
http://archive.contextgarden.net/message/20090628.103925.be696f95.en.html


-- 
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] Layers

2012-08-06 Thread Bill Meahan

Is there any issue with "stacking" layers on top of each other?

What I want to do is create a newsletter nameplate consisting of a base 
layer containing a JPEG graphic of a logo, a partially-transparent layer 
above that to screen the graphic and a top layer containing the 
newsletter name in a large and fancy font ala' *The New York Times" & al.


I've already created a nameplate in Inkscape and can simply place the 
resultant graphic but I'd like to do the whole thing in ConTeXt if I can 
as I could easily use the technique in other situations.


I'll wikify any answers.

Thanks.
--
Bill Meahan, Westland, Michigan USA

“Writing is a combination of intangible
  creative fantasy and appallingly
  hard work.”

  —Anthony Powell


This message is digitally signed with an X.509 certificate
to prove it is from me and has not been altered since it was sent.



smime.p7s
Description: S/MIME Cryptographic 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] Draft version of document

2012-08-06 Thread Sietse Brouwer
Hi Roger,

Firstly: drafts are indeed the way to go. \completelistoffigures
places a complete list of figure *captions*, so that takes care of
that.

% No need to define a mode: you can simply enable it with
% \enablemode[draft]
% or
% context --mode=draft
\enablemode[draft]

\startmode[draft]
\completelistoffigures
\stopmode

Figure images, unlike figure captions, are not saved to a list. A
pity, as this makes it difficult to get the associated figure image
given a figure number (or figure label). I would do this:
(1) make it so you can call the figure image with
\externalfigure[img:fig:mylabel]. Use \useexternalfigure for this.
(2) then label the figure with [fig:mylabel]
(3) then simply manually make an entry in the figures section for each
figure label.

Perhaps some ConTeXt user more familiar with lists can provide a
better, list-based, solution?

\useexternalfigure[img:fig:pointy graph][pointy-graph.png]

\placefigure
[here]
[fig:pointy graph]
{caption of the pointy graph}
{\externalfigure[img:fig:pointy graph][width=4cm]}

\startmode[draft]
\section{Just the figures}

\in{Figure}[fig:pointy graph]
\externalfigure[img:fig:pointy graph]

\stopmode

If you want to automate this, you'll want something like this.
Untested and probably needs debugging first, but the table names are
correct:

\startluacode
-- we won't need the keys k, but still.
for k,v in pairs(structures.lists.ordered.float.figure) do
  label_string = v.references.reference
  -- `..` is Lua for string concatenation
  image_string = "img" .. label_string

  -- arguments to TeX commands:
  -- get [stuff] in TeX with { 'stuff' } in Lua
  -- get [stuff=bother] in TeX with { stuff = 'bother' } in Lua
  -- get {stuff} in TeX with 'stuff' in Lua
  context.in("Figure", { label_string })
  context.externalfigure( { image_string } )
end
\stopluacode

I have made this reply long because I lack the time to make it short.

Cheers,
Sietse
___
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] Et tu, Taco?

2012-08-06 Thread Bill Meahan

On 08/05/2012 05:00 PM, Idris Samawi Hamid ادريس   سماوي حامد wrote:

Dear Knights of the ConTeXt Table,

I am sad to report that our beloved Taco has gone over to the dark side:

http://tacosw.com/latexian/

Is there a Merlin among us to bring back our holy grail? Wolfgang? Luigi?

:D

Best wishes
Idris


Poor Taco. Other than the "tabs" he has managed to duplicate the 
features Emacs has had for some time now albeit at the expense of 
installing a couple of optional packages. Then there's Lyx, Texworks...


Perhaps we need our own deprogrammers to help rescue our community 
members from the Cult of Mac. :)


--
Bill Meahan, Westland, Michigan USA

“Writing is a combination of intangible
  creative fantasy and appallingly
  hard work.”

  —Anthony Powell


This message is digitally signed with an X.509 certificate
to prove it is from me and has not been altered since it was sent.



smime.p7s
Description: S/MIME Cryptographic 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] Marking a textfragment for later reference

2012-08-06 Thread Wolfgang Schuster

Am 06.08.2012 um 09:41 schrieb Robert Blackstone :

> Thank you Marco. Another very useful tool for me. I realize now that many 
> things with labels can be used as anchors for references, and I'm still a bit 
> surprised that a delimited text with a label cannot be used that way.

Where has the delimited text in your example a label?

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] Et tu, Taco?

2012-08-06 Thread Hans Hagen

On 6-8-2012 12:33, Sietse Brouwer wrote:

On Sun, Aug 5, 2012 at 11:00 PM, Idris Samawi Hamid ادريس   سماوي حامد
 wrote:

Dear Knights of the ConTeXt Table,

I am sad to report that our beloved Taco has gone over to the dark side:

http://tacosw.com/latexian/


I count at least two Dark Sides, here; should we rescue the Taco from
LaTeX first, or from Macintosh?
(More holy wars = more better.)


Then that should happen before he gets locked up in that app store 
(which makes me wonder if tex related stuff would be is rated 16+).


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] Et tu, Taco?

2012-08-06 Thread Sietse Brouwer
On Sun, Aug 5, 2012 at 11:00 PM, Idris Samawi Hamid ادريس   سماوي حامد
 wrote:
> Dear Knights of the ConTeXt Table,
>
> I am sad to report that our beloved Taco has gone over to the dark side:
>
> http://tacosw.com/latexian/

I count at least two Dark Sides, here; should we rescue the Taco from
LaTeX first, or from Macintosh?
(More holy wars = more better.)
--Sietse
___
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] Marking a textfragment for later reference

2012-08-06 Thread Robert Blackstone

On  Sun, 5 Aug 2012 16:38:12 +0200
Marco Patzer > Am 05.08.2012 um 16:05 schrieb Robert Blackstone 
>> :
>> 
>>> 
>>> How can I refer to some text, for example a discussion of a particular 
>>> topic, on another page or in another chapter of my document with, for 
>>> instance "(See discussion on page xx)"?

> Hi Robert,
> 
> \starttext
> See \in{section}[sec:foo] on \at{page}[sec:foo]
> or the text on \at{page}[ref:a].
> 
> \page
> \startsection [title=Foo, reference=sec:foo]
> \stopsection
> \page
> 
> Some text\reference[ref:a]
> \stoptext
 Thank you Marco. Another very useful tool for me. I realize now that many 
things with labels can be used as anchors for references, and I'm still a bit 
surprised that a delimited text with a label cannot be used that way.
Anyway, your and Wolfgang Schuster's advice give me all I need on this point.

Kind regards,
Robert Blackstone
___
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
___