Re: [NTG-context] How to add a local texmf tree to context minimals?

2011-03-23 Thread Mojca Miklavec
On Wed, Mar 23, 2011 at 20:08, Ulrike Fischer wrote:
>
> At second I want actually to add more than one tree ;-)
>
> My main problem is that there quite a lot of configuration files
> which look like good candidates (I found texmf.cnf, texmfcnf.lua,
> context.cnt, contextcnf.lua.) and that I don't know where to put a
> local version which will not be changed by updates.

texmf.cnf is for MKII and texmfcnf.lua is for MKIV. The files
context.cnf and contextcnf.lua are not used. They are usually just the
source for texmf.cnf and texmfcnf.lua, but they are not taken
automatically.

One way is to set environmental variables, but probably a better way
is to create a copy of texmf.cnf & texmfcnf.lua in texmf-local/web2c/
and change the TEXMF variable there. No, wait. texmf-local is not
known until texmf.cnf is actually read in (chicked-and-egg problem).
Can you please try to put texmf.cnf in top level (next to setuptex)
and see if mkii/kpathsea works that way (finds proper trees)? There is
a hardcoded algorithm with a list of paths that are checked for
texmf.cnf file, but I'm not sure what the sequence of those paths is.

For MKIV you can put texmfcnf.lua anywhere and then set the TEXMFCNF
environmental variable (I think, I'm not sure, I would have to try
again), but the better way is to make it work automatically in the
same way as for MKII, let's say by putting a modified version of
texmfcnf.lua two folders up.

Mojca
___
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] Which standard installed font displays ' and ` good

2011-03-23 Thread Miguel Queiros
> > It's advisable to use \quote{...} or \quotation{...} for quotation
> > marks. That way, if you do need to change them, you only do it in one
> > place rather than throughout the document.
> 
> Now why the heck aren't those commands mentioned anywhere in "Context
> - An Excursion"?

I remembered seeing these commands somewhere, so I searched in the
wiki and found them: 

http://wiki.contextgarden.net/Basic_Text_Formatting

Miguel


___
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] How to add a local texmf tree to context minimals?

2011-03-23 Thread Hans Hagen

On 23-3-2011 11:30, Aditya Mahajan wrote:


One could modify both texmf.cnf and texmfcnf.lua, but they will be
overwritten in the next update. In which tree can I copy these files so
that they are not overwritten when updating, but are still found by
luatools/kpsewhich.

One can set $TEXMFLOCAL, but that will be global (all TeX installations).


or TEXMF

however, you can have a local texmfcnf.lua file .. first set values win

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] How to add a local texmf tree to context minimals?

2011-03-23 Thread Aditya Mahajan

On Wed, 23 Mar 2011, Hans Hagen wrote:


On 23-3-2011 7:31, Ulrike Fischer wrote:

I would like to make some test of my virtual-lua-chessfonts with the
context minimals. The files I want to test are in a small texmf
trees. How can I add this trees to the list of trees used by context
in a way that the changes are not lost after updates?


you can use texmf-project (or texmf-fonts) for that (just create them if they 
are not there, the configuration handles it)


But what if one needs multiple trees, say one tree for each package. I am 
not sure what is the best way to set the trees in that case.


One could modify both texmf.cnf and texmfcnf.lua, but they will be 
overwritten in the next update. In which tree can I copy these files so 
that they are not overwritten when updating, but are still found by 
luatools/kpsewhich.


One can set $TEXMFLOCAL, but that will be global (all TeX installations).

I usually copy setuptex to a different name, modify TEXMFLOCAL (or 
whatever variable I want to change) in it, and then source this file 
instead of setuptex[1]. But surely there should be a cleaner way to do 
this.


Aditya

[1]: Actually, my installation scripts overwrite setuptex with this new 
file, each time I update context.


___
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] How to add a local texmf tree to context minimals?

2011-03-23 Thread Hans Hagen

On 23-3-2011 7:31, Ulrike Fischer wrote:

I would like to make some test of my virtual-lua-chessfonts with the
context minimals. The files I want to test are in a small texmf
trees. How can I add this trees to the list of trees used by context
in a way that the changes are not lost after updates?


you can use texmf-project (or texmf-fonts) for that (just create them if 
they are not there, the configuration handles it)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Which standard installed font displays ' and ` good

2011-03-23 Thread Cecil Westerhof
2011/3/23 Wolfgang Schuster 

> 2011/3/23 Wolfgang Schuster 
>
>> > I am still experimenting. With the default ' is reasonably displayed,
>> but ` not.
>> > I liked palatino, but then even ' is not displayed nicely. What is the
>> best (standard installed) font where both ' and ` are good displayed?
>>
>>
>> How do you define a standard font, the list of available differes with the
>> used TeX distribution (TeX Live or context minimals) and your Openrating
>> System.
>>
>
> I work with minimals. How do I get the list?
>
>
> Look into the fonts folders.
>

I suppose you mean: texmf/fonts/? There I see:
drwxrwxr-x 5 cecil users 4,0K 28 jan  2008 afm
drwxrwxr-x 3 cecil users 4,0K 28 jan  2008 enc
drwxrwxr-x 4 cecil users 4,0K 28 jan  2008 map
drwxr-xr-x 3 cecil users 4,0K 19 jan  2009 misc
drwxrwxr-x 5 cecil users 4,0K 28 jan  2008 opentype
drwxrwxr-x 5 cecil users 4,0K 28 jan  2008 tfm
drwxrwxr-x 3 cecil users 4,0K  9 okt 12:42 truetype
drwxrwxr-x 7 cecil users 4,0K 28 jan  2008 type1
drwxr-xr-x 3 cecil users 4,0K 28 jan  2009 vf



> We can make a list of the available fonts with their typescripts/typefaces
> and put them on the wiki.
>

Would be a good idea.

-- 
Cecil Westerhof
___
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] Which standard installed font displays ' and ` good

2011-03-23 Thread Cecil Westerhof
2011/3/23 Wolfgang Schuster 

> It's advisable to use \quote{...} or \quotation{...} for quotation
>
> marks. That way, if you do need to change them, you only do it in one
>> place rather than throughout the document.
>>
>
> It looks like \quotation does what I want, but \quote puts the opening
> quote low and the wrong way around. How can I change this? I find:
> http://wiki.contextgarden.net/Reference/en/setupquote
> not very helpful.
>
>
> \setuplanguage
>   []
>   [leftquote=...,
>rightquote=...,
>leftquotation=...,
>rightquotation=...]
>

Works. Thanks.

-- 
Cecil Westerhof
___
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] Automatic cross reference to next page at automatic page breaks only

2011-03-23 Thread Matthias Weber
Dear all,

I am trying to create a screen document that relies entirely on navigation via 
links.

A typically page has several cross references in it the reader has to choose 
from
(think of multiple choice tests).

Occasionally, a page is too long to fit on a single screen. I would like to 
have 
a link to the next page at the bottom right corner of the screen whenever a 
page break occurs
that is not forced via say a new section. In other words, whenever *automatic* 
page breaks occur,
I want that extra link in the footer. In all other cases, I have my own manual 
links.

Any ideas?


Thanks,

Matthias


___
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] Which standard installed font displays ' and ` good

2011-03-23 Thread Wolfgang Schuster

Am 23.03.2011 um 21:02 schrieb Cecil Westerhof:

> 2011/3/23 Wolfgang Schuster 
> > I am still experimenting. With the default ' is reasonably displayed, but ` 
> > not.
> > I liked palatino, but then even ' is not displayed nicely. What is the best 
> > (standard installed) font where both ' and ` are good displayed?
> 
> 
> How do you define a standard font, the list of available differes with the 
> used TeX distribution (TeX Live or context minimals) and your Openrating 
> System.
> 
> I work with minimals. How do I get the list?

Look into the fonts folders. We can make a list of the available fonts with 
their typescripts/typefaces and put them on the wiki. There is also a list in 
Hans/Tacos new fonts manual.

Wolfgang


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

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


Re: [NTG-context] Which standard installed font displays ' and ` good

2011-03-23 Thread Wolfgang Schuster

Am 23.03.2011 um 21:13 schrieb Cecil Westerhof:

> 2011/3/23 Pontus Lurcock 
> > I have to change all my ‘quotes’ again.
> 
> It's advisable to use \quote{...} or \quotation{...} for quotation
> marks. That way, if you do need to change them, you only do it in one
> place rather than throughout the document.
> 
> It looks like \quotation does what I want, but \quote puts the opening quote 
> low and the wrong way around. How can I change this? I find:
> http://wiki.contextgarden.net/Reference/en/setupquote
> not very helpful. 

\setuplanguage
  []
  [leftquote=...,
   rightquote=...,
   leftquotation=...,
   rightquotation=...]

Wolfgang

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

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


Re: [NTG-context] Which standard installed font displays ' and ` good

2011-03-23 Thread Cecil Westerhof
2011/3/23 Pontus Lurcock 

> > I have to change all my ‘quotes’ again.
>
> It's advisable to use \quote{...} or \quotation{...} for quotation
> marks. That way, if you do need to change them, you only do it in one
> place rather than throughout the document.
>

It looks like \quotation does what I want, but \quote puts the opening quote
low and the wrong way around. How can I change this? I find:
http://wiki.contextgarden.net/Reference/en/setupquote
not very helpful.

-- 
Cecil Westerhof
___
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] Which standard installed font displays ' and ` good

2011-03-23 Thread Cecil Westerhof
2011/3/23 Pontus Lurcock 

> On Wed 23 Mar 2011, Cecil Westerhof wrote:
>
> > I have to change all my ‘quotes’ again.
>
> It's advisable to use \quote{...} or \quotation{...} for quotation
> marks. That way, if you do need to change them, you only do it in one
> place rather than throughout the document.
>

Did not know that. Am I going to do.

-- 
Cecil Westerhof
___
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] Which standard installed font displays ' and ` good

2011-03-23 Thread Pontus Lurcock
On Wed 23 Mar 2011, mathew wrote:

> Now why the heck aren't those commands mentioned anywhere in "Context
> - An Excursion"?

Not sure, but the Excursion is quite old and probably not intended to
be comprehensive. They're covered in the reference manual.

Pont
___
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] Which standard installed font displays ' and ` good

2011-03-23 Thread Cecil Westerhof
2011/3/23 Wolfgang Schuster 

> > I am still experimenting. With the default ' is reasonably displayed, but
> ` not.
> > I liked palatino, but then even ' is not displayed nicely. What is the
> best (standard installed) font where both ' and ` are good displayed?
>
>
> How do you define a standard font, the list of available differes with the
> used TeX distribution (TeX Live or context minimals) and your Openrating
> System.
>

I work with minimals. How do I get the list?



> I made a short document with a few fonts: http://d.pr/h5tE
>

I choose (based on your document) ‘PT Serif’ for the moment.

-- 
Cecil Westerhof
___
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] Which standard installed font displays ' and ` good

2011-03-23 Thread mathew
On Wed, Mar 23, 2011 at 13:49, Pontus Lurcock  wrote:
> It's advisable to use \quote{...} or \quotation{...} for quotation
> marks. That way, if you do need to change them, you only do it in one
> place rather than throughout the document.

Now why the heck aren't those commands mentioned anywhere in "Context
- An Excursion"?


mathew
___
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] Bug in \seeindex (MkIV only)

2011-03-23 Thread Vedran Miletić
Hi,

in mtx-context | current version: 2011.03.22 13:59, using MkIV the
following code

My \index{dog}dog is a \index{dog+bullterrier}bullterrier named
\seeindex{Dolly}{Underware}Dolly.
He doesn't like \index{cat}cats.
There are a lot of \index{cat+stray}stray cats, but only a few of them are
\index{cat+Siamese}Siamese.

\placeindex

Produces only "see Underware" under "d" in Index, without "Dolly". MkII
works fine.

Regards,

Vedran Miletić
___
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] How to add a local texmf tree to context minimals?

2011-03-23 Thread Ulrike Fischer
Am Wed, 23 Mar 2011 19:47:47 +0100 schrieb Hans van der Meer:

>> I would like to make some test of my virtual-lua-chessfonts with the
>> context minimals. The files I want to test are in a small texmf
>> trees. How can I add this trees to the list of trees used by context
>> in a way that the changes are not lost after updates?   
>> 

> My solution to this is to make ---/context/tex/texmf-local a soft link to my 
> texmf tree.

At first I'm on windows XP so I don't think that soft links would
work. 

At second I want actually to add more than one tree ;-) 

My main problem is that there quite a lot of configuration files
which look like good candidates (I found texmf.cnf, texmfcnf.lua,
context.cnt, contextcnf.lua.) and that I don't know where to put a
local version which will not be changed by updates.

 
-- 
Ulrike Fischer 

___
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] Which standard installed font displays ' and ` good

2011-03-23 Thread Pontus Lurcock
On Wed 23 Mar 2011, Cecil Westerhof wrote:

> I have to change all my ‘quotes’ again.

It's advisable to use \quote{...} or \quotation{...} for quotation
marks. That way, if you do need to change them, you only do it in one
place rather than throughout the document.

Pont
___
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] How to add a local texmf tree to context minimals?

2011-03-23 Thread Hans van der Meer
My solution to this is to make ---/context/tex/texmf-local a soft link to my 
texmf tree.

Hans van der Meer

On 23 mrt 2011, at 19:31, Ulrike Fischer wrote:

> I would like to make some test of my virtual-lua-chessfonts with the
> context minimals. The files I want to test are in a small texmf
> trees. How can I add this trees to the list of trees used by context
> in a way that the changes are not lost after updates?   
> 
> -- 
> Ulrike Fischer 
> 
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___

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

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


[NTG-context] How to add a local texmf tree to context minimals?

2011-03-23 Thread Ulrike Fischer
I would like to make some test of my virtual-lua-chessfonts with the
context minimals. The files I want to test are in a small texmf
trees. How can I add this trees to the list of trees used by context
in a way that the changes are not lost after updates?   

-- 
Ulrike Fischer 

___
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] Which standard installed font displays ' and ` good

2011-03-23 Thread Wolfgang Schuster

Am 23.03.2011 um 17:23 schrieb Cecil Westerhof:

> I am still experimenting. With the default ' is reasonably displayed, but ` 
> not.
> I liked palatino, but then even ' is not displayed nicely. What is the best 
> (standard installed) font where both ' and ` are good displayed?


How do you define a standard font, the list of available differes with the used 
TeX distribution (TeX Live or context minimals) and your Openrating System.

I made a short document with a few fonts: http://d.pr/h5tE

Source:

\newcounter\FontTestCounter

\define[1]\FontTest
  {\increment\FontTestCounter
   \definetypeface[mainface-\FontTestCounter][rm][specserif][#1]
   \switchtobodyfont[mainface-\FontTestCounter]
   \title{#1}
   \startpacked
   ` Backtick\par
   ' Apostrophe\par
   ‘ Open curly quote\par
   ’ Close curly quote\par
   - hyphen\par
   – en dash\par
   — em dash
   \stoppacked
   \blank
   “Quote” and „quote“ and «more quotes»}

\starttext
\FontTest{Aller}
…
\stoptext

Wolfgang

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

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


Re: [NTG-context] withdots framing (sharing an example)

2011-03-23 Thread Wolfgang Schuster

Am 22.03.2011 um 01:02 schrieb Pavel Striz:

> \def\Picture#1#2#3%
> {%
>   \vbox to 3in%
>   {%
> \vfil%
> \placefigure[left][#3]%
> {%
>   \hangindent=0.5pt\hangafter=1{}%
>   #2%
> }%
> {%
>   \hskip-11pt\hbox to 3in%
>   {%
> \Text%
> {%
>   \externalfigure[#1][width=3in]%
> }%
> \hss%
>   }%
> }%
>   }%
> }%

\def\Picture#1#2#3%
  {\placefigure
 [][#3]{#2}%
 
{\leftaligned{\externalfigure[#1][width=3in,background=Label,backgroundoffset=1ex]}}}

or

\def\Picture#1#2#3%
  {\placefigure
 [][#3]{#2}%
 {\framed
[align={flushleft,low},frame=off,height=3in,width=broad]
{\externalfigure[#1][width=3in,background=Label,backgroundoffset=1ex]}}}

Wolfgang

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

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


Re: [NTG-context] Which standard installed font displays ' and ` good

2011-03-23 Thread Cecil Westerhof
2011/3/23 mathew 

> On Wed, Mar 23, 2011 at 11:23, Cecil Westerhof 
> wrote:
> > I am still experimenting. With the default ' is reasonably displayed, but
> `
> > not.
> > I liked palatino, but then even ' is not displayed nicely. What is the
> best
> > (standard installed) font where both ' and ` are good displayed?
>
> I think your expectations may be at fault.
>

You are completely right. That is why a mailing list like this is useful.
;-}



> In ConTeXt, ` is not "open quote", it is backtick. If you want an open
> quote, you have to type one.
>
> Typeset this text to see what I mean:
>
> \starttext
> ` Backtick\crlf
> ' Apostrophe\crlf
> ‘ Open curly quote\crlf
> ’ Close curly quote
> \stoptext
>
> If you actually want backtick, perhaps you could say what you think is
> wrong with it in Palatino?
>

Wrong is maybe not the correct word, but when compiling this code:
\starttext
` Backtick\crlf
' Apostrophe\crlf
‘ Open curly quote\crlf
’ Close curly quote

‘some quoted text’

“some doublequoted text”

\setupbodyfont[palatino,rm,12pt]

‘some quoted text’

“some doublequoted text”

\stoptext

Then I find the font from palatino better looking, but the default quotes
better as the palatino's.

I have to change all my ‘quotes’ again.

Attached my Xmopdmap.extra which incorperates these single and double
quotes.

-- 
Cecil Westerhof


Xmodmap.extra
Description: Binary data
___
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] Minute not working in unit module?

2011-03-23 Thread Matthias Weber
Thanks - that indeed does work. The wiki suggested to use \Minute.

Matthias

On Mar 22, 2011, at 5:46 PM, Aditya Mahajan wrote:

> On Tue, 22 Mar 2011, Matthias Weber wrote:
> 
>> Dear all,
>> 
>> \usemodule[units]
>> 
>> \starttext
>> $1 \Minute$
>> \stoptext
>> 
>> gives an undefined control sequence for \Minute,
>> both in mk2 and mk4.
> 
> From m-units.mkiv
> 
> \getvalue{\v!unit} [Min]   {min} {\labeltext{u:min}}
> 
> So, \Min should work.
> 
> 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  : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___

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

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


[NTG-context] Floating picture and footnotes

2011-03-23 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

I encountered a bit strange effects when using footnotes in the area which is 
formed by a floating object.

Consider the following example:

---

\setupinteraction[state=start]

% Heads

\setupheads[aligntitle=float]

% Graphics

\startreusableMPgraphic{Dgm}
  draw (0,8cm)--(0,0)--(5cm,0)--cycle;
\stopreusableMPgraphic

% Body

\starttext
  \subject{AAA\footnote{aaa}}

\input tufte

  
\blank\placefigure[left,none]{}{\framed[frame=on,offset=6pt]{\reuseMPgraphic{Dgm}}}

  \subject{BBB}

TTT\footnote{ttt}

  \subject{CCC\footnote{ccc}}

\input tufte
\stoptext

---

Three "types" of footnotes appear in the bottom of the page:

1) black, non-interactive (refers to the same page as the footnote is defined),

2) coloured, interactive (although it refers to the same page as the footnote 
is defined),

  - the footnote mark (in place of footnote definition) is also coloured and 
interactive and refers to the bottom (of the same page),

  - the coloured footnote number ("2") seems to me a bit thicker than if it were 
"normal" (i.e. black, non-interactive),

3) black, interactive (although it refers to the same page as the footnote is 
defined).

IMHO, all three cases the footnotes should have the same colour and 
"interactivity".

- The effect is not serious, but it may be something "to be thought about".

Best regards,

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

t-Hang2.mkiv
Description: Binary data


t-Hang2.pdf
Description: Adobe PDF document
___
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] Which standard installed font displays ' and ` good

2011-03-23 Thread mathew
On Wed, Mar 23, 2011 at 11:23, Cecil Westerhof  wrote:
> I am still experimenting. With the default ' is reasonably displayed, but `
> not.
> I liked palatino, but then even ' is not displayed nicely. What is the best
> (standard installed) font where both ' and ` are good displayed?

I think your expectations may be at fault.

In ConTeXt, ` is not "open quote", it is backtick. If you want an open
quote, you have to type one.

Typeset this text to see what I mean:

\starttext
` Backtick\crlf
' Apostrophe\crlf
‘ Open curly quote\crlf
’ Close curly quote
\stoptext

If you actually want backtick, perhaps you could say what you think is
wrong with it in Palatino?


mathew
___
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] Which standard installed font displays ' and ` good

2011-03-23 Thread Cecil Westerhof
I am still experimenting. With the default ' is reasonably displayed, but `
not.
I liked palatino, but then even ' is not displayed nicely. What is the best
(standard installed) font where both ' and ` are good displayed?

-- 
Cecil Westerhof
___
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] \hyphenatedurls woes in mkii

2011-03-23 Thread Wolfgang Schuster

Am 23.03.2011 um 15:05 schrieb Taco Hoekwater:

> 
> 
> On 03/23/11 15:01, Wolfgang Schuster wrote:
>> 
>> \setupinteraction[split=no]
> 
> The downside of that is that it totally disables
> \hyphenatedurl :(

In your example it works when you use only two arguments for \useURL.

Wolfgang

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

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


Re: [NTG-context] \hyphenatedurls woes in mkii

2011-03-23 Thread Taco Hoekwater


On 03/23/11 15:01, Wolfgang Schuster wrote:
> 
> \setupinteraction[split=no]

The downside of that is that it totally disables
\hyphenatedurl :(
___
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] \hyphenatedurls woes in mkii

2011-03-23 Thread Wolfgang Schuster

Am 23.03.2011 um 14:13 schrieb Taco Hoekwater:

> Hi,
> 
> For a change, I have a question of my own. Consider this file:
> 
> 
> \setupinteraction[state=start]
> \useURL
>  [myurl]
>  [http://hosting.elvenkind.com/cgi-bin/action=list]
>  []
>  [\hyphenatedurl{http://hosting.elvenkind.com/cgi-bin/action=list}]
> 
> \starttext
> See \from[myurl]\par
> See \url[myurl]\par
> \stoptext
> 
> I would like to use the \from because that is more consistent with
> the rest of my document, but in mkii \from (or more precisely:
> \processisolatedwords) puts in spaces after each breakpoint. Does
> anybody know how to get rid of these? (no issue in mkiv, but this
> is an older setup where mkii is required).

\setupinteraction[split=no]

Wolfgang

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

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


[NTG-context] \hyphenatedurls woes in mkii

2011-03-23 Thread Taco Hoekwater
Hi,

For a change, I have a question of my own. Consider this file:


\setupinteraction[state=start]
\useURL
  [myurl]
  [http://hosting.elvenkind.com/cgi-bin/action=list]
  []
  [\hyphenatedurl{http://hosting.elvenkind.com/cgi-bin/action=list}]

\starttext
See \from[myurl]\par
See \url[myurl]\par
\stoptext

I would like to use the \from because that is more consistent with
the rest of my document, but in mkii \from (or more precisely:
\processisolatedwords) puts in spaces after each breakpoint. Does
anybody know how to get rid of these? (no issue in mkiv, but this
is an older setup where mkii is required).

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

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


[NTG-context] tabulate

2011-03-23 Thread Herbert Voss

this worked some time ago.
Current minimal mkiv

\def\tabulateuse#1{%
  \dorecurse{\numexpr2*#1-1\relax}
{\span\omit}}
\appendtoks
  \let\use\tabulateuse
  \defineTABLEshorthands
\to \everytabulate
\starttext
\starttabulate[|l|Bc|c|c|c|r|]
\NC a\NC b\NC c \NC d\NC e\NC f\NC\NR
\NC a\NC \use2 b\NC d\NC e\NC f\NC\NR
\NC a\NC \use3 b \NC e\NC f\NC\NR
\NC \use4 a  \NC e\NC f\NC\NR
\stoptabulate
\stoptext


system  > tex > error on line 10 in file 09-02-30.ctxcrop: 
Undefined control sequence ...


 1 \def\tabulateuse#1{%
 2   \dorecurse{\numexpr2*#1-1\relax}
 3 {\span\omit}}
 4 \appendtoks
 5   \let\use\tabulateuse
 6   \defineTABLEshorthands
 7 \to \everytabulate
 8 \starttext
 9 \starttabulate[|l|Bc|c|c|c|r|]
10 >>  \NC a\NC b\NC c \NC d\NC e\NC f\NC\NR
11 \NC a\NC \use2 b\NC d\NC e\NC f\NC\NR
12 \NC a\NC \use3 b \NC e\NC f\NC\NR
13 \NC \use4 a  \NC e\NC f\NC\NR
14 \stoptabulate
15 \stoptext

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