[NTG-context] teletype style in type-win.mkiv

2011-06-02 Thread Richard Stephens
Hello all,

I'm afraid I've never spent the time to understand fonts properly, I just
make do with the defaults most of the time. Now, however, I am being forced
to use company default fonts for some documents. I have got as far as using
the following commands to setup my body font:

\usetypescriptfile[type-win]
\usetypescript[arial]
\setupbodyfont[arial, 10pt]

But the teletype style now has no effect: e.g. using {\tt teletype} gives
the same font as normal, and \showbodyfont reveals the same.

I've tried making sense of the type-win.mkiv file but it's beyond me! Any
suggestions how to get \tt to use Courier New, for instance?

Thanks,

Richard

Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188 Registered in England and Wales. Registered 
office: Boughton Road, Rugby, Warwickshire, CV21 1BU.

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. 
If you are not a named recipient, please notify the sender immediately and do 
not disclose the contents to another person, use it for any purpose or store or 
copy the information in any medium.

http://www.converteam.com

Please consider the environment before printing this e-mail.
___
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] teletype style in type-win.mkiv

2011-06-02 Thread Richard Stephens
On 2 June 2011 15:26, Hans Hagen pra...@wxs.nl wrote:

 On 2-6-2011 3:57, Richard Stephens wrote:

  I've tried making sense of the type-win.mkiv file but it's beyond me! Any
 suggestions how to get \tt to use Courier New, for instance?


 \setupbodyfont[mcore]


Sorry Hans, I don't understand what I'm supposed to do with that command.
Anyway, I have found another way around the problem. I have removed the
typescript and font commands for Arial and replaced them with:

\setupbodyfont[helvetica, 10pt]

which is indistinguishable from Arial for 99% of the population, and it has
the advantage that all the styles are already defined, including \tt.

Richard

Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188 Registered in England and Wales. Registered 
office: Boughton Road, Rugby, Warwickshire, CV21 1BU.

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. 
If you are not a named recipient, please notify the sender immediately and do 
not disclose the contents to another person, use it for any purpose or store or 
copy the information in any medium.

http://www.converteam.com

Please consider the environment before printing this e-mail.
___
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] \SetTableToWidth undefined?

2010-11-30 Thread Richard Stephens
Hello all,

I have just noticed that \SetTableToWidth does not work in MKIV.
Simple example below.

\starttext
\SetTableToWidth{8cm}
\starttable[|l|l|]
\NC One \NC Two \NC\SR
\NC Three \NC Four \NC\LR
\stoptable
\stoptext

I get the error:

! Undefined control sequence.
l.3 \SetTableToWidth
 {8cm}

It does work in MKII and also works if you use \tableSetTableToWidth.

Have I missed something, is something wrong or is it just me?

Thanks,

Richard
Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188 Registered in England and Wales. Registered 
office: Boughton Road, Rugby, Warwickshire, CV21 1BU.

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. 
If you are not a named recipient, please notify the sender immediately and do 
not disclose the contents to another person, use it for any purpose or store or 
copy the information in any medium.

http://www.converteam.com

Please consider the environment before printing this e-mail.

___
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] ConTeXt on MikTeX

2010-11-25 Thread Richard Stephens
 As I cannot use rsynch to update ConTeXt, I was wondering if the
 MikTeX distribution might provide an alternative route to getting
 updates.

 Is it a firewall problem or something else?

Firewall. I am protected by two company firewalls (so I'm told). There
is no prospect of opening ports that are currently blocked and
'tunnelling' or whatever it's called would be seen as a contavention
of company rules!

 3) How often will the MikTeX distribution be updated with a new
 ConTeXt? I guess I only need updating a couple of times a year, now
 that MKIV is looking pretty good.

 You need to ask Christian Schenk about that. ConTeXt is tightly bound
 to a specific LuaTeX version. So until version of LuaTeX is updated in
 MikTeX, there is no way to update ConTeXt there (unless somebody does
 a heavy patching or backporting of features; which won't happen). It
 is quite possible that LuaTeX will only be updated with MikTeX 2.10.
 The history of MikTeX says that there have usually been major version
 releases in intervals from 8 months up to 3 years, so maybe you won't
 see any ConTeXt update in MikTeX during the next year or two.


I guess I'll carry on using my own update method then: I download
cont-tmf.zip (from http://www.pragma-ade.com/download-2.htm) then hunt
for new binaries in the directory tree at
http://minimals.contextgarden.net/. It's a pain but it seems to work
at the moment. It would be nice if there were a .zip file that
contained the latest binaries to go into texmf-mswin/bin. But perhaps
that would open up another can of worms!?
Perhaps now that MKIV has most features working I could just update
with the stable releases rather than the betas.

Thanks for your help.

Richard
Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188 Registered in England and Wales. Registered 
office: Boughton Road, Rugby, Warwickshire, CV21 1BU.

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. 
If you are not a named recipient, please notify the sender immediately and do 
not disclose the contents to another person, use it for any purpose or store or 
copy the information in any medium.

http://www.converteam.com

Please consider the environment before printing this e-mail.

___
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] ConTeXt on MikTeX

2010-11-24 Thread Richard Stephens
Hello all,

As I cannot use rsynch to update ConTeXt, I was wondering if the
MikTeX distribution might provide an alternative route to getting
updates. There are questions:
1) The Wiki page on MikTeX (http://wiki.contextgarden.net/MikTeX)
still says it's broken. I presume this is out of date?
2) Does MKIV work in MikTeX?
3) How often will the MikTeX distribution be updated with a new
ConTeXt? I guess I only need updating a couple of times a year, now
that MKIV is looking pretty good.
4) Does TeXworks (which is part of MikTeX distribution) work with ConTeXt?
5) Any opinions or advice?

Thanks,

Richard
Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188 Registered in England and Wales. Registered 
office: Boughton Road, Rugby, Warwickshire, CV21 1BU.

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. 
If you are not a named recipient, please notify the sender immediately and do 
not disclose the contents to another person, use it for any purpose or store or 
copy the information in any medium.

http://www.converteam.com

Please consider the environment before printing this e-mail.

___
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] Tabs inside \starttyping \stoptyping

2010-11-24 Thread Richard Stephens
Hello again,

I am using the latest beta (20.11.2010 12:15) and I've found that a
file with a [tab] inside \starttyping...\stoptyping results in an
error.
Example:
\starttext
\starttyping
Some typing.
\stoptyping
\stoptext
Note the [tab] before Some.

This results in error:
! LuaTeX error ...ools/tex/texmf-context/tex/context/base/util-str.lua:56:
attempt to call global 'rep' (a nil value)
stack traceback:
...ools/tex/texmf-context/tex/context/base/util-str.lua:56: in
function 'tabtospace'
...ools/tex/texmf-context/tex/context/base/buff-ini.lua:576: in 
function 'line'
...ools/tex/texmf-context/tex/context/base/buff-ini.lua:289: in
function 'action'
...ools/tex/texmf-context/tex/context/base/buff-ini.lua:231: in 
function 'type'
main ctx instance:1: in main chunk.
\nododowithbuffer ...\typingparameter \c!range )}
  \dostoptagged \endofverbat...
l.4 \stoptyping

Any thoughts?

Richard
Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188 Registered in England and Wales. Registered 
office: Boughton Road, Rugby, Warwickshire, CV21 1BU.

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. 
If you are not a named recipient, please notify the sender immediately and do 
not disclose the contents to another person, use it for any purpose or store or 
copy the information in any medium.

http://www.converteam.com

Please consider the environment before printing this e-mail.

___
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] Multi-line labels in MetaPost MKIV

2010-07-28 Thread Richard Stephens
Hello all,

What is the recommended method for creating multi-line labels in MetaPost in
MKIV, please?
I have the following code:

\definetextext[mplabel]{\framed[frame=off,align=middle]}
\starttext
\startMPpage
input mp-tool;

draw fullcircle scaled 5cm;
label(\sometxt[mplabel]{One\\Two}, (0,0));
\stopMPpage
\stoptext

which gives a line feed between One and Two using MKII, but no line feed in
MKIV.

Thanks,

Richard

Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188 Registered in England and Wales. Registered 
office: Boughton Road, Rugby, Warwickshire, CV21 1BU.

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. 
If you are not a named recipient, please notify the sender immediately and do 
not disclose the contents to another person, use it for any purpose or store or 
copy the information in any medium.

http://www.converteam.com

Please consider the environment before printing this e-mail.
___
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] Multi-line labels in MetaPost MKIV

2010-07-28 Thread Richard Stephens
 Am 28.07.10 10:03, schrieb Richard Stephens:

 Hello all,

 What is the recommended method for creating multi-line labels in MetaPost
 in MKIV, please?
 I have the following code:

 \definetextext[mplabel]{\framed[frame=off,align=middle]}
 \starttext
 \startMPpage
 input mp-tool;

 draw fullcircle scaled 5cm;
 label(\sometxt[mplabel]{One\\Two}, (0,0));
 \stopMPpage
 \stoptext

 which gives a line feed between One and Two using MKII, but no line feed
 in MKIV.


 \defineframed[mplabel][frame=off,align=middle]

 \starttext
 \startMPpage
 draw fullcircle scaled 5cm ;
 label(textext(\mplabel{One\\Two}),origin)) ;
 \stopMPpage
 \stoptext

 Wolfgang


Thanks for the suggestion, but I still don't get a line feed! I am using
ConTeXt from 15-May-2010, has something changed since then?

Richard

Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188 Registered in England and Wales. Registered 
office: Boughton Road, Rugby, Warwickshire, CV21 1BU.

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. 
If you are not a named recipient, please notify the sender immediately and do 
not disclose the contents to another person, use it for any purpose or store or 
copy the information in any medium.

http://www.converteam.com

Please consider the environment before printing this e-mail.
___
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] Minimals without rsync - again?

2010-07-28 Thread Richard Stephens
Hi all,

On the wiki at http://wiki.contextgarden.net/ConTeXt_Minimals/FAQ is says:

Blocked Firewall port
You are most probably behind a firewall. Make sure that port 873 is
open. If you cannot make any changes yourself and if your admin
objects, you probably won't be able to use rsync for the
distribution.

Yes, I am behind a firewall. No, port 873 is not open. No, I cannot
make any changes, and yes, my admin objects :-(
So what's the alternative to using rsync? I used to use the zip file
at http://www.pragma-ade.com/download-4.htm but that doesn't exist any
more!

I've now managed to screw up my MKIV installation somehow, so I
desperately need some way of getting the beta release re-installed
without rsync.

Help!!

Richard
Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188 Registered in England and Wales. Registered 
office: Boughton Road, Rugby, Warwickshire, CV21 1BU.

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. 
If you are not a named recipient, please notify the sender immediately and do 
not disclose the contents to another person, use it for any purpose or store or 
copy the information in any medium.

http://www.converteam.com

Please consider the environment before printing this e-mail.

___
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] Minimals without rsync - again?

2010-07-28 Thread Richard Stephens
 Does http://www.pragma-ade.com/download-2.htm help?

 --
 Vedran Miletić

I used to update to the latest beta using download-2, but it doesn't
contain new binaries and dll's etc.

 There is also
    http://minimals.contextgarden.net/pragma/

 Maybe it doesn't contain the latest ConTeXt, but at least it should
 work (I can update it at any time, but I have a feeling that it now
 contains the latest stable release).

At the above address, there is a .zip file called mswin.zip which
appears to contain binaries etc (dated 28-May-2010). Plus another one
called mswincontext.zip which presumably contains everything else
(dated 17-April-2008). How would I make use of these to install the
full distribution?

What would be really nice is a .zip file containing EVERYTHING needed
to install ConTeXt for the latest stable release
AND another .zip (produced, say, once a month) with the changes since
the stable release!
Or failing that, just a big .zip file with everything in it once a month or so.
I can dream!

 An alternative is to use ssh port forwarding, but I'm not sure how
 this can be done (there have already been some discussions about that,
 so it must be somewhere in archives).

 Mojca
I've tried to understand all the ssh stuff in the mail archive and
elsewhere but it makes my head spin!

Thanks for your help,

Richard
Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188 Registered in England and Wales. Registered 
office: Boughton Road, Rugby, Warwickshire, CV21 1BU.

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. 
If you are not a named recipient, please notify the sender immediately and do 
not disclose the contents to another person, use it for any purpose or store or 
copy the information in any medium.

http://www.converteam.com

Please consider the environment before printing this e-mail.

___
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] Multi-line labels in MetaPost MKIV

2010-07-28 Thread Richard Stephens
 What is the recommended method for creating multi-line labels in MetaPost
 in MKIV, please?
 I have the following code:

 \definetextext[mplabel]{\framed[frame=off,align=middle]}
 \starttext
 \startMPpage
 input mp-tool;

 draw fullcircle scaled 5cm;
 label(\sometxt[mplabel]{One\\Two}, (0,0));
 \stopMPpage
 \stoptext

 which gives a line feed between One and Two using MKII, but no line feed
 in MKIV.


 \defineframed[mplabel][frame=off,align=middle]

 \starttext
 \startMPpage
 draw fullcircle scaled 5cm ;
 label(textext(\mplabel{One\\Two}),origin)) ;
 \stopMPpage
 \stoptext

 Wolfgang


 Thanks for the suggestion, but I still don't get a line feed! I am using
 ConTeXt from 15-May-2010, has something changed since then?

 in pack-rul.mkiv add \unexpanded here:

 \unexpanded\def\vboxednewline
  {\endgraf\ignorespaces}

 \unexpanded\def\hboxednewline
  {\unskip\normalspace\ignorespaces}

 and then remake the format

 (it's a side effect of nested framed usage)

 -
                                          Hans Hagen | PRAGMA ADE

Thanks Hans, that works.
Will this change be added to the next release, or do I have to
re-apply it manually?

Is \sometxt not recommended now? Should I be using textext throughout?

Richard
Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188 Registered in England and Wales. Registered 
office: Boughton Road, Rugby, Warwickshire, CV21 1BU.

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. 
If you are not a named recipient, please notify the sender immediately and do 
not disclose the contents to another person, use it for any purpose or store or 
copy the information in any medium.

http://www.converteam.com

Please consider the environment before printing this e-mail.

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

2010-07-26 Thread Richard Stephens

 On 26-7-2010 11:48, John Haltiwanger wrote:

  It seems the most successful/widely adopted form is to vary from 'he'
 to 'she' (so that in one sentence you use one, in the next another).
 Some authors even change the gender within a sentence. This method was
 adopted because 'one' (the real correct unisex pronoun) is just too
 awkward for extended use. The morphographic he/she/he/she method reads
 surprisingly well.


 maybe male authors could use he and female authors could use she
 consistently (or we could get accustomed to 'it')

 Hans


The trend that I have noticed (and which trips off the tongue most easily
for British english-speakers) is to use the plural 'they' in place of the
singular pronoun 'he' or 'she'. This avoids having to choose! For purists,
it rankles, but then we have to accept that the language will change.
Personally, for serious writing, I use the rather cumbersome, but
grammatically correct, 'he or she'. I personally don't like 'he/she'. The
use of 'one' as a pronoun in British english is pretty much dead and sounds
very stilted to us - only the Queen and old school masters still use it!
Using 'it' is not an option.

Best regards,

Richard

Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188 Registered in England and Wales. Registered 
office: Boughton Road, Rugby, Warwickshire, CV21 1BU.

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged.
If you are not a named recipient, please notify the sender immediately and do 
not disclose the contents to another person, use it for any purpose or store or 
copy the information in any medium.

http://www.converteam.com

Please consider the environment before printing this e-mail.
___
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] Tracking down error in publication list

2010-07-22 Thread Richard Stephens
Hello,

I am preparing a document with a publication list generated from BibTeX but
I get the following error:

! LuaTeX error .../context/texmf-context/tex/context/base/bibl-tra.lua:83:
attempt to compare nil with number
stack traceback:
.../context/texmf-context/tex/context/base/bibl-tra.lua:83: in function
.../context/texmf-context/tex/context/base/bibl-tra.lua:80
 [C]: in function 'sort'
.../context/texmf-context/tex/context/base/bibl-tra.lua:93: in function
'flush'
 main ctx instance:1: in main chunk.
\typesetpubslist ...hacks.flush(\@@pbsorttype )}
  \doendoflist
\dodoplacepublications ...sttrue \typesetpubslist
  \inpublistfalse \endgroup
...
to be read again


Is there a way I can narrow down what and where the problem is? At the
moment I'm stumped.
I've tried removing some of the \cite commands recently added, but to no
avail. Is the problem in the BibTeX file or in
my document?

Any help would be much appreciated.

Regards,

Richard

Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188
Registered in England and Wales.
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. 
If you are not a named recipient, please notify the sender immediately and do 
not disclose
the contents to another person, use it for any purpose or store or copy the 
information in
any medium.

http://www.converteam.com

Please consider the environment before printing this e-mail.
___
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] \definecolumnsethsize

2010-07-07 Thread Richard Stephens
I'm using columnsets for a paper with 2 columns and copied an examples from
the wiki and the columnsets documentation to give the following commands:

\definecolumnset[colset][n=2]
\setupcolumnset[colset][2][distance=5mm]
\definecolumnsethsize{colset}{1}{1}\One
\definecolumnsethsize{colset}{1}{2}\Two
...
\placefigure[btlr][fig:ex1]{caption1}{\externalfigure[example1][width=\One]}
% One column figure
\placefigure[btlr][fig:ex2]{caption1}{\externalfigure[example2][width=\Two]}
% Two column figure

The figures appear okay, but they are quite a bit smaller than the textwidth
of the columns. Can someone explain the workings of \definecolumnsethsize?
I've looked at the code and it means nothing to me! The columnsets document
only gives examples, no definition.

Thanks verily,

Richard

Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188
Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. 
If you are not a named recipient, please notify the sender immediately and do 
not disclose the contents to another person, use it for any purpose or store or 
copy the information in any medium.

http://www.converteam.com

Please consider the environment before printing this e-mail.
___
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] Indent in publication list

2010-06-21 Thread richard . stephens
 Can anyone please tell me how to reduce the hanging indent in a 
 publication list? 
 I am using the APA style and there is a hanging indent of about 1 
 cm, I would like to reduce this to 0.5 cm but I cannot work out how to 
do it. 
 I use the command \placepublications to generate the list. 
 
 
 Try
 \setuppublicationlist[width=5mm]
 
Thanks Yury, that's great.

Richard 

P.S. I've switched to plain text emails!





Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and may 
be privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for 
any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




___
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] Indent in publication list

2010-06-18 Thread richard . stephens

Can anyone please tell me how to reduce
the hanging indent in a publication list? 
I am using the APA style and there is
a hanging indent of about 1 cm, I would like to reduce this to 0.5 cm but
I cannot work out how to do it. 
I use the command \placepublications
to generate the list.

Thanks,

Richard






Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration
Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person,
use it for any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




___
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] Change figure caption

2010-05-21 Thread richard . stephens

Hi all,

The default figure caption looks like:
Figure 1 User caption. How do I change this to Fig.
1 User caption, i.e. change Figure to Fig.?
I've looked for an example but I cannot
work it out.

Thanks,

Richard






Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration
Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person,
use it for any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




___
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] Change figure caption

2010-05-21 Thread richard . stephens


  The default figure caption looks like:
Figure 1 User caption. How do I
  change this to Fig. 1 User caption, i.e. change Figure
to Fig.?
  I've looked for an example but I cannot work it out.
 
 \setuplabeltext[en][figure=Fig. ]
 
 Wolfgang

Thanks Wolfgang, that's fantastic!

Richard





Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration
Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person,
use it for any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




___
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] MKIV numbering

2010-05-18 Thread richard . stephens

   Explicit setting of :
  
   \setupcaptions[way=bysection]
   \setupformulas[way=bysection]
  
   works.
  
   Best wishes,
   Taco
 
 
  I'm afraid this suggestion ALMOST works---it restarts the numbering
in
  each new section, but it
  does not prefix the numbers with the section number, so my previous
  example gives two Figure 1's.
 
 \setupcaptions[way=bysection,prefixsegments=section]
 \setupformulas[way=bysection,prefixsegments=section]
 
 Wolfgang

Thanks Wolfgang, that is absolutely fantastic. I'm
so happy I might just make a note of that on the wiki!

Richard





Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration
Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person,
use it for any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




___
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] ntg-context Digest, Vol 71, Issue 54

2010-05-17 Thread richard . stephens

  Hello,
  
  Does anyone else have the following problems with numbering
for
  figures, equations etc in MKIV
  
  1. Using \setupnumbering[way=bysection] does not work
  2. The colour of references to figures etc is wrong.
 \setupinteraction[state=start,
  color=darkgreen,contrastcolor=darkgreen,style=normal]
 
 Marco

Thanks Marco, that works fine, but why do I need contrastcolor
and what does it do?

 From the mkiv source, it looks like the inheritance
is disabled at the
 moment for some reason (code is commented out).

 Explicit setting of :

  \setupcaptions[way=bysection]
  \setupformulas[way=bysection]

 works.

 Best wishes,
 Taco


I'm afraid this suggestion ALMOST works---it restarts
the numbering in each new section, but it
does not prefix the numbers with the section number,
so my previous example gives two Figure 1's.

There is code for \setupcaptions in strc-flt.mkiv
which has 'way' commented out.

Regards,

Richard





Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration
Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person,
use it for any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




___
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] MKIV numbering

2010-05-17 Thread richard . stephens

Oops - I forgot to change the subject, sorry for the
noise!

  Hello,
  
  Does anyone else have the following problems with numbering
for
  figures, equations etc in MKIV
  
  1. Using \setupnumbering[way=bysection] does not work
  2. The colour of references to figures etc is wrong.
 \setupinteraction[state=start,
  color=darkgreen,contrastcolor=darkgreen,style=normal]
 
 Marco

Thanks Marco, that works fine, but why do I need contrastcolor
and what does it do?

 From the mkiv source, it looks like the inheritance
is disabled at the
 moment for some reason (code is commented out).

 Explicit setting of :

  \setupcaptions[way=bysection]
  \setupformulas[way=bysection]

 works.

 Best wishes,
 Taco


I'm afraid this suggestion ALMOST works---it restarts
the numbering in each new section, but it
does not prefix the numbers with the section number,
so my previous example gives two Figure 1's.

There is code for \setupcaptions in strc-flt.mkiv
which has 'way' commented out.

Regards,

Richard






Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration
Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person,
use it for any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




___
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] MKIV numbering

2010-05-14 Thread richard . stephens

Hello,

Does anyone else have the following
problems with numbering for figures, equations etc in MKIV

1. Using \setupnumbering[way=bysection]
does not work
2. The colour of references to figures
etc is wrong.

The example below illustrates the problems.
Try compiling in MKII and MKIV and note the differences.

\setupcolors[state=start]
\setupinteraction[state=start,color=darkgreen,style=normal]
\setupnumbering[way=bysection]
\startuseMPgraphic{Circle}
draw
fullcircle scaled 2cm;
\stopuseMPgraphic

\starttext
\section{First section}
See \in{Figure}[fig:Circle].
\placefigure[here][fig:Circle]{A circle}{\useMPgraphic{Circle}}

\placeformula[eq:pythag]
\startformula
c^2
= a^2 + b^2
\stopformula

\section{Second section}
See \in{Figure}[fig:Circle] on \at{page}[fig:Circle].
See \in{equation}[eq:pythag] for Pythagoras.
\placefigure[here][fig:Circle2]{Another
circle}
{\startMPcode

   draw fullcircle scaled 1cm;
\stopMPcode}
\stoptext






Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration
Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person,
use it for any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




___
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] Unicode bibliography

2010-04-27 Thread richard . stephens

 Long ago (when I was still using JabRef) I was
thinking about creating
 support for export into ConTeXt-specific format.
 
 Mojca

What a teaser! So if you're not using JabRef now,
what are you using and why?

Richard





Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration
Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person,
use it for any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




___
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] Help needed: texshow-web/command reference

2010-04-12 Thread richard . stephens

Patrick wrote:
 
 Hi all,
 
 the garden maintainers have moved the command reference from texshow-web
(
 http://texshow.contextgarde.net)
to the wiki, below the page
 
 http://wiki.contextgarden.net/Category:Reference/en
 
 This means, everybody can update the command reference now! Hooray!
 
 The contents has been transferred automatically, but this process

 can lead to some unwanted formatting errors. To find these errors,

 we need your help:
 
 Everybody: please pick one random command from 
 
 http://wiki.contextgarden.net/Category:Reference_Cleanup
 
 and make if this looks ok. If you are finished, please remove the

 first two lines from that page and save it.
 
 If everybody from this list helps with _one_ command, we are quickly
 done with checking the new reference!
 
 
 Thanks for your help!
 
 Patrick (for the garden maintainers)

This is fantastic news, and it looks great! Thanks
Patrick.

If the 'volunteers' are REALLY keen they could also
change examples so that they have the following form:

context source=yes text=yields
Some example code for the command in question.
/context

which then outputs both the raw code and the formatted
output separated by the word yields. It makes examples so much
more useful.

Best regards

Richard





Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration
Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person,
use it for any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




___
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] suggestions for context documentation

2010-03-05 Thread richard . stephens

 No, not like those. I mean like a real
manual. I read the book
 about Hasselt---a few examples without explanations.

I am absolutely gobsmacked (astounded, astonished)
at some of the comments on this and other threads!
ConTeXt - an Excursion and ConTeXt
the Manual together are wonderful. I still consult them at least
once a week
after 4 year's use. If you actually tried the examples
in the former, rather than just reading them, you
would be an expert user within 2 days!

It would be nice to think that the community could
construct documentation, but good, coherent documentation
is much harder to produce than good code! It works
for collections of small articles (WikiPedia etc), but
I've never seen a good book written by a community.

While it would be nice to have an updated ConTeXt
the Manual, in my humble opinion the biggest hole
in the documentation is a reference for each command.
Texshow-web should fill this gap and this is
where the community CAN contribute, and where the
mechanism already exists. And because it's made up of
small articles it could work. When I learn about a
command I try to fill in a few words in
texshow-web. If everyone added a few words each time
they learn a new command, we would soon have 
a fantastic reference source.

Richard

P.S. One request for improvement to texshow-web: the
source-file for each command is included
in cont-en.xml, could this be displayed on the command
web-page? It would make it easier to
find the source if you need to.





Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration
Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person,
use it for any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




___
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] suggestions for context documentation

2010-03-05 Thread richard . stephens

There's another feature that would be REALLY useful
in texshow-web: the ability to show the output from code, in the same way
that the Wiki shows the output from code between context and /context.

Is this a possibility?

Richard

P.S. There is an error in cont-en.xml for the command
lohi: the keyword is shown as low when it should
be left.






Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration
Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person,
use it for any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




___
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] texshow-web parameters

2009-11-23 Thread richard . stephens

Hello,

On the texshow-web Help page it says
that the page for a specific command can be invoked using a parameter for
the url, e.g. http://texshow.contextgarden.net/about.
I have tried this but all I get is a page saying Error
message: Cannot recognize URL.

I have tried with a space before the
command and without a space. Is this functionality broken or am I doing
something wrong?

Thanks,

Richard


UKACC
International Conference on CONTROL 2010 





Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration
Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person,
use it for any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




___
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] Notepad++ calltips

2009-11-23 Thread richard . stephens

Idris,

Thanks for this, it works fine.

I am adding calltips very slowly to
my file, and I will post it to the Wiki when I have a useful number done.

Best regards,

Richard

UKACC
International Conference on CONTROL 2010 

ntg-context-boun...@ntg.nl wrote on 20/11/2009 20:34:33:

 Hi,
 
 Change the name of the attached to end in .zip . I can confirm that
the
 context calltips work for this version of context.xml in Npp 5.5.1.
 
 OTOH, the ignoreCase=no used to work, and that is something that the
Npp
 developers will hopefully take care of.
 
 Richard, if you make additional calltips to context.xml, can you post
your
 updates to the wiki? Maybe we can start a project to eventually add
 calltips to all commands. I have a few other ideas as well to make
these
 calltips more useful, and to serve a certain book project ;-)
 
 Best wishes
 Idris
 
 On Fri, 20 Nov 2009 13:03:19 -0700, Idris Samawi Hamid ادريس
 سماوي حامد
 isha...@colostate.edu wrote:
 
 
  On Fri, 20 Nov 2009 09:21:34 -0700, richard.steph...@converteam.com

  wrote:
 
  After some experiments, I think the problem is that Notepad++
is 
  ignoring the case of the commands when searching for calltips.
By 
  re-sorting the list I was able to get calltips to work. However,
with 
  this new sorting the auto-complete no longer works! This
is definitely 
  one for the Notepad++ developers.
 
  I experimented a bit and I think you are exactly right. If I
comment out 
  the commands that contain upper-case letters, the calltip mechanism

  works. If I resort just those commands, viz, move them to the
bottom of 
  the file, autocompletion does not work for the upper-case commands
but 
  it does work for all others.
 
  Workaround:
 
  in context.xml go to
 
  Environment ignoreCase=no startFunc=[
stopFunc=] /br/
 
  change ignoreCase
 
  ignoreCase=yes
 
  resort according to ignorecase
 
  I did this for one command and it works, let me try some more.
 
 -- 
 Professor Idris Samawi Hamid, Editor-in-Chief
 International Journal of Shi`i Studies
 Department of Philosophy
 Colorado State University
 Fort Collins, CO 80523[attachment context_xml_zip deleted
by 
 Richard STEPHENS/GBRUG03/APC] [attachment attachment130.txt

 deleted by Richard STEPHENS/GBRUG03/APC] 





Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration
Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person,
use it for any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




___
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] Notepad++ calltips

2009-11-20 Thread richard . stephens

 On Wed, 18 Nov 2009 09:58:26 -0700, richard.steph...@converteam.com

 wrote:
 
  Does anyone use Notepad++ with the function calltips
feature? Checking 
  the
  context.xml definition file, there are calltips defined for 
  \startitemize, but
  they never appear when I'm typing, even though the auto-completion
works 
  fine.
 
  Trying a .cpp file gives calltips okay, so it seems to be something
to 
  do with
  the Context implementation.
 
 I did some experimenting with calltips about a year ago... it took
me a 
 while to figure it out though...
 
 In context.xml I implemented only one:
 
KeyWord name=startitemize func=yes
 Overload retVal=

   Param name=[.1.]
n a A KA r R KR m g G -number- each /
 /Overload  

 Overload retVal=

   Param name=[..,.2.,..]
standard -n-*broad -n-*serried packed 
 unpacked stopper joinedup atmargin inmargin autointro loose section

 intext/
 /Overload  

 Overload retVal=

   Param name=margin
= no standard -dimension- /
 /Overload  
  
/KeyWord
 
 
 It used to work, in my present Npp 5.5.1 it seems broken; even cpp

 calltips don't work -- although normal autocompletion works fine.
Does 
 this one calltip work for you? What version of Npp are you running?
 
 In any case, it will be a major task to fill out all calltips for

 context.xml, unless there is a minimally structured source file for
all 
 context command options that can be sorted by text-processing [beyond
my 
 skill set].
 
 Best wishes
 Idris

Idris,

Thank-you for your response. I am using Npp 5.5.1
and the calltips for C++ work okay. I saw the startitemize tip in the context.xml
file and tried it out but it didn't work. I was hoping to complete just
a few calltips for commands that I use rarely enough not to remember the
parameters but often enough to make looking them up annoying! Calltips
for all commands would be a wonderful thing!

Anyway, if it used to work for you, perhaps I should
address the Notepad++ community instead.

Thanks again for your help.

Richard






Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration
Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person,
use it for any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




___
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] Notepad++ calltips

2009-11-20 Thread richard . stephens

 On Wed, 18 Nov 2009 09:58:26 -0700, richard.steph...@converteam.com

 wrote:
 
  Does anyone use Notepad++ with the function calltips
feature? Checking 
  the
  context.xml definition file, there are calltips defined for 
  \startitemize, but
  they never appear when I'm typing, even though the auto-completion
works 
  fine.
 
  Trying a .cpp file gives calltips okay, so it seems to be something
to 
  do with
  the Context implementation.


After some experiments, I think the problem is that
Notepad++ is ignoring the case of the commands when searching for calltips.
By re-sorting the list I was able to get calltips to work. However, with
this new sorting the auto-complete no longer works! This is definitely
one for the Notepad++ developers.

Regards,

Richard





Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration
Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person,
use it for any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




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

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


[NTG-context] Wiki pages for Scite and Notepad++

2009-11-11 Thread richard . stephens

Dear All,

I have recently added two new pages
to the Wiki, one for Scite (http://wiki.contextgarden.net/Scite
) and one for Notepad++ (http://wiki.contextgarden.net/Notepad%2B%2B)

I have used words plagiarised from release notes and the
mailing list, plus some of my own experiences of trying to get them to
work.

It would be good if someone knowledgeable
could review what I've put and straighten out any inaccuracies.

Regards,

Richard


UKACC
International Conference on CONTROL 2010 





Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration
Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person,
use it for any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




___
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] Multi-line labels in MetaPost

2009-08-14 Thread richard . stephens


Hello,
   
Is it possible to generate multi-line labels in MetaPost?
I have 
naively tried the following hoping to get a line feed
between the 
two words, but it doesn't work!
   
label.rt( btex One \crlf Two etex, (0,0));
  
   \defineframed[mplabel][frame=off,align=right,width=fit]
  
   label.rt(textext(\mplabel{One\\Two}),origin)
;
  
   Wolfgang
  
  Thank-you for a very elegant solution, Wolfgang, unfortunately
I 
 get an error:
  
  ! Argument of \dododefinecolor has an extra }.
  
  I have fixed this by using:
  
  label.rt(textext(\framed[frame=off,align=right]{One\\Two}),origin);
  
  which works okay. It's not as elegant but as the code is generated
  automatically it does not require any more typing on my part!
 
 Section 4.2 of Mojca's MyWay on sometxt
 http://dl.contextgarden.net/myway/sometxt.pdf
provides another solution.
 
 Aditya

For the record, after reading Mojca's MyWay, and noting
that textext is deprecated
except in certain circumstances, I have ended up with
the following:

\definetextext[mplabel]{\framed[frame=off,align=right,width=fit]}
\startMPcode
label.rt(\sometxt[mplabel]{One\\Two},origin);
\stopMPcode

Thanks everyone.

Richard





Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration
Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person,
use it for any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Exporting figures

2009-08-14 Thread richard . stephens

Hello again,

I have generated some ConTeXt documents
with figures using MetaPost. The figures
have labels which use \sometxt{}. Everything
works beautifully!
Now I have an unenlightened customer
(he does not use ConTeXt) who wants to import my figures into his documents.
He can accept eps or pdf files or any
of the common graphics formats (png, gif, even svg I think).
I have tried to generate the figures
as standalone files in two ways:

1) I compiled the metapost to a PS file
using texexec --mptex file.mp. Unfortunately, the resulting
figure does not have any labels, presumably
because it isn't accessing TeX to generate them?

2) Inserted \starttext ... \stoptext
around the metapost code and used ConTeXt to generate a PDF
document. This is great except that
each figure covers a full page.

Is there any way of sharing my figures
with the unenlightened masses?

Thanks,

Richard





Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration
Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person,
use it for any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Exporting figures

2009-08-14 Thread richard . stephens

  I have generated some ConTeXt documents
with figures using MetaPost. The figures
  have labels which use \sometxt{}. Everything works beautifully!
  Now I have an unenlightened customer (he does not use ConTeXt)
whowants to 
  import my figures into his documents.
  He can accept eps or pdf files or any of the common graphics
formats (png, gif, 
  even svg I think).
  I have tried to generate the figures as standalone files in two
ways:
  
  1) I compiled the metapost to a PS file using texexec --mptex
file.mp. 
  Unfortunately, the resulting
  figure does not have any labels, presumably because it isn't
accessing TeX to 
  generate them?
  
  2) Inserted \starttext ... \stoptext around the metapost code
and used ConTeXt 
  to generate a PDF
  document. This is great except that each figure covers a full
page.
  
  Is there any way of sharing my figures with the unenlightened
masses?
  
  Thanks,
  
  Richard
 
 \starttext
  \startMPpage
draw fullcircle scaled 10cm ;
  \stopMPPage
 \stoptext
 
 please wikify this
 

Thanks. I have added it to the Wiki under Sharing
graphics.

Richard





Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration
Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person,
use it for any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Multi-line labels in MetaPost

2009-08-13 Thread richard . stephens


  Hello,
 
  Is it possible to generate multi-line labels in MetaPost? I
have 
  naively tried the following hoping to get a line feed between
the 
  two words, but it doesn't work!
 
  label.rt( btex One \crlf Two etex, (0,0));
 
 \defineframed[mplabel][frame=off,align=right,width=fit]
 
 label.rt(textext(\mplabel{One\\Two}),origin) ;
 
 Wolfgang

Thank-you for a very elegant solution, Wolfgang, unfortunately
I get an error:

! Argument of \dododefinecolor has an extra }.

I have fixed this by using:

label.rt(textext(\framed[frame=off,align=right]{One\\Two}),origin);

which works okay. It's not as elegant but as the code
is generated 
automatically it does not require any more typing
on my part!

Thanks again.

Richard





Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration
Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person,
use it for any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Multi-line labels in MetaPost

2009-08-12 Thread richard . stephens

Hello,

Is it possible to generate multi-line
labels in MetaPost? I have naively tried the following hoping to
get a line feed between the two words, but it doesn't work!

label.rt( btex One \crlf Two etex, (0,0));

Thanks,

Richard





Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration
Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person,
use it for any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Problem with \digits

2009-06-18 Thread richard . stephens
 I am using mkiv beta (14-Jun-09) and the \digits command does not like
the
 decimal point. Any suggestions?

 a lpeg grammar ?

 --
 luigi

I'm sorry, I don't understand.
Does anybody else have this problem, or is it just me?

Richard



Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-mail 
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Lots of problems in mkiv

2009-06-18 Thread richard . stephens

I've recently started using mkiv because of the fonts, but I have found
lots of things that don't work.
The trouble is, I don't know if it's just me, or whether I need to go back
to mkii until things settle down.

Can someone, PLEASE, tell me if they get any of the following problems with
mkiv (I've included code snippets):
Everything below works perfectly in mkii.

1) References to equations appear as '??' in the final document

\placeformula[eq:pythag]
\startformula
a^2 = b^2 + c^2
\stopformula
Pythagoras proposed \in{equation}[eq:pythag].


2) References to footnotes appear as '??' inside
\startlocalfootnotes...\stoplocalfootnotes

\startlocalfootnotes
This has a note.\footnote[fn]{Footnote.}
See note \note[fn].
\stoplocalfootnotes

3) References to sections are repeated (e.g. reference to section 1 appears
as '11' or ref to section 1.1 appears as '1.11.1')

\section[sec:one]{Section one}
It was in \in{section}[sec:one].

4) \digits command falls over at periods or commas with \textfont1 is
undefined (character 58).

\digits{1.6}

5) \infull command does not work for abbreviations: falls over with
Missing } inserted.

\abbreviation {KF} {Kalman filter}
Rudolph Kalman invented the \infull{KF}.


Please help!!

Richard




Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-mail 
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Problem with \digits

2009-06-16 Thread richard . stephens

Hello,

I am using mkiv beta (14-Jun-09) and the \digits command does not like the
decimal point. Any suggestions?
Test code and log file follow:

Richard

Test code
\starttext
\digits{1.6}
\stoptext

Log file
This is LuaTeX, Version beta-0.40.5-2009061023 (Web2C 2009)
 \write18 enabled.
(testdigits.tex
color   : system all is global activated
color   : system gray is global activated
color   : mpcmyk color space is supported
color   : mpspot color space is supported
color   : system rgb is global activated
color   : system all is global activated

ConTeXt  ver: 2009.06.14 21:01 MKIV  fmt: 2009.6.16  int: english/english

system  : cont-new loaded
(C:/Tools/context/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(C:/Tools/context/texmf-context/tex/context/base/cont-new.mkiv)
(C:/Tools/context/texmf-context/tex/context/base/cont-mtx.tex))
system  : cont-fil loaded
(C:/Tools/context/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system  : cont-sys.rme loaded
(C:/Tools/context/texmf-context/tex/context/user/cont-sys.rme
(C:/Tools/context/texmf-context/tex/context/base/type-tmf.tex)
(C:/Tools/context/texmf-context/tex/context/base/type-siz.tex
(C:/Tools/context/texmf-context/tex/context/base/type-siz.mkiv))
(C:/Tools/context/texmf-context/tex/context/base/type-otf.tex
(C:/Tools/context/texmf-context/tex/context/base/type-otf.mkiv)))
system  : testdigits.top loaded
(testdigits.top)
fonts   : preloading latin modern fonts
bodyfont: 12pt rm is loaded
language: language en is active
systems : begin file testdigits at line 1
! \textfont1 is undefined (character 58).
\mathematics #1-\relax \ifmmode #1\else $#1$
 \fi
\doscandigit ...\digitoutputmode ,\else .\fi \fi }
  \egroup
\digitsep ...x \digitsepbox \hbox {\doscandigit #1
  }\fi \chardef \skipdigit
0...
\scandigits #1-\if #1.\digitsep 1
  \else \if #1,\digitsep 2\else \if
#...@\digi...
\dodohandletokenstwo *#1-\dododohandletokens {#1}
  \dohandletokens
argument 1.
 6
...
l.2 \digits{1.6}

?



Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-mail 
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] usemodule[bib] upsets abbreviations

2009-06-04 Thread richard . stephens
 richard.steph...@converteam.com wrote:
  Using today's beta (2009-06-03), my abbreviations seem to be upset by
the
  \usemodule[bib] command.
  Here is a simple test case in which the first line is okay, but the
second
  line, with ! after the abbreviation, fails.
 
  \enableregime[il1]
  \abbreviation {KF} {Kalman filter}
  \usemodule[bib]

 Either update the bib module from http://modules.contextgarden.net
 (please do), or add a \protect at this location of your input
 file (ugly hack).

 Best wishes,
 Taco

I updated the bib module and it works.

Thanks a lot.

Richard



Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-mail 
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Page number updates

2009-06-04 Thread richard . stephens

Hello again,

I want to set up a header which stretches across the margins as well as the
text area, so I've defined a layer for use as a background, as follows:

\setuplayout[backspace=3.5cm,leftmargin=0.5cm,leftmargindistance=1.0cm]
\definelayer[pagenumber][width=3cm,height=3cm]
\startsetups layer
\setlayer[pagenumber]{Page \pagenumber}
\stopsetups
\setupbackgrounds[header][leftmargin][setups=layer,background=pagenumber]

\starttext
\dorecurse{4}{\page[empty]}
\stoptext

Unfortunately, the page numbers are all '1'.

If I change the line:

\setupbackgrounds[header][leftmargin][setups=layer,background=pagenumber]

to

\setupbackgrounds[page][setups=layer,background=pagenumber]

the page numbering works, so I can get what I want by adjusting the offsets
of the layer.
My question is: should the first one work?

Regards,

Richard


Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-mail 
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Captials in section head

2009-06-04 Thread richard . stephens

I need all section heads to be in full-size capitals, so I tried:

\setuphead[section][textcommand=\uppercase]

\starttext
\section{New section}
\input knuth
\stoptext

But I still get lowercase.
Using 'textcommand=\cap' gives me small capitals, but I want full-size
capitals.
Is there a way to get what I want?

Thanks,

Richard



Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-mail 
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Reference to equation fails

2009-06-04 Thread richard . stephens

There seems to be a problem in the referencing to equations in the version
of MKIV I'm using:
ConTeXt  ver: 2009.06.03 11:48 MKIV  fmt: 2009.6.3  int: english/english

In the following code, the reference to the equation fails, resulting in
'??'. Using MKII everything is fine.

\starttext
\placeformula[eq:pythag]
\startformula
a^2 = b^2 + c^2
\stopformula
Pythagoras proposed \in{equation}[eq:pythag].
\stoptext

Best regards,

Richard



Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-mail 
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Captials in section head

2009-06-04 Thread richard . stephens

 Am 04.06.2009 um 14:56 schrieb richard.steph...@converteam.com:

 
  I need all section heads to be in full-size capitals, so I tried:
 
  \setuphead[section][textcommand=\uppercase]
 
  \starttext
  \section{New section}
  \input knuth
  \stoptext
 
  But I still get lowercase.
  Using 'textcommand=\cap' gives me small capitals, but I want full-size
  capitals.
  Is there a way to get what I want?

 In MkIV you can say \setuphead[section][style=WORD] or
 \setuphead[section][style=\WORD]

 Wolfgang

That's fantastic, thanks Wolfgang.

Richard



Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-mail 
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] usemodule[bib] upsets abbreviations

2009-06-03 Thread richard . stephens

Using today's beta (2009-06-03), my abbreviations seem to be upset by the
\usemodule[bib] command.
Here is a simple test case in which the first line is okay, but the second
line, with ! after the abbreviation, fails.

\enableregime[il1]
\abbreviation {KF} {Kalman filter}
\usemodule[bib]

\starttext
Once upon a time, Rudolph Kalman invented the \KF.

Once upon a time, Rudolph Kalman invented the \KF!
\stoptext

Best regards,

Richard

P.S. If I don't put the \enableregime in I get a failure of the bib module,
not sure why.



Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-mail 
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Installation problem (was Updates without rsync)

2009-06-02 Thread richard . stephens


 I wanted to get a clean, up-to-date installation of Context on Windows
 (without using rsync), so started from scratch as follows:

 1. Downloaded
 http://www.pragma-ade.com/context/install/minimals-snapshot-mswin.zip
 2. Unzipped to C:\Tools\context
 3. Renamed C:\Tools\context\texmf-context to texmf-context-old
 4. Downloaded cont-tmf.zip and unzipped contents to
 c:\Tools\context\texmf-context
 3. From command window, ran:
   cd \Tools\context
   setuptex      mktexlsr      luatools --generate      luatools
 --selfupdate      mtxrun   --selfupdate      texexec --make      context
 --make
 4. To generate new pdf, ran:      context testdoc.tex

 Everything seemed to execute without errors until the last step which
 returned:

 MtxRun | loading configuration for C:/Tools/context/texmf/web2c from
 C:/Tools/context/texmf-cache/luatex-

cache/context/b7bcb6722e1fe509b85ff004c33e8274/trees/90e2367b37b32bcc25e442581c9e72e2

 MtxRun | run 1: luatex
 --fmt=C:/Tools/context/texmf-cache/luatex-
 cache/context/b7bcb6722e1fe509b85ff004c33e8274/formats/cont-en

 --lua=C:/Tools/context/texmf-cache/luatex-
 cache/context/b7bcb6722e1fe509b85ff004c33e8274/formats/cont-en.lua
  ./testdoc.tex
 luatex.exe:
 C:/Tools/context/texmf-cache/luatex-
 cache/context/b7bcb6722e1fe509b85ff004c33e8274/formats/cont-en.fmt:
  No such file or directory
 MtxRun | fatal error, code: 1

 Looking at the source directory, a file testdoc.top has been created
but
 nothing else.

 Can someone please point me towards a next step?

 Thanks,

 Richard

 P.S. I tried copying cont-en.fmt from
 C:\Tools\context\texmf-mswin\web2c\luatex\pdftex to the cache directory
 but got Fatal format file error, I'm stymied.

I was trying various things and downloaded the beta version of cont-tmf.zip
(from http://www.pragma-ade.com/download-2.htm ) instead of the current
version and it all works, hooray!
Thank-you, everyone, for your help. I'm so pleased to be able to use MKIV
now for the first time - it even gives me Helvetica when I ask for it.
All I've got to do now is get Scite working again :-(

Thanks,

Richard



Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-mail 
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Installation problem (was Updates without rsync)

2009-06-02 Thread richard . stephens

 All I've got to do now is get Scite working again :-(


 Why not Emacs :) It's also quite nice for ConTeXt.

 P.


I used Emacs when I was young and idealistic, but over the years all those
keyboard commands have been beaten out of me and it's beyond me now ;-)
I did try it again recently in a flood of nostalgia, but I just couldn't
get to grips with it again.

Scite is okay, and hitting F7 to build a document is handy. It's missing a
few features, though, which would make it great e.g. a user-configurable
toolbar, so that we could add toolbar icons for ConTeXt commands (I'm
always forgetting the order of options and a button which inserted a
\placefigure command with reminders would be fantastic).

Anyway, that's a bit off topic.

Regards,

Richard



Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-mail 
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Installation problem (was Updates without rsync)

2009-06-01 Thread richard . stephens

Hello everyone,

I wanted to get a clean, up-to-date installation of Context on Windows
(without using rsync), so started from scratch as follows:

1. Downloaded
http://www.pragma-ade.com/context/install/minimals-snapshot-mswin.zip
2. Unzipped to C:\Tools\context
3. Renamed C:\Tools\context\texmf-context to texmf-context-old
4. Downloaded cont-tmf.zip and unzipped contents to
c:\Tools\context\texmf-context
3. From command window, ran:
  cd \Tools\context
  setuptex      mktexlsr      luatools --generate      luatools
--selfupdate      mtxrun   --selfupdate      texexec --make      context
--make
4. To generate new pdf, ran:      context testdoc.tex

Everything seemed to execute without errors until the last step which
returned:

MtxRun | loading configuration for C:/Tools/context/texmf/web2c from
C:/Tools/context/texmf-cache/luatex-cache/context/b7bcb6722e1fe509b85ff004c33e8274/trees/90e2367b37b32bcc25e442581c9e72e2
MtxRun | run 1: luatex
--fmt=C:/Tools/context/texmf-cache/luatex-cache/context/b7bcb6722e1fe509b85ff004c33e8274/formats/cont-en

--lua=C:/Tools/context/texmf-cache/luatex-cache/context/b7bcb6722e1fe509b85ff004c33e8274/formats/cont-en.lua
 ./testdoc.tex
luatex.exe:
C:/Tools/context/texmf-cache/luatex-cache/context/b7bcb6722e1fe509b85ff004c33e8274/formats/cont-en.fmt:
 No such file or directory
MtxRun | fatal error, code: 1

Looking at the source directory, a file testdoc.top has been created but
nothing else.

Can someone please point me towards a next step?

Thanks,

Richard

P.S. I tried copying cont-en.fmt from
C:\Tools\context\texmf-mswin\web2c\luatex\pdftex to the cache directory
but got Fatal format file error, I'm stymied.




Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-mail 
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Installation problem (was Updates without rsync)

2009-06-01 Thread richard . stephens
 On Mon, Jun 1, 2009 at 10:56,  richard.steph...@converteam.com wrote:
 
  Hello everyone,
 
  I wanted to get a clean, up-to-date installation of Context on Windows
  (without using rsync), so started from scratch as follows:
 
  1. Downloaded
  http://www.pragma-ade.com/context/install/minimals-snapshot-mswin.zip
  2. Unzipped to C:\Tools\context
  3. Renamed C:\Tools\context\texmf-context to texmf-context-old
  4. Downloaded cont-tmf.zip and unzipped contents to
  c:\Tools\context\texmf-context
  3. From command window, ran:
       cd \Tools\context
       setuptex       mktexlsr       luatools --generate       luatools
  --selfupdate       mtxrun   --selfupdate       texexec
--make       context
  --make
  4. To generate new pdf, ran:       context testdoc.tex
 
  Everything seemed to execute without errors until the last step which
  returned:

 Can you try to run luatools --generate once more after context
--make?

 Mojca

I tried that - same problem.


 Do you downloaded the current or the beta version, the current is

http://pragma-ade.nl/download-1.htm

 and the beta is

http://pragma-ade.nl/download-2.htm

 Wolfgang

The current version (2008.10.31 13:58 according to context --version)

Richard



Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-mail 
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] updates without rsync

2009-05-29 Thread richard . stephens
 On Thu, May 28, 2009 at 10:23,  richard.steph...@converteam.com wrote:
 
  I am using ConTeXt on a company Windows PC behind two firewalls with no
  possibility of accessing or changing the firewalls. I've tried to
update
  using the minimals installation and rsync, but nothing gets through.
What
  is the recommended method of updating to the latest ConTeXt when rsync
is
  not an option?
 
  The last time I tried, I downloaded cont-tmf.zip from
  http://www.pragma-ade.com/download-1.htm  and unzipped the contents to
  overwrite everything in texmf-local. Is this still the best way?

I've got myself in a terrible mess now! I downloaded cont-tmf.zip and
unzipped the contents, then tried to follow Hans' instructions, i.e.:
mktexlsr
luatools --generate
luatools --selfupdate
mtxrun   --selfupdate
texexec --make (for mkii)
context --make (for mkiv)

Unfortunately, none of these commands runs without errors! SO, I decided to
reinstall from scratch. That's where my problems really started!

I searched around the Wiki and found lots of pages on installation, but
none of them seem quite right.
I looked at  http://www.pragma-ade.com/general/manuals/minstall.pdf  but it
looks old and does not seem to relate to the stuff I've downloaded.

From various places, I think I need to do the following, but some details
are missing:

1. Install Ruby
2. Install Perl
3. Download cont-tmf.zip and unzip contents to installdir
4. Set environment variables:
  OSFONTDIR = C:\WINDOWS\Fonts
  TEXMF = installdir\scripts\context\stubs\mswin
  TEXMFCACHE = C:\TEMP
  TEXMFCNF = installdir\web2c
  TEXMFOS = ??
  others 
5. From command window, run installation scripts:
  mktexlsr
  luatools --generate
  luatools --selfupdate
  mtxrun   --selfupdate
  texexec --make (for mkii)
  context --make (for mkiv)
6. To generate new pdf run:
  context --pdf  myfile.tex
7. Anything else I've missed 

Thanks to all,

Richard



Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-mail 
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] updates without rsync

2009-05-29 Thread richard . stephens


Lutz Haseloff lutz.hasel...@googlemail.com wrote on 29/05/2009 11:04:55:

 Hi Richard,


 1. Install Ruby

 right


 2. Install Perl

 I think, Perl is not needed anymore.

 Download
http://www.pragma-ade.com/context/install/minimals-snapshot-mswin.zip

 I unzip it in c:\, you get c:\context\texmf-context and some more
directories


 3. Download cont-tmf.zip and unzip contents to installdir

 make c:\context\texmf-context empty and unzip cont-tmf.zip into it


 4. Set environment variables:
      OSFONTDIR = C:\WINDOWS\Fonts
      TEXMF = installdir\scripts\context\stubs\mswin
      TEXMFCACHE = C:\TEMP
      TEXMFCNF = installdir\web2c
      TEXMFOS = ??
      others 

 no, go to c:\context an run setuptex.bat

 I have an icon on my desktop with:
 C:\WINDOWS\system32\cmd.exe /K cd c:\context  .\setuptex.bat


 5. From command window, run installation scripts:
      mktexlsr
      luatools --generate
      luatools --selfupdate
      mtxrun   --selfupdate
      texexec --make (for mkii)
      context --make (for mkiv)

 open a terminal window
 c: enter
 cd context enter
 setuptex enter

 the above commands should now work without errors


 6. To generate new pdf run:
      context --pdf  myfile.tex

 You have to run setuptex.bat in c:\context before you can compile
texfiles

 I automated this for the terminal and for the Scite Editor.


 7. Anything else I've missed 

 That should do it

 For updating luatex, download ftp://akagi.ms.u-tokyo.ac.
 jp/pub/TeX/win32/luatex-dev-w32.tar.bz2
 and unzip the files in bin into c:\context\texmf-mswin\bin.
 After that run context --make


 You're welcome

 Greetings Lutz

Thank-you very much for the above. Still a few problems though!

I have installed it to C:\tools\context. Everything goes well until
'mktexlsr' which returns:
 Cannot open C:/tools/context/texmf-project/ls-R to write.
 Cannot open C:/tools/context/texmf-fonts/ls-R to write.
 Cannot open C:/tools/context/texmf-extra/ls-R to write.
because the folders do not exist. So I've created empty folders just in
case and no more warnings!

Then all goes well until 'context --pdf myfile.tex' which returns:
 luatex.exe:
c:/tools/context/texmf-cache/tuatex-cache/b7bcb6722e1fe509b85ff004c33e8274/formats/cont-en.fmt:
 No such file or directory
 MtxRun | fatal error, code 1

and 'texexec --pdf myfile.tex' returns:
 c:\tools\context\texmf-mswin\bin\mtxrun.lua:8603: attempt to concatenate a
nil value

Any ideas?

Richard



Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-mail 
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] updates without rsync

2009-05-28 Thread richard . stephens

Gentlemen and Ladies,

I am using ConTeXt on a company Windows PC behind two firewalls with no
possibility of accessing or changing the firewalls. I've tried to update
using the minimals installation and rsync, but nothing gets through. What
is the recommended method of updating to the latest ConTeXt when rsync is
not an option?

The last time I tried, I downloaded cont-tmf.zip from
http://www.pragma-ade.com/download-1.htm  and unzipped the contents to
overwrite everything in texmf-local. Is this still the best way?

Thanks.

Richard



Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-mail 
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Arial

2009-05-27 Thread richard . stephens

 On Tue, 26 May 2009, Vyatcheslav Yatskovsky wrote:

  If you have Windows OS, then please
 
  \usetypescriptfile[type-win]
  \usetypescript[arial]\setupbodyfont[arial, 12pt]
 
  I'm being asked to use Arial font (not my choice!)

I am using Windows, but the above did nothing - I ended up with the default
serif font.


 You can also use helevetica. Most people will not notice the difference.
 So,

 \usetypescript[postscript]
 \setupbodyfont[ss, 12pt]

 Aditya


The above changed the font to sans serif, but it doesn't look like
Helvetica (or Arial), it looks like the default sans serif font I get when
I put
\setupbodyfont[sans, 12pt]
on its own. Is this Latin Modern Sans?

Richard



Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-mail 
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Size of \copyright

2009-05-27 Thread richard . stephens

Hello all,

I would like to include a very small copyright notice, e.g.

{\tfxx \copyright 2009 Acme Co Ltd}

but the © does not shrink with the text. How do I change the size of
\copyright?

Thanks,

Richard



Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-mail 
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Size of \copyright

2009-05-27 Thread richard . stephens
  I would like to include a very small copyright notice, e.g.
 
  {\tfxx \copyright 2009 Acme Co Ltd}
 
  but the © does not shrink with the text. How do I change the size of
  \copyright?

 EC encoding does not reserve a slot for the copyright symbol,
 so in default mkii, it is being built up from (math) macros,
 a bit like how it used to work in plain TeX.

 Options are: switch to a different font encoding, switch to
 mkiv or xetex, or do something like this:

   {\switchtobodyfont[xx]\copyright 2009 Acme Co Ltd}

 Best wishes,
 Taco

That works, thanks.

Best regards,
Richard



Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-mail 
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Available fonts and using them

2009-05-26 Thread richard . stephens

Hello all,

I have read many of the documents from the Wiki on using fonts, but I am
still not sure of one or two, probably obvious, things:

1) I'm being asked to use Arial font (not my choice!) and I see from
searching the context tree that there are .afm files, .tfm files and .map
files with 'arial' in the name. Does this mean I can use Arial out of the
box? If so, how? I've tried putting \setupbodyfont[arial,10pt] in my
environment file, but it does nothing. I've tried various other things as
well, copied but only half understood, from the other documents, but none
of them work either! I could follow the guide on installing a new font, but
if it's already available then I'd rather not!

2) How do I find out what fonts are available out of the box and how do I
invoke them?

Thanks,

Richard.

P.S. I'm using mkii -- one day I'll get around to setting up mkiv, but not
today!


Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-mail 
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] rsync error

2009-05-26 Thread richard . stephens

Hello,

I've been happily using a fairly old version of Context for a while
(ConTeXt  ver: 2008.08.05 18:47 MKII  fmt: 2008.11.14  int:
english/english) but decided that I perhaps ought to try to update to
something more modern. I tried to get the minimals for Windows by
downloading context-setup-mswin.zip, unzipping it to a new directory and
running first-setup.bat from a command window.
On the output in the command window, I get a number of rsync error
messages, the first of which is:
  rsync: failed to connect to contextgarden.net: Connection timed out
(116)
  rsync error: error in socket IO (code 10) at clientserver.c(122)
[receiver=3.0.2]
followed by lots of other warnings and errors and ultimately failure!

Any ideas?

Richard



Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-mail 
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] specific document layout with ConTeXt

2009-01-05 Thread richard . stephens
Aditya wrote:

 If others are interested, I can also release it on ConTeXt garden and
 provide some documentation.

 Aditya


Please, please, please can you (or someone) post on the wiki? I was looking
for a two-column layout for and IFAC conference which is very similar to
IEEE and I ended-up writing my own.  I'm not a ConTeXt programmer so it was
all done in the document itself rather than setting environments etc, so
the source code looked awful.  You example, and Wolfgang's, look much much
nicer and I cannot wait to try one of them out.

Thanks,

Richard


Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-mail 
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] New bibligraphy style

2008-11-21 Thread richard . stephens
  I am using the bib module and I want to redefine the display style for
the
  references.  I have therefore created a new file bibl-ris.tex which I
  have put in the same folder as bibl-apa.tex and the other existing
ones.
  In my environment file I have \setuppublications[alternative=ris].
  Unfortunately, I get the error
 
  file bibl-ris not found, unknown style ignored
 
  Where should I put my bibl-ris file, or is there something else I need
to
  do before it can find my file?

 You need to execute mktexlsr (mkii) or luatools --generate (mkiv).
 The file is in the right place, but the system cannot find it because
 the file search database is not updated yet.


 Best wishes,
 Taco

That's great!  Thanks.

Richard

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] New bibligraphy style

2008-11-19 Thread richard . stephens

Hello,

I am using the bib module and I want to redefine the display style for the
references.  I have therefore created a new file bibl-ris.tex which I
have put in the same folder as bibl-apa.tex and the other existing ones.
In my environment file I have \setuppublications[alternative=ris].
Unfortunately, I get the error

file bibl-ris not found, unknown style ignored

Where should I put my bibl-ris file, or is there something else I need to
do before it can find my file?

Thanks.

Richard

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] setupwhitespace

2008-11-13 Thread richard . stephens

Hello All,

I have a document in two columns and I need about 3mm vertical spacing
between paragraphs.

I've tried
  \setupwhitespace[small]
and
  \setupwhitespace[3mm]
but neither looks any different from \setupwhitespace[medium]or [big].

\setupwhitespace[none] gives no space.

There is a previous mailing in the archives which suggests that columns
don't use \setupwhitespace,
and there's a suggestion to use
  \defineblank[default][3mm]
but that doesn't seem to do anything either.

Any suggestions?

Regards,

Richard

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] setupwhitespace

2008-11-13 Thread richard . stephens
  Hello All,
 
  I have a document in two columns and I need about 3mm vertical spacing
  between paragraphs.
 
  I've tried
   \setupwhitespace[small]
  and
   \setupwhitespace[3mm]
  but neither looks any different from \setupwhitespace[medium]or [big].
 
  \setupwhitespace[none] gives no space.
 
  There is a previous mailing in the archives which suggests that columns
  don't use \setupwhitespace,
  and there's a suggestion to use
   \defineblank[default][3mm]
  but that doesn't seem to do anything either.

 This is a feature of the columns environment.

  Any suggestions?

 \startcolumns

 \setupwhitespace[...]

 bla bla bla ...

 \stopcolumns

 Wolfgang


Thanks Wolfgang, that works a treat!

What else changes when I switch over to columns?  Do I need a whole new
environment within columns?

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] setuphead[section][style=cap] does not work

2008-11-13 Thread richard . stephens

Hello,

I want section headings to be in capitals, but when I use:
  \setuphead[section][style=cap]
I get an error as follows:

! Argument of \getvalue has an extra }.
inserted text
\par
to be read again
   }
\uppercased ...d \xdef \@@expanded {\uppercase {#1
  }}}\@@expanded
\dodosmallcapped ...alize \cap@@uppercase {#1{#2}}
  \egroup
\doplaceheadnumbertext ...o #1}\c!style \getvalue
  {\??ko #1\c!command
}{\dos...

\dodododoconstructhead ...{\finalsectionnumber }}}
  \writesection
{#1}{#3}{#4}...
l.58 \section{Introduction}


Most other options seem to work, e.g. \setuphead[section][style=bold]
But \setuphead[section][style=\cap] has same problem as above.

I would try it in the ConTeXt online but that doesn't seem to be working.

Thanks,

Richard

P.S. How do I get a full stop after the section number?

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] setupwhitespace

2008-11-13 Thread richard . stephens

  What else changes when I switch over to columns?  Do I need a whole new
  environment within columns?

 \setupwhitespace should be enough but you could define a new environment
 and hide the setup in the environment file.

 \definestartstop
   [mycolumns]
   [before=\startcolumns,
after=\stopcolumns,
commands=\directsetup{mycolumn:setup}]

 \startsetups mycolumn:setup

 \setupwhitespace[...]

 \stopsetups

 \starttext

 \startmycolumns

 text text text ...

 \stopmycolumns

 \stoptext

 Wolfgang


Thanks again - that's just what I was looking for!

Richard

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Type-setting filenames

2008-09-18 Thread richard . stephens

 I am using \filename to type-set filenames.  Some of these are very
 long
 (greater than 30 characters) and overhang
 the right hand margin, sometimes even disappearing off the edge of the
 page.  The first line break is just before the
 full stop.  There are usually plenty of spaces in the names.  Can I
 get
 ConTeXt to put a line-break into filenames?

 Did you try \hyphenatedfilename ?

Yes, I tried that, no difference.  I presume that \hyphenatedfilename is
for use with filenames that already have hyphens in them?
Mine don't, but I want them to split.  Perhaps splitting filenames is
frowned upon - if so, what is the best way to put them into documents?
Or perhaps I should use shorter filenames, but why should I compromise
readability?  One example is Transfer functions for PID and KF
controllers.xmcd

Any ideas or comments?

Richard

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Type-setting filenames

2008-09-18 Thread richard . stephens

 \def\myfilename#1{{\spaceskip.25em plus
1em\relax\tttf\normallanguage\zerocount#1}}

 \myfilename{Transfer functions for PID and KF controllers.xmcd}
 \myfilename{Transfer functions for PID and KF controllers.xmcd}
 \myfilename{Transfer functions for PID and KF controllers.xmcd}
 \myfilename{Transfer functions for PID and KF controllers.xmcd}

That works brilliantly (I've no idea why through).  Thanks Hans

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Keeping section head with index

2008-09-17 Thread richard . stephens

I want to put an index in its own section using

\section{Index}
\placeindex

I cannot use \completeindex because that starts a new chapter, not section.
Unfortunately, the header often gets separated from the index, being left
as the last line on the page.
I searched the mail archive and found a suggestion to use:

\setuphead[section][before={\testpage[4]}]

but  this affects the vertical spacing of all section heads.  Can anyone
either:
1) suggest an alternative way of keeping the section head with the index,
or
2) show me how to maintain the vertical spacing of headers when using the
above construct.

Thanks very much.

Richard

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Type-setting filenames

2008-09-17 Thread richard . stephens

I am using \filename to type-set filenames.  Some of these are very  long
(greater than 30 characters) and overhang
the right hand margin, sometimes even disappearing off the edge of the
page.  The first line break is just before the
full stop.  There are usually plenty of spaces in the names.  Can I get
ConTeXt to put a line-break into filenames?

Thanks,

Richard

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] texshow-web questions

2008-06-27 Thread richard . stephens
As an eternal optimist, I often refer to texshow-web in the hope that I 
will find a function to help me, or a quick description of one that I 
already know.  In most cases I end up reverting to searching the manuals 
and source code.  I like the idea of texshow-web and I sometimes add notes 
to entries if I find our something interesting.  I would be quite happy to 
add lots more, but I have some questions and suggestions for improvements 
which I think would help.

1) Is there a way of adding a function to the list?  or can it be updated 
to include all the functions from the many macro packages included with 
the context distribution.  For example, in recent discussion group threads 
I have found out about the \digits command and the \filename and 
\hyphenatedfilename commands, none of which is in texshow-web.  I would 
have been happy to add notes on them if I could.

2) If I'm adding notes to a command, is it possible to add a URL link to a 
particular page in one of the manuals?  This would great for looking up a 
command and going straight to the relevant entry in the relevant manual.

Regards,

Richard Stephens 
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Type-setting filenames

2008-06-25 Thread richard . stephens
Hello,

Can anyone suggest a good way of type-setting filenames in ConTeXt?  They 
are usually long with few spaces and so often overhang the right-hand 
margin and even fall off the edge of the page.  They also often include 
backslashes and underscores which I have to manually change - very 
tedious.

Is there, for example, a command which handles some or all of my problems?

Thanks

Richard
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Itemize numbering

2008-05-02 Thread richard . stephens
Aditya,

Many thanks, that works beautifully.

Thanks again.

Richard



On Tue, 29 Apr 2008, [EMAIL PROTECTED] wrote:

 Hello All,

 I just tried the following on Context Live:

 \starttext
 \startitemize[n]
  \item one
  \item two
\startitemize
  \item a
  \item b
\stopitemize
  \item three
 \stopitemize
 \stoptext

 and the first itemize starts at 0.  Remove the inner itemize and it 
starts
 at 1.

 Is this a feature or a bug?  How do I get around it?

Here is a modified core-itm.tex that corrects this bug.

Aditya

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Itemize numbering

2008-04-29 Thread richard . stephens
Hello All,

I just tried the following on Context Live:

\starttext
\startitemize[n]
  \item one
  \item two
\startitemize
  \item a
  \item b
\stopitemize
  \item three
\stopitemize
\stoptext

and the first itemize starts at 0.  Remove the inner itemize and it starts 
at 1. 

Is this a feature or a bug?  How do I get around it?

Thanks,

Richard
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Date with three-letter month

2008-04-25 Thread richard . stephens
I was so pleased with the result of Taco's and Aditya's suggestions, I 
have added them as examples to \date on texshow-web.

Richard___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] (no subject)

2008-04-24 Thread richard . stephens
 I have consulted the manuals and even the source (core-con.tex) but I 
 cannot find a way of getting a three-letter month using the \date 
command.
 For example, I would like to display today's date as 23-Apr-08.  This 
 gives a short display suitable for use in a margin, but avoids the 
 confusion of American (04-23-08) vs English (23-04-08) ordering when 
using 
 numbers.
 Can anyone help?

These are available (sort of)

   \currentdate[day,--,{\monthshort\normalmonth},--,year] % lowercase

or

   \currentdate[day,--,{\MONTHSHORT\normalmonth},--,year] % uppercase


Thanks, Taco, that does the job for now. 
Now all we need is something called \Monthshort which puts the 
first letter in uppercase (Jan, Feb etc)!!!

Thanks,

Richard
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Date with three-letter month

2008-04-24 Thread richard . stephens
 I have consulted the manuals and even the source (core-con.tex) but I 
 cannot find a way of getting a three-letter month using the \date 
command.
 For example, I would like to display today's date as 23-Apr-08.  This 
 gives a short display suitable for use in a margin, but avoids the 
 confusion of American (04-23-08) vs English (23-04-08) ordering when 
using 
 numbers.
 Can anyone help?

These are available (sort of)

   \currentdate[day,--,{\monthshort\normalmonth},--,year] % lowercase

or

   \currentdate[day,--,{\MONTHSHORT\normalmonth},--,year] % uppercase

Best wishes,
Taco

Thanks Taco.  This does the job.  All I need now is a version (\Monthshort 
??) which puts the first
letter in uppercase, Jan , Feb, etc.

Thanks,

Richard



www.converteam.com
Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188
Registered in England and Wales.
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.

CONFIDENTIALITY : This e-mail and any attachments are confidential and may 
be privileged. If  you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for 
any purpose or store or copy the information in any medium.

Please consider the environment before printing this e-mail___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Date with three-letter month

2008-04-24 Thread richard . stephens
Aditya Mahajan wrote:
See if this works (untested)

\unprotect
\setuplabeltext [\s!en] [\v!january  :\s!mnem=Jan.]
\setuplabeltext [\s!en] [\v!february :\s!mnem=Feb.]
\setuplabeltext [\s!en] [\v!march:\s!mnem=Mar.]
\setuplabeltext [\s!en] [\v!april:\s!mnem=Apr.]
\setuplabeltext [\s!en] [\v!may  :\s!mnem=May]
\setuplabeltext [\s!en] [\v!june :\s!mnem=Jun.]
\setuplabeltext [\s!en] [\v!july :\s!mnem=Jul.]
\setuplabeltext [\s!en] [\v!august   :\s!mnem=Aug.]
\setuplabeltext [\s!en] [\v!september:\s!mnem=Sep.]
\setuplabeltext [\s!en] [\v!october  :\s!mnem=Oct.]
\setuplabeltext [\s!en] [\v!november :\s!mnem=Nov.]
\setuplabeltext [\s!en] [\v!december :\s!mnem=Dec.]
\protect

That's fantastic!  Thanks for that.

Richard

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Date with three-letter month

2008-04-23 Thread richard . stephens
Hello All,

I have consulted the manuals and even the source (core-con.tex) but I 
cannot find a way of getting a three-letter month using the \date command.
For example, I would like to display today's date as 23-Apr-08.  This 
gives a short display suitable for use in a margin, but avoids the 
confusion of American (04-23-08) vs English (23-04-08) ordering when using 
numbers.
Can anyone help?

Thanks.

Richard.

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] --autopdf closes all documents

2008-04-16 Thread richard . stephens
I am using Scite on Windows to edit and build my documents.  The most 
annoying behaviour is that when I press F7 to build the document the 
texexec --pdf --autopdf command that it executes closes ALL open pdf 
documents.  So that I have to keep re-opening everything :-(
Is there a way to build which just closes the document you are building 
and leaves others open?

Thanks,

Richard Stephens

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Module documentation

2008-04-15 Thread richard . stephens
Wolfgang and Mojca,

Thank-you for your replies.  They have enabled me to set up a little batch 
file to make life easier when I want to generate a module document.

Thanks,

Richard Stephens
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Module documentation

2008-04-11 Thread richard . stephens
Hello all,

I have been using Context for a while now and have learnt a lot from the 
manuals and wiki.  I now want to start to use features that are not 
documented.  On the wiki 
(http://wiki.contextgarden.net/Official_ConTeXt_Documentation#ConTeXt_Sources) 
I found the following command for producing a pdf output for a module:

texmfstart texexec --module kpse:core-tab.tex

which seems ideal for learning more.  When I run the above command line it 
creates a .ted file but then complains:

I can't find the format file 'cont-en.fmt'!

On Luigi Scarso's page 
(http://wiki.contextgarden.net/User:Luigi.scarso/modules.pdf) he suggests 
the following:

texexec --module --pdf core-tab.tex

but this returns no output at all, and no pdf.

I am working on Windows.  I installed (this week) from the 
context/install/mswincontext.zip on the Pragma site and normally build 
from the Scite editor.

Can anyone suggest what I'm doing wrong?

Thanks.

Richard Stephens

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Notepad++ colour settings

2007-11-05 Thread richard . stephens
 I have downloaded the latest Notepad++ and ConTeXt settings as 
suggested
 by Professor Hamid and I'm enjoying the experience of using them!

 However, I do not really like the colour scheme and tried to alter the
 background colours by editing Application
 Data/Notepad++/UserDefineLang.xml, shutting down Notepad++ and 
starting
 up again (via Npp.bat), but no change.  I also tried editing the tex
 entry in Application Data/Notepad++/stylers.xml, but no joy.
 I tried going to menu item Settings - Style Configurator, but Context
 isn't in the list of languages.

 How can I alter the default colour settings for ConTeXt, please?

 Use the User Define Language dialog (the button to the left of the 
red-dot 
 button)

 
http://notepad-plus.sourceforge.net/uk/UserLanguageDefineSystem-HOWTO.php

 Choose ConTeXt and adjust anything you like (including color)!

 Also, in Settings - Style Configurator, configure Global Styles.
 There is also a Global Override option.

 So there is a global color scheme and a language-specific one.

 Best wishes
 Idris

Idris,

Thanks for your help. 

I was able to change the foreground colours from the User Define 
dialogue, but the background colour never changed.  Thanks to your 
pointer, I eventually found the global override for the background colour 
under Settings - Styler Configurator - Global Styles - Global Override.

Regards,

Richard 
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Notepad++ colour settings

2007-11-02 Thread richard . stephens
I have downloaded the latest Notepad++ and ConTeXt settings as suggested 
by Professor Hamid and I'm enjoying the experience of using them!

However, I do not really like the colour scheme and tried to alter the 
background colours by editing Application 
Data/Notepad++/UserDefineLang.xml, shutting down Notepad++ and starting 
up again (via Npp.bat), but no change.  I also tried editing the tex 
entry in Application Data/Notepad++/stylers.xml, but no joy.
I tried going to menu item Settings - Style Configurator, but Context 
isn't in the list of languages.

How can I alter the default colour settings for ConTeXt, please?

Richard Stephens___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Publication layouts

2007-09-25 Thread richard . stephens
Hello All,

I am using the bib module to generate references.  The manual tells me 
that the publication layouts are defined in the bibl-xxx files.   I've got 
several of these (bibl-ams.tex, bibl-apa.tex, bibl-num.tex etc) so how do 
I tell which one is being used?  (They all look the same to me!)

My supplementary question is: why doesn't the layout for a book type 
print out the edition which I have defined in the publication 
definition?  I really want to change the layout of the book type to 
include the edition immdiately after the title in the same font.

Thanks,

Richard Stephens
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___