Re: [NTG-context] Feature request.

2007-07-06 Thread Patrick Gundlach

  It would be neat if the texfont program, which generates so much
  else, could generate and install a typescript.

 For otfs you can use otfinstall. Search the wiki for it.


 Thanks for the heads up. Now why OTF and not type 1? There are still 
 many more type 1 fonts out there compared to OTF fonts. 

otfinstall ist just a wrapper around the great lcdf type tools. For
type1/truetype you can use rfil
(http://foundry.supelec.fr/projects/rfil/).

Patrick
___
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] typescript / variants question

2007-07-06 Thread Wolfgang Schuster
2007/7/5, Patrick Gundlach [EMAIL PROTECTED]:

  I use oldstyle digits with a typescript using variants such as
  \Var[osf] to get oldstyle digits. How do I get _all_ digits,
  including the page number in oldstyle?
 
  \setuppagenumbering[style={\Var[osf]}] would be a solution, but it
  looks more like a hack - I'd like to have a complete setup.
 
  This is my typescript:

  this was answered only a few days ago in the thread ,,automatic
  oldstyle numerals``
 
  http://www.ntg.nl/pipermail/ntg-context/2007/025795.html

 I guess you refer to the thread started from Alan? (I am currently
 offline.) My post is actually an attempt to use a slightly different
 approach, so I am perfectly aware of that thread.

 My point is, there should be a way to say 'before processing this
 document, switch to osf with \Var[osf] or something equivalent'. I
 don't want to deal with typescripts just for that. I have created a
 typescript already that includes oldstyle figures. IMO it should be
 possible to say \Var[something] for the whole document.

 Patrick

The only method I know is the one I show in my former message with
the termes-os typescipts. It would be nice to have something built-in
to choose small caps, old style and tabular figures with \setupbodyfont
and \switchtobodyfont like you can do with sans, mono ... fonts.

For example:
\setupbodyfont[fontname] for lining figures
\setupbodyfont[fontname,os] for oldstyle figures
...

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] appearance of \about

2007-07-06 Thread Patrick Gundlach
Hi,

how do I change the appearence of \about? I don't like the quotation
marks around the result of \about.

TIA,

Patrick
___
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] mag problem

2007-07-06 Thread Patrick Gundlach
Hi,

I try to use \mag in a document, but I fail:

\mag=700
\starttext 
\input tufte
\stoptext


gives me 

! Incompatible magnification (700);
 the previous value will be retained (1000).

Any way to get \mag to work?


Patrick
___
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] mag problem

2007-07-06 Thread Aditya Mahajan
Quoting Patrick Gundlach [EMAIL PROTECTED]:

 Hi,

 I try to use \mag in a document, but I fail:

 \mag=700
 \starttext
 \input tufte
 \stoptext


 gives me

 ! Incompatible magnification (700);
 the previous value will be retained (1000).

 Any way to get \mag to work?

Just curious as to why do you need mag? Can't you achieve the same 
visual effect using \setupbodyfont[...] or \setuppapersize?

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
___


Re: [NTG-context] appearance of about

2007-07-06 Thread Aditya Mahajan
Quoting Patrick Gundlach [EMAIL PROTECTED]:

 Hi,

 how do I change the appearence of \about? I don't like the quotation
 marks around the result of \about.

\setupreferencing[left=,right=]

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

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


Re: [NTG-context] Law/Jurisdiction typesetting

2007-07-06 Thread Steffen Wolfrum
Intensive googling brought me these solutions for paragraph enumeration:

1)

% Enumerate paragraphs
\newcounter\ParNum
\def\GuyPar{\doglobal\increment\ParNum\inleft{\ParNum}}

\setupbodyfont[ber,10pt]
\setupwhitespace[big]

\starttext

\section[sec-language]{How this Book Teaches You The Language}

\GuyPar Java is an object oriented programming language.  When you use
an object oriented programming language, your program consists of
class definitions.

\stoptext


2)

\starttext
\showframe
\setupcolors[state=start]
\setupparagraphnumbering[state=start,style=italic,distance=0pt]
%\startlinenumbering
\section{bloo}
\input knuth 
\section{blah}
\input knuth \par 
\setupparagraphnumbering[state=stop]
\input tufte \par \blank \dorecurse{2}{\input tufte \par} \blank \par
\setupparagraphnumbering[state=start,color=red]
\dorecurse{4}{\input tufte \par}
\stoptext



Does anybody now have an idea how to re-use these paragraph numbers (in one of 
these examples) for linking in a TOC and/or a seperate index register (as 
described below)?

Steffen







On Thu, 5 Jul 2007 17:41:43 +0200, Steffen Wolfrum wrote:
 Hi,
 
 using ConTeXt more and more for typesetting books from the field of 
 law/jurisdiction I came across some specifics that I just don't know 
 how to do in our beloved application:
 
 1) Paragraphs (not all) are labeled with numbers in the margin.
 These paragraph numbers are used in the table of contents in such 
 way: you have the content's entry (eg the section heading), then the 
 dots,  then the corresponding paragraph number, then the 
 corresponding page number.
 
 2) Paragraphs (not all) are labeled with numbers in the margin.
 These paragraph numbers are used in a  separate paragraph 
 register in such way: you have the index entry (a law's number), 
 space, then you have the corresponding paragraph number (the text 
 paragraph where the index was used). [But of course there is also a 
 regular register afterwards, containing alphabetical listed keyword 
 index entries pointing to page numbers.]
 
 
 So, how can that be done??
 
 
 Yours,
 
 Steffen
 ___
 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
 ___
___
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] mag problem

2007-07-06 Thread Taco Hoekwater
Aditya Mahajan wrote:
 Quoting Patrick Gundlach [EMAIL PROTECTED]:
 
 Hi,

 I try to use \mag in a document, but I fail:

 \mag=700
 \starttext
 \input tufte
 \stoptext


 gives me

 ! Incompatible magnification (700);
 the previous value will be retained (1000).

 Any way to get \mag to work?

Probably because of the .top file setting up some value
that prevents subsequent changes to the magnification.
(\setupoutput maybe)

Taco

___
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] appearance of about

2007-07-06 Thread Patrick Gundlach
Hi Aditya,

 how do I change the appearence of \about? I don't like the quotation
 marks around the result of \about.

 \setupreferencing[left=,right=]

Now that you've told me, I've found it in the manual... Thanks,

Patrick
___
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] lilypond

2007-07-06 Thread Henning Hraban Ramm

Am 2007-07-03 um 17:59 schrieb Wolfgang Werners-Lucchini:


I tryed the first wiki-example:

There are some notes \lilypond{ \relative{bes a c b} } embedded in
this line.


With version 2.11.27 the lilypond option -b eps is unknown.
With version 2.10.25 the above example is a 3-page output:
(1) There are some notes
(2) lilypond-output
(3) embedded in this line

Should I downgrad with lilypond?
Or what else I am doing wrong?


Sorry, the publicly available LilyPond module is outdated. Try the  
attached one.


I delayed the publishing of my latest version because Ruby texexec  
had a bug that prevented lilypond from being called, I guess that's  
gone, but I had no time to check yet. And I didn't adapt the module  
to LilyPond 2.11, too. (2.10.2x should work.)


I don't know if inline LilyPond worked at any time, though; I never  
needed it.


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

t-lilypond.tex
Description: Binary data


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

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


[NTG-context] Lilypond for a newbie

2007-07-06 Thread Vyatcheslav Yatskovsky
Hello,

I saw some discussions of Lilypond here, but did not understand it. :) Please, 
tell me as for a newbie, how to use Lilypond with ConTeXt? I have some .ly 
files prepared and tested, but I know nothing better then to render them as 
.png and then include in a document as images.

Thanks and best regards,
  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
___