[NTG-context] first-setup.sh patch

2011-11-09 Thread frantisek holop
hi there,

here is a simple patch for first-setup.sh
in a nutshell:

- removed the first check for ruby.  the same check is performed
  at the end of the install process again, and IMHO it is a much
  better place to show some reminders to the user after many
  screenfuls of rsync flew by.

- a low hanging optimisation for setting platform=

- moved the platform overriding above the platform == unknown check
  because just uncommenting the line will not work, the script will
  exit a couple lines above

- if the uknown platform is considered an "Error", exit should return
  non-zero :]

have a nice day

-f
-- 
a self-addressed envelope would be addressed "envelope"
--- first-setup.sh.orig Wed Nov  9 21:46:46 2011
+++ first-setup.sh  Wed Nov  9 21:52:57 2011
@@ -10,12 +10,10 @@
echo "You need to install rsync first."
exit 1
 fi
-if [ ! -x "`which ruby`" ]; then
-   echo "You might want to install Ruby first if you want to use pdfTeX or 
XeTeX."
-fi
 
 system=`uname -s`
 cpu=`uname -m`
+platform="unknown"
 
 case "$system" in
# linux
@@ -28,7 +26,6 @@
# we currently support just mipsel, but Debian is lying 
(reports mips64)
# we need more hacks to fix the situation, this is just 
a temporary solution
mips|mips64|mipsel|mips64el) platform="linux-mipsel" ;;
-   *) platform="unknown" ;;
esac ;;
# Mac OS X
Darwin)
@@ -36,7 +33,6 @@
i*86) platform="osx-intel" ;;
x86_64) platform="osx-64" ;;
ppc*|powerpc|power*|Power*) platform="osx-ppc" ;;
-   *) platform="unknown" ;;
esac ;;
# FreeBSD
FreeBSD|freebsd)
@@ -44,30 +40,25 @@
i*86) platform="freebsd" ;;
x86_64) platform="freebsd" ;; # no special binaries are 
available yet
amd64) platform="freebsd-amd64" ;;
-   *) platform="unknown" ;;
esac ;;
# kFreeBSD (debian)
GNU/kFreeBSD)
case "$cpu" in
i*86) platform="kfreebsd-i386" ;;
x86_64|amd64) platform="kfreebsd-amd64" ;;
-   *) platform="unknown" ;;
esac ;;
# cygwin
CYGWIN*)
case "$cpu" in
i*86) platform="cygwin" ;;
x86_64|ia64) platform="cygwin-64" ;;
-   *) platform="unknown" ;;
esac ;;
# SunOS/Solaris
SunOS)
case "$cpu" in
sparc) platform="solaris-sparc" ;;
i86pc) platform="solaris-intel" ;;
-   *) platform="unknown" ;;
esac ;;
-   *) platform="unknown"
 esac
 
 # temporary patch for 64-bit Leopard with 32-bit kernel
@@ -83,15 +74,15 @@
fi
 fi
 
+# if you want to enforce some specific platform
+# (when 'uname' doesn't agree with true architecture), uncomment and modify 
next line:
+#platform="linux"
+
 if test "$platform" = "unknown" ; then
echo "Error: your system \"$system $cpu\" is not supported yet."
echo "Please report to the ConTeXt mailing-list (ntg-context@ntg.nl)"
-   exit
+   exit 1
 fi
-
-# if you want to enforce some specific platform
-# (when 'uname' doesn't agree with true architecture), uncomment and modify 
next line:
-# platform=linux
 
 # download or rsync the latest scripts first
 rsync -rlptv rsync://contextgarden.net/minimals/setup/$platform/bin .
___
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] launchpad

2009-02-13 Thread frantisek holop
hi there,

i am just having my first look at launchpad for context
and the external link has a typo in it right on the first
page.  it says

http://minimals.contextgarde.net/
instead of
http://minimals.contextgarden.net/

-f
-- 
there are no esc keys on prison pcs.
___
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] startup script stubs (for unix)

2009-02-13 Thread frantisek holop
hello gang,

after almost a year of traveling i am back.
anybody missed me? :]  thought so.

i have made the openbsd installation of context
on top of texexec3 wiki page on the context wiki
because i frequently reinstall my notebook and start
from scratch with all my software.  i realize by now
texlive is the new thing but before i make context
minimal work on openbsd i still prefer to bring
up to date context  on the much less bloated base
of tetex3.

my biggest gripe at the moment always at the end
the ruby scripts...

but this is something that could be easily changed.
i personally find the following instructions the
most helpful:
http://wiki.contextgarden.net/TeTeX_3.0_installation#Ruby_scripts

at the moment, the directory
/usr/local/share/texmf-local/scripts/context/stubs/unix/
contains a bunch of scripts that are nice but unusable because

1. they dont have the x bit set

2. most of them contain something like

texmfstart somescript "$@"

while texmfstart itself is not defined anywhere

it would be really nice if these stubs could be just dropped
as replacements for any current scripts and work out of the box.

i am not sure my proposed solution is a good one, because
frankly, except texexec i have never used any of the other
scripts..  but looking at the afore-quoted wikipage it seems
to me that the author favoured the approach of calling all
the other sripts using texexec.  the beauty of this is
that no other scripts need to be installed.

so what do you people think about the following approach:

stub for texmfstart to be put under /usr/local/bin/texmfstart:
#!/bin/sh

ruby `kpsewhich --format=texmfscripts texmfstart.rb` "$@"

stub for texexe to be put under /usr/local/bin/texexec:
#!/bin/sh

SCRIPTNAME=`basename $0`

if [ X"$SCRIPTNAME" = X"texexec" ]; then
exec texmfstart texexec.rb "$@"
else
exec texmfstart $SCRIPTNAME "$@"
fi

and all the other script stubs could be removed i guess...

-f
-- 
good words cost no more than bad.
___
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] startup script stubs (for unix)

2009-02-13 Thread frantisek holop
hmm, on Fri, Feb 13, 2009 at 07:17:34PM +0100, Peter Münster said that
> On Wed, 11 Feb 2009, frantisek holop wrote:
> 
> > i have made the openbsd installation of context
> > on top of texexec3 wiki page on the context wiki
> > because i frequently reinstall my notebook and start
> > from scratch with all my software.  i realize by now
> > texlive is the new thing but before i make context
> > minimal work on openbsd i still prefer to bring
> > up to date context  on the much less bloated base
> > of tetex3.
> 
> Hello,
> 
> teTeX3 is less bloated than ConTeXt minimals??

no :]  read it again.
tetex3 is less bloated than texlive, not context minimals.

> Perhaps there are no openbsd binaries in this distribution, but it should
> be easy to add support for openbsd in
> http://svn.contextgarden.net/minimals-src/build-binaries/build-binaries.sh

yes, this is where i am headed in the long run.
native context minimals on openbsd.

-f
-- 
oh no, not deja-vu again.  oh no, not deja-vu again.
___
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] startup script stubs (for unix)

2009-02-13 Thread frantisek holop
hmm, on Fri, Feb 13, 2009 at 04:52:49PM +0100, Mojca Miklavec said that
> That folder is not meant to be a replacement for binaries. It's just a
> folder where files can be taken from and put somewhere else
> afterwards. They don't have the x bit set because zip on windows
> doesn't handle permission bits.

ok, i have a lot of catching up to do because of the enormous
volume of mail hitting this list, but let me ask this.  all i want
is a simple alias/shell_script/stub/whatever to run context on
a .tex file.  that's all.  as someone coming from latex (a long time
ago) and running commands like "latex doc.tex" or "pdflatex doc.tex"
i always expected that to be "context doc.tex".  when i started using
context, it was "texexec doc.tex".

as a user i don't mind what's in the background, perl, shell, ruby
or a bone fide binary, all i'd like to do is have an official
(as opposed to hand rolled/home made) context command that runs
everything that is needed to process the .tex file.

is there something like that? if not, will be? :]

-f
-- 
the 4th world war will be fought with sticks and rocks.
___
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] launchpad

2009-02-13 Thread frantisek holop
hmm, on Fri, Feb 13, 2009 at 05:40:14PM +0100, Patrick Gundlach said that
> Hi,
> 
> >> i am just having my first look at launchpad for context
> >> and the external link has a typo in it right on the first
> >> page.  it says
> >>
> >> http://minimals.contextgarde.net/
> >> instead of
> >> http://minimals.contextgarden.net/
> >
> > I can only find distribution.contextgarden.net
> 
> I have changed the broken link to distribution.contextgarden.net, but
> wasn't able to send a mail to the list at that time.

thanks for the fix.

-f
-- 
what we do not understand we do not possess. -- goethe
___
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] identation question

2009-04-08 Thread frantisek holop
hmm, on Wed, Apr 08, 2009 at 03:25:32PM +0200, frantisek holop said that
> hi there,
> 
> this is a quickie for the gurus:
> i would like to get an "inverted" identation,
> where the first line is not inverted but all
  
indented of course...

-f
-- 
the cow is a machine which makes grass fit for us people.
___
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] identation question

2009-04-08 Thread frantisek holop
hi there,

this is a quickie for the gurus:
i would like to get an "inverted" identation,
where the first line is not inverted but all
the others are:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque
nibh ipsum, consectetur sit amet, pellentesque eget, egestas ac,
ligula.  Praesent ut sapien vel est pulvinar fringilla. Sed
bibendum fermentum ante. Proin ipsum. Nulla in risus. Praesent
nunc elit, laoreet at, viverra at, dapibus vel, purus. Mauris
quis tellus. Nulla pharetra nulla quis lectus cursus placerat.
In quis purus. Suspendisse molestie viverra elit. Nam eget
tortor. Integer convallis erat rhoncus turpis.

thanks,

-f
-- 
some are wise; others are otherwise
___
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] setup/startnarrower question

2009-04-08 Thread frantisek holop
hi there,

what would be the equivalent of the following

\startnarrower[2*left,0*right]
\stopnarrower

using

\setupnarrower ?

my problem is that \setupnarrower takes dimensions, while
\startnarrower takes...  i am not sure what actually...

\startnarrower[..,...,..] ... \stopnarrower
...   n*left n*middle n*right

and why does e.g.

\setupnarrower[left=4em, right=0pt]

still have a right side "margin"

-f
-- 
i quit drinking/smoking/& sex once.  very boring 15 minutes.
___
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] identation question

2009-04-08 Thread frantisek holop
hmm, on Wed, Apr 08, 2009 at 10:11:36AM -0400, Aditya Mahajan said that
> There may be better ways to do this, but you can always fake it by  
> negative indentation.
>
> \setupindenting[-2cm,yes]
> \starttext
> \input knuth
> \stoptext

the problem is, that this messes with the margin...
the first lines are way out in the margin...

-f
-- 
engraving is, in brief terms, the art of scratch.
___
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] identation question

2009-04-08 Thread frantisek holop
hmm, on Wed, Apr 08, 2009 at 05:12:26PM +0200, Wolfgang Schuster said that
>> There may be better ways to do this, but you can always fake it by  
>> negative indentation.
>
> Tricky, it's possible with \hangindent/after but ...

heh, i must admit i really thought this will be a quickie :]
this is when we get spoiled with all the great features...

i even expected a not so well known parameter for indent that
just does this :]  but i have been wrong before :]

-f
-- 
to die late is better than never.
___
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] updating ConTeXt to latest on openbsd-current

2006-03-06 Thread frantisek holop
hi there,

i am a (somewhat) long time pdflatex user and i am trying to convert to
ConTeXt.  openbsd comes with teTeX 3.0 pre-packaged, that is with a very
old ConTeXt.  the package has some openbsd specific stuff, but minimal,
and only for keeping cnf files between updates and a couple of paths are
different, but that is it.

i was (am) having font problems, so i thought an upgrade would not hurt.
the lovely guides on contextgarden.net got me started, and with minor
changes i have a fresh ConTeXt up and running, but i have some problems
still i am afraid.  i am very new to ConTeXt and to TeX in general,
i was always behind the "safe" curtains of macros (like memoir, etc).


as i followed the instructions from here:
http://wiki.contextgarden.net/TeTeX_3.0_installation
my question are related to this page

i will break down my question into more mails, so it's not too long,
and so that people can answer to mails they know the answer to :)

the first one:

the first step to upgrade context is:

--\startquote---
Fix texmf.cnf

Now first you have to fix texmf.cnf as supplied with teTeX:

# vi /usr/local/teTeX/share/texmf/web2c/texmf.cnf 

You have to add an engine path to the TEXFORMATS line, so that it reads:

TEXFORMATS = .;$TEXMF/web2c/{$engine,}

--\stopquote

i deliberately skipped this one, and the new context worked without it.
what does this precisely do?

when i first run the new context, a new line in the output immediately
caught my attention:

 TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

 fixing texformat path : .:{!!/home/f/.texmf-config,!!/home/f/.texmf-var,/home/f
/texmf,!!/etc/texmf,!!/var/texmf,!!/usr/local/share/texmf,!!/usr/local/share/tex
mf-local,!!/usr/local/share/texmf-dist}/web2c/{$engine,}{pdfetex,}

so i thought, ok, here's the path issue.  so i added "{$engine,}" as intructed,
but it turned out that that this new line comes up anyway.  could anyone 
comment on it?


the next tip is to

--\startquote---

While at it, you probably want to set

shell_escape = t

if it isn't already. 

--\stopquote

in the default openbsd package this line says:

shell_escape = f

what is the difference?  and what is it for anyway?
some external execution of the legends are true? :)

-f
-- 
i'm not old.  i'm chronologically gifted.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] updating ConTeXt to latest on openbsd-current Q #2

2006-03-06 Thread frantisek holop
hi there,

my second question, is more like asking for pointers...

where can i read more about fmtutil, and how come that
context does not use it when (i assume) pdftex does?


--\startquote---
Cleanup fmtutil

Optionally, you can remove ConTeXt support from teTeX's configuration,
because ConTeXt does not use fmtutil.

Using

# fmtutil-sys --edit

you can comment out the lines for metafun,cont-en, and mptopdf

And you can use

# cd /usr/local/teTeX/share/texmf-var/web2c && rm -f cont-en.* metafun.* 
mptopdf.*

to remove the old (fmtutil-generated) formats. 

--\stopquote

-f
-- 
the best way out of a difficulty is through it.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] updating ConTeXt to latest on openbsd-current Q #3

2006-03-06 Thread frantisek holop
hi there,

this (for the moment) last question is not really about the upgrade but
about context itself.  this is the problem because of which i upgraded
in the first (but not the only) place.

please consider the following minimal example:


%<
\starttext

\section{Pogány köszöntő}

\startlines
Nézd! dércsipte fáink megőszült
fején ül most a szél és lengő
harangú tornyok között csak
megkondúlnak a jámbor imák!

Csorgó nyálával békés borjú
lépdel még szekerünk után, de
már nem kószál szárnyas szavakkal
szájunk körül halovány ámen!

Megmosakodtunk! tornyok között,
fákon pihenő szélben és most
megőszült fák közt csókokkal tarkán
pogány szemekkel kitavaszodtunk!

A testünket nézd! együtt fakad a
rüggyel drága hús és napbadobált
csókjaink után boldog torokkal
így, istentelenül fölsikoltunk!

1930. január 11.
\stoplines

\stoptext
%<


here's the transcript of context:

%<
amaaq> texexec --pdf file

 TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

 fixing texformat path : 
.:{!!/home/f/.texmf-config,!!/home/f/.texmf-var,/home/f/texmf,!!/etc/texmf,!!/var/texmf,!!/usr/local/share/texmf,!!/usr/local/share/texmf-local,!!/usr/local/share/texmf-dist}/web2c/{$engine,}{pdfetex,}
fixing engine variable : pdfetex
executable : pdfetex
format : cont-en
 inputfile : hun
output : pdftex
 interface : en
  current mode : none
   TeX run : 1

This is pdfeTeX, Version 3.141592-1.30.6-2.2 (Web2C 7.5.5)
 (/usr/local/share/texmf-local/web2c/natural.tcx)
entering extended mode
(./hun.tex

ConTeXt  ver: 2006.02.15 17:41  fmt: 2006.3.4  int: english  mes: english

language: language en is active

system  : cont-new loaded
(/usr/local/share/texmf-local/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
color   : palette rollover is available
)
system  : cont-old loaded
(/usr/local/share/texmf-local/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system  : cont-fil loaded
(/usr/local/share/texmf-local/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system  : cont-sys.rme loaded
(/usr/local/share/texmf-local/tex/context/user/cont-sys.rme
(/usr/local/share/texmf-local/tex/context/base/type-exa.tex)
(/usr/local/share/texmf-local/tex/context/base/type-syn.tex)
(/usr/local/share/texmf-local/tex/context/base/type-enc.tex)
(/usr/local/share/texmf-local/tex/context/base/type-siz.tex)
(/usr/local/share/texmf-local/tex/context/base/type-map.tex)
(/usr/local/share/texmf-local/tex/context/base/type-spe.tex)
(/usr/local/share/texmf-local/tex/context/base/type-akb.tex))
bodyfont: 12pt rm is loaded
kpathsea: Running mktextfm ec-lmr12
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; 
input ec-lmr12
This is METAFONT, Version 2.71828 (Web2C 7.5.4)

kpathsea: Running mktexmf ec-lmr12
! I can't find file `ec-lmr12'.
<*> ...ljfour; mag:=1; nonstopmode; input ec-lmr12
  
Please type another input file name
! Emergency stop.
<*> ...ljfour; mag:=1; nonstopmode; input ec-lmr12
  
Transcript written on mfput.log.
grep: ec-lmr12.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input 
ec-lmr12' failed to make ec-lmr12.tfm.
kpathsea: Appending font creation commands to missfont.log.
! Font \*12ptrmtf*=ec-lmr12 not loadable: Metric (TFM) file not found.
 
   \relax 
\xxdododefinefont ...tspec {#4}\newfontidentifier 
  \let \localrelativefontsiz...

\fontstrategy ...ame #1\csname #2#3#4#5\endcsname 
  \tryingfontfalse \fi 
 ...yle \fontalternative \fontsize 
  \fi \iftryingfont \fontstr...

\synchronizefont ...strategy \the \fontstrategies 
  \relax \fi \ifskipfontchar...
 \getvalue [EMAIL PROTECTED]@ \fontstyle }
   \edef \fontstyle {\fontstyle }\if...
...
l.1 
\starttext
? X
No pages of output.
Transcript written on hun.log.

   return code : 256
  run time : 6 seconds

total run time : 6 seconds
%<



some gurus will kill me now, because this is (for me) a simple
missfont.log case, but the truth is, that no other macro packages are
missing any fonts at all.  i must also add, that i did a

amaaq> sudo updmap --enable Map lm.map


before that, my accented letters were simply ingored out from the
output, and if i changed to a well known font (charter) per
instructions, i got a missing font again.

-f
-- 
and the reset button lets you re-run autoexec.bat

Re: [NTG-context] updating ConTeXt to latest on openbsd-current Q #3

2006-03-06 Thread frantisek holop
hmm, on Mon, Mar 06, 2006 at 11:04:25PM +0100, Taco Hoekwater said that
> This is one of the latin modern fonts. ConTeXt depends on the latin
> modern package, and will not run without errors if latin modern is
> not installed.


thanks for the all the answers...

this all could be in the wiki thought, would save you/me mining the
archives :)  so i'll shamefully steal and put this info into the
openbsd upgrade page i just started :)


ok, seems like my last problem is about the fonts.  i must say the
wiki gets a bit controversial here:

http://wiki.contextgarden.net/TeTeX_3.0_installation says:

Install a Latin Modern font update

The Latin Modern fonts are still in development, so teTeX has a hard
time catching up. To get a stable system, you have to manually download
the [Latin Modern distribution] from ctan and install the package
according to the[instructions in the FAQ].

The ConTeXt-specific support files are included in Cont-tmf.zip, so it
is just a matter of installing the actual font files. 



http://wiki.contextgarden.net/Cont-lmt.zip says:

This was the Latin Modern release from CTAN, repackaged for an easier
download.

It has disappeared since Context 2006.02.01 



http://www.tex.ac.uk/cgi-bin/texfaq2html?label=uselmfonts says:


Note that teTeX distributions, from version 3.0, already have the lm
fonts: all you need do is use them. 



according to the wiki, i don't need cont-lmt.zip anymore.

according to the tex faq i already have them.


what now?   i downloaded the lm.tgz package, compared files, and
clearly, teTeX 3.0 files are old-old-old.

so i copied over the old files, run texhash, and lo and behold,
fonts are all right.



ok, the only problem i see at first glance is \"{o}
(long hungarian umlaut) is with a wave and not the proper umlaut.

could this be a problem with context's encodings?
i presume the lm fonts contain the right character...
it is certainly not that special :)

-f
-- 
part-time musicians are semiconductors.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] updating ConTeXt to latest on openbsd-current Q #2

2006-03-06 Thread frantisek holop
hmm, on Mon, Mar 06, 2006 at 10:57:57PM +0100, Taco Hoekwater said that
> Finally, what goes wrong: unless you either delete the teTeX-supplied
> context formats or change texmf.cnf, the old formats will be found first
> by kpathsea.

excellent explanation.

so is it either or?  is it enough to change texmf.cnf _or_ delete the
old format files?


from the wiki:

-%<--
Cleanup fmtutil

Optionally, you can remove ConTeXt support from teTeX's configuration,
because ConTeXt does not use fmtutil. 
-%<--

-f
-- 
wasting your life is prohibited by the law
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] updating ConTeXt to latest on openbsd-current Q #3

2006-03-07 Thread frantisek holop
hmm, on Tue, Mar 07, 2006 at 11:12:18AM +0100, Mojca Miklavec said that
> On 3/6/06, frantisek holop wrote:
> > ok, the only problem i see at first glance is \"{o}
> > (long hungarian umlaut) is with a wave and not the proper umlaut.
> >
> > could this be a problem with context's encodings?
> > i presume the lm fonts contain the right character...
> > it is certainly not that special :)
> 
> Which one do you have in mind? \ohungarumlaut (ő) or \odiaeresis (ö)?
> They both seem to work here, although you might have forgotten the
> magic keyword \enableregime[utf] (or whatever encoding you might want
> to use - if your favourite is not available, ask for it).

\ohungarumlaut is the one.

i don't specify any encodings, and i use vanilla latin2
(il2 in context if i am not mistaken).

should i use \enableregime[il2] ?

-f
-- 
the first sight of love is the last of wisdom.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \defineparagraphs, \setupparagraphs newbie question

2006-03-08 Thread frantisek holop
hi there,

i am trying to step a 2 column paragraph

\defineparagraphs
  [poem][n=2]
\setupparagraphs
  [poem][1][width=.4\textwidth]

\startpoem
poemtitle
\poem
\startlines
...
...
\stoplines
\stoppoem



the second column is always in \startlines .. \stoplines

it is not clear to me after reading the manual what are
before, after, inner, or that if these could be used 
for something like this.

-f
-- 
smile, its the second best thing you can do with your lips.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \defineparagraphs, \setupparagraphs newbie question

2006-03-09 Thread frantisek holop
hmm, on Thu, Mar 09, 2006 at 09:46:28AM +0100, Taco Hoekwater said that
> frantisek holop wrote:
> > it is not clear to me after reading the manual what are
> > before, after, inner, or that if these could be used 
> > for something like this.
> 
> To replace the \startlines ... \stoplines you mean? no.

yes, i should have been clearer :)

as the style is always the same and i am lazy, i want to save myself
the typing of \startlines and \stoplines for the second column :)

so there is no way i could set up the 2nd paragraph like that?
maybe a macro or something?


> To see what the options do, simply run something like this:
> 
>\defineparagraphs
>   [poem][n=2,before=b,after=a,inner=i]

that's a good idea, will play with it :)

-f
-- 
if i die, i forgive you, if i recover, we shall see.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Context Garden, wiki not accesable

2006-03-13 Thread frantisek holop
hmm, on Fri, Mar 10, 2006 at 04:22:19PM -0500, Jeffrey Drake said that
> You definitely haven't seen our network administators. The proxy we run:
> 
> Generated by squid/[EMAIL PROTECTED]
> 
> This version is from 1997 at best. Not many people have a great deal
> of faith in them.

there are quite a few vulnarabilities for squid this old, hint hint :)

but a banner is only a banner, don't forget that.  maybe your admins are
much more trickier than anticipated :)

indeed.  a quick nmap reveals that the machine could very well be a fortress...





-ok, so i presume you can't turn off the proxy...

if you can access http://www.dnsstuff.com/ you could test
that others are able to resolve the contextgarden.net domains.



-i also presume that you tried to access using the ip number...

-you could try to use the google cache... e.g.
http://72.14.203.104/search?q=cache:2s7Cg-h7AcwJ:wiki.contextgarden.net/Main_Page+contextgarden&hl=en&ct=clnk&cd=1

but of course, this is a cache...  so some stuff will be outdated.

-you could try going thru a web anonymizer..


still, doens't make sense for me - filtering contextgarden.net
there isn't even a dirty word in the url :)

best of luck, 
-- 
the best way to keep your word is not to give it.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] PDF links behaviour

2006-03-13 Thread frantisek holop
hmm, on Mon, Mar 13, 2006 at 12:27:56AM +0100, nico said that
> In the PDF documents, when I click on an cross-reference link (it can be a  
> page number from the table of content, or anything done with \in[]) I jump  
> to the related page (that's ok) but the document view is automatically  
> changed to 'Fit in Window' whatever the view initially was (e.g. 'Fit  
> Width').

you might have more luck with this on the pdftex mailing list.
http://tug.org/mailman/listinfo/pdftex

-f
-- 
new members urgently required for suicide club.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \page inside a block

2006-03-15 Thread frantisek holop
hi there,

the following is a minimal example of the layout i am working on.


---%<-
% output=pdftex

\enableregime[latin2]

\setuppapersize
  [A5][A5]

\defineparagraphs
  [poem][n=2]
\setupparagraphs
  [poem][1][width=.35\textwidth]
\setupparagraphs
  [poem][2][rule=on]

\starttext

\startpoem
\section{poem}
\poem\startlines
line 1
line 2
\page
line 3
line 4
\stoplines\stoppoem
\stoptext
---%<-


when the poem gets long, i need to start a new page obviously.
but page is not working.  what am i missing here?

also, using \page is one thing, good for me, so i could tell,
flush the page right here, but i thought i'll get an automatic
pagebreak when the text gets to the bottom

sorry if this is a very silly question, just getting my feet wet
with context  thanks

-f
-- 
bungee diving - living it up when you're going down!
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \page inside a block

2006-03-16 Thread frantisek holop

black magic, all of it!  i tell you! :)))

well, Hans, i guess your middle name is \T for \TeX :)


> > when the poem gets long, i need to start a new page obviously.
> > but page is not working.  what am i missing here?
> >   
> that it's unbreakable stuff (vbox)

> > also, using \page is one thing, good for me, so i could tell,
> > flush the page right here, but i thought i'll get an automatic
> > pagebreak when the text gets to the bottom
> >   
> actually, this is a rather complex situation; one could use a tabulate

i myself had this feeling that the columns will not behave
if longer than a page.  but i had my fingers crossed, because
they are set up as "paragraphs" (\setupparagraphs), and paragraphs
don't have problems with page break, do they?

but after sending the mail, it just occured to me, that in this
special case, poems, static text, don't need much flexibility or
automagic, so doing a

\startpoem
\section{poem}
\poem\startlines
line 1
line 2
\stoplines\stoppoem

\page\startpoem
\poem\startlines
line 3
line 4
\stoplines\stoppoem
\stoptext

does exactly what i want :)))




nevertheless what you just did there was very impressive
i will study it in details, but i am not a great tex master.
i'd like to do context/books for a living, but until it's
only a hobby, it just needs too much effort learning all
the stuff, and to "keep in shape".


my biggest problem with starting context is the lack of examples.
it is not hard to find .tex files for latex, but context is different...

i think it would certainly help heaps if the manual source was
released, just like the \TeXbook's...  at least the old manual's
sources...

i think i have read something about this issue, but i don't remember
where or when :)

i know it must be an awful lot of work to make impressive manuals like
that, but they are not sold commercionally, are they?  is it not the
aim to make context more widespread?  so when we post a question here
about a silly layout problem, hundreds and hundreds of people would
answer :)))

i will certainly try to put more examples into the wiki, after i
understand them :)

-f
-- 
one family builds a wall, two families enjoy it.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \page inside a block

2006-03-16 Thread frantisek holop
so,

lo and behold, a beginner \TeX{}er's "solution":

---%<-
\defineparagraphs
  [poem][n=2]
\setupparagraphs
  [poem][1][width=.35\textwidth]
\setupparagraphs
  [poem][2][rule=on]

\def\StartPoem#1{%
  \startpoem
  \ifx#1\undefined\else\section{#1}\fi
  \poem\startlines}
\def\StopPoem{%
  \stoplines\stoppoem\page}
\def\PoemPage{%
  \StopPoem
  \StartPoem{}}

\starttext

\StartPoem{poem1}
line 1
line 2
\StopPoem

\StartPoem{poem2}
line 1
line 2
\PoemPage
line 3
line 4
\StopPoem

\stoptext
---%<-

as the poems are quite static, and in this case it is
actually better if i can "cut" the page at a convinient
point, i think this is an easier "hack"
(at the moment for me definitely) :))

and it also takes care of the \startlines \stoplines
i asked about earlier.  not that Taco's solution
did not work, but this is much more primitive,
and so better at the moment.


i have another question.  how can i modify how the "rule"
will look like?  the closest thing i have found in the
manual was \setupmarginrules but \setupmarginrules[thickness=5]
did nothing.


thanks to everyone for pointing out where the manual sources are.

-f
-- 
a fool searches for a greater fool to find admiration.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \setupmarginrules (was: Re: \page inside a block)

2006-03-26 Thread frantisek holop
hmm, on Fri, Mar 17, 2006 at 07:49:57PM +0100, Willi Egger said that
> Hi Frantisek
> 
> The correct command is \setupmarginrules[rulethickness=2pt]. The option 
> is rulethickness and it takes a dimension.

i have tried this and it doesn't seem to work.

\defineparagraphs   [poem][n=2]
\setupparagraphs[poem][1][width=.25\textwidth]
\setupparagraphs[poem][2][rule=on]

\setupmarginrules   [rulethickness=5pt]

the rule in front of the 2nd column (poem[2]) still
has the default thickness.

-f
-- 
strength of mind: person who can eat one salted peanut.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \setupmarginrules

2006-03-26 Thread frantisek holop
hmm, on Sun, Mar 26, 2006 at 10:12:01PM +0200, Vit Zyka said that
> > \defineparagraphs   [poem][n=2]
> > \setupparagraphs[poem][1][width=.25\textwidth]
> > \setupparagraphs[poem][2][rule=on]
> > 
> > \setupmarginrules   [rulethickness=5pt]
> 
> this sets rules for margins. I guess the solution
> 
> \setupparagraphs[poem][2][rule=on,rulethickness=5pt]

sorry, i forgot to add, that i tried this one also :)
seemed logical, but the result is the same.

-f
-- 
it is better to be hated than to be ignored.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] RFC: 'What would you like in an Text Editor?'

2006-03-27 Thread frantisek holop
hmm, on Mon, Mar 27, 2006 at 10:24:36AM +0200, Taco Hoekwater said that
> * Good spellchecking, including private and special-purpose dicts.
> * A re-wrap paragraph implementation that leaves lines that do not
>start with alphanumerics alone
> * support for different input encodings, notably utf-8 and iso-latinX
> * CRLF/LF/CR conversions
> * regular expression search (&replace)
> * configurable syntax highlighting
> * adjustable font size
> * support for large (log) files (>100MB)
> * rectangle selection
> * difference checking

before this degenerates into a bloody emacs vs vim flame war :)
vim can do all this and more.  just as emacs.

i am a long time (what's it now, 9 or 10yrs) very happy vim user so i
can comment on vim.  there is quite a number of extensions for tex/latex
for vim on vim.org ranging from silly macros to complete suits with
integrated latex help using make for stepping thru all the errors
generated by the engines.  and one can always write one's own macros if
nothing is suitable :)  people on the vim mailing list are more than
friendly and literally starved for challenges :)

having said that i am a new context user and i don't know if there's
something specifically for context.

-f
-- 
to have a friend you must first be one.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Frontmatter setup

2006-03-27 Thread frantisek holop
hmm, on Mon, Mar 27, 2006 at 11:25:42AM +0200, Taco Hoekwater said that
> \setupsectionblock
>[name]
>[number=yes|no,
> page=yes|right,
> before=\command,
> after=\command]

this doesn't seem to work with ver: 2006.02.15

\setupsectionblock  [frontmatter][number=no]

\setuppagenumbering
  [location=footer, alternative=doublesided,
   left=$\diamond$\ , right=\ $\diamond$]

\startfrontmatter\completecontent\stopfrontmatter

i still get pagenumbers in the contents...

also the manual says:

By default there are four sectionblocks:
\definesectionblock  [bodypart]  [headnumber=yes]
\definesectionblock  [appendices][headnumber=yes]
\definesectionblock  [introductions] [headnumber=no]
\definesectionblock  [extroductions] [headnumber=no]

does this mean i should define "frontmatter" first, or
is it something else than a sectionblock?

-f
-- 
we must believe in free will.  we have no choice.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Frontmatter setup

2006-03-27 Thread frantisek holop
hmm, on Tue, Mar 28, 2006 at 02:19:54AM +0200, frantisek holop said that
> hmm, on Mon, Mar 27, 2006 at 11:25:42AM +0200, Taco Hoekwater said that
> > \setupsectionblock
> >[name]
> >[number=yes|no,
> > page=yes|right,
> > before=\command,
> > after=\command]
> 
> this doesn't seem to work with ver: 2006.02.15
> 
> \setupsectionblock  [frontmatter][number=no]
> 
> \setuppagenumbering
>   [location=footer, alternative=doublesided,
>left=$\diamond$\ , right=\ $\diamond$]

i am sorry, i am an idiot.  number is for something else, right?
i don't what, but i just assumed it is for page numbers.

so i am trying now:

\setupsectionblock
  [frontmatter]
  [before={\setuppagenumbering[state=none]}]

but i still get pagenumbers.  what is the correct \setuppagenumbering
parameter to turn off page numbers?  \setuppagenumbering's state
lists only "start" and "stop", but \setupsubpagenumber's state
also lists "none".


the only way i don't get page numbers in the content is when i turn
off pagenumbers for all the document:

\setuppagenumbering
  [location=footer, alternative=doublesided, state=none]


does \setuppagenumbering override \setupsectionblock ?

-f
-- 
excellent day to have a rotten day.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Frontmatter setup

2006-03-28 Thread frantisek holop
hmm, on Tue, Mar 28, 2006 at 09:11:59PM +0200, nico said that
> On Mon, 27 Mar 2006 11:25:42 +0200, Taco Hoekwater <[EMAIL PROTECTED]>  
> wrote:
> 
> > nico wrote:
> >> Hello,
> >>
> >> Is there a \setup... command to configure the frontmatter section  
> >> block? I
> >> haven't found a clear information about this.
> >
> > You can put your setup in the 'before', like so:
> >
> >\setupsectionblock
> >   [frontmatter]
> >   [before={\setuppagenumbering[conversion=romannumerals]}]
> 
> It does nothing. In this example the TOC and Preamble section still have  
> default numbering:

i can second this.

\setupsectionblock
  [frontmatter]
  [before={\setuppagenumbering[location=]}]

does nothing (visible at least)

on the other hand this works fine:

\startfrontmatter
\setuppagenumbering[location=]
\completecontent
\stopfrontmatter

is setupsectionblock broken?

-f
-- 
expert - anyone from out of town.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \setupmarginrules

2006-03-28 Thread frantisek holop
hmm, on Tue, Mar 28, 2006 at 07:12:18PM +0200, Hans Hagen said that
> \def\doalinealijn#1#2%
>  {\doifelsevalue{\??al#2\the\alteller\c!rule}\v!on
> {\linewidth\getvalue{\??al#2\the\alteller\c!rulethickness}%
>  \scratchdimen#1%
>  \advance\scratchdimen-\linewidth
>  \divide\scratchdimen \plustwo
>  \hskip\scratchdimen
>  \vrule\!!width\linewidth
>  \hskip\scratchdimen}
> {\hskip#1}}

excuse my silly question, but what am i to do now?
replace core-mis.tex in my context installation and
also add the \doalinealijn macro to my .tex file?

-f
-- 
words are not food, though sometimes we must eat them.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] pdf document info fields

2006-03-28 Thread frantisek holop
hi there,


what is the rationale behind the "Creator" pdf field context sets?

for radnoti.tex i get:

Creator:ConTeXt/user/radnoti.tex

-f
-- 
you can never get rid of a bad temper by losing it.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdf document info fields

2006-03-28 Thread frantisek holop
hmm, on Wed, Mar 29, 2006 at 01:36:21AM +0200, frantisek holop said that
> Creator:ConTeXt/user/radnoti.tex

also, how can i set the "Subject" and "Keywords" fields?
\setupinteraction's role in this context is not documented
at all (what parameters it takes, etc) but author and title
seems to be working.

do i have to use the low level pdftex command \pdfinfo?
would that not conflict with the ConTeXt's Creator setting
routine?

-f
-- 
when all think alike, then no one is thinking.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdf document info fields

2006-03-29 Thread frantisek holop
hmm, on Wed, Mar 29, 2006 at 12:52:29PM +0200, Hans Hagen said that
> > what is the rationale behind the "Creator" pdf field context sets?
> >
> > for radnoti.tex i get:
> >
> > Creator:ConTeXt/user/radnoti.tex
> >   
> no rationale except that you can trace the pdf file back to the source

i know this is really a non-issue, but wouldn't it make more sense
to put the context version here?  the source file name does not make
much sense esp. if the document consists of more documents...
and i find "user" pretty much useless also, can there be something else?

-f
-- 
prayers are always answered.  the answer is usually no.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdf document info fields

2006-03-29 Thread frantisek holop
hmm, on Wed, Mar 29, 2006 at 03:24:39PM +0200, Hans Hagen said that
> frantisek holop wrote:
> > hmm, on Wed, Mar 29, 2006 at 12:52:29PM +0200, Hans Hagen said that
> >   
> >>> what is the rationale behind the "Creator" pdf field context sets?
> >>>
> >>> for radnoti.tex i get:
> >>>
> >>> Creator:ConTeXt/user/radnoti.tex
> >>>   
> >>>   
> >> no rationale except that you can trace the pdf file back to the source
> >> 
> >
> > i know this is really a non-issue, but wouldn't it make more sense
> > to put the context version here?  the source file name does not make
> > much sense esp. if the document consists of more documents...
> > and i find "user" pretty much useless also, can there be something else?
> >   
> in acrobat, see documentproperties -> custom 
> 
> ConTeXt.Version : ... 

i must be blind: AR 6.0.3 windows XP SP2

document properties:
-advanced
-description
-fonts
-security

where's custom?

but i don't normally use acrobat reader at all.
i use gv and/or xpdf.

i just thought that "Creator" is a perfectly logical place
to put the Context version into, the infor which is there
now is rather "academic" :)

-f
-- 
be sure not to start a tagline you can't finis
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ! I can't find file `ec-lmr12'. Again!

2006-04-03 Thread frantisek holop
hmm, on Sun, Apr 02, 2006 at 10:34:44PM +0200, Jilani Khaldi said that
> 
> >You skipped section 5: Install a Latin Modern font update
> >  
> >
> I downloaded "lm.zip" and I followed the the indication in the "readme" 
> file, but the error persists. Any new hint?

did you do a texhash after?
many file names were changed in lm, i think it's better to clear the
lm directories before copying the new files so they don't mix.

also make sure you have a new context installed, the one which comes
with tetex 3.0 has problems with some lm fontmaps/files

-f
-- 
he who fights & runs away will live to fight another day.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] texexec

2006-05-15 Thread frantisek holop
hmm, on Fri, May 05, 2006 at 12:03:15AM +0200, Hans Hagen said that
> I'd like to make the ruby version of texexec the default. Are there any 
> strong objections to this?
> 
> Also, i'd like the stubs to run texmfstart as launcher. For that
> purpose i'll add a /scripts/context/stubs/[mswin|unix] path with the
> default stubs that one can copy to some bin path  


just out of curiosity, is there a particular reason why ruby was chosen?
was something wrong with perl?  will the next one (newnewtexexec) be in
python? :)))

-f
-- 
the sex was so good the neighbors lit cigarettes.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] new release

2006-05-15 Thread frantisek holop
hmm, on Tue, May 09, 2006 at 03:11:23PM +0200, Hans Hagen said that
> > Warning: pdfetex (file  
> > /usr/local/share/texmf-local/fonts/map/dvipdfm/context/original-base.map):  
> > invalid entry for `fmvr8x': font file missing
> >
> > It works if i remove (or rename) the dvipdfm directory.
> >
> > What can i do to have ruby thing working, and pdftex fonts used instead of  
> > dvipdfm ones?
> >   
> your texmf.cnf file should contain:
> 
> TEXFONTMAPS   = 
> .;$TEXMF/fonts/map/{$progname,pdftex,dvips,}//;$TEXMF/{$progname,pdftex,dvips}/{config,}//
> 
> as long as we have no uniform map file syntax, progs needs to be able to 
> find their own map files

i just did:

# rm -r /usr/local/share/texmf-local/fonts/map/dvipdfm/context
# rm -r /usr/local/share/texmf-local/fonts/map/dvips/context
# texhash

aren't these files awfully old anyway?  are they needed?
as cont-lm is not needed anymore i thought these are obsolete files...

-f
-- 
light doesn't emit energy; it emits little dark eaters
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] new release

2006-05-15 Thread frantisek holop
hmm, on Tue, May 16, 2006 at 01:15:55AM +0200, Hans Hagen said that
> > i just did:
> >
> > # rm -r /usr/local/share/texmf-local/fonts/map/dvipdfm/context
> > # rm -r /usr/local/share/texmf-local/fonts/map/dvips/context
> > # texhash
> >
> > aren't these files awfully old anyway?  are they needed?
> > as cont-lm is not needed anymore i thought these are obsolete files...
> >   
> the lm map files are needed (unless you have files on your syetem that
> do the same); context loads map files on demand and does not use
> updmap things 

i meant, the cont-lm zip file is not needed anymore (if i get it right)
because it is now distributed with context, not that the files are not
needed.  do the files distributed with context make the dvip{s,dfm}
files obsolete (say from teTeX-3.0)?

-f
-- 
never trust a person who says, "trust me"
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] some patches

2006-05-15 Thread frantisek holop
hmm, on Mon, May 15, 2006 at 09:23:21AM +0200, Hans Hagen said that
> (btw, is there a clever way to avoid this sudo stuff and become real root?)

i think i missed why you need to become root.
is this for regular runs of context in the future?

-f
-- 
"will you leave me alone if i give you a quote?" -- emmanuel goldstein
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] narrower

2006-05-15 Thread frantisek holop
hi there,

i am trying to make a document in the form of a movie script

ACTOR
hi there

ACTRESS
and hi over there



i thought this would work nicely:

\startnarrower
\midaligned{\sc actor}
hi there
\stopnarrower

but the default narrowness is not good for me.
but setupnarrower doesn't seem to work for me.
here's a minimal example:

\setupnarrower  [left=3cm, right=3cm]

\starttext
not narrower
\startnarrower
this is narrower
\stopnarrower
\stoptext


also, i put the actor line inside the narrower to get rid of
the whitespace between \midaligned and \startnarrower, is there
a better way?

-f
-- 
today is a fine day for firm decisions.  or is it?
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] narrower

2006-05-16 Thread frantisek holop
hmm, on Tue, May 16, 2006 at 10:45:32AM +0200, Taco Hoekwater said that
> The use of narrower is a bit abnormal. Either use:
> 
>\setupnarrower[left=3cm, right=3cm]
>\startnarrower[left,right]
> 
> or
> 
>\setupnarrower[middle=3cm]
>\startnarrower % [middle] is default

thanks a lot.

is there a reason this was solved "abnormally"?
are there plans to make this more context-ish?

or is it confusing only for me?

-f
-- 
saint: a dead sinner revised and edited.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] new release

2006-05-16 Thread frantisek holop
hmm, on Tue, May 16, 2006 at 01:06:26AM +0200, frantisek holop said that
> > your texmf.cnf file should contain:
> > 
> > TEXFONTMAPS   = 
> > .;$TEXMF/fonts/map/{$progname,pdftex,dvips,}//;$TEXMF/{$progname,pdftex,dvips}/{config,}//
> > 
> > as long as we have no uniform map file syntax, progs needs to be able to 
> > find their own map files
> 
> i just did:
> 
> # rm -r /usr/local/share/texmf-local/fonts/map/dvipdfm/context
> # rm -r /usr/local/share/texmf-local/fonts/map/dvips/context
> # texhash
> 
> aren't these files awfully old anyway?  are they needed?
> as cont-lm is not needed anymore i thought these are obsolete files...

btw. http://live.contextgarden.net/ is suffering from this also:

from the texexec output:

[1.1{/opt/context/current/texmf/fonts/map/dvipdfm/context/original-empty.map}{/
opt/context/current/texmf/fonts/map/dvipdfm/context/original-base.map
Warning: pdfetex (file /opt/context/current/texmf/fonts/map/dvipdfm/context/ori
ginal-base.map): invalid entry for `fmvr8x': font file missing

Warning: pdfetex (file /opt/context/current/texmf/fonts/map/dvipdfm/context/ori
ginal-base.map): invalid entry for `xycmat11': font file missing

Warning: pdfetex (file /opt/context/current/texmf/fonts/map/dvipdfm/context/ori
ginal-base.map): invalid entry for `xycmbt11': font file missing

Warning: pdfetex (file /opt/context/current/texmf/fonts/map/dvipdfm/context/ori
ginal-base.map): invalid entry for `xyeuat11': font file missing

Warning: pdfetex (file /opt/context/current/texmf/fonts/map/dvipdfm/context/ori
ginal-base.map): invalid entry for `xyeubt11': font file missing

Warning: pdfetex (file /opt/context/current/texmf/fonts/map/dvipdfm/context/ori
ginal-base.map): invalid entry for `xycmat12': font file missing

Warning: pdfetex (file /opt/context/current/texmf/fonts/map/dvipdfm/context/ori
ginal-base.map): invalid entry for `xycmbt12': font file missing

Warning: pdfetex (file /opt/context/current/texmf/fonts/map/dvipdfm/context/ori
ginal-base.map): invalid entry for `xyeuat12': font file missing


and pdftex could be updated there also :-)

-f
-- 
can't have everything. where would you put it?
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Possible users meeting?

2006-05-16 Thread frantisek holop
hmm, on Mon, May 15, 2006 at 02:55:46PM +0200, Taco Hoekwater said that
> One of the things we discussed was this: If there is sufficient
> interest, we could organize a ConTeXt (mini)conference.

conferences make the world go around :)

as the timeline is quite stretched, i propose to make a
wiki page about this, your mail will be inevitably
lost in the archives.  also the discussion feature of
the wiki will be excellent.



i think a "community" heading on the contextgarden.net
main page would be a great place to put articles like
this (i don't have the right to create it), also along
with companies/individuals offering commercial/non-commercial
support, etc.

i also think that having a news blog (which is quite
dead) is a bit of an overkill, the couple of news
items which appear could be handled manually in
the wiki itself


oh my, i got quite offtopic again :)

-f
-- 
i tried switching to gum but i couldn't keep it lit!
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] spurious space before section heading but only in pdf mode

2006-05-16 Thread frantisek holop
hmm, on Sat, Apr 08, 2006 at 11:12:56PM +0100, Sanjoy Mahajan said that
> Thanks, those two space removals in enco-pfr.tex fix it.  I guess when
> I upgrade to pdftex 1.30 I'll unchange it.

it seems that people are more afraid to upgrade their pdftex
than context.  in my opinion upgrading context is much harder,
there are much more things which can go wrong.

it is really just compiling it and replacing 3 files plus
regenating the formats.  (of course it must be followed
by the context update or else context stops working).

-f
-- 
when you starve with a tiger, the tiger starves last.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \startlines and whitespace

2006-05-16 Thread frantisek holop
hi there,

i am puzzled about the following issue.
there's extra whitespace between the centered line
and startlines, while when using \crlf, there is not.
\startlines is an environment i guess (i come from latex)
and some environments sometimes add extra whitespace
in latex, if i recall correctly.

when i use \nowhitespace between midaligned and startlines,
the whitespace is smaller, but still there, depending on
where the actual text is on the page.

how can i get rid of the whitespace entirely?


\starttext

\startnarrower[3cm]
\midaligned{test}
\startlines
There snores -- I mean sleeps -- my wife so frail.
There snores -- I mean sleeps -- my wife so frail.
\stoplines
\stopnarrower

\startnarrower[3cm]
\midaligned{test}
There snores -- I mean sleeps -- my wife so frail.\crlf
There snores -- I mean sleeps -- my wife so frail.
\stopnarrower

\stoptext

-f
-- 
a kind word and gun gets you more than a kind word alone.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \startlines and whitespace

2006-05-16 Thread frantisek holop
hmm, on Tue, May 16, 2006 at 06:27:12PM -0400, Aditya Mahajan said that
> Use the before and after mechanism.
> 
> \setuplines[before={\startnarrower[3cm]},after=\stopnarrower]
> 
> \midaligned{test}
> \startlines
> There snores -- I mean sleeps -- my wife so frail.
> There snores -- I mean sleeps -- my wife so frail.
> \stoplines

thanks for the tip.
sometimes there still is extra whitespace.  but \nowhitespace
seems to supress them without problems.

i think i should also add, that the document has

\setuptolerance [strict]

so it's not verystrict...

-f
-- 
we're born free and taxed to death.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] vertically centered aligment of different sized texts

2006-05-16 Thread frantisek holop
hi there,

another question to which shamefully i cannot find the answer.
perhaps it's just too late...


consider the following example:


\definefont[BigFont][Regular sa 3]
\starttext
{\tfc The {\BigFont 7}\high{th} Seal}
\stoptext


how can i make that line vertically centered, like
--,
the  /th seal
/

:)


is \startalignment used for this?

-f
-- 
every great journey begins with a single step.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] vertically centered aligment of different sized texts

2006-05-17 Thread frantisek holop
hmm, on Wed, May 17, 2006 at 06:53:47PM +0200, Taco Hoekwater said that
> Abusing math mode is easiest:
> 
>\def\vcentered#1%
>  {\dontleavehmode\mathematics{\vcenter{\hbox{#1
>\starttext
>{\tfc The \vcentered{{\BigFont 7}\high{th}} Seal}
>\stoptext

thanks a lot.
but if this is the "easiest" then what is the hardest? :)

i certainly envy the html/css people here.
some things are just much more easier.
of course, don't get me wrong, with less
powerful constructs come the limitations.

-f
-- 
will global warming cancel nuclear winter?
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] vertically centered aligment of different sized texts

2006-05-17 Thread frantisek holop
hmm, on Wed, May 17, 2006 at 06:28:51PM +0200, Willi Egger said that
> Hi,
> 
> Vertical positioning requires a \strut as an anchor. Hereafter you might 
> use \vfill  \vfill
> 
> \starttext
> \strut
> \vfill
> Your Text
> \vfill
> \stoptext

i think this is something else.  this centers the line in some context,
but not the contents of the line if the line contains fonts in different
sizes.

i used to use this construct even in latex, very good for title pages,
but intead of \strut i just put a used a non breakable space: ~

-f
-- 
1 + 2 = 3; therefore, 4 + 5 = 6.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] vertically centered aligment of different sized texts

2006-05-18 Thread frantisek holop
hmm, on Thu, May 18, 2006 at 08:48:23AM +0200, Taco Hoekwater said that
> The mathematical center of the line is not necesarily the
> optical center, so a somewhat more correct approach would
> put all the stuff in an \hbox and then compute manually
> how far it has to drop down.

i haven't used latex for quite some time now, so i can't
recall how problematic it was to accomplish something like this,
but i find it interesting that there is no easy approach to this.

> For a more pleasing look, it would perhaps be even better
> to line up a normal '7' as if it was an oldstyle numeral,
> and then enlarging it while keeping the same vertical
> alignment ratio.

i've tried the old style numeral but i didn't like it.
by "keeping the same vertical alignment ratio" do you
mean something like \raise?

-f
-- 
i thank my lucky stars i'm not superstitious.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] vertically centered aligment of different sized texts

2006-05-18 Thread frantisek holop
hmm, on Thu, May 18, 2006 at 11:57:47AM +0200, Hans Hagen said that
> > i haven't used latex for quite some time now, so i can't
> > recall how problematic it was to accomplish something like this,
> > but i find it interesting that there is no easy approach to this.
> >   
> there probably is, so can you describe your problem in more detail? 
> Hans 


when i tried to explain it, i found out that i lack a lot
of printing jargon :)

so here's just a link for a pdf which
uses Taco's mathmode vcentered macro.

http://obiit.org/minusf/tex/7th-seal.pdf
http://obiit.org/minusf/tex/7th-seal.tex


basically it's just having different sized
fonts aligned based on the bigest one, vertically centered

-f
--  
when all think alike, then no one is thinking.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] setting up quotations

2007-08-22 Thread frantisek holop
hi there,

i have just finished reading the archives from the times
when there was no \setupquotation only \setupquote

i am glad that now a \setupquotation exists, but my problem
seems to be that \setupquotation affects all quotations...
consider the following example:


\setupquotation [style=italic]

\quote{I am \quotation{not} here,} he said, then he went on singing

\startquotation
Maybe I just want to fly\crlf
I want to live I don't want to die\crlf
Maybe I just want to breath\crlf
Maybe I just don't believe\crlf
Maybe you're the same as me\crlf
We see things they'll never see\crlf
You and I are gonna live forever\crlf
\stopquotation



all 3 quotations are in italics.  i think this is incorrect...
all 3 quoting styles have their place and function.

\startquotation should have some \blank before and after, different
margins, etc.  that's what i want to set up with \setupquotation
a lot of publisher make even typeset these in smaller fonts.

how can i make this happen?  this is really important for typesetting
books, it is not?

-f
-- 
if you do nothing, how do you know when you're finished?
___
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] setting up quotations

2007-08-22 Thread frantisek holop
hmm, on Wed, Aug 22, 2007 at 04:01:12PM -0600, Idris Samawi Hamid said that
> Note that ConTeXt by default is rather bland. The defaults are not  
> intended as some typographic ideal, in contrast to LaTeX.

thanks.  i realize that flexibility is a plus here, on the other hand
creating macros even for the most basic functionality becomes
counterproductive at some point.  

there are great basic building blocks in context.
some of them are just not as consistent as the others :)

i think consistency and 'logic' helps making the learning curve
softer and work easier and faster.

for example:

\quote  -> \setupquote
\quotation  -> \setupquotation
\startquotation -> \setupquotationenvironment :)

or some such.

the problem is, that the manuals are not really verbose
and help create wrong assumptions because at some places
context is wonderfully 'logical' and consistent.

-f
-- 
prayers are always answered.  the answer is usually no.
___
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] OT: typo-fun

2007-08-30 Thread frantisek holop
hi there,

is it possible to achieve this somehow?:
http://www.smashingmagazine.com/images/404-2/book.png

:)

-f
-- 
the perfect guest is one who makes his host feel at home.
___
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] OT: typo-fun

2007-08-30 Thread frantisek holop
hmm, on Thu, Aug 30, 2007 at 02:37:02PM +0200, Hans Hagen said that
> frantisek holop wrote:
> > hi there,
> > 
> > is it possible to achieve this somehow?:
> > http://www.smashingmagazine.com/images/404-2/book.png

i am sorry, i wasn't specific enough.

what i meant was, to have a book in context, any book,
check if we are on page 404, output the joke, continue
normally.

> \starttext
> 
> \dorecurse{100}{\input tufte \par}
> 
> \startpostponing
> \vbox to \vsize \bgroup \vfill
>  \definedfont[Serif at 40pt] \setupinterlinespace
>  \raggedleft Who Took \endgraf This Page? \par
> \vfill \egroup
> \stoppostponing
> 
> \dorecurse{100}{\input linden \par}
> 
> \stoptext

-- 
never test for an error you don't know how to handle.
___
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] cv templates

2007-09-13 Thread frantisek holop
hi there,

i just had a look at the archives looking for some cv ideas...

i was wondering if some nice people who have already battled
their way thru some cv designing could upload their cv templates
into the wiki.  perhaps there could be a repository
of some common doc types...

thank you,
-f
-- 
lsd will make your cga screen display 16.2 million colors
___
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] cv templates

2007-09-13 Thread frantisek holop
hmm, on Thu, Sep 13, 2007 at 09:57:19PM +0200, frantisek holop said that
> i just had a look at the archives looking for some cv ideas...

hi again :)

after some more searching i have found this:
http://en.wikipedia.org/wiki/Europass

might be useful, might be not.

but the more interesting part is, that there is
a latex template for this.
http://tug.ctan.org/tex-archive/macros/latex/contrib/europecv/

i will probably play with this and fool around, but
could someone more proficient make a context template
from this?  this would be kind of great addition to the wiki
and also to wikipedia...

-f
-- 
to die late is better than never.
___
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] indent and blank question

2007-09-19 Thread frantisek holop
hi there,

i am working on a book format document using:

\setupindenting[medium,yes]

so the parapgrahps have no whitespace between but the first line
of the next paragraph is indented.

as is customary, i would like to start a new "part" (lacking a better
word) of the same chapter without a title, unrelated to the previous
text but not warranting a new chapter.  some books put some symbols
inbetween these "chapter parts" like three stars or something.

if a put a \blank and start a new paragprah, it gets indented.

i know i can use \noindent to get what i want, but my question is,
is there something more "automatic", a space command which makes
the next paragraph unindented or something?

or for example if i wanted to put the 3 stars there, could i redefine
subject or subsubject to output these _and_ make the next paragprah
unindented?

-f
-- 
the golden rule:  he who has the gold makes the rules.
___
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] starttabulate questions

2007-09-24 Thread frantisek holop
good evening,

all the examples in the manual use \NC before \NR
is this a necessity?  what is the logics behind this?
is it more like an ending to the previous \NC ?

\starttabulate[|l|l|l|]
\NC A. \NC This Perfect Day   \NC Ira Levin   \NC \NR
\NC B. \NC Opstaan op Zaterdag\NC Jan Gerhart Toonder \NC \NR
\NC C. \NC Tot waar zal ik je brengen \NC Anton Koolhaas  \NC \NR
\NC D. \NC The City And The Stars \NC Arthur Clarke   \NC \NR
\stoptabulate


please consider the following minimal example:

\starttext
\starttabulate
\NC column 1
\NC
\input tufte
\input tufte
\input tufte
\NC \NR
\stoptabulate

\starttabulate
\NC column 1
\NC
\input tufte
\input tufte
\NC \NR
\stoptabulate
\stoptext

if i don't put something between the two tabulates, 
they behave just like one, as if i didn't seperate them,
they show up on the same page.  am i missing something?

-f
-- 
illiterate?  write for a free brochure!
___
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] starttabulate questions

2007-09-25 Thread frantisek holop
hmm, on Mon, Sep 24, 2007 at 07:52:00PM -0400, Aditya Mahajan said that
> Tabulate started as a mechanism to replace table, so the syntax was 
> kept the same. Right now, tabulate does not implement vertical rules, 
> so in the context of tabulate, having a last \NC seems redundant. As 
> far as I understand, tabulate is supposed to ultimately backward 
> compatible with table, and features will be added according to user 
> demands or Hans needs.

thanks for the great explanation.

anybody writing a context book by a chance for publishing? :D

> Why do you expect them to be on different pages? If you want vertical 
> space between the tables, you can add a \blank in between the tables.

well, we could turn around that questin, couldn't we?
why would i except them to be glued together?  it's another object,
why are they "connected"?  i am not saying there should be a default
whitespace between them, can be 0pt, but why are they glued together?

-f
-- 
i have nothing to say, but i can say it loudly.
___
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] \usepackage{pslatex} equivalent for context

2007-10-04 Thread frantisek holop
hi there,

i was wondering if there was a quick and dirty equivalent for
latex's \usepackage{pslatex}

http://ctan.org/tex-archive/macros/latex/contrib/pslatex/#jh1c2c136f7e9809d3217b77eccac957d6:

This is a small package that makes LaTeX default to `standard'
PostScript fonts. It is basically a hacked merger of times.sty and
mathptm.sty, from the psnfss suite of packages. You must have
installed standard LaTeX (LaTeX2e) and psnfss PostScript fonts
to use this package.

thanks.

-f
-- 
en taro adun
___
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] starttabulate vs starttable

2007-10-04 Thread frantisek holop
hi there,

please consider the following minimal examples:

\starttext
\starttable[|l|l|l|]
\NC MidE \VL early ModE \VL ModE  \NC \SR \HL
\NC ge:s \VL gi:s   \VL geese \NC \FR
\NC na:m \VL ne:minimal \VL name  \NC \MR
\NC mi:s \VL mays   \VL mice  \NC \LR
\stoptable

\starttabulate[|l|l|l|]
\NC MidE \NC early ModE \NC ModE  \NC \NR \HL
\NC ge:s \NC gi:s   \NC geese \NC \NR
\NC na:m \NC ne:minimal \NC name  \NC \NR
\NC mi:s \NC mays   \NC mice  \NC \NR
\stoptabulate
\stoptext

the tabulate example is basicly the same without
the vertical lines, which it seems like it can't do,
i get an ! Undefined control sequence.

but \HL seems to work (and \VL not).
tabulate is very lightly documented so i am not sure
which table command works there and which not.

i'd like to use tabulate instead of table because
of the spacing.  i dont need to stretch the content
like table does.  this is a small inline "table"
between 2 paragpraphs, tabulate seems more elegant
to me here.

Han,
it would be nice if tabulate could handle VL,
that would make tabulate even more useful.
pretty please :D

-f
-- 
what we do not understand we do not possess. -- goethe
___
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] \usepackage{pslatex} equivalent for context

2007-10-04 Thread frantisek holop
hmm, on Thu, Oct 04, 2007 at 04:22:49PM -0600, Idris Samawi Hamid said that
> Hi,
> 
> On Thu, 04 Oct 2007 16:00:02 -0600, frantisek holop <[EMAIL PROTECTED]>  
> wrote:
> 
> > hi there,
> >
> > i was wondering if there was a quick and dirty equivalent for
> > latex's \usepackage{pslatex}
> >
> > http://ctan.org/tex-archive/macros/latex/contrib/pslatex/#jh1c2c136f7e9809d3217b77eccac957d6:
> 
> Hmm, I think is obsolete as far as ConTeXt is concerned. Using typescripts  
> one can define one's own relative sizing etc as well as set up  
> times-helvetica in virtually any way you like. See showfont.pdf in the  
> documentation.

thanks, this will do great.

-f
-- 
an unbreakable toy is useful for breaking other toys.
___
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] definewhitespace

2007-10-04 Thread frantisek holop
hi there,

i am in 2 column mode and i can't seem to make
setupwhitespace work.

i would like to put some really small whitespace between paragpraphs.

so for it's 1 or 0.  either a fixed amont of space, or none.

the docs say:

\setupwhitespace[...]
...   none small medium big line fixed fix dimension


but the source defines these in cont-spa.tex:

\definewhitespacemethod [\v!fix]  {}
\definewhitespacemethod [\v!fixed]{\witruimteflexibelfalse}
\definewhitespacemethod [\v!flexible] {\witruimteflexibeltrue}
\definewhitespacemethod [\v!line] {\ctxparskip  \baselineskip}
\definewhitespacemethod [\v!halfline] {\ctxparskip.5\baselineskip}
\definewhitespacemethod [\v!none] {\ctxparskip  \zeropoint}
\definewhitespacemethod [\v!big]  {\ctxparskip  \bigskipamount}
\definewhitespacemethod [\v!medium]   {\ctxparskip  \medskipamount}
\definewhitespacemethod [\v!small]{\ctxparskip  \smallskipamount}

is flexible for the dimension mode?

what do fix and fixed mean?
(halfline is undocumented?)

does `dimension' mean i can simply give it a tex dimension?
e.g.
\setupwhitespace[4pt]
?

thanks for helping out a tired texer :D

-f
-- 
forecast for tonight: dark all night.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] setupwhitespace (was: definewhitespace)

2007-10-05 Thread frantisek holop
sorry, the subject should have setupwhitespace, not define

-f
-- 
this message written by sandy.  a highly trained dolphin.
___
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] nesting \startitemize

2007-10-07 Thread frantisek holop
hi there,

context, just as latex can nest \startitemize,
the context manual says max level 4.

by default context uses the symbols for these 4 levels

o  level 1: bullet
   --  level 2: dash
   *  level 3: asterisk
  >  level 4: triangle

it is very easy to change these per the manual.
but how can i make \startitemize use ordered lists by default?
this is sometimes more useful for scientific works...

e.g. latex by default does:

1. arabic numerals
   (a)  letters
  i.  roman numerals
  o  bullet

(ok, the 4th one isn't very logical in latex either...)





and another question, how can make \startitemize[a]
do "(a)" instead of "a." ?


-f
-- 
first came reality.  then there was wolfenstein 3d...
___
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] nesting \startitemize

2007-10-07 Thread frantisek holop
hmm, on Sun, Oct 07, 2007 at 09:02:34PM +0200, Mojca Miklavec said that
> \setupitemize[1][n]
> \setupitemize[2][a][left=(,right=),stopper=]
> \setupitemize[3][i]
> \setupitemize[4][1] % symbol nr. 1

ehm...  thank you very much :}

-f
-- 
if you don't think women are explosive, just drop one!
___
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] nesting \startitemize

2007-10-07 Thread frantisek holop
hmm, on Sun, Oct 07, 2007 at 09:02:34PM +0200, Mojca Miklavec said that
> \setupitemize[1][n]
> \setupitemize[2][a][left=(,right=),stopper=]
> \setupitemize[3][i]
> \setupitemize[4][1] % symbol nr. 1

ok, i would like to create 2 types of itemizations like in latex.
\begin{enumarate} vs \begin{itemize}  (or in html  vs )

\begin{itemize} is basically \startitemize

how would i go about defining \startenumarate ?
i thought of something like this, but it's not working:



\startsetups enum
  \setupitemize[1][n]
  \setupitemize[2][a][left=(,right=),stopper=]
  \setupitemize[3][i]
  \setupitemize[4][1] % symbol nr. 1
\stopsetups

\definestartstop[enum][command=\setups{enum}]

\starttext

\startenum
\item test

\stopenum

\stoptext



1. it doesnt work if there's no blank line between \item and \stopenum
i seem to recall something about a needed \par because of internal
workings.

2. it doesnt work, the setupitemize's are either not picked up
or are being overrided.

-f
-- 
funny how life imitates lsd.
___
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] MetaPost 1.002 announcement

2007-11-30 Thread frantisek holop
hmm, on Mon, Nov 26, 2007 at 06:44:54PM +0100, Taco Hoekwater said that
> 
> The MetaPost team is happy to announce a new release of MetaPost:
> 
> --
> MetaPost 1.002
> --

time to update the wikipages...
a reminder for slackers like me :]

-f
-- 
god?  i'm no god.  god has mercy.
___
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
___