Re: [NTG-context] \infull not working

2020-11-18 Thread Nigel King
Thanks Hans for your very prompt reply.

I placed
\overloadmode\plusfour
at the beginning of the file

The example now compiles.

However the command \infull{Ch} now results in CH in small capitals.

Is there something I have misunderstood?

Thanks

Nigel

On 18 Nov 2020, at 14:19, Hans Hagen  wrote:

On 11/18/2020 1:35 PM, Nigel King wrote:
> Dear Group,
> Thanks for your excellent work.
> I have just got a new computer and installed Context as I normally do. 
> Unfortunately there appears to be a bug, unless I have done something wrong. 
> \infull appears not to be working. I have used the following test file which 
> is from the wiki but split the line with \infull{Ch} in two to be certain.
> \definesynonyms[test][tests][\infull]
> \setupsynonyms[test][criterium=all]
>  \test{ITU}{International Telecommunication Union}
>  \test{MID}{Maritime Identification Digit}
>  \test{Ch}{Switzerland}
> \starttext
> The \ITU\ is an
> organisation in \infull{Ch}
> \subject{Short is nice}
>  \placelistoftests
> \stoptext
> The log message has this in it.
> tex error   > tex error on line 12 in file 
> /Users/nki001/OneDrive/MyDocuments/Context/NGAForIreland/test.tex: Undefined 
> control sequence

fixed in next upload ... but ... on my machine, where I run with

 \overloadmode\plusfour % error, \plusthree is warning only

i then will get:

csname overload > fatal error, protection level 4, control sequence 'infull', 
properties 'frozen instance protected', file './oeps.tex', line 4

because \infull is already used by the predefine abbreviations instance

no problem if you don't use that feature

Hans




-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | www.pragma-ade.nl <http://www.pragma-ade.nl/> | 
www.pragma-pod.nl <http://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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] \infull not working

2020-11-18 Thread Nigel King
Dear Group,
Thanks for your excellent work.

I have just got a new computer and installed Context as I normally do. 
Unfortunately there appears to be a bug, unless I have done something wrong. 
\infull appears not to be working. I have used the following test file which is 
from the wiki but split the line with \infull{Ch} in two to be certain.

\definesynonyms[test][tests][\infull]

\setupsynonyms[test][criterium=all]

 \test{ITU}{International Telecommunication Union}
 \test{MID}{Maritime Identification Digit}
 \test{Ch}{Switzerland}

\starttext

The \ITU\ is an 
organisation in \infull{Ch}

\subject{Short is nice}
 \placelistoftests

\stoptext

The log message has this in it.

tex error   > tex error on line 12 in file 
/Users/nki001/OneDrive/MyDocuments/Context/NGAForIreland/test.tex: Undefined 
control sequence


 organisation in \infull
{Ch}


 2 
 3 \setupsynonyms[test][criterium=all]
 4 
 5  \test{ITU}{International Telecommunication Union}
 6  \test{MID}{Maritime Identification Digit}
 7  \test{Ch}{Switzerland}
 8 
 9 \starttext
10 
11 The \ITU\ is an 
12 >>  organisation in \infull{Ch}
13 


Thoughts?

Nigel King
___
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] Variables in \useURL

2020-06-19 Thread Nigel King
Taco,
Thanks very much - I had necessarily simplified the example to show my simplest 
problem.

\expanded suits my purpose perfectly.

On 19 Jun 2020, at 13:10, Taco Hoekwater  wrote:



> On 19 Jun 2020, at 13:49, Hans Hagen  wrote:
> 
> On 6/19/2020 1:28 PM, Nigel King wrote:
>> Hi Group,
>> I want to insert a variable hyper reference into a pdf document. The 
>> following method does not work for some reason.
>> \def\hyperref{http://www.website.com/abc/def}
>> show \hyperref
>> Gives the correct answer but
>> \useURL[this_doc][\hyperref][][displayed text]
>> \from[this_doc]
>> Gives
>> hyperef%20 as the url
>> What am I doing wrong?
> the content is not expanded, why not just use
> 
> \useURL[this_doc][http://www.website.com/abc/def][][displayed text]

or 

 \expanded{\useURL[this_doc][\hyperref][][displayed text]}

if that is truly impossible for some reason.

Best wishes,
Taco
___
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
___


[NTG-context] Variables in \useURL

2020-06-19 Thread Nigel King
Hi Group,
I want to insert a variable hyper reference into a pdf document. The following 
method does not work for some reason.

\def\hyperref{http://www.website .com/abc/def}
show \hyperref
Gives the correct answer but
\useURL[this_doc][\hyperref][][displayed text]
\from[this_doc]
Gives
hyperef%20 as the url

What am I doing wrong?

TIA
—
Nigel
ni...@nigelking.me.uk
m:07917 803879
h:01364 642265
Abbey Moor, Moreleigh, Totnes, TQ9 7JW.

___
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] LuaTex on Windows PCs

2019-03-04 Thread Nigel King
Hi All,
I have been using ConTeXt on Macs for >20 years. Having written a particular 
piece of code for others to operate who have PCs, I am now stuck. 

I upgraded to LuaTeX some time ago as recommended on this list.

IT do not seem to be able to install a working version of LuaTeX on PCs. I have 
directed them to ConTeXt Garden but they have had no luck.

Do any of you have guaranteed pointers to a simple installation on PCs? Simple 
editing and creating (from ConTeXt) the PDFs is all that is required.

Thanks
—
Nigel
ni...@nigelking.me.uk
m:07917 803879

___
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] Installation on a PC

2018-11-28 Thread Nigel King
Dear Clyde,
Thank you very much for pointing us to this page. Before we send you any errors 
we will have another go and let you know whether we are successful.

—
Nigel
ni...@nigelking.me.uk

On 28 Nov 2018, at 11:59, Clyde Johnston  wrote:

These instructions should get the basic ConTeXt installed:
  https://wiki.contextgarden.net/ConTeXt_Standalone#Installation 
<https://wiki.contextgarden.net/ConTeXt_Standalone#Installation>
It is the other things that usually cause the problems though.

Clyde


 Forwarded Message 
Subject:Re: [NTG-context] Installation on a PC
Date:   Wed, 28 Nov 2018 13:44:44 +0200
From:   Clyde Johnston  <mailto:cont...@couthies.com>
To: ntg-context@ntg.nl <mailto:ntg-context@ntg.nl>

I am planning to update the installation instructions on the ConTeXt Garden 
Wiki.  The short answer is: no, not yet.  Are you planning a single-user or 
system-wide installation?  Do you plan to use SciTE or some other editor?  Are 
you using CygWin?  Send me the errors and some more details on you 
installation. I might be able to help.

On 28/11/2018 13:01, Nigel King wrote:
> Dear Group,
> I am a Mac user and have had many happy years using ConTeXt. I now need to 
> install ConTeXt on a PC (Windows) and this has been troublesome. Is anybody 
> able to point me to a foolproof method?
> 
> (I started this mail with all of our errors but reasoned that somebody might 
> know the answer to the more simple question.)
> 
> Thanks in advance.
> —
> Nigel
> ni...@nigelking.me.uk <mailto:ni...@nigelking.me.uk>
> 
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl <mailto:ntg-context@ntg.nl> / 
> http://www.ntg.nl/mailman/listinfo/ntg-context 
> <http://www.ntg.nl/mailman/listinfo/ntg-context>
> webpage  : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / 
> http://context.aanhet.net <http://context.aanhet.net/>
> archive  : https://bitbucket.org/phg/context-mirror/commits/ 
> <https://bitbucket.org/phg/context-mirror/commits/>
> wiki : http://contextgarden.net <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] Installation on a PC

2018-11-28 Thread Nigel King
Dear Group,
I am a Mac user and have had many happy years using ConTeXt. I now need to 
install ConTeXt on a PC (Windows) and this has been troublesome. Is anybody 
able to point me to a foolproof method?

(I started this mail with all of our errors but reasoned that somebody might 
know the answer to the more simple question.)

Thanks in advance.
—
Nigel
ni...@nigelking.me.uk___
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] getting metafun positions within (displayed) math mode

2017-11-16 Thread Nigel King
Wow. I learnt about Maxwell's Equation 48 years ago. I never understood it then 
nor on the intervening time despite sometimes helping design antennas. The 
picture and its annotation definitely helps creating clarity. For my twopenneth 
the effort is very worthwhile.

Thanks

---
Nigel King
Mob: +44 7917 803879
Work:+44 1364 655516


> On 16 Nov 2017, at 21:10, Sanjoy Mahajan <san...@olin.edu> wrote:
> 
> Dear ConTeXters,
> 
> For my sins, and to make students unhappy all over the world, I am
> writing another book: _A Student's Guide to Newton's Laws of Motion_
> (for Cambridge University Press, aka CUP).  As partial compensation, I
> convinced CUP that I may typeset it in ConTeXt and deliver them PDF.
> 
> Being hopefully a guide actually useful to students, it will annotate
> every symbol in important equations, a feature cribbed from the first
> book of the _Student's Guide_ series, Dan Fleisch's _A Student's Guide
> to Maxwell's Equations_.
> 
> I've attached an image of what such an annotated equation looks like
> (from page 2 of Fleisch's book).  It's like a labeled part diagram (say,
> for a laptop), where each part (here, each symbol) is connected with an
> line to its explanation.
> 
> I'm trying to do so with a combination of ConTeXt, MetaPost/MetaFun,
> TikZ, and whatever else might work.  But I am a bit stuck at the
> following spot.
> 
> My plan is to use MetaFun to get the coordinates of each symbol in a
> (displayed) equation and then, with MetaFun, connect those symbols to
> mini-paragraphs of explanation that surround the equation.
> 
> But I am stuck on how to use \hpos in math mode. I'd like to do
> something like:
> 
> \startformula
> \hpos{n1}{\sum}_{\hpos{n2}{0}}^{\hpos{n3}{1}}
> \stopformula
> 
> to get the locations of the nodes n1, n2, and n3 without interfering
> with the math typesetting -- e.g., the engine should still know that
> \sum is in display-math mode, so it should be large and have its sub-
> and super-scripts below and above it, rather than next to it.
> 
> However, the \hpos hides its argument in an \hbox, and thus hides it
> from the math layout.  Thus, I have to do something like this minimal
> example:
> 
> \starttext
> \startformula
>  \sum_0^1  % what it should look like
>  \quad
>  \hpos{n1}{$\displaystyle\sum$}_{\hpos{n2}{$0$}}^{\hpos{n3}{$1$}}
> \stopformula
> \stoptext
> 
> The hpos'ed version after the \quad looks different, even after the
> \displaystyle hack.
> 
> Is there a version of \hpos for math mode?  That would be the cleanest
> solution, because who knows what else would be needed for other cases,
> even if the limits can be placed correctly.
> 
> Or is there a better way to annotate equations?
> 
> (TikZ seems to have the same issue, in that it cannot see into equations.)
> 
> Regards,
> -- 
> -Sanjoy
> 
> <http://savelongwharfpark.org/>
> Save Long Wharf Park in Boston Harbor!
> 
> <http://streetfightingmath.com/>
> Six reasoning tools to make hard problems easy.
> 
> 
> ___
> 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
___

[NTG-context] bug in TABLE when there is a complex head

2010-12-06 Thread Nigel King
Hi Developers,
Enclosed is a piece of code that demonstrates a bug in the NaturalTable 
environment when using a complex head in a multipage case. If you run the 
following code you will notice that not only does the head get repeated but 
also the first row of the body of the table. The cause appears to be [nr=2] in 
the head.

I am using
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) (format=cont-en 
2010.4.14)  6 DEC 2010 08:32
I do apologise if this is fixed in a later version. Thanks for a great program.

\bTABLE[split=repeat]
\bTABLEhead
\bTR
  \bTH[nr=2] head l\eTH
  \bTH head r\eTH
\eTR
\bTR
  \bTH head r\eTH
\eTR
\eTABLEhead
\bTABLEbody
\bTR\bTD first l\eTD\bTD first r\eTD\eTR
\dorecurse{50}{\bTR\bTD subsequent l\eTD\bTD subsequent r\eTD\eTR}
\eTABLEbody
\eTABLE

--
Nigel King



___
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] bug in TABLE when there is a complex head

2010-12-06 Thread Nigel King
Hans,
Thanks very much. That works perfectly.
Nigel




From: Hans Hagen pra...@wxs.nl
To: mailing list for ConTeXt users ntg-context@ntg.nl
Cc: Nigel King ni...@nigelking.me.uk
Sent: Monday, 6 December, 2010 13:13:39
Subject: Re: [NTG-context] bug in TABLE when there is a complex head

On 6-12-2010 9:39, Nigel King wrote:
 Hi Developers,
 Enclosed is a piece of code that demonstrates a bug in the NaturalTable 
environment when using a complex head in a multipage case. If you run the 
following code you will notice that not only does the head get repeated but 
also 
the first row of the body of the table. The cause appears to be [nr=2] in the 
head.
 
 I am using
 This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) (format=cont-en 
2010.4.14)  6 DEC 2010 08:32
 I do apologise if this is fixed in a later version. Thanks for a great 
program.
 
 \bTABLE[split=repeat]
 \bTABLEhead
 \bTR
\bTH[nr=2] head l\eTH
\bTH head r\eTH
 \eTR
 \bTR
\bTH head r\eTH
 \eTR
 \eTABLEhead
 \bTABLEbody
 \bTR\bTD first l\eTD\bTD first r\eTD\eTR
 \dorecurse{50}{\bTR\bTD subsequent l\eTD\bTD subsequent r\eTD\eTR}
 \eTABLEbody
 \eTABLE

put this in cont-new.tex:

\unprotect

\def\endtblrow
  {\kern\dimexpr\tbltblrightmargindistance-\tbltblcolumndistance\relax
   \crcr
   \noalign
 {\nointerlineskip
  \ifnum\tblrow\noftblheadlines
\ifnum\gettblnob\tblrow=\zerocount
  \allowbreak
\fi
  \else
\allowbreak % else no proper head split off
  \fi
  \bgroup % protect local vars
\@@tblsplitafter
  \egroup
  \bgroup % protect local vars
\scratchcounter\numexpr\tblrow+\plusone\relax
\ifnum\scratchcounter\noftblhdnxlines\relax
  \ifnum\scratchcounter\maximumrow\relax

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

\protect

-
  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
___


[NTG-context] \in{hyperref}[tableref] at first char of line causes misplaced paragraph

2004-11-11 Thread Nigel King
Hi,
This has bugged me for a number of years and I have only just realised 
the exact cause. Previous requests to solve table and figure spacing 
problems are all due to this I think. Basically the hyperreference in 
the first character of a paragraph mangles the paragraph formatting.

Below is a minimum (I think) file which demonstrates the problem very 
clearly.

\setupinteraction[state=start]
\setupwhitespace[big]
\starttext
\input tufte
\startbuffer[]
\bTABLE[width=2.5in]
\bTR \bTD \input tufte \eTD\eTR
\eTABLE
\stopbuffer
\placetable
  [right]
  [tab:1]
  {A Table}
  {\getbuffer[]}
\input tufte
\in{Table}[tab:1] this paragraph does not format correctly because the 
hypereference is at the first character of the paragraph. Note that the 
spacing (before) is incorrect as well as the width.

T\in{able}[tab:1] this paragraph does format correctly because the 
hypereference is not using the first character of the paragraph.

\input tufte
\stoptext
TIA
Nigel King
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] How to use PostScript font

2004-08-19 Thread Nigel King
Very quietly shhh - I just wish some one would make TeXFont work in Mac 
OSX from GW.

Nigel
On 19 Aug 2004, at 14:40, Mari Voipio wrote:
(I just wish
somebody made TeXFont work in Windows...).
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] scaling externalfigure in metafun

2004-06-10 Thread Nigel King
I apologize in advance for asking what I am sure is a repeated question 
but I cannot find the answer in manuals and archives.

In Metafun externalfigure file.pdf xyscale(x,y) ; how does one find 
the size of a graphic in order to scale it appropriately

TIA
--
Nigel
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] overall TABLE width

2004-06-08 Thread Nigel King
Dear ConTeXtnicians,
Normally \bTABLE...\eTABLE encourages itself to the textwidth of the 
page that it is on. I have a requirement for a table which is occupying 
a full page rotated. What command encourages TABLE to a different 
overall width. I cannot find anything in manuals and archives.

TIA
--
Nigel
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Floating Long Tables

2004-06-03 Thread Nigel King
Dear ConTeXtnicians,
Is there a way in which floating tables can span more than one page 
using \bTABLE..\eTABLE?

--
Nigel
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pagination bug

2004-06-01 Thread Nigel King
Hans,
I may not have stated the seriousness of this bug adequately. What I 
meant to say was that after the first page the example doen't paginate 
at all!

TIA
Nigel
On 25 May 2004, at 18:30, Nigel King wrote:
Hans,
The following minimum file does not paginate correctly. It overflows 
the second page. Removing the figure or the second level of 
itemization fixes the pagination. I have enclosed the text of the file 
and the file itself for ease of reproduction.

I am using the latest stable version from i-installer. I actually 
think I have had this problem before but not tracked it down.

TIA
--
Nigel
\starttext
\placefigure
  [here]
  [fig:a]
  {big figure}
 {\externalfigure[koe][width=\textwidth,height=\textwidth]}
\startitemize[packed,n]
\dorecurse{10} {\item repeated}
\startitemize[packed,a,columns]
\dorecurse{10} {\item repeated indent}
\stopitemize
\stopitemize
\dorecurse{7}{\input zapf \par\relax}
\stoptext
bug.tex
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Cell padding in natural tables

2004-06-01 Thread Nigel King
David,
One I can answer
\bTABLE[option=stretch]
Nigel
On 26 May 2004, at 19:55, David Munger wrote:
Hello,
There was that question to which I could not find an answer:
http://www.ntg.nl/pipermail/ntg-context/2002/000140.html
So, is there a way to set the cell padding in natural tables?
And by the way, is there a way to lock the total width of the table 
without setting the width of individual cells?

Regards,
David
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \bTABLE[split=yes]

2004-06-01 Thread Nigel King
All,
I thought the following long table would split but it doesn't seem to 
using the current beta. Am I missing something?

\starttext
This is a test of the \type{\TABLE} environment.
\bTABLE[split=yes]
\bTABLEhead
\bTR \bTH Head 1 \eTH \bTH Head 2 \eTH \eTR
\eTABLEhead
\bTABLEfoot
\bTR \bTH Foot 1 \eTH \bTH Foot 2 \eTH \eTR
\eTABLEfoot
\bTABLEbody
\dorecurse{30}{\bTR \bTD[nr=3] left \eTD\bTD right \eTD \eTR
\bTR\bTD right \eTD \eTR
\bTR[after={\page[yes]}]\bTD right \eTD \eTR}
\eTABLEbody
\eTABLE
\stoptext
TIA
--
Nigel
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \bTABLE[split=yes]

2004-06-01 Thread Nigel King
On 1 Jun 2004, at 18:18, Hans Hagen wrote:
split=repeat
splitmethod=a|b
\bTABLE[split=repeat] % works
\setupTABLE[split=repeat] % does not work which was not so obvious (to 
me!)

I haven't worked out what the difference between splitmethod=a , 
splitmethod=b and nothing is.

Thanks very much for instant response
--
Nigel
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pagination bug

2004-05-28 Thread Nigel King
Hans and all,
I do not use grid mode perhaps somebody who does could check that 
nothing is wrong.

On 27 May 2004, at 22:27, Hans Hagen wrote:
so the patch was easy but the solution may be wrong (i didn't test it 
in grid mode)
--
Nigel
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pagination bug

2004-05-26 Thread Nigel King
Hans,
Thank you very much for this I had not realized it would be so 
complicated. The document which raised the problem now works correctly. 
I will try to find other examples.

Thanks again
--
Nigel
On 26 May 2004, at 20:24, Hans Hagen wrote:
At 19:30 25/05/2004, you wrote:
Hans,
The following minimum file does not paginate correctly. It overflows 
the second page. Removing the figure or the second level of 
itemization fixes the pagination. I have enclosed the text of the 
file and the file itself for ease of reproduction.

I am using the latest stable version from i-installer. I actually 
think I have had this problem before but not tracked it down.

TIA
--
Nigel
\starttext
\placefigure
  [here]
  [fig:a]
  {big figure}
 {\externalfigure[koe][width=\textwidth,height=\textwidth]}
\startitemize[packed,n]
\dorecurse{10} {\item repeated}
\startitemize[packed,a,columns]
\dorecurse{10} {\item repeated indent}
\stopitemize
\stopitemize
\dorecurse{7}{\input zapf \par\relax}
\stoptext
I'm not that sure if the next will not interfere with other 
situations, so please play a bit with white space settings ans such 
and mixed one/two column modes

\def\endmulticolumns
  {%\par
   \vskip\lineheight\vskip-\lineheight % take footnotes into account
   \dontshowcomposition
   \doflushcolumnfloat  % added recently
  %\doflushcolumnfloats % no, since it results in wrong top floats
   \flushnotes  % before start of columns
   \par
   \ifbalancecolumns
 \global\output{\continuousmulticolumnsout}%
 \goodbreak
 \global\output{\balancedmulticolumnsout}%
   \else
 \goodbreak
   \fi
   \eject   % the prevdepth is important, try e.g. toclist 
in
   \prevdepth\zeropoint % columns before some noncolumned text text
   \global\output\singlecolumnout
   \global\output{\the\mainoutput}% % % % % todo
   \ifvoid\precolumnbox\else
 \unvbox\precolumnbox
   \fi
   \global\precolumnboxheight\zeropoint
   \endgroup % here
   \nofcolumns\plusone
   \setvsize % the outer one!
\synchronizeoutput % new may 2004 / we need to: \pagegoal\vsize
   \checkendcolumnfootnotes
   \dosomebreak\allowbreak
   \restoresavedfloats}
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Strange MP problem

2004-05-14 Thread Nigel King
I put in my ordinary mp files:-
---
input metafun ;
verbatimtex
..any required preliminary ConTeXt statements \setupbodyfont etc.
\starttext
etex
.. normal metapost

verbatimtex
\stoptext
etex
end
---
The assembly script needs a line like
export TEX=texexec
in it
Then the remnants of latex are removed and the btex .. etex bits are 
typeset using ConTeXt.

I hope this helps

--
Nigel
On 14 May 2004, at 13:06, Tobias Burnus wrote:

Hello,

Tobias Burnus wrote:

\shipout\hbox{\smash{\hbox{\hbox{% line 402 gnuplot0001.mp
xtls ($1+2885.878040):($3/1.6637149187); $\Gamma_{\rm L}=1.5$, 
$\Gamma_{\rm G}=0
.2$}\vrule width1sp}}}
\end{document}
If one looks carefully, one sees that a $ is missing. (I didn't looked 
carefully, but added a verbatimtex \bye etex TeX gave the right hint.) 
After inserting the $, it worked without a problem. But I'm still 
puzzled that there was a \end{document}, where did it come from?

Tobias
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] linecorrection and paragraph spacing

2004-03-10 Thread Nigel King
Some time ago Hans recommended the use of 
\startlinecorrection...\stoplinecorrection surrounding a figure.

Typically I write a paragraph and then have a double carriagereturn and 
then a floating figure and then a double carriagereturn. The normal 
paragraph space does not always appear so I surround the figure by 
linecorrection and then find that the paragraph spacing is slightly 
larger than usual.

Are there any rules for this. If necessary I will try to produce a 
minimal example although I tend to notice the problem once a document 
has become fairly long.

TIA
--
Nigel
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] (no subject)

2004-01-24 Thread Nigel King
wei jm,

Why do you want it in a different format? What application are you 
using for your report?

Nigel

On 21 Jan 2004, at 08:54, hl590we wrote:

Hello,everybody,

 I have a problem while using context to create some flowcharts. The
beginning of
my tex source file looks like:
 \setupoutput[pdftex]
 \usemodule[chart]
 Naturally I got a flowchart in pdf version. But a pdf version 
flowchart is

not suitable for inserting into a paper or a report. Then I try to use 
software
to convert it from pdf format into some other imgage formats. But none 
of them
was satisfied.
I wonder how can I direct get a flowchart in some imgage formats (e.g. 
in png,
jpg format) from the source tex file. Are there some
tricks in the settings of the tex source file?

   Thanks in advance!

   Best regards   			

[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@wei jm
[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]
[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@2004-01-20
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
Nigel King - CTO Orthogon Systems

True non-Line-of-Sight

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] new tex toy new manual

2003-12-24 Thread Nigel King
Hans
http://www.pragma-ade.com/context/texmfstart.rb
This file seems no longer to be in this location
-- 
Nigel

 From: Hans Hagen [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Date: Mon, 27 Oct 2003 16:41:18 +0100
 To: [EMAIL PROTECTED]
 Subject: [NTG-context] new tex toy
 
 Hi,
 
 One of the problems with the texmf tree is to get the right
 scripts/documents launched. On linux, runperl/runruby are used for that, on
 windows there was runperl.exe which is now irun.exe. Those scripts/apps
 work ok under most circumstances but not all (especially not when one has
 multiple trees and multiple instances of the tools).
 
 So ... a few weeks ago I made a small tool:
 
 http://www.pragma-ade.com/context/texmfstart.rb   : for those who
 have ruby in their path
 http://www.pragma-ade.com/context/texmfstart.exe  : for those who
 don't have ruby installed and are on windows
 http://www.pragma-ade.com/general/manuals/mtexmfstart.pdf : for those who
 are interested
 
 This tool permits things like (on windows): texmfstart --browser
 examplap.pdf but also calls like: texmfstart texexec.pl optional
 arguments and alike. Several search strategies are applied (see manual).
 The few of you who have seen the integrated context environment (around
 scite) already may have used this tool indirectly. I didn't yet test this
 new gimmick on linux but will do that asap.
 
 The next thing that will be posted is 'texsync' which will synchronize your
 local minimal tex and/or context tree (or part of it, or (part) of the
 documentation) with the current distribution. (i'm playing with that right
 now).
 
 Hans
 
 
 
 
 -
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
 -
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
 -
 
 ___
 ntg-context mailing list
 [EMAIL PROTECTED]
 http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] new manual

2003-12-23 Thread Nigel King
Hans,
I have read this manual.
Downloaded texsync.rb and put it into my personal bin location.
I have ruby. 
I have made texsync.rb executable chmod +x texsync.rb.
The commands still don't quite work as required - any hints.

Terminal listing

[Nigel-Kings-G4-Lap:~/bin] nigelk% which ruby
/usr/bin/ruby
[Nigel-Kings-G4-Lap:~/bin] nigelk% ruby --version
ruby 1.6.7 (2002-03-01) [powerpc-darwin6.0]
[Nigel-Kings-G4-Lap:~/bin] nigelk% texsync --update
texsync: Command not found.
[Nigel-Kings-G4-Lap:~/bin] nigelk% texsync.rb --update
Running /Users/nigelk/.cshrc
: Command not found.
require: Command not found.
: Command not found.
print: Command not found.
: Command not found.
directives: Command not found.
helpinfo: Command not found.
default: Too many arguments.

So what am I doing wrong?

-- 
Nigel

 From: Hans Hagen [EMAIL PROTECTED]
 Subject: [NTG-context] new manual
 
 Hi,
 
  http://www.pragma-ade.com/general/manuals/mtexsync-p.pdf.pdf
  http://www.pragma-ade.com/general/manuals/mtexsync-s.pdf.pdf
 
 Hans

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] new manual

2003-12-23 Thread Nigel King
Hans
ruby texsync.rb --update --tree=doc --force
--destination=/Users/Shared/Context/

Gets me the manuals

I think on UNIX the first line of the script should look like
#!/usr/bin/ruby

However I tried this and then
[Nigel-Kings-G4-Lap:~/bin] nigelk% texsync.rb
texsync.rb: Command not found.

I am not sure what is reporting this because texsync.rb is executeable and
is in the path and anyway I am in that directory.

Confused
-- 
Nigel

 From: Hans Hagen [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Date: Tue, 23 Dec 2003 13:39:37 +0100
 To: [EMAIL PROTECTED]
 Subject: Re: [NTG-context] new manual
 
 At 13:18 23/12/2003, you wrote:
 Hans,
 I have read this manual.
 Downloaded texsync.rb and put it into my personal bin location.
 I have ruby.
 I have made texsync.rb executable chmod +x texsync.rb.
 The commands still don't quite work as required - any hints.
 
 Terminal listing
 
 [Nigel-Kings-G4-Lap:~/bin] nigelk% which ruby
 /usr/bin/ruby
 [Nigel-Kings-G4-Lap:~/bin] nigelk% ruby --version
 ruby 1.6.7 (2002-03-01) [powerpc-darwin6.0]
 [Nigel-Kings-G4-Lap:~/bin] nigelk% texsync --update
 texsync: Command not found.
 [Nigel-Kings-G4-Lap:~/bin] nigelk% texsync.rb --update
 Running /Users/nigelk/.cshrc
 : Command not found.
 require: Command not found.
 : Command not found.
 print: Command not found.
 : Command not found.
 directives: Command not found.
 helpinfo: Command not found.
 default: Too many arguments.
 
 So what am I doing wrong?
 
 can you try
 
  ruby texsync.rb
 
 Hans
 
 ___
 ntg-context mailing list
 [EMAIL PROTECTED]
 http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] new manual

2003-12-23 Thread Nigel King
 one option is to make a file
 
 texsync
 
 with in it the line
 
 ruby texmxstart.rb texsync.rb
 
texmxstart.rb is not found. It presumably reads the original command line?
Google doesn't find it either?

-- 
Nigel


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Synchronization (.tex - .pdf)

2003-12-22 Thread Nigel King
Now that would be a Christmas present! I didn't dare ask.
-- 
Nigel

 From: Steffen Wolfrum [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Date: Mon, 22 Dec 2003 15:38:25 +0100
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: [NTG-context] Synchronization (.tex - .pdf)
 
 Hi,
 
 I don't now how many ConTeXt user are aware of the idea of synchronization. In
 the LaTeX area of TeX it has a kind of tradition (Textures, srcltx, ...) for
 dvi output.
 
 For PDF output Jérôme Laurens has now written a package (for use with iTeXMac
 and TeXShop) that makes the advantages from source-output synchronization also
 available for the todays standard PDF. But as so many things in the TeX world
 it is written as a plug-in for LaTeX.
 
 Does anybody has an idea how to use this great achievement also with ConTeXt?
 For those who would like to have a look at Jérôme's great work, I insert his
 code at the end of this email.
 
 Thank you very much,
 
 Steffen Wolfrum
 
 
   This is pdfsync.sty
   2003-12-08:
   There is a bug in using everyvbox... novbox is now the default
   bug fixed: $0$ was no visible
   2003-11-28:
   comment characters added to fix an error. Don't know exactly the
 cause...
   Default option is all...
   Could not use \everydisplay... (bug in eqnarray)
   2003-11-19
   first version
  usage: \usepackage[display,cr,vbox]{PDFSYNC}
  appends reference points before each \par and at each \hbox, inline math;
  optionally also at every displayed math, with the option [display]
  optionally also at every \cr, with the option [cr]
  optionally also at every \vbox, with the option [vbox]
 
  If you want additional files to be parsed, please use the command
  \include (which is redefined below)
  This file is due to Piero D'Ancona and [EMAIL PROTECTED]
  iTeXMac is supporting pdfsync
  Copy this file to ~/Library/texmf/tex/latex or
 ~/Library/TeX/texmf/tex/latex if available
  This file is distributed under the GPL and the smart licence: please
 make things better if you can
  © 2003, [EMAIL PROTECTED]
 %
 \NeedsTeXFormat{LaTeX2e}%
 \ProvidesPackage{pdfsync}[2003/12/08 v0.3]%
 \newif\ifPDFSYNCOK%
 \newif\ifPDFSYNCStar%
 \newif\ifPDFSYNCPar \PDFSYNCPartrue%
 \newif\ifPDFSYNCMath \PDFSYNCMathtrue%
 \newif\ifPDFSYNCCr \PDFSYNCCrtrue%
 \newif\ifPDFSYNCHBox \PDFSYNCHBoxtrue%
 \newif\ifPDFSYNCVBox \PDFSYNCVBoxfalse%
 \newif\ifPDFSYNCExtra \PDFSYNCExtratrue%
 \newwrite\PDFPOS%
 [EMAIL PROTECTED]@folio=0%
 [EMAIL PROTECTED]@rder=0%
 \DeclareOption{nopar}{\PDFSYNCParfalse}%
 \DeclareOption{nomath}{\PDFSYNCMathfalse}%
 \DeclareOption{nocr}{\PDFSYNCCrfalse}%
 \DeclareOption{nohbox}{\PDFSYNCHBoxfalse}%
 \DeclareOption{novbox}{\PDFSYNCVBoxfalse}%
 \DeclareOption{vbox}{\PDFSYNCVBoxtrue}%
 \DeclareOption{noextra}{\PDFSYNCExtrafalse}%
 \DeclareOption{nothing}{\let\pdfsyncstart\pdfsyncstop}%
 \ProcessOptions\relax%
 \RequirePackage{everyshi}%
 \ifx\pdfsavepos\undefined%
 \wlog{Synchronization is only available with pdf. Use a dvi viewer instead.}%
 \let\pdfsyncstart\relax%
 \let\pdfsyncstop\relax%
 \let\pdfsync\relax%
 [EMAIL PROTECTED]
 \else%
 \def\pdfsyncstart{\global\PDFSYNCOKtrue}%
 \def\pdfsyncstop{\global\PDFSYNCOKfalse}%
 [EMAIL PROTECTED]@folio by
 [EMAIL PROTECTED]
  \immediate\openout\PDFPOS\jobname.pdfsync%
   \immediate\write\PDFPOS{\jobname}%control info
   \immediate\write\PDFPOS{version 0}%control info
   [EMAIL PROTECTED]
   \def\PDFSYNC@@include#1{%
\immediate\write\PDFPOS{(#1}%
[EMAIL PROTECTED])}}%
   \let\include\PDFSYNC@@include%
   [EMAIL PROTECTED]
   \ifPDFSYNCOK%
 \pdfsavepos%
 [EMAIL PROTECTED]
 \def\position{\the\pdflastxpos\space\the\pdflastypos}%
 \ifPDFSYNCStar%
[EMAIL PROTECTED]
 \else%
[EMAIL PROTECTED]
 \fi%
 \expandafter\write\expandafter\PDFPOS\argument%
 [EMAIL PROTECTED] by 1%
   \fi}%
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 %  
 [EMAIL PROTECTED]@maketitle\
 pdfsyncstart}
 [EMAIL PROTECTED]@[EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]@[EMAIL PROTECTED]
 [EMAIL PROTECTED]
 }%
 \AtBeginDocument{%
 \pdfsyncstart%
 \ifPDFSYNCPar\global\let\p@@[EMAIL PROTECTED]@@r}\fi%
 [EMAIL PROTECTED]
 \ifPDFSYNCCr\everycr [EMAIL PROTECTED]
 \ifPDFSYNCHBox\everyhbox [EMAIL PROTECTED]
 \ifPDFSYNCVBox\everyvbox [EMAIL PROTECTED] is a bug here
 [EMAIL PROTECTED]
 }%
 \fi%
 \endinput
 
 ___
 ntg-context mailing list
 [EMAIL PROTECTED]
 http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Synchronization (.tex - .pdf)

2003-12-22 Thread Nigel King
Jerome,
I note that you have been copied on some of this thread.

I understand that you specified all of this for LaTeX. Are you able to give
this vital information to Hans.

How is the position file that texshop wants formatted?

Including iTeXMac I hope.

TIA
-- 
Nigel

 From: Hans Hagen [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Date: Mon, 22 Dec 2003 17:32:59 +0100
 To: [EMAIL PROTECTED]
 Subject: Re: [NTG-context] Synchronization (.tex - .pdf)
 
 At 16:56 22/12/2003, you wrote:
 Now that would be a Christmas present! I didn't dare ask.
 
 hm, that gives me two days for a 5 minute module, should be doable -)
 
 anyway, in that case you'll be a tester
 
 How is the position file that texshop wants formatted?
 
 Hans
 
 ___
 ntg-context mailing list
 [EMAIL PROTECTED]
 http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Selecting a page as a figure from a pdf

2003-12-15 Thread Nigel King
All,
I am aware of \filterpages but I would like to be able to insert part of a
single page from a multi page pdf and I have not been able to find anything
on the list of manuals. (\clip does not seem to work with \filterpages).
Does anybody have any ideas?

TIA
-- 
Nigel

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Figure reuse

2003-10-24 Thread Nigel King
Dear Contexnicians,
I believe that pdfs can make multiple use of pictures (and other objects). I
have a fairly large picture which I want to include a number of times, once
as the full picture and several other times concentrating on a portion of
it. Are there any commands for cropping other than going through metapost?

TIA

-- 
Nigel

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: texfont and type-tmf.dat

2003-10-14 Thread Nigel King
 Why do you whish to reinstall all the supplied fonts? Or do you just
 want to learn how to use texfont?
I simply wish to use the fonts as most others do (I think) and I am unable
to because of this bug. The normal context fonts do not exist on Gerben's
version. Before Gerben's reorganisation they were made by texfont, this now
does not work because of what I believe to be a simple (I do not understand
Perl otherwise I would have a go at fixing it) bug in texfont. Maybe I am
wrong but I am beginning to find this extremely frustrating (7 months). Once
I realised that somebody was working on texfont 1.8 I had hoped for a fix.

If no developer/Perl expert has Gerbens version of tetex perhaps I could
help debug if a version was supplied to me that printed out the full path
that texfont was looking for files in. The --fontroot option or kpsewhich
lookup appears to be at fault but I have no debugging facilities.

Any suggestions (other than giving up) gratefully received.

TIA
-- 
Nigel


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: texfont and type-tmf.dat

2003-10-09 Thread Nigel King
All,
I hadn't expected to create such a confusion so I will try to restate my
problem.

On MacOSX Gerben has provided a restructured version of tetex where the
locations of some files have changed. I am not sure of the detailed reasons
for this but it certainly much easier to keep up to date. For instance he
even provides an updater for ConTeXt to beta or standard using a single
click (I only just found that! Thanks Gerben).

Now the line 
 texfont --en=8r --ve=urw --co=courier --so=auto
Should work but instead gives

 TeXFont 1.8 - ConTeXt / PRAGMA ADE 2000-2003

processing aborted : unknown subpath ../fonts/afm/urw/courier

The subpath exists but maybe at a different root
/usr/local/teTeX/share/texmf.tetex/fonts/afm/urw/courier
thus I presume that --fontroot should be invoked especially since the help
gives me 
  --fontroot=path : texmf font root (default:
/usr/local/tetex/share/texmf.local)
So I try 
texfont --en=8r --ve=urw --co=courier --so=auto
--fontroot=/usr/local/teTeX/share/texmf.tetex/
on one line of course

processing aborted : unknown subpath ../fonts/afm/urw/courier
is the result.

The apparent error is that the --fontroot option doesn't work. Hopefully
that is all I wanted fixed. Texfont has been upgraded with many new options
but this 'bug' remains.

TIA
-- 
Nigel


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] texfont and type-tmf.dat

2003-10-08 Thread Nigel King
Dear Gerben or Hans,
I have been away on holiday. So I have lost the result of this thread. Have
you or Hans solved this problem. If so, do I need to upgrade i-tetex or
ConTeXt or both. I would really like to solve this problem and get back to
standard ConTeXt fonts.

TIA

 From: Hans Hagen [EMAIL PROTECTED]
 At 00:05 07/08/2003 +0200, Gerben Wierda wrote:
 
 Yes, this could be. If texexec or any ConTeXt tool does not use texmf.cnf
 values but has hardcoded ideas about where to find stuff (texmf), then the
 rearranging of the texmf directories could have an influence. Hans can
 probably say if this is possibly the case. After all, the rearranging had
 no ill effects whatsoever on TeX or LaTeX, because where files are is
 governed by texmf.cnf and that was adapted as well to reflect the changed
 situation. If there is hardcoded stuff in texexec that is playing a role
 (I am guessing here), making it dynamic by calls to kpsewhich is a good
 solution.
 
 For the rest, the content of texmf.tetex is created by Thomas Esser, not
 me. And there you will find not a complete set of URW but an Adobe set and
 thatis what the discussion is also about. hans is right in stating that.
 
 context can happily work in the texmf tree and does depemnd on its own
 trees; with regards to texfont:
 
 - it will install in either texmf-fonts or texmf-local, depending on what
 is present; the reason for having texmf-fonts is that we need a place for
 commercial fonts (and texmf-local is for my updates, local stuff etc)
 
 - texfonts uses prefixed names (texnansi-* and alike) for several reasons:
 (1) when i buy a font, i wan tto copy the fonts to some temp path, call
 texfont, and have the job done; i don't want to mess around with 8 char
 names that may conflict is i do something wrong;
 
 - another reason for texfonts naming sheme of 'third party fonts' is that
 when one starts slanting fonts (and alike) the kb naming sheme does not
 keep track of what slant is used, which in principle will lead to conflicts
 if one has multiple instances (wherever they may come from)
 
 - for the same reason i keep separate map files for those third part
 collections
 
 - with regards to the fonts on tex live the confusion comes from the mix of
 adobe names and urw type ones. So far whatever i made default, failed on
 someones system, which is why we have now type-akb for the mixed users
 
 - also: context font mechanism is set up in a way that makes it possible to
 combine fonts with minimal calls (once understood -), supporting relative
 scaling and alike; i don't want user sto be dependent on one (few) persons
 to define / install / use fonts.
 
 If that is the case, texfont is a problem because it hard codes locations
 where texmf.cnf is the source for locations and kpsewhich is the way to
 find out about them.
 
 afaik it uses kpsewhich an-r env vars and one can set things on the command
 line as well; there is not so much hard coded in there -)
 
 Hans

-- 
Nigel

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Newbie wants to make long tables

2003-09-15 Thread Nigel King
Hans,
Thank you again for your speedy response.
 \bTABLE[split=yes]
 \bTR \bTD left \eTD\bTD right \eTD\eTR
 \bTR[after=\pagina] \bTD left \eTD\bTD right \eTD\eTR
 \bTR \bTD left \eTD\bTD right \eTD\eTR
 \bTR \bTD left \eTD\bTD right \eTD\eTR
 \bTR \bTD left \eTD\bTD right \eTD\eTR
 \bTR \bTD left \eTD\bTD right \eTD\eTR
 \eTABLE
 
 i'll send you the adapted core-ntb in another mail
Thanks received and installed
 
 Hans
\pagina seems to be synonymous with \page at least \page appears to have the
same effect. I was hoping for [after={\page[bigpreference]}] but that does
not appear to work. [after={\page[yes]}] does the same as \page. It seems to
be just that the preference does not do anything.

I was also hoping for [split=repeat] but that stops [after=\pagina] from
doing anything.

Thanks again
-- 
Nigel

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] texfont and type-tmf.dat

2003-08-07 Thread Nigel King
Hi,
I am posting this message I posted to the 'OS X TeX' group earlier this year
relating to the same issue that Mathew is raising. I had no luck then but am
hoping for more success now there are two of us.

Hans says
'this is under discussion now with thomas/staszek/etc: has to do with urw
metrics not being in tetex by default (they are on tex live)'

However, Gerben's i-Installer installs them here in a different location
than normal. (I think these are the only pair of files that are necessary
for utmb8a to work.)

/usr/local/teTeX/share/texmf.tetex/fonts/afm/urw/times/utmb8a.afm
/usr/local/teTeX/share/texmf.tetex/fonts/type1/urw/times/utmb8a.pfb

I believe that the problem is merely with texroot as I state below. Further
evidence for this is that it nearly all worked before Gerben rearranged the
directories.

Earlier message...
Hi,
Some of my previous font problems here were due to not enabling all of the
font map file in the final configuration of the install. I think someone
else had the same problem. Adobekb.tex is now helping me well, however I am
finding it necessary still to run with the Context font system for some
documents for the moment, and for this texfont has to run to create the
various font files.

Running the single command
texfont --en=8r --ve=urw --co=courier --so=auto
Should work but returns
processing aborted : unknown tex root  /sw/share/texmf/

Clearly texroot is set incorrectly so forcing that
texfont --en=8r --ve=urw --co=courier --so=auto
--fontroot=/usr/local/teTeX/share/texmf.tetex/
Should work but returns
processing aborted : unknown subpath ../fonts/afm/urw/courier

And yet 
/usr/local/teTeX/share/texmf.tetex/fonts/afm/urw/courier/ucrb8a.afm
Exists
This process worked in the v2 version of the i-installer indeed still works
when reinstalled.

I am presuming that the new problem is because of the texmf.tetex that the
texfont perl script is now not able to understand. Perl is beyond my small
brain!

Any help much appreciated
-- 
Nigel

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Referencing another document

2003-08-01 Thread Nigel King
Guys,
I have been searching for how to specify another document (.pdf) to open
from the source document. The only method I have found is using \useURL etc.
which bring up the web browser as an intermediate step. Please con somebody
direct me to the correct method.

TIA
-- 
Nigel

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Referencing another document

2003-08-01 Thread Nigel King
David,
Thank you very much, I thought I had got beyond the beginner's manual but
obviously I haven't..

 From: David Arnold [EMAIL PROTECTED]

 This example is from the beginner's manual, page 86.
 
 \useexternaldocument[hia][hasbook][Hasselt in August]
 
 Most tourist attractions are described in \from[hia]. A description
 of the Eui||feest is found in \from[hia::euifeest]. A description of
 the \goto{Eui||feest}[hia::euifeest] is found in \from[hia]. The
 eui||feest is described on \at{page}[hia::euifeest] in \from[hia].
 See for more information \in{chapter}[hia::euifeest] in \from[hia].
 
 At 04:30 PM 8/1/03 +0100, you wrote:
 Guys,
 I have been searching for how to specify another document (.pdf) to open
 from the source document. The only method I have found is using \useURL etc.
 which bring up the web browser as an intermediate step. Please con somebody
 direct me to the correct method.
 
-- 
Nigel

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Referencing another document

2003-08-01 Thread Nigel King
Another question on the same subject. One of my referenced documents is not
pdf but actually an Excel Spreadsheet. Is there any way that can be opened
automatically in Excel?
 Nigel,
 
 Nah, I just happened to have read it recently for the umpteenth time and
 knew where to look.
 
 At 05:59 PM 8/1/03 +0100, you wrote:
 David,
 Thank you very much, I thought I had got beyond the beginner's manual but
 obviously I haven't..
 
 From: David Arnold [EMAIL PROTECTED]
 
 This example is from the beginner's manual, page 86.
 
 \useexternaldocument[hia][hasbook][Hasselt in August]
 
 Most tourist attractions are described in \from[hia]. A description
 of the Eui||feest is found in \from[hia::euifeest]. A description of
 the \goto{Eui||feest}[hia::euifeest] is found in \from[hia]. The
 eui||feest is described on \at{page}[hia::euifeest] in \from[hia].
 See for more information \in{chapter}[hia::euifeest] in \from[hia].
 
 At 04:30 PM 8/1/03 +0100, you wrote:
 Guys,
 I have been searching for how to specify another document (.pdf) to open
 from the source document. The only method I have found is using \useURL
 etc.
 which bring up the web browser as an intermediate step. Please con
 somebody
 direct me to the correct method.
 

-- 
Nigel


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \setuparranging 3SIDE

2003-07-24 Thread Nigel King
Willi,
I had a go at this and found two things that I do not understand;

\setuplayout[page] [topspace=5mm,backspace=5mm]
Did not adjust anything until the [page] was removed and then the
incorporated page seems to adjust appropriately. I do not understand the
significance of [page] in this sommand.

Also,
\setuppapersize [XY][A4]
You have changed this to
\setuppapersize [XY][A4,landscape]
This does not appear to work properly? Possibly a bug?
-- 
Nigel


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \setMPtext value

2003-06-03 Thread Nigel King
 this is because context keeps your text confidential -)
 
  \expanded{\setMPtext{...}{\getvalue{...}}}
 
 will give you a for-your-eyes only copy
 
 Hans

Confidentially it works like a dream
Thanks
Nigel

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context