[NTG-context] switching to Context

2007-11-29 Thread Roger Mason
Hello,

I'm thinking of making the switch from latex to context, indeed I'm
working on my first non-trivial document as a trial.  I have some
questions.

(1) Is it possible to do conditional compilation?  I wish to use
context to write lecture notes with embedded pictures.  I'd like to
compile the document into one form to hand out to the class (or make
available on the web) and another to be used as a presentation, much
like latex-beamer, with just the pictures.

(2) Is it possible to convert context into plain text (i.e. strip out
the formatting instructions)?  This may seem eccentric but it might,
with some programming, offer a means to put document content into a
relational database, perhaps in paragraph chunks.

Thanks,

Roger
___
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] switching to Context

2007-11-29 Thread Roger Mason
 Luigi and Thomas,

Thank you both very much for your suggestions.  It appears that much
is possible beyond the simple inclusion/exclusion I had considered.

Just yesterday(!) I extracted from a pdf file the text to pass on to a
colleague.  Now why did I not think of that when I had the same need!

Many thanks,
Roger
___
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] selectively turn off captions

2007-11-29 Thread Roger Mason
Hello,

I'm making progress in using modes - thanks again for the help so far
that was given in the switching to Context thread.

I have followed Thomas Schmitz' practex article and have set up modes
for presentation and manuscript.  I am using external figures on most
of the slides.  In presentation mode there is no need for figure
captions (the slide heading and my waffling will suffice).  In
manuscript mode I'd like to have captions to the figures.  I know I
can disable captions with {none} for each individual figure, but can I
do this _just_ for the presentation?  I have looked up \setupcaptions
but there does not seem to be a none option that could be used for
this purpose.

Thanks,

Roger
___
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] selectively turn off captions

2007-11-29 Thread Roger Mason
Hi Wolfgang,

Wolfgang Schuster [EMAIL PROTECTED] writes:

 \setupfloat[figure][default=none]

Thanks, but that did not work.  The only thing that seems to work is
to put {none} for the caption.  However, that means I'm not going to
have captions in the manuscript version either.

Cheers,
Roger
___
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] selectively turn off captions

2007-11-30 Thread Roger Mason
Hi Thomas,

Thomas A. Schmitz [EMAIL PROTECTED] writes:

 Gentoo version numbers are not something that many people around here  
 will know. I assume that 3.0_p1 refers to gentoo's tetex ebuild. This  
 is ancient, tetex has been unmaintained for almost two years (and  
 gentoo should be ashamed that they still haven't gotten around to  
 making texlive the default). Of course it's possible to upgrade, but  
 you will run into trouble: you'll need to compile a newer version of  
 pdftex and install that. The gentoo tex setup is quite complex, and  
 finding out why it is still using some old config file etc. is a royal  
 pain. I tried it for a while and in the end got fed up with it and  
 installed texlive from the iso image (see 
 http://wiki.contextgarden.net/TeX-live) 
 . But if you want to give it a shot, there's a wiki page about it;  
 some info may be slightly updated, but most of it should work as  
 described: 
 http://wiki.contextgarden.net/Linux_Installation#Updating_Gentoo_Linux

This is what I have:

TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005

   texexec : TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
   texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
   tex : pdfeTeX, 3.141592-1.30.5-2.2 (Web2C 7.5.5)
   context : ver: 2005.01.31
   cont-en : ver: 2005.01.31  fmt: 2007.11.29  mes: english

I think there is now a texlive ebuild that is marked testing.  Maybe
I should try that first.  I have a package built for teTeX so i can
revert if disaster strikes.

Cheers,
Roger

___
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] selectively turn off captions

2007-11-30 Thread Roger Mason
Hello Hans,

Hans Hagen [EMAIL PROTECTED] writes:

 Roger Mason wrote:
 well, we can misuse the number= key .

 % patch, goes in cont-new.tex


I'm sorry to trouble you but... 

I applied the patch.  When I try to compile my file it fails like
this:

! Undefined control sequence.
\presetfloatvariables ...atmethod \floatparameter 
  \c!sidemethod \global \cha...

\docompletefloat ...loatvariables {#1}{#4}{#2}{#6}
  \bgroup \setnaturalfloatdi...
argument ...tion of sapphire deposits.}\nextbox 
  \else \docompletefloat {fi...

\secondoftwoarguments #1#2-#2
  
\xdocompletefloat ...at ,#4}{#5}{#6}\nextbox \fi }
  \else \docompletefloat {#1...

\dodowithnextbox ...ibution of sapphire deposits.}
  \doifnotinset \v!text {sap...
l.114 ...re[Sapphire_world_map][width=\textwidth]}

The offending lines from my file:

  \placefigure
[sapphiremap][Sapphire_world_map]
{Distribution of sapphire deposits.}
{\externalfigure[Sapphire_world_map][width=\textwidth]} % line 114

Am I calling \placefigure wrongly?

Thanks very much for your help.

Roger
___
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] selectively turn off captions

2007-12-01 Thread Roger Mason
Idris Samawi Hamid [EMAIL PROTECTED] writes:


 The Middle Ages, almost BC in ConTeXt time...

 Must update, I'd start with a fresh, clean TeX if I were you.

 I think I just made it to the renaissance:

TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD

Cheers,
Roger
___
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] selectively turn off captions

2007-12-01 Thread Roger Mason
Hello all,

Hans Hagen [EMAIL PROTECTED] writes:

 you can try the current beta

It did not work with my updated version:

texexec --version
TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD

ctxtools --contexttools
CtxTools | version 1.3.3 - 2004/2006 - PRAGMA ADE/POD

figures : dimensions of Sapphire_world_map are determined
externally
(./main.ctx.tuo))
! Incomplete \iffalse; all text was ignored after line 161.
inserted text 
\fi
* main.ctx.tex 
 emergencyend
? 

Is this version still too old?

Thanks,
Roger
___
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] selectively turn off captions

2007-12-01 Thread Roger Mason
Hans Hagen [EMAIL PROTECTED] writes:

 (./main.ctx.tuo))

 where does that name come from ... ctx is reserved for context job 
 control files

The file name being compiled is main.ctx.tex.  I'm using the dual
extension .ctx.tex as a way of telling my editor (emacs) to invoke the
context mode of AUCTeX when I load a file with that extension.

Roger
___
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] selectively turn off captions

2007-12-01 Thread Roger Mason
Hello Jean  Peter,

Jean Magnan de Bornier [EMAIL PROTECTED] writes:

 Well, AucTeX does recognize a LaTeX file from a ConTeXt file; no need for 
 that!

I did it like that because I have (setq-default TeX-master nil) in my
.emacs so it asks then inserts the local variables that Peter
mentioned.  Having emacs recognise a context file by \starttext is
fine except when you open a new file.

This is drifting off topic but, if you have any tweaks to make AUCTeX
work better with context than it does out of the box then I'd be glad
to hear about them.

Roger
___
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] forbidden filenames in context?

2007-12-04 Thread Roger Mason
Hello,

I have two identical files, one named main.ctx.tex and the other
tmp.ctx.tmp.  The latter was made by copying the former.  Both files
contain just this:

\starttext

\stoptext

%%% Local Variables: 
%%% mode: context
%%% TeX-master: t
%%% End: 

tmp.ctx.tex compiles fine, but main.ctx.tex fails with this error:

system  : main.ctx.top loaded
(./main.ctx.top) (./main.ctx.tuo) (./main.ctx.tuo) (./main.ctx.tuo)
(./main.ctx.tuo) (./main.ctx.tuo) (./main.ctx.tuo) (./main.ctx.tuo)
(./main.ctx.tuo) (./main.ctx.tuo) (./main.ctx.tuo) (./main.ctx.tuo)
(./main.ctx.tuo
! Missing \endcsname inserted.
to be read again 
   \let 
\noshowargumenterror -\let 
\expectedarguments \noexpectedarguments 
\dotripleempty #1-\noshowargumenterror 
\doifnextcharelse
[{\dotripletestemp...
argument ...oss \fileprefix fig:\externalfigure 
  [dummy
\ifundefined #1-\unless \ifcsname #1
 \endcsname 
\mainreference ...ined {\r!cross \fileprefix #1#2}
  \ifcase
  \autocrossfilerefe...
l.11 ...re [dummy}{2::0:0:0:0:0:0:0::2}{2}{{1}{]}}
  
? x
No pages of output.

Are some filenames forbidden in Context?

Puzzled,

Roger
___
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] forbidden filenames in context?

2007-12-07 Thread Roger Mason
Hello all,

Thanks for the responses.

Hans Hagen [EMAIL PROTECTED] writes:


 ctx suffixes are kind of special (depends a bit how used, but as part of 
 workflows context will read them as xml files and lookup mapped names) 
 and tmp is used for buffers and such (but normally the buffer name is 
 prefixed); another situation may occur when tmp is used to save the top 
 file (texexec options)

 system  : main.ctx.top loaded
 (./main.ctx.top) (./main.ctx.tuo) (./main.ctx.tuo) (./main.ctx.tuo)
 (./main.ctx.tuo) (./main.ctx.tuo) (./main.ctx.tuo) (./main.ctx.tuo)
 (./main.ctx.tuo) (./main.ctx.tuo) (./main.ctx.tuo) (./main.ctx.tuo)
 (./main.ctx.tuo
 ! Missing \endcsname inserted.

 depends on what is read from the tuo file, hard to see what happens 
 without example

I can't reproduce this at the moment.  If it happens again I'll send
the tuo file.

Thanks,
Roger
___
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] defining a command

2007-12-17 Thread Roger Mason
Hello,

I have this definition:

\def\oneplot#1#2#3%
{\placefigure
  [here][#3]
  {\bfc #2}
  {\hfil \scale[width=10.5cm]{#1} \hfil}
}

(It is modified from an example on the wiki that takes only the first
two arguments).

I use it like this:

\oneplot
% image
% caption
% reference
{\externalfigure[Fluorita_green]}
{Fluorite cleavage}
{cleavage}

but the reference is ignored and I get ?? in the compiled document.

Could someone point out my error please?

Cheers,
Roger
___
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] defining a command

2007-12-18 Thread Roger Mason
Hello Wolfgang,

Wolfgang Schuster [EMAIL PROTECTED] writes:

 \define[3]\oneplot
   {\placefigure[here][#3]{\bfc#2}{\scale[width=10.5cm]{#1}}}

 \starttext
 \oneplot{\blackrule[width=1cm,height=1cm]}{Blackrule}{plot:blackrule}
 See at \in{Plot}[plot:blackrule].
 \stoptext

 Alternative solution with a real ConTeXt definition:

 \definefloat[plot][plots][figure]
 \setupfloat[plot][command={\scale[width=5cm]}]
 \starttext
 \placefigure{Blackrule}{\blackrule[width=1cm,height=1cm]}
 \placeplot{Blackrule}{{\blackrule[width=1cm,height=1cm]}}
 \stoptext

Both methods work fine.  Given that I'm using Context then I will use
the Contextish way of doing things.

Many thanks for you help,

Roger
___
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] defining a command

2007-12-18 Thread Roger Mason
Hello again,

Wolfgang Schuster [EMAIL PROTECTED] writes:

 \definefloat[plot][plots][figure]
 \setupfloat[plot][command={\scale[width=5cm]}]

What would the plural form be used for?  Could I use it to define a
combination?  If so, how?

Thanks for the help,

Roger
___
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] preview-context

2007-12-23 Thread Roger Mason
Gour [EMAIL PROTECTED] writes:

 Since I plan to move to ConTeXt using AUCTeX, I'm interested to hear if
 there is some interest here (amongst emacs users) to have preview-context
 withing AUCTeX package?

I'm interested in improved Context support in Auctex in general.  I am
a recent convert to Context, using it for my first project at the
moment.  I find much of the discussion on this list to be over my head
still.

I have a very little experence programming emacs lisp but have not
practised it for 3 or 4 years.  Currently I have implemented one or
two things I wanted in the form of (not very good!) emacs skeletons.
I'll help as much as I can, even if only with testing.

 otoh, I'm interested if there is newer version of  etexshow
 (Browser for ConTeXt commands) ?

Have you seen http://texshow.contextgarden.net/ ?  I don't know how up
to date it is.

Cheers,
Roger
___
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] ConTeXt meeting: preliminary registrations open now

2008-01-09 Thread Roger Mason
Jeff Smith [EMAIL PROTECTED] writes:

 On appearances it sometimes feels like I'm the only North American
 user of ConTeXt (which is surely not true, though)!

You are not alone!  I'm in St John's, Newfoundland.
So n = 2.

Cheers,
Roger
___
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] processing xml

2008-05-06 Thread Roger Mason
Hello,

I have a document converted from rtf to xml that I'd like to attempt
to typeset using Context.

As a starting point I tried to follow the procedure in a document from
the wiki: mag-0008-1.pdf Dealing with XML.  Having copied the first
example document and stylesheet from that article and generated
sample-1.fx, I run:

texexec --pdf --use=fx --xml sample-1.fx

but it ends with:

(/usr/local/context_minimal/tex/texmf-local/tex/context/base/spec-fdf.tex
(/usr/local/context_minimal/tex/texmf-local/tex/context/base/spec-fdf.mkii))
specials: fdf loaded
)
specials: fdf,tpd loaded
system  : module fx not found
)
systems : system commands are enabled
)
*

I installed the minimal today from the wiki to be up to date before
posting.

Probably something has changed in the four years since mag-0008-1.pdf
was written.  If some kind soul would point me in the right direction
I'll be very grateful.

Roger
___
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] processing xml

2008-05-07 Thread Roger Mason
Hello Wolfgang,

Wolfgang Schuster [EMAIL PROTECTED] writes:

 take a look into the XML manual, the magazine is a little bit special and
 not the best starting point.

 http://www.pragma-ade.com/show-man-15.htm

Thank you _very_ much.  That was just what I needed: to quote the
example I just ran: What a happy end to a small story!.  Context is
pretty amazing.

Cheers,
Roger
___
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] letter module

2008-08-13 Thread Roger Mason
Hello,

I just downloaded the letter module and installed it by unzipping the
t-letter.zip file into /usr/local/context_minimal/.

When I try a test letter:

\usemodule[letter]

\starttext
\startletter
  It is raining again.
\stopletter
\stoptext

context fails with:

systems : system commands are enabled
system  : module letter not found
(/usr/local/context_minimal/tex/texmf-local/tex/context/base/sort-lan.tex
loading : Context Sorting Macros (languages)
(/usr/local/context_minimal/tex/texmf-local/tex/context/base/sort-lan.mkii))
(/usr/local/context_minimal/tex/texmf-local/tex/context/base/pdfr-def.tex)
systems : begin file ltrtest at line 3
! Undefined control sequence.
l.4 \startletter

? 

The log file tells me 

ConTeXt ver: 2007.08.08 14:35 MKII fmt: 2008.5.6 int:
english/english

This is on a Gentoo Linux system.

Thanks for any help,
Roger
___
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] letter module

2008-08-14 Thread Roger Mason
Hi Wolfgang,

Wolfgang Schuster [EMAIL PROTECTED] writes:

 On Wed, Aug 13, 2008 at 3:34 PM, Roger Mason [EMAIL PROTECTED] wrote:
 Hello,

 I just downloaded the letter module and installed it by unzipping the
 t-letter.zip file into /usr/local/context_minimal/.

 When I try a test letter:

 \usemodule[letter]

 \starttext
 \startletter
  It is raining again.
 \stopletter
 \stoptext

 context fails with:

 systems : system commands are enabled
 system  : module letter not found
 (/usr/local/context_minimal/tex/texmf-local/tex/context/base/sort-lan.tex
 loading : Context Sorting Macros (languages)
 (/usr/local/context_minimal/tex/texmf-local/tex/context/base/sort-lan.mkii))
 (/usr/local/context_minimal/tex/texmf-local/tex/context/base/pdfr-def.tex)
 systems : begin file ltrtest at line 3
 ! Undefined control sequence.
 l.4 \startletter

 ?

 The log file tells me

 ConTeXt ver: 2007.08.08 14:35 MKII fmt: 2008.5.6 int:
 english/english

 This is on a Gentoo Linux system.

 Update the file database with 'mktexlsr' or 'texhash'.


texhash: Updating /usr/local/context_minimal/tex/texmf/ls-R... 
texhash: Updating /usr/local/context_minimal/tex/texmf-extra/ls-R... 
texhash: Updating /usr/local/context_minimal/tex/texmf-fonts/ls-R... 
texhash: Updating /usr/local/context_minimal/tex/texmf-linux/ls-R... 
texhash: Updating /usr/local/context_minimal/tex/texmf-local/ls-R... 
texhash: Done.

Unfortunately that did not fix it.  I get the exact same error.

Thanks for your help.

Roger
___
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] letter module

2008-08-14 Thread Roger Mason
Hi Wolfgang  Mojca,

Wolfgang Schuster [EMAIL PROTECTED] writes:

and

Mojca Miklavec [EMAIL PROTECTED] writes:

 On Wed, Aug 13, 2008 at 3:34 PM, Roger Mason [EMAIL PROTECTED] wrote:
 Hello,

 I just downloaded the letter module and installed it by unzipping the
 t-letter.zip file into /usr/local/context_minimal/.


 Unzip the archive either in '/usr/local/context_minimal/tex/texmf-local/'
 or in in the local TeX tree in your home folder.

Thank you both very much.  It is working now.  I should learn to read
log files more attentively.

Best wishes,
Roger
___
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] Zoom image in presentation

2011-11-07 Thread Roger Mason
Hello all,

I'd like to be able to zoom an image during a presentation.  My thinking
is that it might be possible by turning layers on and off interactively.
I see in this message:

http://archive.contextgarden.net/message/20110426.183109.fc46c5a5.en.html

that Hans said (enigmatically :-)) And then there are viewerlayers
(acrobat) that you can turn on and off with
\goto{On}[VideLayer{mylayer}] but that's a different topic.

Any hints on how I could do this?

I'm using the latest standalone, installed yesterday.

Thanks,
Roger
___
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-- does it make sense for my needs?

2011-12-14 Thread Roger Mason
Chris,

Chris Lott ch...@chrislott.org writes:


 3) PDF is my primary medium of exchange, though I would like to
 efficiently exchange docs with colleagues, which might mean getting
 them into something they can open with their beloved Microsoft Word...
 is there an RTF output for ConTeXt? this isn't super-high on my list,
 but it would be nice.

 4) How about X/HTML? this is my lowest level need but, again, it would be 
 nice.

One option would be to use markdown with pandoc.

http://johnmacfarlane.net/pandoc/

  I mostly write in
ConTeXt, but if I know I must share with users of word processors then
markdown + pandoc is a good option.

Cheers,
Roger
___
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] Draft version of document

2012-08-04 Thread Roger Mason

Hello all,

Having used MkII to make a nicely formatted version of a document, I now 
need to make a draft version document in order to submit it to a 
journal.  They want the figure captions as a list at the end of the 
document and the figures collected on pages at the end too.  The draft 
version will need to be double spaced.  Obviously, I'd rather use the 
existing source to generate both draft and well-formatted versions, so 
it sounds like a job for modes.  Before I start hacking, has someone 
done this already or is ther an alternative method of accomplishing this?


Thanks,
Roger

This electronic communication is governed by the terms and conditions at
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Draft version of document

2012-08-07 Thread Roger Mason

Hello Sietse,

On 08/06/12 13:44, Sietse Brouwer wrote:

Hi Roger,

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


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

Cheers,
Sietse

Many thanks for your thorough reply.  I will try it out over the next 
few days.


Best wishes,
Roger

(who is glad you did not have the time to make it shorter, if you see 
what I mean :-) )


This electronic communication is governed by the terms and conditions at
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php
___
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] DocBook

2012-12-18 Thread Roger Mason

Hello all,

I have a manuscript to review that I have managed to coerce into DocBook 
xml.  I'd like to turn it into context so that I can mark it up in a 
comfortable environment.  I just tried Simon Pepping's DocBookInContext 
package from 2003, but it fails on the provided test document:


! Undefined control sequence.
l.968 \stelsectiein

pandoc is not an option for me at the moment: I am currently using Arch 
Linux and have not been able to get their Haskell installation to finish 
successfully.


Thanks for any ideas.

Roger

This electronic communication is governed by the terms and conditions at
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php
___
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] DocBook

2012-12-18 Thread Roger Mason

Wolfgang, Thomas, Hans,

On 12/18/2012 09:51 AM, Hans Hagen wrote:

On 12/18/2012 12:47 PM, Wolfgang Schuster wrote:


Am 18.12.2012 um 12:31 schrieb Roger Mason rma...@mun.ca:


Hello all,

I have a manuscript to review that I have managed to coerce into 
DocBook xml.  I'd like to turn it into context so that I can mark it 
up in a comfortable environment.  I just tried Simon Pepping's 
DocBookInContext package from 2003, but it fails on the provided 
test document:


! Undefined control sequence.
l.968 \stelsectiein

pandoc is not an option for me at the moment: I am currently using 
Arch Linux and have not been able to get their Haskell installation 
to finish successfully.


1. The module uses a mix of english and dutch commands which doesn’t 
work (maybe it worked when module was written).


That was an experiment by Simon and (in latex style) it overloaded 
quite some low level stuff so it never really worked out well I think.


2. The code is outdated, written for MkII and rewrites commands which 
are already part of the core.


Indeed.

Hans

Thank you for your replies.  The hint given by Thomas was enough to 
allow me to get pandoc installed and I now have a workflow that provides 
ConTeXt output.


Many thanks.

Roger

This electronic communication is governed by the terms and conditions at
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php
___
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 capture a typeset page into a box instead of shipping it out

2009-02-01 Thread Roger Mason
Hello,

Kevin D. Robbins krobb...@alumni.princeton.edu writes:

Thanks for the suggestions Wolfgang and Luigi. I've now got several
good options to research.
Kevin


I use 3  modes for teaching:

manuscript -- notes that go on-line for students to download
presentation -- pictures for use in class
speakernotes -- miniatures of the pictures, each on a separate page,
 that I scrawl on for use in class (so I know what I'm
 supposed to say).

I got a lot of help from this list in putting these together.  Context
experts might find them laughable, but I'm attaching the modes in a
tarball just in case they are useful.  They are still evolving, by the
way -- I wrote speakernotes last week, inspired by something of the same
name on the wiki (sorry, I can't remember who the author is).

Cheers,
Roger



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


[NTG-context] converting Word to Context

2009-04-23 Thread Roger Mason
Hello,

There was  thread a while ago about converting Word docs to Context.
Did anyone make progress in setting up a workflow?

Cheers,
Roger
___
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] converting Word to Context

2009-04-23 Thread Roger Mason
Hello Vyatcheslav,

Vyatcheslav Yatskovsky yatskov...@gmail.com writes:

 I did only some basic steps. )) Nothing to mention yet.

 What kind of documents you need to convert? Only simple ones, or
 containing formulaes, etc.?

It is just a problem that comes up from time to time, rather than an
extensive collection of documents arriving on my desktop in one go.
Most people in my department use Word, and, although I have OpenOffice,
I don't use it other than as a means of opening and converting the Word
and Excel files that come my way.

The current document is short, simple and I dealt with it by converting to
text and doing the formatting from scratch.  However, others will
probably want to edit it and I'm sure it will arrive back on my desk in
Word again, so a less manual method of conversion would be convenient.

Cheers,
Roger
___
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] converting Word to Context

2009-04-23 Thread Roger Mason
Hello Idris,

Idris Samawi Hamid isha...@colostate.edu writes:

 Buggy but usable:

 OOo: doc - odt

 odt2txt: odt - markdown

 pandoc: markdown - context

 the buggeist part of the workflow is odt2txt: sometimes it skips
 footnotes  or entire paragraphs.

Thank you.  I take it you mean odt2txt.py?  There is snother utility
(odt2txt) written in C but it seems from the web-site that it writes
plain text rather than markdown.

Cheers,
Roger
___
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] converting Word to Context

2009-04-24 Thread Roger Mason
Hello,

J.A.J. Pater jajpa...@gmail.com writes:

 It is pretty easy when you use the word-to-latex program
 (http://kebrt.webz.cz/programs/word-to-latex/)
 See: http://wiki.contextgarden.net/Word-to-LaTeX (Which could be
 renamed Word-to-ConTeXt?)
 Though I had some problems using the XML example from the above page.
 But you can make your own XML file for the program.
 I made one for use with the XeTeX engine (texexec --xtx).

Thank you for the suggestion.  Unfortunately it only runs in the Windows
OS.  I use Linux (sorry, I should have said so at the outset).

Best wishes,
Roger
___
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] converting Word to Context

2009-04-24 Thread Roger Mason
Hello Luigi,

luigi scarso luigi.sca...@gmail.com writes:

You can give a look also at
http://opendocumentfellowship.com/projects/odfpy

Thanks for the suggestion, I will have a look at it.

Cheers,
Roger
___
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] converting Word to Context

2009-04-25 Thread Roger Mason
Wolfgang Schuster schuster.wolfg...@googlemail.com writes:


 You could try to ask Steffen Wolfrum, he's a professional typesetter [1]
 and should have knowledge about word2context conversion, that's what I
 got
 from a few older mails from him.

Thanks for the suggesttion Wolfgang.

Best wishes,
Roger
___
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] Landscape printing

2009-06-01 Thread Roger Mason
Hello,

I made a document that needs to be printed in landscape orientation on
letter paper.  I have this in the document:

\setuppapersize[letter,landscape][letter,landscape]

It looks fine in xpdf, but when I print the page has a very wide left
margin and the last column of my table is off the right edge of the
page.

I'm using this print command:

lpr -Plj5l -o landscape filename

I also tried printing from within xpdf, with the same command and the
same result.

Thanks for any help.

Roger
___
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] Letter with letterhead

2011-03-01 Thread Roger Mason
Hello,

I must write a multi-page letter with only the first page as
(pre-printed) letterhead.  I adapted the Letterhead example from the
wiki to fit the style of my institution.  I would like to know how to
revert the second and subsequent pages to use a default layout.

If someone know how to use Wolfgang's letter module (in MKII) with
letterhead on the first page only, that would be fine.

Thanks,
Roger
___
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] Letter with letterhead

2011-03-02 Thread Roger Mason
Hello Willi,

Willi Egger w.eg...@boede.nl writes:

 though I am using MKIV only, it should also work with MKII

   \startsetups[letter:foot]
   \setlayer[letter:foot]
   [x=4.5mm,y=-2mm]
   {... whatever must go in here ...}
[snip]

Many  thanks.  Yes, it does work with MKII.

Cheers,
Roher
___
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] Setting width of table column

2011-05-12 Thread Roger Mason
Hello,

I cannot find how to set the width of a table column.  I am running
MkII.  The manual gives this: w set minimum column width at specified
value

I have currently: \starttable[|l|l|w5cm l|p|]

but that italicises the content of column 3.  I have tried variations to
no avail.

Thanks for any help.

Cheers,
Roger
___
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] Setting width of table column

2011-05-12 Thread Roger Mason
Hi Wolfgang,

Wolfgang Schuster schuster.wolfg...@googlemail.com writes:

 You need parentheses!

 … | l w(5cm) | …


Many thanks.

If I may presume on your patience a little more...

I now have:  \starttable[| l s1 | s1 l | s0 lp w(10cm) | s0 l |]

However, the entries in column 3 have line-feeds roughly every two words
and the 10 cm column width is not being used, so there's a huge gap to
column 4.

Thanks again,
Roger
___
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] Setting width of table column

2011-05-12 Thread Roger Mason
Wolfgang Schuster schuster.wolfg...@googlemail.com writes:

 Don’t mix “p” and “w” keywords, “w” sets the width for a cell where
 you don’t want a line break in the cell while “p” is for paragraphs
 where you can set the width of the cell with “p(10cm)”.

Many thanks Wolfgang.  I've been using Context exclusively now for
several years, I'm amazed I never needed to tweak table settings before.

Best wishes,
Roger
___
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] Setting width of table column

2011-05-13 Thread Roger Mason
Wolfgang Schuster schuster.wolfg...@googlemail.com writes:

 When you need a certain layout for a table you should consider switching
 to natural tables but a few of the nice features (e.g. loffset and
 the setups key) are only available in mkiv.

I'll look into that.

Thanks again.

Roger
___
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 emacs-muse [possibly OT]

2009-10-17 Thread Roger Mason
Hello,

I'm using emacs-muse to write a document to be published to ConTeXt.
The document contains a little math.  According to this wiki page:
http://wiki.contextgarden.net/ConTeXt_and_emacs-muse#Math it is possible
to include math in muse using math and /math tags, which trigger
corresponding $ markup in the ConTeXt output.

The problem is that a muse expression like math\sum type = nMn/math
is published as

\switchtobodyfont[small]math\switchtobodyfont[big]\textbackslash{}sum
type = nMn\switchtobodyfont[small]/math\switchtobodyfont[big]

rather than the expected $\sum type = nMn$.

The muse manual for the version I'm using (3.12) makes no mention of the
math tags, so I'm wondering if it is an add-on written by (or
available to) someone on this list.

Thanks for any help (and sorry if this is a bit off topic).

Roger
___
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 emacs-muse [possibly OT]

2009-10-19 Thread Roger Mason
Hello Jean,

Jean Magnan de Bornier jm.born...@free.fr writes:


 The math tag is indeed part of the official muse.

 A muse file containig only this:

  math\sum type = nMn/math

 works OK here. Are you sure you did'nt insert spaces like in  math ,
 which ought to give a result like yours?

Yes, I'm sure.



 Can you try a minimal example like mine?

Cutting and pasting the above produces the output I included in my
original post.

 And what part of the muse files did you require (should be at least muse,
 muse-publish and muse-context)?

At the top of my .emacs I have:

(load /usr/share/emacs/site-lisp/site-gentoo)

That file contains (among other things):

(add-to-list 'load-path /usr/share/emacs/site-lisp/muse)
(require 'muse-autoloads)

In the body of my .emacs I have:

(require 'muse-html) ; load publishing styles I use
(require 'muse-latex)
(require 'muse-texinfo)
(require 'muse-docbook)
(require 'muse-context)
(require 'muse-project)  ; publish files in projects
(setq muse-colors-inline-images nil) ; Don't inline images

Many thanks for your help.

Roger
___
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 emacs-muse [possibly OT]

2009-10-19 Thread Roger Mason
Hi Jean,

Jean Magnan de Bornier jm.born...@free.fr writes:

 All correct then.
 If I understand correctly you use gentoo's muse package. Maybe the problem
 is there, but it is hard for me to test that, I have a non-packaged muse
 installation.

 Can you show the value of muse-context-markup-specials-document?

Value: 
((92 . \\textbackslash{})
 (95 . \\textunderscore{})
 (60 . \\switchtobodyfont[small])
 (62 . \\switchtobodyfont[big])
 (94 . \\^)
 (126 . \\~)
 (64 . \\@)
 (36 . \\$)
 (37 . \\%)
 (123 . \\{)
 (125 . \\})
 (38 . \\)
 (35 . \\#))

 PS: what happens if you use latex instead of context?

The latex file contains:

\textless{}math\textgreater{}\textbackslash{}sum type =
nMn\textless{}/math\textgreater{}

Cheers,
Roger
___
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 emacs-muse [possibly OT]

2009-10-19 Thread Roger Mason
Hi Jean,

Jean Magnan de Bornier jm.born...@free.fr writes:

 Le 19 octobre à 20:38:18 Roger Mason rma...@mun.ca écrit notamment:
 Hi Roger,

 Sorry I'm so slow today!!
 You have to say (require 'muse-latex2png) 

 This is the file where the math and latex tags are defined.
 cheers,

Bingo!

Many thanks,

Roger
___
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] mailing list question/problem

2009-11-16 Thread Roger Mason
Hello Bernhard,

Bernhard Rosensteiner brosenstei...@gmail.com writes:


Please can somebody write back only that i can by certain that my
messages become properly posted -  thanks.

I see your message.

Best wishes,
Roger
___
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] Linux PPC64 minimals

2010-02-01 Thread Roger Mason
Hello,

I just tried to install the minimals on:

uname -a
Linux perthite 2.6.30-gentoo-r5 #6 SMP Wed Jan 13 17:59:36 NST 2010
ppc64 PPC970FX, altivec supported PowerMac7,3 GNU/Linux

but got:

sh ./first-setup.sh
Error: your system Linux ppc64 is not supported yet.
Please report to the ConTeXt mailing-list (ntg-context@ntg.nl)

The machine reports as ppc64 but it is running a 64 bit kernel with 32
bit userland.

I'd like to know how to proceed.  If necessary I am quite willing to
build the minimals on this platform and contribute the binaries back to
the wiki.

Cheers,
Roger
___
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] Linux PPC64 minimals

2010-02-01 Thread Roger Mason
hello Thomas,

Thomas A. Schmitz thomas.schm...@uni-bonn.de writes:

 On Feb 1, 2010, at 3:43 PM, Roger Mason wrote:

 Hello,
 
 I just tried to install the minimals on:
 
 uname -a
 Linux perthite 2.6.30-gentoo-r5 #6 SMP Wed Jan 13 17:59:36 NST 2010
 ppc64 PPC970FX, altivec supported PowerMac7,3 GNU/Linux

 Oops, I thought we had fixed that... Anyways: the easiest solution is to open 
 first-setup.sh in an editor. line 28 has

   ppc) platform=linux-ppc ;;

 you can either change that to 

   ppc64) platform=linux-ppc ;;

 or add such a new line after it. The minimals should work on your system 
 (they do work on my ppc64 box). 

Thanks. It is downloading now.  I'll let you know how it turns out.

Cheers,
Roger
___
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] Linux PPC64 minimals

2010-02-01 Thread Roger Mason
Mojca Miklavec mojca.miklavec.li...@gmail.com writes:

 On Mon, Feb 1, 2010 at 15:43, Roger Mason wrote:
 Hello,

 I just tried to install the minimals on:

 uname -a
 Linux perthite 2.6.30-gentoo-r5 #6 SMP Wed Jan 13 17:59:36 NST 2010
 ppc64 PPC970FX, altivec supported PowerMac7,3 GNU/Linux


 Oh, it's nice to hear that Apple is not the only game spoiler :) :) :)

 So: 32-bit binaries are working on 64-bit machine, but 64-bit binaries
 would fit better if they existed?

Dunno.  I _think_ I need the 32 bit binaries: everything else on
the machine was (or should have been) built as 32 bit even though the
kernel is 64 bit.

The linux-ppc binaries are downloading now, I'll let you know what
happens.

Cheers,
Roger
___
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] Linux PPC64 minimals

2010-02-01 Thread Roger Mason
Roger Mason rma...@mun.ca writes:


 Thanks. It is downloading now.  I'll let you know how it turns out.


MKII  works:

texexec --mode=manuscript --result=Manuscript.pdf --purge TheFourCs.tex

ConTeXt  ver: 2010.02.01 11:19 MKII  fmt: 2010.2.1  int: english/english


The document is made correctly, but the texexec run ends with:

TeXExec | renaming TheFourCs to Manuscript
TeXExec | restoring TheFourCs
sh: CtxTools: command not found
sh: version: command not found
sh: line 2: CtxTools: command not found
sh: line 2: --bbeditinterface: command not found
sh: line 3: CtxTools: command not found
sh: line 3: --brandfiles: command not found
sh: line 4: CtxTools: command not found
sh: line 4: --contextversion: command not found
sh: line 5: CtxTools: command not found
sh: line 5: --dependencies: command not found
sh: line 5: filenames]]: command not found
sh: line 6: CtxTools: command not found
sh: line 6: --disarmutfbom: command not found
sh: line 7: CtxTools: command not found
sh: line 7: --documentation: command not found
sh: line 8: CtxTools: command not found
sh: line 8: --dpxmapfiles: command not found
sh: line 9: CtxTools: command not found
sh: line 9: --jeditinterface: command not found
sh: line 10: CtxTools: command not found
sh: line 10: --listentities: command not found
sh: line 11: CtxTools: command not found
sh: line 11: --patternfiles: command not found
sh: line 12: CtxTools: command not found
sh: line 12: --platformize: command not found
sh: line 13: CtxTools: command not found
sh: line 13: --purgefiles: command not found
sh: line 14: CtxTools: command not found
sh: line 14: --rawinterface: command not found
sh: line 15: CtxTools: command not found
sh: line 15: --sciteinterface: command not found
sh: line 16: CtxTools: command not found
sh: line 16: --touchcontextfile: command not found
sh: line 17: CtxTools: command not found
sh: line 17: --updatecontext: command not found
sh: line 18: --purge: command not found

I doubt this has anything to do with 32 vs 64 bit binaries, however, as
I see the same message on a X86_64 machine at home and that one is all
64 bit.

Thanks,
Roger
___
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] Linux PPC64 minimals

2010-02-02 Thread Roger Mason
Hi Mojca,

Mojca Miklavec mojca.miklavec.li...@gmail.com writes:

 2.) The error is not related to minimals/wrong architecture. There may
 be several reasons. 

Agreed.  I see the same problem on an X86_64 system.

 Different shell? 

echo $SHELL - /bin/bash (4.0_p28)

 Missing mkiv formats? (Can you
 try luatools --generate? It could be that mtxrun doesn't find
 ctxtools.)

Tried that.  I still get the same error.

 Something third?

As Hans remarked: it is --purge that triggers the error.

 Does compiling a simple document work?

% simple.tex
\starttext
\input knuth
\stoptext

texexec --purge simple.tex - Output written on simple.pdf (1 page,
28424 bytes).

texexec simple.tex - Output written on simple.pdf (1 page, 28424
bytes).

The document is always produced correctly, but --purge does not do its
job and produces the errors listed in my original post.

Cheers,
Roger
___
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] Linux PPC64 minimals

2010-02-02 Thread Roger Mason
Taco Hoekwater t...@elvenkind.com writes:

 Different ruby version?  I have no errors here, and

   $ ruby -v
   ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]

ruby 1.8.6 (2009-06-08 patchlevel 369) [powerpc-linux]

Cheers,
Roger
___
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] texexec --purge

2010-02-02 Thread Roger Mason
Mojca Miklavec mojca.miklavec.li...@gmail.com writes:

 On Tue, Feb 2, 2010 at 15:34, Mojca Miklavec wrote:

 The problem goes away if I comment out the lines 2053 and 2054 of
 tex.rb. I suspect that
  Kpse.runscript('ctxtools',rawbase,'--purge')   if 
 getvariable('purge')
 doesn't call the ctxtools script with proper quoting, so arguments are
 interpreted as commands instead of being just arguments.

 But I didn't inspect any further.


Yes, commenting those lines removes the error messages here too, but of
course the desired --purge does not take place.

If someone knows what proper quoting is in this case I'll try editing
tex.rb accordingly.

Cheers,
Roger
___
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] [OT] ASCII text output

2010-02-16 Thread Roger Mason
Hello,

I need to convert an exam written in ConTeXt to an ascii text file like
the following:

NewQuestion,MC,
Title,Which is gem,
QuestionText,Which one of the following is regarded as a gem?
Points,1,
Difficulty,1,
Image,,
Option,0,Feldspar,,
Option,100,Ruby,,
Option,0,Sodium chloride,,
Option,0,Quartz,,
Hint
Feedback

Before I go to the trouble of creating a parser to read the ConTeXt
input and write the desired output I'm wondering if this can be done
with ConTeXt itself.

Sorry if this is way OT.

Thanks,
Roger
___
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] [OT] ASCII text output

2010-02-16 Thread Roger Mason
Hello Aditya,

Aditya Mahajan adit...@umich.edu writes:

 On Tue, 16 Feb 2010, Roger Mason wrote:

 Hello,

 I need to convert an exam written in ConTeXt to an ascii text file like
 the following:


 Before I go to the trouble of creating a parser to read the ConTeXt
 input and write the desired output I'm wondering if this can be done
 with ConTeXt itself.

 Can you show a small example of the corresponding tex source?

\def\mcquestionnumber{14}


\mcquestionheader A ruby is a gem of corundum coloured by\crlf
{$A$}: Rutile\crlf{$B$}: Calcium (Ca)\crlf{$C$}: Chromium (Cr)\crlf{$D$}: Iron 
(Fe) and Titanium (Ti)\crlf

\mcquestionfooter

And the desired output is...

NewQuestion,MC,
Title,Ruby coloured by,
QuestionText,A ruby is a gem of corundum coloured by
Points,1,
Difficulty,1,
Image,,
Option,0,Rutile,,
Option,0,Calcium (Ca),,
Option,100,Chromium (Cr),,
Option,0,Iron (Fe) and Titanium (Ti),,
Hint
Feedback

Maybe a regexp would do, followed by a bit of hand editing, but if there
is a way of doing this in ConTeXt that would be very convenient.

Thanks,
Roger

___
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] [OT] ASCII text output

2010-02-18 Thread Roger Mason
Hello Aditya,

Aditya Mahajan adit...@umich.edu writes:

 If you are willing to add more markup, then TeX can do the parsing for
 you.

 \startquestion[title={Ruby coloured by}, points=1, difficulty=1]
   A ruby is a gem of corundum colored
   \startoptions
 \option Rutile
 \option Calcium
 \correctoption Chrumium
 \option Iron and Titanium
   \stopoptions
   \starthint
 
   \stophint
   \startfeedback
...
   \stopfeedback
 \stopquestion

 You can create a mode for ascii output that redefines all the
 environments to *typeset* the correct output, which you can then
 convert to text using pdftotext.

 Another option is to write everything in XML (it is almost the same ...)
 question title=..., points=, difficulty=...
   text A ruby .. /text
   options
 option ... /option
 option ... /option
 option correct=yes ... /option
 option ... /option
   /option
   hint

   /hint
   feedback
...
   /feedback
 /question

 With a few setup commands, ConTeXt can directly typeset an xml
 file. Parsing the xml file to generate ascii text can be done using
 your favourite programming language (or using ConTeXt by typesetting
 the desired output and using pdftotext).


Thank you very much.  I will work on this over the next week and decide
which method I like best.

I really appreciate you taking the time to help.

Best wishes,
Roger
___
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] (no subject)

2010-02-22 Thread Roger Mason
Hello,

I'm working on a project to set up exams, basing the work on Aditya's
asignment class that was published in Practex in 2006.

I have a problem getting title information printed correctly.  This is a
cut-down version:

\setupcolors  [state=start]
\definecolor  [colorone][r=0.625,g=0,b=0] %dark red
\definecolor  [colortwo][b=0.625,g=0,r=0] %dark blue

\def\exam[#1]
  {\getrawparameters
[Exam]
[ title=
 course=,
   date=,
  start=,
   stop=,
  #1]
  \title{\Examtitle}}

\definefont [BigFontOne]  [RegularSlanted sa 2.5]
\definefont [BigFontTwo]  [Regular sa 1.5]

\setuphead[title]
 [  style=\BigFontOne,
  command=\examtitle,
   before={},
after={\blank[big] \bgroup \colortwo
 Date: \expanded{\date[Examdate]}
\hfill
Start: \expanded{Examstart}
Stop: \expanded{Examstop}
   \egroup\blank},
 ]

%D This macro does the actual typesetting of the title
\def\examtitle#1#2%
  {\framed[
  width=broad,
  frame=off,
  align=middle,
foregroundcolor=colortwo,
 % I want a shadow around the title frame
 background=shadow]
  {#2\\{Examcourse}}}

\exam[
  title=Mid-term 2010,
  course=ES2917,
  date={d=17,m=2,y=2010},
  start={9:00 am},
  stop={11:00 am}
]

I'm processing this with Mark II.  The problems are that

(1) The literal 'Examcourse' is typeset;
(2) Today's date is typset, not the one entered in the interface;
(3) The start and stop times are typeset as literals 'Examstart' 
'Examstop'

Thanks for any help,
Roger


%%% Local Variables: 
%%% mode: context
%%% TeX-master: t
%%% End: 
___
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] Exams

2010-02-22 Thread Roger Mason
Hello,

Sorry, I sent this message to the list without a subject earlier today.

I'm working on a project to set up exams, basing the work on Aditya's
asignment class that was published in Practex in 2006.

I have a problem getting title information printed correctly.  This is a
cut-down version:

\setupcolors  [state=start]
\definecolor  [colorone][r=0.625,g=0,b=0] %dark red
\definecolor  [colortwo][b=0.625,g=0,r=0] %dark blue

\def\exam[#1]
  {\getrawparameters
[Exam]
[ title=
 course=,
   date=,
  start=,
   stop=,
  #1]
  \title{\Examtitle}}

\definefont [BigFontOne]  [RegularSlanted sa 2.5]
\definefont [BigFontTwo]  [Regular sa 1.5]

\setuphead[title]
 [  style=\BigFontOne,
  command=\examtitle,
   before={},
after={\blank[big] \bgroup \colortwo
 Date: \expanded{\date[Examdate]}
\hfill
Start: \expanded{Examstart}
Stop: \expanded{Examstop}
   \egroup\blank},
 ]

%D This macro does the actual typesetting of the title
\def\examtitle#1#2%
  {\framed[
  width=broad,
  frame=off,
  align=middle,
foregroundcolor=colortwo,
 % I want a shadow around the title frame
 background=shadow]
  {#2\\{Examcourse}}}

\exam[
  title=Mid-term 2010,
  course=ES2917,
  date={d=17,m=2,y=2010},
  start={9:00 am},
  stop={11:00 am}
]

I'm processing this with Mark II.  The problems are that

(1) The literal 'Examcourse' is typeset;
(2) Today's date is typset, not the one entered in the interface;
(3) The start and stop times are typeset as literals 'Examstart' 
'Examstop'

Thanks for any help,
Roger
___
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] Exams

2010-02-22 Thread Roger Mason
Aditya Mahajan adit...@umich.edu writes:

 You need to use \Exam... to access the values.

Again, many thanks.

Roger
___
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] large delimiters for equation

2013-11-25 Thread Roger Mason

Hello,

I'd like to have delimiters that match the height of the fraction in an 
expression like this:


\startformula
  c\Delta T = t\big{(} \frac{c}{v_s} - \frac{c}{v_f} \big{)}.
\stopformula

I looked in the docs and tried a few likely solutions without luck.

Please accept my apologies if this is documented eleswhere.

Thanks,
Roger
___
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] large delimiters for equation

2013-11-25 Thread Roger Mason

Thanks Aditya.

Roger

On 11/25/2013 12:21 PM, Aditya Mahajan wrote:


\left( \frac \right)

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
___


[NTG-context] module not found?

2014-05-06 Thread Roger Mason

Hello,

I'm running through Aditya's tutorial on makeing slides 
(http://randomdeterminism.wordpress.com/2013/01/13/creating-a-clean-presentation-style-in-40-commits/)


I'm running standalone ConTeXt  ver: 2014.05.06 14:35 MKIV beta fmt: 
2014.5.6  int: english/english and I installed visualcounter like this:


./first-setup.sh --modules=t-visualcounter

Running context example.tex  I encounter this error:

tex errorerror on line 59 in file slides.tex: ! Undefined 
control sequence


l.59 \definevisualcounter


49 fill p withcolor \MPcolor{background:light};
50   StopPage;
51 \stopreusableMPgraphic
52
53 \defineoverlay [page:background][\reuseMPgraphic{page:background}]
54
55 \setupbackgrounds[page][background={page:background}]
56
57 %\usemodule[visualcounter]
58
59   \definevisualcounter
60 [userpage]

Any help will be most appreciated.

Roger
___
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] problem with math: "\left" leads to "udefined symbol"

2017-01-24 Thread Roger Mason
Hans Hagen  writes:

>
> this just works here ... so can others confirm it?
>
> \starttext
>
> \startformula
> x =  \left ( 1 + 2 \right )
> \stopformula
>
> \stoptext
>
>
Here too:

resolvers   | trees | analyzing 'home:texmf'
resolvers   | globbing | confusing filename, name: 'README.txt', lower: 
'readme.txt', already: 'ReadMe.txt'
mtx-context | ConTeXt Process Management 0.63
mtx-context |
mtx-context | main context file: 
/opt/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2016.10.14 17:19

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Letter module and letterhead

2016-09-28 Thread Roger Mason
Hello,

Is it possible to use the letter module with letterhead?  If so, is
there an exaple somewhere?

Thanks,
Roger
___
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] Systemwide installation does not work

2016-10-18 Thread Roger Mason
Hello,

System: FreeBSD 10.2-RELEASE-p18.

I deleted my old context installation and followed the instructions
here:

http://wiki.contextgarden.net/ConTeXt_Standalone#Standalone

for a 'System-wide installation' in /opt/context

Here is what happens:

sh ./first-setup.sh --modules=all
receiving incremental file list
bin/
bin/luatex
bin/mtx-update.lua
bin/mtxrun
bin/texlua -> luatex

sent 92 bytes  received 11,386,172 bytes  843,426.96 bytes/sec
total size is 11,383,119  speedup is 1.00
/opt/context/bin/texlua: ELF: not found
/opt/context/bin/texlua: 0@x®¤@8: not found
/opt/context/bin/texlua: @x®¤@8: not found
/opt/context/bin/texlua: x®¤@8: not found
/opt/context/bin/texlua: ¤@8: not found
/opt/context/bin/texlua: @8: not found
/opt/context/bin/texlua: @8: not found
/opt/context/bin/texlua: @8: not found
/opt/context/bin/texlua: 0zMBzMBtt®t®9ØpY77´7´P$L$$Påtd¦
¦¦ôôæÛ£ettRåtdtt®t®XëXë: not found
/opt/context/bin/texlua: 5´h: not found
/opt/context/bin/texlua: 1: Syntax error: Unterminated quoted string
/opt/context/bin/texlua: 18: Syntax error: Error in command substitution

When you want to use context, you need to initialize the tree by typing:

  . /opt/context/tex/setuptex

in your shell or add
  "/opt/context/tex/texmf-freebsd-amd64/bin"
to PATH variable if you want to set it permanently.
This can usually be done in .bashrc, .bash_profile
(or whatever file is used to initialize your shell).

Something seems to be broken.  Can someone help?



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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Systemwide installation does not work

2016-10-18 Thread Roger Mason
Hello all,

Alan Braslau  writes:

> After forcing a rebuild of the freebsd binaries and committing them to
> the garden, first-setup.sh now seems to work correctly. Would you try
> again installing on your system?
>
> I will try to see with Mojca what went wrong with the server: why
> committing openbsd binaries overwrote the freebsd binaries.
>
> Sorry for any inconvenience.

No apology required.  On the contrary, thank you for the work
you do in providing the binaries, it is very much appreciated.

I can confirm that everything is now working again.

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Obtaining an old standalone

2017-09-08 Thread Roger Mason
Hi Dalyoung,

Jeong Dal  writes:

>
> I also had a similar problem recently after installing texlive 2017. 
> But it is resolved now by doing the following  according to the suggestions:
>
> run mtxrun —generate and luatools —generate
>
> May be, “ luatools —generate" is OK.
> I am using TeXshop in OS X. So I am not sure this works in Linux system.
> I hope that it may help.

Thanks for the suggestion.  Unfortunately it did not work:

luatools -generate

resolvers   | trees | analyzing 'home:texmf'
resolvers   | globbing | confusing filename, name: 'README.txt', lower: 
'readme.txt', already: 'ReadMe.txt'
mtxrun  | unknown script 'base.lua' or 'mtx-base.lua'

But never mind, I can work round the issue that caused the need for the
old binaries.

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Obtaining an old standalone

2017-09-06 Thread Roger Mason
Hello,

Is there a means of obtaining an old standalone?  I would like to get
ConTeXt  ver: 2016.01.04 15:47 MKIV beta  fmt: 2016.1.4

Thanks,
Roger

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Obtaining an old standalone

2017-09-06 Thread Roger Mason
Hi Parchd,

Parchd  writes:

> According to 
> http://wiki.contextgarden.net/ConTeXt_Standalone#Reverting_to_an_older_installation
> I think something like `sh ./first-setup.sh --context=2016.1.4` should
> help you.

Thank you.  That is well worth a try.

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Obtaining an old standalone

2017-09-06 Thread Roger Mason
Aditya Mahajan <adit...@umich.edu> writes:

> On Wed, 6 Sep 2017, Roger Mason wrote:
>
>> Hi Aditya,
>>
>> Aditya Mahajan <adit...@umich.edu> writes:
>>
>>> I have the zips for 2015.12.29 and 2016.02.15, if either of those
>>> would work.
>>
>> For which operating system?
>
> linux 64 bit.

OK, I have a box I can boot into Fedora 22, so that might work.

Can you please send both zips to my private e-mail?

Many thanks,

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Obtaining an old standalone

2017-09-10 Thread Roger Mason
Hi Aditya,

Aditya Mahajan  writes:

>
> Note that this should be luatools --generate (two hyphens, which got
> changed to an endash in the previous email).
>

Unfortunately 'luatools --generate' produces the same error.

I have worked round the problem that sparked my original post, so, with
thanks to all who offered help, I think we should leave this mystery for
posterity.

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Obtaining an old standalone

2017-09-06 Thread Roger Mason
Hi Aditya,

Aditya Mahajan  writes:

> I have the zips for 2015.12.29 and 2016.02.15, if either of those
> would work.

For which operating system?

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Obtaining an old standalone

2017-09-06 Thread Roger Mason
Hello,

Parchd  writes:

> According to 
> http://wiki.contextgarden.net/ConTeXt_Standalone#Reverting_to_an_older_installation
> I think something like `sh ./first-setup.sh --context=2016.1.4` should
> help you.

This is what I did:

sh ./first-setup.sh --context=2016.1.4 --all
. ~/Context/tex/setuptex
Setting "/home/rmason/Context/tex" as ConTeXt root.

cd to the directory containing my document, then

context document.tex

resolvers   | trees | analyzing 'home:texmf'
resolvers   | globbing | confusing filename, name: 'README.txt', lower: 
'readme.txt', already: 'ReadMe.txt'
mtxrun  | unknown script 'context.lua' or 'mtx-context.lua'


Is there something else I need to do?

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Obtaining an old standalone

2017-09-06 Thread Roger Mason
Aditya Mahajan  writes:

>
> These are each 200MB, so sending by email might not work.
>
> I uploaded them temporarily to
> https://www.dropbox.com/sh/dg8xuyab5x3anju/AAA-tALrMZuDUCgMXRaYK6JCa?dl=0
>
> The versions might be off by one (i.e., the 2016-02-15 tar file might
> contain the tex files for 2016-03-04).

Got them.  Thank you very much.

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Line numbers in output

2017-08-21 Thread Roger Mason
"Schmitz Thomas A."  writes:

> http://wiki.contextgarden.net/Command/startlinenumbering is what you
> find when you search for “linenumbering” on the wiki.

Thanks Thomas.  I searched on 'context garden add line numbers'.

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Line numbers in output

2017-08-21 Thread Roger Mason
Hello,

Is there a switch to enable lines to be numbered in the output pdf
document?  I have seen the garden entries on numbering for sections of
verbatim text but I would like the whole document to have line numbers.

My ConTEXt version is 2016.01.04 15:47.  Maybe it is time to update!

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] WYSIWYM editor on top of ConTeXt / Lout

2017-12-07 Thread Roger Mason
Hello Jonas,

Jonas Baggett  writes:

> Thank you for the suggestion. I was first thinking about incrementally
> creating a custom format that evolves as features are implemented. And
> for translating the custom format into a backend format, I was
> thinking of creating files with translations rules for each backend so
> that anyone can add support for a new backend or update an existing
> backend to add more feature or to make it compatible with a newer
> version of the backend, without needing to modify the editor code. A
> translation rule is e.g. start_section[title=,
> back_ground_color=] => @startsection(title ->
> {}, bg_color -> {}) which will convert a start
> section command of the document format into the same command for a
> backend format.

Skribilo uses an abstract syntax internally and the different output
engines process that into the target language.  In essence each engine
is the collection of rules appropriate to that target.

> At first glance that way seems to be the easiest way for me, but
> Skribilo looks interesting as a fallback option, although I find its
> syntax to be weird, if I find out that the idea with translation rules
> isn't working as expected.

There are two input syntaxes, a simple one a bit like Emacs' outline
mode and the more Scheme-like syntax.  The former has limitations
documented on the Skribilo web-site, the latter is far more complete.  I
an guessing it is the Scheme-like syntax that you find weird.  I have
played around a a little this week on using Wisp
(http://www.draketo.de/proj/wisp/) and Readable
(http://readable.sourceforge.net/) to write Skribilo in a less
parenthesis rich style.  Although not able to complete the work owing to
time constraints, it looks acheivavble.

Cheers,
Roger

Off topic


My goal would be to have an output ConTeXt (or Lout) document, with
fallback to LaTeX or XML if a publisher insists.  If this could be
combined with Emacs org-mode to document, store and run (or compile-run)
source code, then a very complete and versatile system for reproducible
reasearch could be constructed.


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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] WYSIWYM editor on top of ConTeXt / Lout

2017-12-03 Thread Roger Mason
Hello,

Jonas Baggett  writes:

> This is a blog post I recently published:
> https://jonas17b.wixsite.com/monsite/home/wysiwym-editor-on-top-of-context-lout.
>  It
> is about some ideas I have for a WYSIWYM editor like LyX, but it would
> be designed for using more than 1 backend (e.g. ConTeXt, Lout), and to
> give a much better user experience.
>
> Anyone interested by the concept?

While not an editor, but rather a language, Skribilo
(http://www.nongnu.org/skribilo/) can output documents in various
formats, including Context and Lout.  I have worked a bit on getting
better Context output from it and last tinkered with the math output
about a year ago.  Such a system might form the output engine on which
an editor could be built.  The same might be said for Pandoc, in which
case perhaps one of the existing Haskell editors could be used as the
basis for a specialised text processing system.  For non-technical
documents SiSU (http://www.jus.uio.no/lm/toc.html) offers various output
formats, but again it is not an editor.

While your concept is interesting, I'm an Emacs user, and unlikely to
switch to anything else.

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] luatex binary is too old

2018-01-15 Thread Roger Mason
Hans Hagen  writes:


>> : Your luatex binary is too old, you need at least version 1.05!
>>
>> Where do I get the updated luatex binary?
>>
>> I'm running on FreeBSD 10.3, 32 bit.
> Does that binary come from the garden too?
>
> Hans

Yes, I did not compile it myself, if that is what you are asking.

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] luatex binary is too old

2018-01-15 Thread Roger Mason
Hello,

I just updated ConTeXt:

context --version   
   

resolvers   | trees | analyzing 'home:texmf'
resolvers   | globbing | confusing filename, name: 'README.txt', lower: 
'readme.txt', already: 'ReadMe.txt'
mtx-context | ConTeXt Process Management 1.02
mtx-context |
mtx-context | main context file: 
/opt/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2018.01.14 15:55

When I try to compile a file:

context --mode=manuscript --result=MineralsGemsMS.pdf --purgeall
MineralsGems.tex

I get this error:

: Your luatex binary is too old, you need at least version 1.05!

Where do I get the updated luatex binary?

I'm running on FreeBSD 10.3, 32 bit.

Thanks for any help,
Roger
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Org-Mode for ConTeXt

2021-01-11 Thread Roger Mason
Hell Jan,

Jan U. Hasecke writes:

> Dear all,
>
> Emacs and Org-Mode is central to my writing workflow as I use org-mode
> for organizing my Zettelkasten.[1]
>
> Now I am looking for a way to extend the workflow an include ConTeXt.
>
> Is anybody aware of a ConTeXt export tool for Org-Mode?

There was discussion of this very topic withing the last 14 days on the
Org-Mode mailing list.  Someone is working on this, see

https://github.com/Jason-S-Ross/ox-context/

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] FreeBSD 13.2

2024-02-24 Thread Roger Mason
Hello,

I've been away from ConTeXt for some time but now I want to install it
on my FreeBSD 13.2 system(s) (I have not switched any machines to 14.0
yet).  After unpacking, running the install scripts results in:

ld-elf.so.1: /home/rmason/Software/Context/bin/mtxrun: Undefined symbol
"__libc_start1@FBSD_1.7"

I assume this is because mtxrun is compiled for FreeBSD 14.0.  Thus, I
need (I think) to compile it for 13.2.  Are there instructions somewhere
on how to do this?

If I get a working installation I'm happy to contribute the FreeBSD 13.2
binaries back to the project, if someone will tell me how.

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: FreeBSD 13.2

2024-02-25 Thread Roger Mason
Hello,

Roger Mason  writes:

> Hello Henning, Mojca,
>
> Mojca Miklavec  writes:
>
>> There were some troubles with our infrastructure which led Hans to
>> build the binaries himself without paying extra attention to
>> compatibility with older systems.
>>
>> You can find the binaries here:
>> https://build.contextgarden.net/dl/luametatex/
>>
>> but I hope that Hans will rebuild the installer in order to make the
>> older systems functional again.
>>
>> Other than that, building luametatex is relatively straightforward with 
>> CMake.
>> The sources can be found either inside ConTeXt or separately inside
>> https://github.com/contextgarden/luametatex
>
> I see that the build does not provide the mtxrun binary that the
> installer uses.  Does that mean I dont need mtxrun?

Do I need mtxrun?  If so, where are the sources and how do I build it?

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: FreeBSD 13.2

2024-02-25 Thread Roger Mason
Hello Henning, Mojca,

Mojca Miklavec  writes:

> There were some troubles with our infrastructure which led Hans to
> build the binaries himself without paying extra attention to
> compatibility with older systems.
>
> You can find the binaries here:
> https://build.contextgarden.net/dl/luametatex/
>
> but I hope that Hans will rebuild the installer in order to make the
> older systems functional again.
>
> Other than that, building luametatex is relatively straightforward with CMake.
> The sources can be found either inside ConTeXt or separately inside
> https://github.com/contextgarden/luametatex

I see that the build does not provide the mtxrun binary that the
installer uses.  Does that mean I dont need mtxrun?

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: FreeBSD 13.2

2024-02-25 Thread Roger Mason
Hello Hraban,

Henning Hraban Ramm  writes:

> Am 25.02.24 um 17:08 schrieb Roger Mason:

>> Do I need mtxrun?  If so, where are the sources and how do I build
>> it?
>
> Yes, you need it, but it’s just an alias to luametatex:
>
> ~/context/tex/texmf-osx-64/bin $ ll
> total 7704
> -rw-r--r--@ 1 hraban  staff   6,0K 14 Dez 19:11 .DS_Store
> lrwxr-xr-x  1 hraban  staff10B 22 Feb 18:47 context@ -> luametatex
> -rw-r--r--  1 hraban  staff   1,3K 10 Aug  2023 context.lua
> -rwxr-xr-x  1 hraban  staff   2,9M 22 Feb 18:47 luametatex*
> lrwxr-xr-x  1 hraban  staff10B 22 Feb 18:47 mtxrun@ -> luametatex
> -rw-r--r--  1 hraban  staff   685K 22 Feb 18:47 mtxrun.lua
>
> The mtxrun in ~/context/bin is only used during installation.

What else do I need in ~/context/tex?  Currently I have

.
├── texmf-context
│   └── web2c
│   └── contextcnf.lua
└── texmf-freebsd-amd64
└── bin
├── context -> luametatex
├── context.lua
├── luametatex
├── mtxrun -> luametatex
└── mtxrun.lua

and mtxrun --generate says

resolvers   | resolving | variable 'SELFAUTOLOC' set to 
'/usr/home/rmason/context/tex/texmf-freebsd-amd64/bin'
resolvers   | resolving | variable 'SELFAUTODIR' set to 
'/usr/home/rmason/context/tex/texmf-freebsd-amd64'
resolvers   | resolving | variable 'SELFAUTOPARENT' set to 
'/usr/home/rmason/context/tex'
resolvers   | resolving | variable 'TEXMFCNF' set to ''
resolvers   | resolving | variable 'TEXMF' set to ''
resolvers   | resolving | variable 'TEXOS' set to 'texmf-freebsd-amd64'
resolvers   | resolving |
resolvers   | resolving | using configuration specification 
'home:texmf/web2c;selfautoparent:/texmf-local/web2c;selfautoparent:/texmf-context/web2c;selfautoparent:/texmf/web2c'
resolvers   | resolving |
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/home/rmason/texmf/web2c' from specification 'home:texmf/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/usr/home/rmason/context/tex/texmf-local/web2c' from specification 
'selfautoparent:/texmf-local/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/usr/home/rmason/context/tex/texmf-context/web2c' from specification 
'selfautoparent:/texmf-context/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/usr/home/rmason/context/tex/texmf/web2c' from specification 
'selfautoparent:/texmf/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/home/rmason/texmf/web2c' from specification 'home:texmf/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/usr/home/rmason/context/tex/texmf-local/web2c' from specification 
'selfautoparent:/texmf-local/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/usr/home/rmason/context/tex/texmf-context/web2c' from specification 
'selfautoparent:/texmf-context/web2c'
resolvers   | resolving | found fallback configuration file 
'/usr/home/rmason/context/tex/texmf-context/web2c/contextcnf.lua'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/usr/home/rmason/context/tex/texmf/web2c' from specification 
'selfautoparent:/texmf/web2c'
resolvers   | resolving |
resolvers   | resolving | skipping configuration file 
'selfautoparent:/texmf-context/web2c/texmfcnf.lua' (no valid format)
resolvers   | resolving | no texmf paths are defined (using TEXMF)
resolvers   | resolving |
mtxrun  |
mtxrun  | elapsed lua time: 0.045 seconds

I infer something (possibly a lot) is missing that the install.sh
normally sets up.

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: FreeBSD 13.2

2024-02-29 Thread Roger Mason
Hi Alan,

Alan Braslau via ntg-context  writes:

> On Sun, 25 Feb 2024 14:23:10 +0100
> Henning Hraban Ramm  wrote:
>
>> Am 25.02.24 um 13:12 schrieb Hans Hagen:
>> > We could add a flag to the installer that doesn't update the
>> > binaries but intead (advices) to build the bins but it assumes
>> > Cmake and gcc to be installed (we could cheat and use an existing
>> > cmake made make file).  
>> 
>> Yes please! A platform-independent download would be great.
>
> However, we should not assume gcc: it could be clang.

FWIW clang is now the default on FreeBSD.

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: FreeBSD 13.2

2024-02-29 Thread Roger Mason
Hello Hans,

Hans Hagen  writes:

>> Please do not go to this trouble on my account.  I have decided to
>> give
>> up on context.
> well, i put the older in in the latest anyway

Many thanks, I will give it a try in the next day or so and respond to
the list.

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: FreeBSD 13.2

2024-02-26 Thread Roger Mason
Hello,

Henning Hraban Ramm  writes:

>
> I guess you’re lacking the main distribution package.
>
> My installation (tree -dL 4, partly shortened):
>
> .
> ├── bin (installation only)
> └── tex
> ├── texmf-cache (necessary, but auto-created?)
> │   ├── luametatex-cache
> │   │   └── context
> │   └── luatex-cache
> │   └── context
> ├── texmf-context (main tree)
> │   ├── colors

OK, I unpacked the main distribution in context/tex, set PATH and ran

mtxrun --generate

which output:

resolvers   | resolving | variable 'SELFAUTOLOC' set to 
'/usr/home/rmason/context/tex/texmf-freebsd-amd64/bin'
resolvers   | resolving | variable 'SELFAUTODIR' set to 
'/usr/home/rmason/context/tex/texmf-freebsd-amd64'
resolvers   | resolving | variable 'SELFAUTOPARENT' set to 
'/usr/home/rmason/context/tex'
resolvers   | resolving | variable 'TEXMFCNF' set to ''
resolvers   | resolving | variable 'TEXMF' set to ''
resolvers   | resolving | variable 'TEXOS' set to 'texmf-freebsd-amd64'
resolvers   | resolving |
resolvers   | resolving | using configuration specification 
'home:texmf/web2c;selfautoparent:/texmf-local/web2c;selfautoparent:/texmf-context/web2c;selfautoparent:/texmf/web2c'
resolvers   | resolving |
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/home/rmason/texmf/web2c' from specification 'home:texmf/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/usr/home/rmason/context/tex/texmf-local/web2c' from specification 
'selfautoparent:/texmf-local/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/usr/home/rmason/context/tex/texmf-context/web2c' from specification 
'selfautoparent:/texmf-context/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/usr/home/rmason/context/tex/texmf/web2c' from specification 
'selfautoparent:/texmf/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/home/rmason/texmf/web2c' from specification 'home:texmf/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/usr/home/rmason/context/tex/texmf-local/web2c' from specification 
'selfautoparent:/texmf-local/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/usr/home/rmason/context/tex/texmf-context/web2c' from specification 
'selfautoparent:/texmf-context/web2c'
resolvers   | resolving | found fallback configuration file 
'/usr/home/rmason/context/tex/texmf-context/web2c/contextcnf.lua'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/usr/home/rmason/context/tex/texmf/web2c' from specification 
'selfautoparent:/texmf/web2c'
resolvers   | resolving |
resolvers   | resolving | skipping configuration file 
'selfautoparent:/texmf-context/web2c/texmfcnf.lua' (no valid format)
resolvers   | resolving | no texmf paths are defined (using TEXMF)
resolvers   | resolving |
mtxrun  |
mtxrun  | elapsed lua time: 0.041 seconds

Looks like the unset TEXMF and TEXMFCNF envars are a problem.   What
should they be set to and where should they be set?

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: FreeBSD 13.2

2024-02-26 Thread Roger Mason
Hello Hraban,

Henning Hraban Ramm  writes:

> Usually, you don’t need to set any variables.
> The default configuration file is also fine.
>
> Does "context --version" work?

No:

mtxrun  | forcing cache reload
resolvers   | resolving | configuration files already identified
resolvers   | resolving | skipping configuration file 
'selfautoparent:/texmf-context/web2c/texmfcnf.lua' (no valid format)
resolvers   | resolving | no texmf paths are defined (using TEXMF)
resolvers   | resolving |
mtxrun  | the resolver databases are not present or outdated
resolvers   | resolving | using suffix based filetype 'lua'
resolvers   | resolving | remembering file 'mtx-context.lua' using hash 
'lua::mtx-context.lua'
resolvers   | resolving | using suffix based filetype 'lua'
resolvers   | resolving | remembering file 'mtx-contexts.lua' using hash 
'lua::mtx-contexts.lua'
resolvers   | resolving | remembered file 'mtx-context.lua'
resolvers   | resolving | using suffix based filetype 'lua'
resolvers   | resolving | remembering file 'mtx-t-mtx-context.lua' using 
hash 'lua::mtx-t-mtx-context.lua'
resolvers   | resolving | using suffix based filetype 'lua'
resolvers   | resolving | remembering file 'mtx-t-mtx-contexts.lua' using 
hash 'lua::mtx-t-mtx-contexts.lua'
resolvers   | resolving | remembered file 'mtx-t-mtx-context.lua'
resolvers   | resolving | remembered file 'mtx-context.lua'
mtxrun  | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua'

Thanks to all who have helped, but I think it is time to give up on
context.  I know that context is updated often and I do not relish the
prospect of going though all this for every update.

Thanks again & best wishes,
Roger
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: FreeBSD 13.2

2024-02-26 Thread Roger Mason
Hello Hans,

Hans Hagen  writes:

> On 2/26/2024 12:22 PM, Roger Mason wrote:
>
>> Looks like the unset TEXMF and TEXMFCNF envars are a problem.   What
>> should they be set to and where should they be set?
> fwiw, i'll do an update oen fo these days with the old bin
>
> what you coudl do is download the latest zip and unzip it in
> texmf-context and then take the ins from the garden build

Please do not go to this trouble on my account.  I have decided to give
up on context.

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: FreeBSD 13.2

2024-03-22 Thread Roger Mason
Hello,

Hans Hagen  writes:

> well, i put the older in in the latest anyway

Rather belatedly, I tested this a few moments ago: it works flawlessly.

Many, many thanks.

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___