Re: [NTG-context] prodint typescripts remove style

2006-12-08 Thread M.J. Kallen
Through trial and error, I've been able to solve the problem mentioned below. I 
used \setupbodyfont[reset,modern,serif,10pt] instead of 
\setupbodyfont[reset,modern,10pt]. The additional serif option does the trick.

Maarten-Jan

- Original Message 
From: M.J. Kallen [EMAIL PROTECTED]
To: [NTG-context] maillist ntg-context@ntg.nl
Sent: Monday, December 4, 2006 10:13:11 AM
Subject: [NTG-context] prodint typescripts remove style

Hi Hans or Taco, or anyone else,

the typescripts which you (recently) suggested for the prodint symbol work, but 
it turns out that any font styles (for example \bf, \it, etc.) do not. In the 
following example, the boldface text remains normal:

%
% test document:

\definefontsynonym [MathGamma]  [prodint]

\definefamilysynonym [default]  [xop]   [mc]

\startmathcollection [default]

\definemathsymbol [prodi]  [op]  [xop] [80]  %80 prodinttext
\definemathsymbol [Prodi]  [op]  [xop] [82]  %82 prodintdisplay
\definemathsymbol [PRODI]  [op]  [xop] [84]  %84 prodintbig

\stopmathcollection

\loadmapfile[prodint]

\starttypescript [math] [modern,computer-modern,latin-modern,ams] [size]
   \definebodyfont [17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt] [mm] 
[mc=prodint]
\stoptypescript

\definetypeface [modern] [mm] [math]  [modern]
 [computer-modern][encoding=default]

\setupbodyfont[reset,modern,10pt]

\enablemathcollection[prodint]

\starttext

$\prodi,\Prodi,\PRODI$

This is {\bf boldface} text.

\stoptext
%

Do you have any suggestions to fix this?

Thanks,

Maarten-Jan





 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context





 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] new context release.

2006-12-08 Thread Renaud Aubin
Hans Hagen a écrit :
 i've forgotten what it was; i did fix the mp related semi colon stuff didn't 
 I? 
   
Hi Hans,

You've add
\appendtoks
\disablediscretionaries
\disablecompoundcharacters
\to\everyMPgraphic
to meta-ini.tex

but the problem is persistent. Moreover, The following example raises 
another class of problem induced by the use of the semicolon with \in:

\useencoding[ffr]
\mainlanguage[fr]

\starttext

text:\blank
text;\blank
text?\blank
text!\blank

A sample table is given: \in{tableau}[tab:mytab].

\placetable[here][tab:mytab]{Test}{
\bTABLE
\bTR
\bTD test \eTD
\bTD test \eTD
\eTR
\eTABLE
}

\startuseMPgraphic{test}
numeric u;
u:=1cm;

draw origin--(10u,10u);
\stopuseMPgraphic

\useMPgraphic{test}

\stoptext


Renaud

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


Re: [NTG-context] new context release.

2006-12-08 Thread Renaud Aubin
I forgot to precise that I use (if it can help):
This is pdfTeX, Version 3.141592-1.40.0-beta-20061017 (Web2C 7.5.5)
ConTeXt  ver: 2006.12.07 18:22 MK II  fmt: 2006.12.7  int: english/english
MetaPost 0.99 (Web2C 7.5.5)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] reference to \starttyping

2006-12-08 Thread andrea valle
Hi to all,

I'm typesetting a manual for a programming language. I'm inserting long 
excerpts from code and I have my nice line numbers as explained by the 
wiki.
Code is inserted using \startcode\stopcode mechanism (I have two type 
of starttyping).
I cannot understand how to refer to these code blocks. I mean, I need 
to have something like this: in the code at page xxx, 
I guess it's simple but seems I cannot solve.

Many thanks

-a-

Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] reference to \starttyping

2006-12-08 Thread Aditya Mahajan
On Sat, 9 Dec 2006, andrea valle wrote:

 Hi to all,

 I'm typesetting a manual for a programming language. I'm inserting long
 excerpts from code and I have my nice line numbers as explained by the
 wiki.
 Code is inserted using \startcode\stopcode mechanism (I have two type
 of starttyping).
 I cannot understand how to refer to these code blocks. I mean, I need
 to have something like this: in the code at page xxx, 
 I guess it's simple but seems I cannot solve.

Add \pagereference[tag] before (or include it as part of the macro) 
\startcode. Then you can refer to it by \at[tag]

There is also \textreference and \reference. From core-ref.tex

%D This module deals with referencing. In \CONTEXT\ referencing
%D is one of the core features, although at a first glance
%D probably nobody will notice. This is good, because
%D referencing should be as hidden as possible.
%D
%D In paper documents, referencing comes down to cross
%D referencing, but in their interactive counterparts, is also
%D involves navigation. Many features implemented here are
%D therefore closely related to navigation.
%D
%D Many \CONTEXT\ commands can optionally be fed with a
%D reference. Such a reference, when called upon, returns the
%D number of a figure, table, chapter etc, a piece of text, or
%D a pagenumber.
%D
%D There are three ways of defining a reference:
%D
%D \starttyping
%D \pagereference[here]
%D \textreference[here]{some text}
%D \stoptyping
%D
%D the third alternative combines them in:
%D
%D \starttyping
%D \reference[here]{some text}
%D \stoptyping


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