Logos in context / Miscellaneous questions
![](https://secure.gravatar.com/avatar/2b68fe77303968e573ca1e7004462ae7.jpg?s=120&d=mm&r=g)
Hi there, I am new here, so greetings. My name is Edd and I am experimenting with context as a replacement for pdflatex when I do my dissertation next year. I am using texlive 2007 on OpenBSD which includes context. I am probably now going to ask some really dumb questions.. Here goes. --- A) I am trying to get a logo to appear in the top left of every page. I have already discovered that I can include a graphic like so: \externalfigure[shift] This works just fine However if I try to define a logo like so: \definelogo[logo][top][left] [command={\externalfigure[shift]}, state=start] I am presented with this error: layout : calculating logospace <./shift.png> figures : dimensions of shift are determined externally (./template.tuo ! Undefined control sequence. l.11 \t hisissectionseparator{-} Specifying a height and width does not help either. --- B) Is there an equivilent to the RCS package for latex. Basically it parses version control tags from CVS/RCS. --- C) Is there a book on context (apart from the PDF on the main website). What other documentation exists. I have already found contextgarden and that has proven very useful. Thanks -- Best Regards Edd --------------------------------------------------- http://students.dec.bournemouth.ac.uk/ebarrett
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Edd Barrett wrote:
! Undefined control sequence. l.11 \t hisissectionseparator{-}
weird error try layers instead of logos (see wiki), more powerfull and easier to use Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Mon, 17 Sep 2007, Edd Barrett wrote:
B) Is there an equivilent to the RCS package for latex. Basically it parses version control tags from CVS/RCS.
There are a couple of RCS packages for LaTeX. Can you elaborate on what functionality you need. Most of it is pretty straightforward to port to ConTeXt.
C) Is there a book on context (apart from the PDF on the main website).
There are few manuals for specific topics also, which are availabe from Prama-ade's website.
What other documentation exists.
There are a few MyWays, which document features that are not mentioned in the manuals. There are also articles in MAPS, Practex journal and Tugboat, but most of them are about new or advanced features. Aditya
![](https://secure.gravatar.com/avatar/2b68fe77303968e573ca1e7004462ae7.jpg?s=120&d=mm&r=g)
Hi,
On 17/09/2007, Aditya Mahajan
On Mon, 17 Sep 2007, Edd Barrett wrote:
B) Is there an equivilent to the RCS package for latex. Basically it parses version control tags from CVS/RCS.
There are a couple of RCS packages for LaTeX. Can you elaborate on what functionality you need. Most of it is pretty straightforward to port to ConTeXt.
I used to use it to insert tags without all the crud around it. So for example a revision id directly from CVS looks like this "$Revision: 1.4$" (no quotes) and I used to use \RCSRevision which would expand to just "1.4". It's probably quote simple, but would require research (I have but merely scratched the surface of TeX/Context).
C) Is there a book on context (apart from the PDF on the main website).
There are few manuals for specific topics also, which are availabe from Prama-ade's website.
Thanks. I'll have a gander.
What other documentation exists.
There are a few MyWays, which document features that are not mentioned in the manuals. There are also articles in MAPS, Practex journal and Tugboat, but most of them are about new or advanced features.
Yes, this is how I found out about context, via an article in TUGBoat.
Aditya
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- Best Regards Edd --------------------------------------------------- http://students.dec.bournemouth.ac.uk/ebarrett
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Tue, 18 Sep 2007, Edd Barrett wrote:
Hi,
On 17/09/2007, Aditya Mahajan
wrote: On Mon, 17 Sep 2007, Edd Barrett wrote:
B) Is there an equivilent to the RCS package for latex. Basically it parses version control tags from CVS/RCS.
There are a couple of RCS packages for LaTeX. Can you elaborate on what functionality you need. Most of it is pretty straightforward to port to ConTeXt.
I used to use it to insert tags without all the crud around it. So for example a revision id directly from CVS looks like this "$Revision: 1.4$" (no quotes) and I used to use \RCSRevision which would expand to just "1.4". It's probably quote simple, but would require research (I have but merely scratched the surface of TeX/Context).
Here is a very preliminary version. \def\defineVERSION {\dosingleargument\dodefineVERSION} \def\dodefineVERSION[#1]% {\dododefineVERSION#1} \def\dododefineVERSION$#1: #2$% {\setvalue{VERSION:#1}{#2}} \def\getVERSION#1{\getvalue{VERSION:#1}} \defineVERSION[$Revision: 1.4$] \defineVERSION [$File: something$] \starttext This file, \getVERSION{File}, is at version \getVERSION{Revision} \stoptext I changed the interface to make it more ConTeXtish. AFAIU version control, this should work with RCS, CVS, and subversion. It is not too hard to extend this to $Data:$ and $Id:$. Aditya
participants (3)
-
Aditya Mahajan
-
Edd Barrett
-
Hans Hagen