Re: [NTG-context] Header unwanted on first page

2007-12-25 Thread Wolfgang Schuster
On Tue, 25 Dec 2007 01:08:41 +0100
Matija Šuklje [EMAIL PROTECTED] wrote:

 Dne sobota 1. decembra 2007 je George N. White III napisal(a):
  \noheaderandfooterlines
  \setupheadertexts[text][XX][YY]
 
 What is the difference between this method and the
 \startstandardmakeup
 \stopstandardmakeup
 
 method?

standardmakeup produce a special page without and headers and footers.

It has by default no pagenumber (could be changed) and is used normally
only for title pages, you could change the parameters with
\setupmakeup and it is always only one single page.

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

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


Re: [NTG-context] PDF table of contents

2007-12-25 Thread Matija Šuklje
Dne torek 25. decembra 2007 je luigi scarso napisal(a):
 Did you see
 http://wiki.contextgarden.net/Table_of_Contents

Actually, I was looking for:
http://wiki.contextgarden.net/PDF_Bookmarks_and_Headers
...to which Mojca kindly directed me.

I really should read more of the Wiki. I'm just doing my first real ConTeXt 
document and am referring to the ConTeXt — an Excursion and completely 
forgot about the Wiki.

Thanks all the same and I excuse myself in advance for (mis)using this list in 
the next few days. I'll try hard to RTFM and RTFW as often as possible.


Cheers,
Matija

-- 
gsm: +386 41 849 552
e-mail: [EMAIL PROTECTED]
www: http://matija.suklje.name

aim: hookofsilver
icq: 110183360
jabber/g-talk: [EMAIL PROTECTED]
msn: [EMAIL PROTECTED]
yahoo: matija_suklje


signature.asc
Description: This is a digitally signed message part.
___
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] Header unwanted on first page

2007-12-25 Thread Matija Šuklje
Dne torek 25. decembra 2007 je Wolfgang Schuster napisal(a):
 It has by default no pagenumber (could be changed) and is used normally
 only for title pages, you could change the parameters with
 \setupmakeup and it is always only one single page.

Thank you for explaining this to me.


Cheers,
Matija

-- 
gsm: +386 41 849 552
e-mail: [EMAIL PROTECTED]
www: http://matija.suklje.name

aim: hookofsilver
icq: 110183360
jabber/g-talk: [EMAIL PROTECTED]
msn: [EMAIL PROTECTED]
yahoo: matija_suklje


signature.asc
Description: This is a digitally signed message part.
___
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] lost colors (mkiv)

2007-12-25 Thread Peter Rolf
Hi,

can anyone with an actual *luatex* test, if this fails (live ConTeXt is
broken). My binaries are from the minimals at contextgarden (pragma
tree), ConTeXt is the latest beta.


\setupcolors[state=start]

\starttext

\newbox\TESTbox
\setbox\TESTbox\hbox{Silence is sexy.}

\hbox{{\color[red]Silence is sexy.}{\color[blue]Silence is sexy.}}
\hbox{{\color[red]\copy\TESTbox}{\color[blue]\box\TESTbox}}% no colors
with mkiv

\stoptext


Best wishes, Peter
___
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] lost colors (mkiv)

2007-12-25 Thread Gour
On Tue, 25 Dec 2007 14:31:43 +0100
Peter Rolf [EMAIL PROTECTED] wrote:

 Hi,

 can anyone with an actual *luatex* test, if this fails (live ConTeXt
 is broken). My binaries are from the minimals at contextgarden (pragma
 tree), ConTeXt is the latest beta.

I just succeeded in building latest luatex and generating all the require 
formats
and your test file works here ;)

Sincerely,
Gour
___
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] luatex on x86_64

2007-12-25 Thread Gour
On Mon, 24 Dec 2007 21:54:57 +0100
Taco Hoekwater [EMAIL PROTECTED] wrote:

 Your problem is quite generic. There really is only one executable
 built: luatex. 'texlua' and 'texluac' are alternate personalities of
 that executable, 'luatools' and 'mtxrun' are scripts from the
 context distribution. 

Thanks. Now it'c clear.

See this page about installing MarkIV:
 
http://wiki.contextgarden.net/Install_Mark_IV

Mojca (thank you) sent me the following url:

 http://article.gmane.org/gmane.comp.tex.context/36830

which adds some, imho, more details about env. variables which
need to be set up and, thanks to that, I was able to typesert test
doc by updating ConTeXt in my texlive's 'texmf-local' tree and
by building luatex from source on x86_64 (Arch Linux).

Maybe, the above wiki article can be updated with the info from
mailing list's post?

In any case, we're now free to start exploring ConTeXt/luatex :-)

Sincerely,
Gour
___
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] lost colors (mkiv)

2007-12-25 Thread Arthur Reutenauer
 can anyone with an actual *luatex* test, if this fails

  Yes, Mark IV fails on my machine too (ConTeXt  ver: 2007.12.21 20:50 MKIV).

(live ConTeXt is
 broken).

  I had a look at that but I couldn't figure out why, and I don't have
that much time right now.  The problem seems to be that ConTeXt doesn't
find the fonts, which doesn't make much sense since the installation has
not changed in months (except that we upgrade to the latest beta each
time it is released).

Arthur
___
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] lost colors (mkiv)

2007-12-25 Thread Wolfgang Schuster
On Tue, 25 Dec 2007 14:31:43 +0100
Peter Rolf [EMAIL PROTECTED] wrote:

 Hi,
 
 can anyone with an actual *luatex* test, if this fails (live ConTeXt is
 broken). My binaries are from the minimals at contextgarden (pragma
 tree), ConTeXt is the latest beta.
 
 \setupcolors[state=start]
 
 \starttext
 
 \newbox\TESTbox
 \setbox\TESTbox\hbox{Silence is sexy.}
 
 \hbox{{\color[red]Silence is sexy.}{\color[blue]Silence is sexy.}}
 \hbox{{\color[red]\copy\TESTbox}{\color[blue]\box\TESTbox}}% no colors
 with mkiv
 
 \stoptext

Hi Peter,

I have the same problem on my system, the text in the second line is
black and has no colors.

ConTeXt  ver: 2007.12.21 20:50 MKIV  fmt: 2007.12.21  int: english/english
This is LuaTeX, Version snapshot-0.20.2-2007121821

LuaTeX version 

 BTW: The latest was for mkii and should't be used at
the moment.

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

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


[NTG-context] conditionals and font switches

2007-12-25 Thread Idris Samawi Hamid
Dear gang,

Consider a control sequence \MyCS. It has three possible definitions:

\def\MyCS{def1}, \def\MyCS{def2}, \def\MyCS{def3}

What I would like is to define \MyCS once such that

def1 takes effect when \tf is invoked
def2 takes effect when \it is invoked
def3 takes effect when \bf is invoked

something like (incorrect syntax but you'll get the point)

\def\MyCS{%
\if\itdef1
\else
\if\bfdef2
\else
def3}

How can I do this Any tips greatly appreciated!

Happy Holidays!
Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
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] conditionals and font switches

2007-12-25 Thread Idris Samawi Hamid
On Tue, 25 Dec 2007 12:21:18 -0700, Wolfgang Schuster  
[EMAIL PROTECTED] wrote:

 You could modify the following macro from font-ini.

 \def\fontstylesuffix
   {\ifx\fontalternative\c!tf \s!Regular \else
\ifx\fontalternative\c!bf\s!Bold \else
\ifx\fontalternative\c!sl \s!Slanted \else
\ifx\fontalternative\c!it  \s!Italic \else
\ifx\fontalternative\c!bs \s!BoldSlanted \else
\ifx\fontalternative\c!bi  \s!BoldItalic \else
\ifx\fontalternative\c!sc\s!Caps \else
  \s!Regular \fi\fi\fi\fi\fi\fi\fi}%
 something like this should work (if I get you right)
 \ifx\fontalternative\c!tf def1 \else
 \ifx\fontalternative\c!it def2 \else
 \ifx\fontalterantive\c!bf def3 %
 \fi\fi\fi
 search fo \fontalternative in the base (font-ini.tex and alike)

What wonderful gangsters, working on Christmas! ;-)

Thanks a lot for the fast feedback and

Best wishes
Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
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] conditionals and font switches

2007-12-25 Thread Wolfgang Schuster
On Tue, 25 Dec 2007 11:25:18 -0700
Idris Samawi Hamid [EMAIL PROTECTED] wrote:

 Dear gang,
 
 Consider a control sequence \MyCS. It has three possible definitions:
 
 \def\MyCS{def1}, \def\MyCS{def2}, \def\MyCS{def3}
 
 What I would like is to define \MyCS once such that
 
 def1 takes effect when \tf is invoked
 def2 takes effect when \it is invoked
 def3 takes effect when \bf is invoked
 
 something like (incorrect syntax but you'll get the point)
 
 \def\MyCS{%
 \if\itdef1
 \else
 \if\bfdef2
 \else
 def3}
 
 How can I do this Any tips greatly appreciated!
 
 Happy Holidays!
 Idris

You could modify the following macro from font-ini.

\def\fontstylesuffix
  {\ifx\fontalternative\c!tf \s!Regular \else
   \ifx\fontalternative\c!bf\s!Bold \else
   \ifx\fontalternative\c!sl \s!Slanted \else
   \ifx\fontalternative\c!it  \s!Italic \else
   \ifx\fontalternative\c!bs \s!BoldSlanted \else
   \ifx\fontalternative\c!bi  \s!BoldItalic \else
   \ifx\fontalternative\c!sc\s!Caps \else
 \s!Regular \fi\fi\fi\fi\fi\fi\fi}%

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

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


Re: [NTG-context] conditionals and font switches

2007-12-25 Thread Idris Samawi Hamid
On Tue, 25 Dec 2007 12:21:18 -0700, Wolfgang Schuster
[EMAIL PROTECTED] wrote:

 You could modify the following macro from font-ini.

 \def\fontstylesuffix
   {\ifx\fontalternative\c!tf \s!Regular \else
\ifx\fontalternative\c!bf\s!Bold \else
\ifx\fontalternative\c!sl \s!Slanted \else
\ifx\fontalternative\c!it  \s!Italic \else
\ifx\fontalternative\c!bs \s!BoldSlanted \else
\ifx\fontalternative\c!bi  \s!BoldItalic \else
\ifx\fontalternative\c!sc\s!Caps \else
  \s!Regular \fi\fi\fi\fi\fi\fi\fi}%

On Tue, 25 Dec 2007 12:22:38 -0700, Peter Rolf [EMAIL PROTECTED] wrote:

 something like this should work (if I get you right)
 \ifx\fontalternative\c!tf def1 \else
 \ifx\fontalternative\c!it def2 \else
 \ifx\fontalterantive\c!bf def3 %
 \fi\fi\fi
 search fo \fontalternative in the base (font-ini.tex and alike)

What wonderful gangsters, working on Christmas! ;-)

Thanks a lot for the fast feedback and

Best wishes
Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
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] conditionals and font switches

2007-12-25 Thread Peter Rolf
Idris Samawi Hamid schrieb:
 Dear gang,
 
 Consider a control sequence \MyCS. It has three possible definitions:
 
 \def\MyCS{def1}, \def\MyCS{def2}, \def\MyCS{def3}
 
 What I would like is to define \MyCS once such that
 
 def1 takes effect when \tf is invoked
 def2 takes effect when \it is invoked
 def3 takes effect when \bf is invoked
 
 something like (incorrect syntax but you'll get the point)
 
 \def\MyCS{%
 \if\itdef1
 \else
 \if\bfdef2
 \else
 def3}
 
 How can I do this Any tips greatly appreciated!

something like this should work (if I get you right)

\ifx\fontalternative\c!tf def1 \else
\ifx\fontalternative\c!it def2 \else
\ifx\fontalterantive\c!bf def3 %
\fi\fi\fi

search fo \fontalternative in the base (font-ini.tex and alike)

Best wishes, Peter

 Happy Holidays!
 Idris
 

___
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] lost colors (mkiv)

2007-12-25 Thread Gour
On Tue, 25 Dec 2007 20:44:29 +0100
luigi scarso [EMAIL PROTECTED] wrote:

 Even here no colors. I'm  using last stable context.

Same here (it looks that previously i was looking at xetex's output):

This is LuaTeX, Version snapshot-0.20.2-2007122521 (Web2C 7.5.6)

ConTeXt  ver: 2007.12.21 20:50 MKIV  fmt: 2007.12.25  int: english/english

Sincerely,
Gour

___
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] xetex/luatex AUCTeX

2007-12-25 Thread Gour
Hi!

Is it possible to 'teach' AUCTeX to use xetex and/or luatex as TeX
engine for ConTeXt?

I see entry for Omega, but all the attempts for luatex/xetex do not
work :-(

Sincerely,
Gour





signature.asc
Description: PGP signature
___
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] lost colors (mkiv)

2007-12-25 Thread Vyatcheslav Yatskovsky
Hi,

Your test example works well.

I have a few days old binaries from pragma folder too, downloaded and 
set up with my Windows installer
http://minimals.contextgarden.net/setup/context-installer/

Best,
Vyatcheslav Yatskovsky

___
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] First document — problems with bi b module and layout

2007-12-25 Thread Matija Šuklje
Hullo,

I'm just making my first real document in ConTeXt and although I'm thinking 
more and more how this was a great idea. I also decided to simultaneously 
write an external document/module containing all definitions to fit the 

But as a newbie, of course, I stumbled upon some beginner's problems:

1. Chapter heading is not like I would expect — I would like to have the line 
above the chapter as long as the one below it

2. The empty page at the end of the document annoys me and doesn't want to go 
away.

3. The citations won't show any content, neither does the list of publications 
— I'm clearly doing something very wrong here. What I want is numbered 
citation with short references at the bottom and full references in the list 
of publications in the appendices.

4. If I want to include 'pf_ul.tex' and 'moja_bibliografija.bbl' into my 
user's local modules in Linux, where should I place the link to them? It's a 
bit annoying to have to place links to them in each directory where I make a 
new new file that uses them. And clearly, there will be many yet to come!

If anything I just wrote doesn't make much sense, I excuse myself ...I'm 
tired, tried to learn and hack together this definitions the whole day today 
and didn't sleep much yesterday either.


Cheers,
Matija

-- 
gsm: +386 41 849 552
e-mail: [EMAIL PROTECTED]
www: http://matija.suklje.name

aim: hookofsilver
icq: 110183360
jabber/g-talk: [EMAIL PROTECTED]
msn: [EMAIL PROTECTED]
yahoo: matija_suklje
% za pravila PF UL
\input pf_ul
\def\avtor{Matija Šuklje}
\def\mentor{as. mag. Luka Tičar}
\def\tip{seminarska naloga}
\def\naslov{Konkurenčna klavzula v delovni pogodbi}
\def\kljucnebesede{delovno pravo}

% moji lastni linki
\useURL[author-email][mailto:[EMAIL PROTECTED]@rutka.net]
\useURL[homepage][http://matija.suklje.name][][matija.suklje.name]

\starttext
\startstandardmakeup
\title{\naslov}
\stopstandardmakeup

\startfrontmatter
\setuppagenumbering[left={stran },conversion=Romannumerals,location=right]
\placecontent

\section[uvod]{Uvod}

\subsection[povzetek]{Povzetek}

\input knuth

{\en		% začasno spremeni jezik v angleščino
\subsection[summary]{Summary}

\input knuth
}

\stopfrontmatter

\startbodymatter
\setuppagenumbering[left={stran },right={ od \lastpagenumber},location=right]

\chapter{Kr en poglavje}

\section[1]{Prvo poglavje}

\input tufte

\subsection[1.1]{podpoglavje}

\input knuth

tuki citiram, veš? \cite[ZOFVI] \cite[neki]



\stopbodymatter

\startappendices

\placepublications

\stopappendices
\stoptext\startpublication[
k=ZOFVI,% key, po katerem citiraš
t=zakon,% tip publikacije je zakon
y=1996,
s=ZOFVI,% short citation
u=http://www.uradni-list.si/1/ulonline.jsp?urlid=199612dhid=32248,
]
\title{Zakon o organizaciji in financiranju vzgoje in izobraževanja}
\journal{Uradni list Republike Slovenije}
\volume{35}
\issue{12}
\pubyear{1996}\month{2}\day{29}

\biburl{http://www.uradni-list.si/1/ulonline.jsp?urlid=199612dhid=32248}
\pages{841-862}
\stoppublication

\startpublication[
a={Matija Šuklje}
k=neki,
t=test,
y=2007,
s=Neki
]
\title{Neki nekastga}
\author{Matija Šuklje}
\stoppublication%d Tu so ConTeXt definicije oblike ipd., kot so predpisane za seminarske
%d in diplomske naloge na Pravni fakulteti Univerze v Ljubljani
%c Avtor: Matija Šuklje, [EMAIL PROTECTED], http://matija.suklje.name
%c Avtor dovoljuje (in spodbuja) uporabo vsebino tega „dela“ pod pogoji v licenci GPL.

%d This are the ConTeXt definitions of layout etc. as perscribed for writing a thesis
%d on the Law faculty, University of Ljubljana
%c Author: Matija Šuklje, [EMAIL PROTECTED], http://matija.suklje.name
%c The author permits (and encourages) the usage of this work under the terms of the GPL licence.

%%%
%%% splošne definicije dokumenta
%%%

% jezik, UTF-8 in velikost papirja
\mainlanguage[sl]
\enableregime[utf8]
\setuppapersize[a4][a4]

%%%
%%% za informacije v PDF, pobere podatke iz definicij glavnega dokumenta
%%%

% da dela UTF-8 tudi v PDF kazalu in informacijah o dokumentu
\input spec-tst

% pobere iz glavnega dokumenta definicije in jih zapiše v informacije v PDF
\setupinteraction
	[state=start,
	title={\naslov},
	subtitle={\tip},
	author={\avtor},
	keyword={\tip, \kljucnebesede}
	]

% ustvari kazalo v PDF
\placebookmarks[chapter,section,subsection]

%%%
%%% kazalo
%%%

\setupcombinedlist[content][alternative=c]
\setuplist[chapter][style=bold,alternative=b,width=1.5em]
\setuplist[section][margin=1.5em,width=2em]
\setuplist[subsection][margin=3.5em,width=3em]
\setuplist[subsubsection][margin=6.5em,width=4em]

%%%
%%% oblika poglavij ipd.
%%%

% zgenerira okoli naslova prvo stran na podlagi definicij iz glavnega dokumenta in datuma ob generiranju
\setuphead
	[title]
	[align=middle,
	textstyle=\sc,
	style=\bfd,
	before={\startalignment[middle] Univerza v Ljubljani \crlf Pravna fakulteta 

Re: [NTG-context] Keeping up-to-date under TeXLive

2007-12-25 Thread Joel C. Salomon
I'm trying to put everything together so potential problems are easily
identifiable, and so that a recipe or shell script can perhaps be put
on the wiki.

On Dec 23, 2007 5:08 AM, Mojca Miklavec [EMAIL PROTECTED] wrote:
 Also, if you already have a working TeX distribution, you can write a
 few rsync calls yourself. At
 http://minimals.contextgarden.net/current/
 you have:
 - current ConTeXt
 - almost-latest binaries
 - fonts
 any you can combine the stuff from there in some arbitrary way.

So, since I have a working TeX from Ubuntu, I want to put all the
new stuff in my TEXMFHOME (A.K.A. ~/texmf).  To this end, I could
use some help putting the rsync calls together.

In each case the command will take the form rsync --recursive --perms
--compress --checksum --times --links --verbose rsync://something/
~/texmf/somewhere, which I'll abbreviate in this email as rsync
-rvzctlp rs://cg.net/minimals/current/... ~/texmf/... (so lines don't
get broken at inconvenient times).

The basic ConTeXt stuff gets pulled in, as Mojca suggested, thus:
rsync -rvzctlp rs://cg.net/minimals/current/context/current/ ~/texmf/

Next, I want to get the up-to-date binaries, for which I'd like to do
something like
rsync -rvzctlp rs://cg.net/minimals/current/bin/[*]/linux/ ~/texmf/
where I either need to write a separate line for each of {common,
context, luatex, metapost, pdftex, xetex}, or have a single command
that includes them all.  (Since I intend to put this all in a shell
script, a bit of duplication isn't a problem.)  This will put
/current/bin/[package]/[system]/bin/[whatever] into ~/texmf/bin/,
where I think they belong in an installed system.

The manuals seem to be in a somewhat odd place (under bin!); I'd use
rsync -rvzctlp rs://cg.net/minimals/current/bin/man/ ~/texmf/
but no programs should care where they are; this is my own use.  In
fact, perhaps I should put the man pages where the man system can find
them.  I'll leave this for another day.

NB:  I have no idea whether I need the stuff in /current/base or
/current/misc, nor where in the texmf tree they would go.

I won't be installing any modules now, so I can ignore that part of the tree.

The fonts are, like the binaries, in a
/current/fonts/[group]/fonts/[format]/... tree, and the installed
system should have them in ~/texmf/fonts/[format]/..., so I need
another four lines of the sort
rsync -rvzctlp rs://cg.net/minimals/current/fonts/[*]/ ~/texmf/
where [*] is one of {common, new, old, other}.  (Are there any I
really don't need or want?)

I add ~/texmf/bin to the front of my PATH.

And then I follow all that up with a rebuilding of the format files with
texexec -- make --all
texexec -- make --all --xtx
texexec -- make --all --lua
(Will the formats be made in TEXMFHOME or somewhere else?)

If this passes the sanity check with you guys, and if I can get
answers to the stuff I'm unsure on, I'll try it  report back.

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