[NTG-context] $TEXINPUT worries

2010-09-24 Thread Rolf Marvin Bøe Lindgren
It seems that the commands

  context

and

  texexec

cause ConTeXt to look in different paths. 

I haven't been able to see any patterh here.  context sees some files that 
texexec doesn't, and vice versa.

I currently use TeXLive 2010, but TeXLive 2009 displays the same behavior.

Any and all help appreciated.


-- 
Rolf Marvin Bøe Lindgren
http://www.grendel.no/
http://www.elvetun.no/
+47 40061755

___
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] Font adventures

2007-04-19 Thread Rolf Marvin Bøe Lindgren
I have set up my own typescript file which seems, under normal  
circumstances, to work pretty well.  It can be viewed in all its  
glory on http://www.grendel.no/misc/type-roffe.tex.   it is mainly  
being used by an accompanying file at http://www.grendel.no/misc/cont- 
roffe.tex.

I can normally get the layout I want by doing

\input cont-roffe
\starttext

  ...

\stoptext

funny things happen though, such as

\high{B}

aborts with the message that font UnicodeRegular4c is unavailable.   
what gives?

thank you,

-- 
Rolf Lindgren
[EMAIL PROTECTED]


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Letters in ConTeXt

2007-02-04 Thread Rolf Marvin Bøe Lindgren


On 3. feb. 2007, at 3:10, Rolf Marvin Bøe Lindgren wrote:


On 2. feb. 2007, at 4:10, Wolfgang Schuster wrote:

where is the problem, the letter module can found by typing m- 
letter.tex in google

or whatever you like and you get the following link

http://www.ntg.nl/pipermail/ntg-context/2004/008068.html


the problem is stated in various messages sent to the list during  
the last few days and should be rather accurately assessed by  
reading them.  your messages added absolutely nothing to further a  
solution, but I appreciate the effort and expressed willingness to  
share.


sorry about the quip here – I just noticed you were the one I  
received a much appreciated and very helpful private message from.   
I'll dig into the matter now and quit bothering the list until I've  
figured this out or my confusion has reached a higher level.


--
Rolf Lindgren
[EMAIL PROTECTED]


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Letters in ConTeXt

2007-02-02 Thread Rolf Marvin Bøe Lindgren

On 2. feb. 2007, at 4:10, Wolfgang Schuster wrote:

where is the problem, the letter module can found by typing m- 
letter.tex in google

or whatever you like and you get the following link

http://www.ntg.nl/pipermail/ntg-context/2004/008068.html


the problem is stated in various messages sent to the list during the  
last few days and should be rather accurately assessed by reading  
them.  your messages added absolutely nothing to further a solution,  
but I appreciate the effort and expressed willingness to share.


--
Rolf Lindgren
[EMAIL PROTECTED]


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Letters in ConTeXt

2007-02-01 Thread Rolf Marvin Bøe Lindgren

On 1. feb. 2007, at 7:11, Aditya Mahajan wrote:

 I do not use the m-letter module because it is too complicated for my
 needs. If you think about it, a letter is usually something fairly
 straight-forward. I have a personal p-letter.tex module which does

Oh, it's no problem for me to set up a simple letter style. Indeed,  
the ConTeXt wiki offers several.

My question though is that I want to learn how to use the one  
documented, as it were, in the Correspondence manual, and a short  
working example would help understand the manual.

-- 
Rolf Lindgren
[EMAIL PROTECTED]


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Letters in ConTeXt

2007-02-01 Thread Rolf Marvin Bøe Lindgren
On 1. feb. 2007, at 10:40, Hans Hagen wrote:

 we use the letter stuff is in combination with an xml database of  
 adresses but i also use the thing standalone (address in file)

 maybe when i'm in the mood i'll make it better; actually it's  
 rather configurable already by using setups

then it's just a question of putting you in the mood. I can offer  
cigars, whisky, and ego-supporting psychotherapy.


-- 
Rolf Lindgren
[EMAIL PROTECTED]


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Letters in ConTeXt

2007-01-31 Thread Rolf Marvin Bøe Lindgren
the one thing that stops my total conversion to ConTeXt is my lack of  
understanding of, er, context.  I've studied the manual  
Corresponcence which presupposes far better understanding of  
ConTeXt than I currently possess.  I imagine though that a useful  
short working example would help.

anyone?

-- 
Rolf Lindgren
[EMAIL PROTECTED]


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Letters in ConTeXt

2007-01-31 Thread Rolf Marvin Bøe Lindgren

On 31. jan. 2007, at 5:39, luigi scarso wrote:

 On 1/31/07, Rolf Marvin Bøe Lindgren [EMAIL PROTECTED] wrote:
 the one thing that stops my total conversion to ConTeXt is my lack of
 understanding of, er, context.  I've studied the manual
 Corresponcence
 hmm, where is this manual ?

http://www.pragma-ade.com/general/manuals/xcorresp.pdf

-- 
Rolf Lindgren
[EMAIL PROTECTED]


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Letters in ConTeXt

2007-01-31 Thread Rolf Marvin Bøe Lindgren

On 31. jan. 2007, at 8:13, Idris Samawi Hamid wrote:

 On Wed, 31 Jan 2007 11:16:21 -0700, Rolf Marvin Bøe Lindgren
 [EMAIL PROTECTED] wrote:


 On 31. jan. 2007, at 5:39, luigi scarso wrote:

 On 1/31/07, Rolf Marvin Bøe Lindgren [EMAIL PROTECTED] wrote:
 the one thing that stops my total conversion to ConTeXt is my  
 lack of understanding of, er, context.  I've studied the manual
 Corresponcence

 Well, this is apparently an experimental module, as the 'x'  
 signifies and the 'todo's at the end...

 But the best thing to do is try the examples starting on page 12,  
 look at chapters 3 and 4, and ignore the xml stuff.

certainly, and back in the days when I was a childless and carefree  
student I would have done just that, or I would have offered what I  
had to anyone who had asked.  I'm certainly not asking for anybody to  
do my homework, just hoping that somebody had something lying around  
that could be made instructive fairly quickly.

-- 
Rolf Lindgren
[EMAIL PROTECTED]


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Letters in ConTeXt

2007-01-31 Thread Rolf Marvin Bøe Lindgren

On 31. jan. 2007, at 9:08, David Rogers wrote:

 The very simple example code given on Page 11 does not fail on my  
 machine, though I don't know where to place my information.

yes, that's one of the issues I have with the documentation :)
-- 
Rolf Lindgren
[EMAIL PROTECTED]


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] header styles

2007-01-17 Thread Rolf Marvin Bøe Lindgren
I've sort of looked around, I believe, but not found a simple way to  
change the size of headings.

\setuphead[subject][style=\ss\bfb] makes a nice medium sized heading,  
but what is the canonical way to set up numbered headings, sans  
serif, boldface, 14pt?
-- 
Rolf Lindgren
[EMAIL PROTECTED]


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Help --- Arithmetic Overflow: Weird error

2007-01-04 Thread Rolf Marvin Bøe Lindgren
On 4. jan. 2007, at 3:10, David Arnold wrote:

 In trying Context Updater in the update i-installer, I get this  
 message:

 You are now installing in the location for de deprecated gwTeX  
 2003-2005 i-Package in part based on teTeX. This is probably not  
 what you want. I suggest you make sure you have the gwTeX i-Package  
 based on TeX Live installed. Then the best thing is to reset this i- 
 Package to its default package properties. It will then pick up the  
 new default location.

 Looks like it wants me to install the latest tex.

 Any advice?

I would advice that somebody should pick up the gauntlet and write a  
user-friendly interface to the i-Installer.

-- 
Rolf Lindgren
[EMAIL PROTECTED]


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt, hyphenation

2007-01-03 Thread Rolf Marvin Bøe Lindgren
On 3. jan. 2007, at 9:41, Taco Hoekwater wrote:


 Did you uncomment this line in cont-usr.tex:

 % \installlanguage [\s!no] [\c!state=\v!start] % norwegian

 ?

yes.

I've tried with showhyphens, and it seems that certain tricky words  
are hyphenated correctly.  however, ConTeXt no longer hyphenates  
“psykolog”, and “psykometriker” is hyphenated as psykometrik-er.

I use

\installlanguage
[no]
[spacing=broad,
leftsentence=,
rightsentence=,
leftsubsentence=,
rightsubsentence=,
leftquote=\leftguillemot,   
rightquote=\rightguillemot,
leftquotation=\leftguillemot,
rightquotation=\rightguillemot,
date={month,\ ,day,{,\ },year},
default=no,
state=stop]

\language[no]
\setuplanguage[no]

and get the error message

systems : system commands are disabled
(/usr/local/gwTeX/texmf.local/tex/context/user/cont-roffe.tex
language: patterns for no not loaded
check   : missing or ungrouped '=' after 'no' in line 25  
(@@lano)

Line 25 is the first line after \setuplanguage[no]

Is this in any way significant?

-- 
Rolf Lindgren
[EMAIL PROTECTED]


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt, hyphenation

2007-01-03 Thread Rolf Marvin Bøe Lindgren
On 3. jan. 2007, at 1:16, Hans Hagen wrote:

 that's why i asked ... what encoding are those files in (i assume  
 ec but if not, we need to correct for that (grep ctxtools for 'no'))

oh.  the documents are utf-8, whereas the font encoding I use is  
texnansi.

-- 
Rolf Lindgren
[EMAIL PROTECTED]


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt, hyphenation

2007-01-03 Thread Rolf Marvin Bøe Lindgren

On 3. jan. 2007, at 2:32, Hans Hagen wrote:

 � wrote:
 On 3. jan. 2007, at 1:16, Hans Hagen wrote:


 that's why i asked ... what encoding are those files in (i assume
 ec but if not, we need to correct for that (grep ctxtools for 'no'))


 oh.  the documents are utf-8, whereas the font encoding I use is
 texnansi.



 input encoding and font encoding are indepedent

I would know, being the one who talked Tom Rokicki into adding  
support for font encoding vectors to dvips.

-- 
Rolf Lindgren
[EMAIL PROTECTED]


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] ConTeXt, hyphenation

2007-01-02 Thread Rolf Marvin Bøe Lindgren
I've upgraded to the most recent version of ConTeXt now.  I try to  
set Norwegian hyphenation by saying

\language[no]
\setuplanguage[no]

however, as opposed to in the previous version, there are no  
hyphenations at all.  I wonder if it is to do with the pattern file  
used – how do I set that?  and how can I make sure that the correct  
patterns are used?


-- 
Rolf Lindgren
[EMAIL PROTECTED]


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt upgrade blues

2006-12-31 Thread Rolf Marvin Bøe Lindgren
On 31. des. 2006, at 8:29, Hans Hagen wrote:

 texexec --make --all

 the --all will force all patterns to be loaded

yes, but take a look at lang-no.dat – \patterns{} is empty.  I don't  
know if it's significant.

-- 
Rolf Lindgren
[EMAIL PROTECTED]


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Manual (English) Update soon?

2006-12-30 Thread Rolf Marvin Bøe Lindgren
On 30. des. 2006, at 6:47, Sanjoy Mahajan wrote:

 \setupindenting[medium, yes]

ConTeXt seems to choke on the yes here.

-- 
Rolf Lindgren
[EMAIL PROTECTED]


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] ConTeXt upgrade blues

2006-12-30 Thread Rolf Marvin Bøe Lindgren
OK, so the ConTeXt that comes with the TeX distribution I use (until  
eariler today, MacPorts, and as from later today, fink) is ancient.

now, with good old LaTeX that's not much of a problem - just put the  
most recent release in the few relevant places in texmf-local,  
rebuild the formats, and off you go.  with ConTeXt, that's, er, not  
so simple.

the first attempt I made was to pull dowm the most recent version of  
the base files and then run

sudo texmfstart ctxtools --update

which seemingly worked, pulled the updates to texmf-local, and  
complied with no error messages.  however, the new ConTeXt failed to  
compile documents, giving lots of error messages about undefined  
commands.

texexec test.tex (which used to work) gives

mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;  
input ec-lmr12' failed to make ec-lmr12.tfm.
kpathsea: Appending font creation commands to missfont.log.
! Font \*12ptrmtfrm*=ec-lmr12 not loadable: Metric (TFM) file not found.

ruby `kpsewhich --format=texmfscripts texmfstart.rb` texexec test  
(which is in essence what the recommended shell script does) gives

ConTeXt  ver: 2005.01.31  fmt: 2006.12.30  int: english  mes: english

language: language en is active
protectionstate 0
system  : cont-new loaded
(/sw/share/texmf-local/tex/context/base/cont-new.tex
! Undefined control sequence.
l.16 \newcontextversion
{2006.12.27 11:34}


now, according to several web pages, ec-lmr12 can be found on  
pragma's web, but it's not there.

any suggestions?

-- 
Rolf Lindgren
[EMAIL PROTECTED]


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt upgrade blues

2006-12-30 Thread Rolf Marvin Bøe Lindgren

On 30. des. 2006, at 11:27, Rolf Marvin Bøe Lindgren wrote:

 OK, so the ConTeXt that comes with the TeX distribution I use (until
 eariler today, MacPorts, and as from later today, fink) is ancient.

 now, with good old LaTeX that's not much of a problem - just put the
 most recent release in the few relevant places in texmf-local,
 rebuild the formats, and off you go.  with ConTeXt, that's, er, not
 so simple.


OK, the problem was solvable and I now have an up-to-date ConTeXt.   
the only remaining issue is that of hyphenation - the previous  
version, apparently had Norwegian hyphenation on by default.  I  
managed to coerce ConTeXt into handeling it, but what is the  
canonical way to edit which hyphenation patterns ConTeXt loads when  
building formats?

-- 
Rolf Lindgren
[EMAIL PROTECTED]


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font for enumeration

2006-12-29 Thread Rolf Marvin Bøe Lindgren
On 29. des. 2006, at 10:39, Taco Hoekwater wrote:

 Untested, but should work:

\def\varosfnumbers#1{{\Var[osf] #1}}

\defineconversion[varosf][\varosfnumbers]

\startitemize[varosf]
\item this
\item that
\item the other
\stopitemize

alas, no:

--
systems : begin file rekruttering-i-oljesektoren at line 29
title   : - Rekruttering i ojesektoren
! Argument of \pp!doifinstringelse has an extra }.
inserted text
 \par
to be read again
}
\dolistitem ...ue {\@@localitemsymbol \itemlevel }
   }\resetunexpanded  
\headite...

\complexdoitemgroupitem ...norespaces \dolistitem
   \ifpackeditems  
\setupwhite...
to be read again
J
l.59 \item J
 obbanalyser: Her bør det muligens bygges opp noe.  Det er
--


any suggestions?

-- 
Rolf Lindgren
[EMAIL PROTECTED]


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font for enumeration

2006-12-29 Thread Rolf Marvin Bøe Lindgren
On 29. des. 2006, at 3:44, Taco Hoekwater wrote:

 Rolf Marvin Bøe Lindgren wrote:
 On 29. des. 2006, at 10:39, Taco Hoekwater wrote:


 Untested, but should work:

   \def\varosfnumbers#1{{\Var[osf] #1}}

   \defineconversion[varosf][\varosfnumbers]

   \startitemize[varosf]
   \item this
   \item that
   \item the other
   \stopitemize


 alas, no:

 Can you try

\unexpanded\def\varosfnumbers#1{{\Var[osf] #1}}

success.  thanks!

-- 
Rolf Lindgren
[EMAIL PROTECTED]


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Font for enumeration

2006-12-27 Thread Rolf Marvin Bøe Lindgren
consider the following setup:

\startitemize[m]
\item this
\item that
\item the other
\stopitemize

this should give enumeration using oldstyle numbers.  now, I have  
created my own typescript file that sets everything to Sabon, except  
the oldstyle numbers in question, which are set using computer  
modern's oldstyle numbers.  what do I do to get the base font here?   
I have set up my typescript file so that {\Var[osf] 123} are set  
using the base fonts oldstyle numbers.
-- 
Rolf Lindgren
[EMAIL PROTECTED]


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context