Re: [NTG-context] beta

2006-10-04 Thread Hans Hagen
Bernd Militzer wrote:
 Hans Hagen schrieb:
   
 \starttext
 %
 \SetTableToWidth{\textwidth}
 \setuptables[split=yes,bodyfont=9pt]
   
 
   
 ok, i'll fix this (starttables is kind of obsolete; all table commands 
 accept split=auto|yes|repeat 

 [auto means that they will split when needed] 

   
 
 Hi Hans
 did You have time to fix it?
   
can you check if it works in the current beta? 

Hans 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

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


Re: [NTG-context] table: code doesn't work any more with recent beta

2006-10-04 Thread Hans Hagen
Wolfgang Schuster wrote:
 On Sun, 01 Oct 2006 22:42:03 +0100
 Sanjoy Mahajan [EMAIL PROTECTED] wrote:

   
 I'd seen a similar problem but didn't manage to catch it before it
 slithered away.  But I'm pretty sure it used to work (perhaps with an
 August 06 release).

 Starting from your example, the following was the smallest file I
 could find showing the same problem (using the latest beta):

 \def\room{\starttable[|r|l|]}
 
i've cleaned up some of the | code and due to a change in load order this table 
in def was broken; i hope the latest beta fixes it

Hans 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

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


Re: [NTG-context] setupformulas: make indentnext=auto the default?

2006-10-04 Thread Hans Hagen
Aditya Mahajan wrote:
 On Sun, 24 Sep 2006, Sanjoy Mahajan wrote:

   
 The default for setupformulas is indentnext=no, at least from a couple
 experiments and this line in core-mat.tex (in version 2006.08.08):

   \c!indentnext=\v!no,

 What's the view on changing it to indentnext=auto, which seems
 intuitive at least if one is used to TeX or LaTeX?  From the archives,
 it seems like 'auto' was the default a few years ago, but maybe there
 was reason to change it to 'no'.
 

 I do not know why 'indentnext' was changed to 'no'. I would also like 
 the default to be changed to 'auto'. However, I do not know if it 
 breaks backwards compatibility of someone else's existing project.

 You can ofcourse change it in your cont-sys.tex file, but remember to 
 add it to your environment file if you want to share your documents 
 with others.
   
normally i have no problems with changes that make thinsg look better 
(improvements in macros) 

however, this is a functional change and that's not going to happen

if a lot of users want it, we can consider making some styles that use (and/or 
comment) different defaults, 

Hans 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

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


[NTG-context] beta (04.10.06)

2006-10-04 Thread Peter Rolf
Hi Hans,

there is a file missing in the new beta.

[..]
ConTeXt  ver: 2006.10.03 21:08 MK II  fmt: 2006.10.4  int: english/en

\@@mslingualstitle: \@@mslinguals9 de
\@@mssystemstitle: \@@mssystems2 cont-new
(r:/tex/texmf-local/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
! I can't find file `cont-new.mkii'.
to be read again
   \relax
l.1921 \loadmarkfile{cont-new}
[..]

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


Re: [NTG-context] [HELP] colored text marked by a caption and across multipages

2006-10-04 Thread Wolfgang Schuster

2006/9/29, [EMAIL PROTECTED] [EMAIL PROTECTED]:
Hi all,  1 
 First, I want to put source codes into my document. I achieve this by using 'verbatim' 
\starttyping blah blah \stoptyping  2  
Then I decide to add colors for these source codes, so I use: \starttyping[option=color,option=commands] blah blah 
/color[red] blah blah \stoptyping  3  
Finally, I want to refer to this block of source codes in the rest document, so I use: \placefloat[here][listing:sample]{Hello world}
 \starttyping[option=color,option=commands] blah blah /color[red] 
blah blah \stoptyping and refer to it by \in{}[] and \at{}[]. 
 123  work great, however, if the source codes are long enough, and doesn't fit into one page, then the bottom of it will not display.
 After searching this mailing list, I found some methods: \bTABLE, \starttextbackground ..etc... But none of them can achieve this facility.
 I can accomplish this facility though LaTeX as described in page 2 ~ page 3 in the attached file. (It uses listings package in LaTeX)
 All I want is a colored source codes marked by a caption, and I can refe to that source code using \in{}[] or \at{}[] primitives. 
Are there any ways in ConTeXt can achieve this? Thanks.


You can find a very simple but working example in my attached file.

Wolfgang



listing.tex
Description: TeX document
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] beta (04.10.06)

2006-10-04 Thread Hans Hagen
Peter Rolf wrote:
 Hi Hans,

 there is a file missing in the new beta.

 [..]
 ConTeXt  ver: 2006.10.03 21:08 MK II  fmt: 2006.10.4  int: english/en

 \@@mslingualstitle: \@@mslinguals9 de
 \@@mssystemstitle: \@@mssystems2 cont-new
 (r:/tex/texmf-local/tex/context/base/cont-new.tex
 systems : beware: some patches loaded from cont-new.tex
 ! I can't find file `cont-new.mkii'.
 to be read again
\relax
 l.1921 \loadmarkfile{cont-new}
 [..]

   
ok, for the moment just make an empty file with that name 

Hans 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

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


[NTG-context] external table alignment

2006-10-04 Thread Idris Samawi Hamid
Dear consortium,

I need to get the argument of \start-stoptable aligned flush left. Even  
with

\setuptables[split=yes,align=left]

(a la \setupframed) there is still a small offset of the leftmost column.  
Please advise

===
\starttext

Some text

\starttable[|l|l|]
\NC 2001 \NC Fall \NC\SR
\stoptable

Some text

\stoptext
===

Thank you
Idris

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] font switches, tables, and grouping

2006-10-04 Thread Idris Samawi Hamid
Dear consortium,

font switches do not obey grouping when \start-stoptable is invoked:

===
Some text

\start\it
\starttable[|l|l|]
\NC 2001 \NC Fall \NC\SR
\stoptable
\stop

Some text
===

The second `Some text' comes out italicized. What is happening here and  
how do I fix it?

Also, how do I control the blank space between \stoptable and the  
beginning of the next par?

Best
Idris

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] bug?: interaction between columns and background

2006-10-04 Thread Patrick Gundlach
Hi,

 I did take it as a joke, but seriously: if any user of the live
 ConTeXt would like to see some changes, please tell me. I know that
 running the installer more often is nothing major, but just in case
 anybody misses a special feature... I can't promise that it would be
 done right away, but I'd write it down and implement it when I find
 some time.
   
 is it possible to install current as well as the beta and let users choose 
 via a radio button? 

I don't distinguish between stable and beta. I always install the
latest, but I could implement a menu/button that chooses the installed
version. 

Patrick
-- 
ConTeXt wiki and more: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] wiki: debian installation

2006-10-04 Thread plink
Mojca Miklavec wrote:
Warning: pdfetex (file /home/myuser/texmf/fonts/map/dvipdfm/
context/original-base.map): invalid entry for `fmvr8x': font
file missing
 
 Some time ago it was a hot topic on the mailing list. See:
 http://wiki.contextgarden.net/Error_Recovery
 and fix it if possible even if it is working now for some reason.

Thanks for this helpful link, Mojca!

 But that page should be less hidden, I admit.

Indeed, just found this nice whatlinkshere feature of the wiki and the 
result of
http://wiki.contextgarden.net/Special:Whatlinkshere/Error_Recovery:

(List of links)
Jump to: navigation, search
 Error Recovery

No pages link to here.

leaves something to be desired ;-)


Jak








































150MB of disk space, Webmail over SSL with address book, calendar, 
and organizer. Access thru Imap, Imap-SSL, Pop3, Pop3-SSL and Smtp. 
5 different domains, antispam (spamassassin, bayes, razor, dcc) and mime filter,

Up to 200mb per outgoing message.
All free, is your current email having this functionalities ?
Check http://www.nemail.it for registration and more info.

This message is added automatically, for any information or support 
contact: [EMAIL PROTECTED]; if it is spam dont hesitate to report it.
 
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] itemize and placefigure

2006-10-04 Thread plink
Mojca Miklavec wrote:
 \placefigure will always start a new paragraph, but usually you don't
 notice that since you want it in a separate paragraph anyway. It has
 to do with boxes, although I have no idea how exactly Hans implemented
 itemize/itemgroup environment.
 
 You can help yourself a bit by using
 \item \strut\vskip -\lineheight\placefigure...

I'll give the vskip a try. In the meantime I tried to relive my 
knowledge about \offset, but it didn't seem a good idea to try that in 
this case. Sigh, one day I'll be able to understand the source ...



150MB of disk space, Webmail over SSL with address book, calendar, 
and organizer. Access thru Imap, Imap-SSL, Pop3, Pop3-SSL and Smtp. 
5 different domains, antispam (spamassassin, bayes, razor, dcc) and mime filter,

Up to 200mb per outgoing message.
All free, is your current email having this functionalities ?
Check http://www.nemail.it for registration and more info.

This message is added automatically, for any information or support 
contact: [EMAIL PROTECTED]; if it is spam dont hesitate to report it.
 
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \sometxt in staticMPfigure

2006-10-04 Thread Aditya Mahajan
On Tue, 26 Sep 2006, Hans Hagen wrote:

 Sanjoy Mahajan wrote:
 Ah, you're right and I just realized what happened.

 'ctxtools --updatecontext' calls unzip with -uo:

-u  update existing files and create new ones if needed.  This
option performs the same function as the -f option,
extracting (with query) files that are newer than those
with the same name on disk, and in addition it extracts
those files that do not already exist on disk.  See -f
above for information on setting the timezone properly.

 I'd been hacking with tex.rb (debugging the --dvi switch) so my tex.rb
 was more recent than the one in cont-tmf.zip, so it wasn't updated.

 Is it important to have -u?  I'd take the -u switch out of my own
 ctxtools.rb but then it'll eventually get overwritten with the next
 update, and the -u switch will be back!

 dunno, probably only for speed reasons, so maybe we should use just -o

How about adding a --force switch to --updatecontext. So that

ctxtools --updatecontext calls unzip -uo (for the normal user)

and

ctxtools --updatecontext --force calls unzip -o (for those who play 
around with source files)

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


Re: [NTG-context] \sometxt bodyfontsize in staticMPfigure (2006.09.27 beta)

2006-10-04 Thread Aditya Mahajan
On Thu, 28 Sep 2006, Hans Hagen wrote:

 this is runtime tex into passed to the graphic ... imagine that we flush
 this to the mp file ... it can contain info that is not known in that
 session (like overlay info) which willbreak the mp run

 the issue here is that a static graphic is processed in another,
 independent run, that's the whole idea behind static graphics (quick
 hack for independent graphics)

 we can spend a lot of time to make it more advanced but within a year
 from now we will have mp as a library in tex which willreduce runtime to
 nearly zero (at least that 's what experiments show) so 

Even when mp is available as a lib, it will not reduce runtime to 
nearly zero? The time to start a mp process will be negligible, but 
processing an mp file will still take time. In the mp diagrams that I 
have, processing each diagram takes about 10 sec [1]. Occasionally 
there are around 10-15 diagrams and compiling all of them takes about 
2 minutes. With statics, the time for calculating the md5 sum of each 
mp file is negligible, and I can work with diagrams sources and text 
in the same file. Even after mp is available as a library, I will need 
statics.

[1] metaobj is slow. I really hope that sometime in the future, 
metapost gets programming abilities of a real language. Maybe 
asymptote already does this, but it is too latex oriented.

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


Re: [NTG-context] A new manual

2006-10-04 Thread Aditya Mahajan
On Fri, 29 Sep 2006, Hans Hagen wrote:

 [EMAIL PROTECTED] wrote:

 I don't agree that lack of a current manual is a big problem for
 potential users of ConteXt. In my experience, the biggest problem is
 with the 3rd party tools (perl, ghostscript, ruby) on Win32 and legacy
 commercial unix (where ruby is not provided and the system perl will
 be a very old version).

 actually, one could run context using pdftex --fmt ..  but it's
 less convenient;

 technically i could generate most of the tuo file directly (although
 index sorting always has to rely on an external prog)

 some two pass data (cross ref etc) can be loaded before an aux file is
 written, but toc info cannot, and tex itself cannot rename a temp file
 afterwards; because context can create tocs at any level any time, this
 means that there will always be a need for an separate read and write
 file (actuallym this is also true for more two pass data since some data
 structures may be defined anywhere in teh document which also leads to
 async loading)

 in luatex, i will probably write the index sorter in lua as well as
 support a different two pass info model as well which means that in
 principle one could provide an embedded kind of texexec funtionality; of
 course multiple runs still have to be managed by some external script
 then but this can be simple since tex itself can signal the need for that


Does this mean that in future (distant future) it will be possible to 
simple pass cont-en.fmt file along with the source file and write

%cont-en

in the tex file, and someone just having plain tex can run

tex filename (possibly multiple times) to get the output?

If so, it may make things like submissions to some journals and online 
archives like arxiv very easy.

Aditya

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


Re: [NTG-context] bug?: interaction between columns and background

2006-10-04 Thread Aditya Mahajan
On Wed, 4 Oct 2006, Patrick Gundlach wrote:

 Hi,

 I did take it as a joke, but seriously: if any user of the live
 ConTeXt would like to see some changes, please tell me. I know that
 running the installer more often is nothing major, but just in case
 anybody misses a special feature... I can't promise that it would be
 done right away, but I'd write it down and implement it when I find
 some time.

 is it possible to install current as well as the beta and let users choose 
 via a radio button?

 I don't distinguish between stable and beta. I always install the
 latest, but I could implement a menu/button that chooses the installed
 version.

Hans, can ctxtools be modified to give the option of downloading both 
the stable and latest branch? --updatecontext gives the beta which, 
being a beta, has occasional bugs. So this method of updating context 
can not be recommended to new users. How about adding

ctxtools --updatecontext --stable to give the stable branch, or 
instead make fetching the stable branch default and give --beta to 
download the beta. Maybe even extract everything with --beta to 
TEXMFBETA folder so that maintaining beta and stable in parallel is 
seamless. Right now there is texexec --beta for running the beta, but 
then you have to maintain the beta tree manually.

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


Re: [NTG-context] font switches, tables, and grouping

2006-10-04 Thread Aditya Mahajan
On Wed, 4 Oct 2006, Idris Samawi Hamid wrote:

 Dear consortium,

 font switches do not obey grouping when \start-stoptable is invoked:

 ===
 Some text

 \start\it
 \starttable[|l|l|]
 \NC 2001 \NC Fall \NC\SR
 \stoptable
 \stop

 Some text
 ===

 The second `Some text' comes out italicized. What is happening here and
 how do I fix it?

This works fine here using
ConTeXt  ver: 2006.10.02 09:56 MK II  fmt: 2006.10.2

\start .. \stop are defined as

\let\simplestart\bgroup
\let\simplestop \egroup

So the only way \it will move across the \stop is if \stoptable is 
missing a \egroup. But then tex should complain about missing end 
group, something like

(\end occurred inside a group at level 1)

### simple group (level 1) entered at line 4 ({)
### bottom level

Does your log file say this?

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


[NTG-context] programming: doifdefined friends

2006-10-04 Thread Henning Hraban Ramm
While I can't cope with counters, I'm trying other stuff that I don't  
understand:
How must I use \doifdefined  friends?

Consider this snippet:

-
\starttext

\def\myvar{JAJAJA}

\input tufte
\doifdefined{\myvar}{\par bla \myvar blub\par}
\input tufte

\stoptext
-

I'd guess it would print bla JAJAJAblub between the two Tufte texts  
and don't if I comment \def\myvar.

But I guess wrongly: It does nothing in this case, and complains  
about undefined \myvar in the latter.

But if I really want to check if something is defined before I try to  
use it, how must I write it?
(Expansion magic?)


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://contextgarden.net
http://www.cacert.org (I'm an assurer)

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


Re: [NTG-context] programming: doifdefined friends

2006-10-04 Thread Henning Hraban Ramm
Am 2006-10-05 um 02:42 schrieb Henning Hraban Ramm:

 -
 \starttext

 \def\myvar{JAJAJA}

 \input tufte
 \doifdefined{\myvar}{\par bla \myvar blub\par}
 \input tufte

 \stoptext
 -

Sorry for bothering you, I found it myself: I must leave out the  
backslash in the condition.

But so I'm still stuck with this snippet from the LilyPond module,  
where Christopher used a lot of catcode trickery:

-
/doifdefined{lily!fontname}/bgroup
\layout {/string^^J
\override Staff.TimeSignature  #'font-name = #/lily!fontname/string^^J
\override Staff.MultiMeasureRestText  #'font-name = #/lily!fontname/ 
string^^J
\override Score.LyricText  #'font-name = #/lily!fontname/string^^J
\override ChordNames.ChordName  #'font-name = #/lily!fontname/string^^J
}/string^^J
/egroup
-
gives:
! Undefined control sequence.
\lily!prefix ...ure #'font-name = #\lily!fontname
   \string
\override Staff
argument ...nd-\the \lily!figures ]\lily!prefix
   \lily!hash (set- 
global-sta...

\expanded ...\long \xdef \@@expanded {\noexpand #1
   }\@@expanded
\dodostartlilypond ...e \lily!fragmentsuffix \fi }
   \endbuffer \par  
\def \LP {...
l.43 \stoplilypond
-

I'm trying to introduce a fontname setting in \setuplilypond that  
should generate the \layout{...} block in the LilyPond file if used  
and nothing if not.

I know how to do that with numbers and yes/no settings, because there  
are some samples in the module, but unfortunately no string settings  
- and I don't understand the samples that I found in the ConTeXt  
sources either.


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://contextgarden.net
http://www.cacert.org (I'm an assurer)

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


Re: [NTG-context] programming: doifdefined friends

2006-10-04 Thread Henning Hraban Ramm
Sorry, last one for tonight.
Just forget my question - it wouldn't work this way anyway.

- the \doif stuff got printed in the LilyPond file instead of executed
- my LilyPond font settings can't work at that place, because  
\overrides must stand in their appropriate score section

:-(


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://contextgarden.net
http://www.cacert.org (I'm an assurer)

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


Re: [NTG-context] programming: doifdefined friends

2006-10-04 Thread Aditya Mahajan
On Thu, 5 Oct 2006, Henning Hraban Ramm wrote:

 While I can't cope with counters, I'm trying other stuff that I don't
 understand:
 How must I use \doifdefined  friends?

 Consider this snippet:

 -
 \starttext

 \def\myvar{JAJAJA}

 \input tufte
 \doifdefined{\myvar}{\par bla \myvar blub\par}
 \input tufte

 \stoptext
 -

 I'd guess it would print bla JAJAJAblub between the two Tufte texts
 and don't if I comment \def\myvar.

 But I guess wrongly: It does nothing in this case, and complains
 about undefined \myvar in the latter.

That is because \doifdefined is for strings. It adds a \csname ... 
\endcsname around its first argument.

 But if I really want to check if something is defined before I try to
 use it, how must I write it?

The plain tex way

  \ifx\myvar\undefined
%Nothing here
  \else
\par bla \myvar blub\par
  \fi

or the context way (for strings)

  \doifdefined{myvar}{\par bla \myvar blub\par}


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


Re: [NTG-context] wiki: debian installation

2006-10-04 Thread Sanjoy Mahajan
   # mkdir /usr/local/share/texmf
   # cd /usr/local/share/texmf
   # unzip /path/to/fresh/cont-tmf.zip
   # chmod 755 scripts/context/ruby/texmfstart.rb
   # texexec --make
   # mv conte-en.fmt cont-nl.fmt metafun.mem mptopdf.fmt web2c/
   # texhash

I don't understand how the 'mv' worked.  I'm experimenting here with
it and similar methods, and the formats go into
~/.texmf-config/web2c/pdfetex/ whereas in the commands above, it looks
like they went into /usr/local/share/texmf/ ?

From looking at texexec.rb and tex.rb, the destination for texexec is
the first non-. path in kpsewhich --engine=pdfetex --show-path=fmt

Oh wait, maybe the old texexec does something different (for example,
put the formats in the current directory)?  From your logs, you are
using:

texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

which is the old, Perl version.  But now the python, sorry I mean ruby
version will be installed and used for the next update.  Here's what
texexec (v6, i.e. ruby) did here:

TeXExec | 
TeXExec | tex engine path: /home/sanjoy/.texmf-config/web2c/pdfetex
TeXExec | mps engine path: /home/sanjoy/.texmf-config/web2c
TeXExec | 
TeXExec | tex: 04/10/2006 23:27:43  
/home/sanjoy/.texmf-config/web2c/pdfetex/cont-en.fmt (7041446)
etc.

So will the formats from that update go into the per-user
.texmf-config/ tree or into a system-wide tree?

A related point, but probably not essential, is that the formats, or
maybe only the non-mpost ones, should go into web2c/pdfetex/ in case
there's a different, incompatible engine some day (e.g. luatex).

All this bootstrapping point is what I've had a hard time figuring out, so
I'm never sure that my installation method is robust.  For example, I
want a method that one can repeat and it keeps working.  So I thought
the easiest is solution to let ctxtools --updatecontext do the work,
with some help from environment variables (I would set TEXMFLOCAL to
~/texmf while running it).

If you have already followed the *following* steps
(my emphasis) which seems a little odd to some non-native speakers,

That's okay language wise ('following' meaning here upcoming) -- a
common usage before a colon (:).  Though it is a bit confusing here
because of the followed and following nearby.

-Sanjoy

`Never underestimate the evil of which men of power are capable.'
 --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] wiki: debian installation

2006-10-04 Thread Sanjoy Mahajan
 Warning: pdfetex (file /home/myuser/texmf/fonts/map/dvipdfm/
 context/original-base.map): invalid entry for `fmvr8x': font
 file missing
 
 Some time ago it was a hot topic on the mailing list. See:
http://wiki.contextgarden.net/Error_Recovery
 and fix it if possible even if it is working now for some reason.

I ran into the same issue a few days ago and eventually found my to
the same solution.  About the 'some reason': I noticed that without
the fix, sometimes it worked, sometimes it didn't.  The answer is the
damn database file (the ls-R).  kpathsea searches in 'directory
order', which you can find with 'ls -U'.  So

   ls -U ~/texmf/fonts/map/

gave me pdfetex, dvips, then dvipdfm, and I couldn't understand why
anyway the dvipdfm file was being found ahead of the pdfetex one (even
without the $progname).  The answer is that the ls-R file is listed
in, well, ls -R order, which is not necessarily directory order.  It's
probably alphabetical.  So dvipdfm is ahead of pdfetex.  Getting rid
of the ls-R means the pdfetex map file is found (good), but it can
easily change back if some script makes a new ls-R (so it's not
robust).

Short version: Do the recommended fix.

-Sanjoy

`Never underestimate the evil of which men of power are capable.'
 --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] wiki: debian installation

2006-10-04 Thread Aditya Mahajan
On Thu, 5 Oct 2006, Sanjoy Mahajan wrote:

   # mkdir /usr/local/share/texmf
   # cd /usr/local/share/texmf
   # unzip /path/to/fresh/cont-tmf.zip
   # chmod 755 scripts/context/ruby/texmfstart.rb
   # texexec --make

Why not use texmfstart texexec --make to make sure that the correct 
(ruby) version of texexec is used.

   # mv conte-en.fmt cont-nl.fmt metafun.mem mptopdf.fmt web2c/
   # texhash

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


[NTG-context] static figures not working with the 2006.10.04 beta

2006-10-04 Thread Sanjoy Mahajan
This file now produces a blank page except for the page number, perhaps
due to me messing up one of the upgrades (was trying an automatic
install to a TEXMFLOCAL directory but eventually gave up and went back
to ~/texmf/):

\starttext

\startstaticMPfigure{fig}
 draw fullcircle scaled 1in; 
\stopstaticMPfigure

\usestaticMPfigure[fig]
\stoptext

[ConTeXt  ver: 2006.10.04 09:35 MK II]

-Sanjoy

`A society of sheep must in time beget a government of wolves.'
   -- Bertrand de Jouvenal
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] static figures not working with the 2006.10.04 beta

2006-10-04 Thread Aditya Mahajan
On Thu, 5 Oct 2006, Sanjoy Mahajan wrote:

 This file now produces a blank page except for the page number, perhaps
 due to me messing up one of the upgrades (was trying an automatic
 install to a TEXMFLOCAL directory but eventually gave up and went back
 to ~/texmf/):

 \starttext

 \startstaticMPfigure{fig}
 draw fullcircle scaled 1in;
 \stopstaticMPfigure

 \usestaticMPfigure[fig]
 \stoptext

 [ConTeXt  ver: 2006.10.04 09:35 MK II]

Works fine here on the same version.

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