Re: [NTG-context] headers in PDF document

2005-08-30 Thread Hans Hagen

Mojca Miklavec wrote:


Hans Hagen wrote:
 


\PDFunicodetrue
   



How is it used?.

\enableregime[utf]
\PDFunicodetrue
\setupinteraction
   [state=start,
   title={Košček Železa}]
\starttext
x
\stoptext

doesn't help, it still results in Koscek Zeleza.
 

i'll look into it later (experimental code on my machine) 

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
-

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


Re: [NTG-context] Antykwa math support \Longrightarrow

2005-08-30 Thread Taco Hoekwater



Hi,

Mojca Miklavec wrote:

Hello,

a slightly strange question. I re-compiled a pretty old ConTeXt
document a couple of days ago. In the old good times it was typeset
with
\setupbodyfont[ant,18pt]
and an equation with $a\Longrightarrow b$.


If you don't mind switching full fonts, you could do this:

  \starttypescript [math] [antykwa-torunska] [name]
\definefontsynonym [MathRoman][ComputerModernMath-Roman]
\definefontsynonym [MathExtension][ComputerModernMath-Extension]
%  \definefontsynonym [MathItalic]   [ComputerModernMath-Italic]
\definefontsynonym [MathSymbol]   [ComputerModernMath-Symbol]
  \stoptypescript

but there is more in the MathItalic fonts than just letters, so it
may produce un-even effects (I'm slowly getting better at this
typescript stuff :-))

If you want more detailed control, you have to load extra math
font families and redefine selected bits of the math collection
(see font-unk.tex and math-tex.tex)



\usetypescript[antykwa-torunska][ec]
\definetypeface[MyAnt] [rm] [serif] [antykwa-torunska]  [default] [encoding=ec]
\setupbodyfont[MyAnt,10pt]
\starttext
abc\ccaron
\stoptext


This example worked for me. What was your precise error ?

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


[NTG-context] How to span a long table on more than one page?

2005-08-30 Thread Jilani Khaldi

As subject. Thank you.

jk

--
// Jilani KHALDI
http://www.archsf.org



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


Re: [NTG-context] How to span a long table on more than one page?

2005-08-30 Thread Henning Hraban Ramm

As subject. Thank you.


http://contextgarden.net/Tables_Overview


Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
http://contextgarden.net


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


Re: [NTG-context] cs translation in attachments (core-int)

2005-08-30 Thread Hans Hagen

luigi.scarso wrote:


Vit Zyka wrote:


Hi,

in core-int.tex (section deals with attachements) we need next 
control sequence translations:


status - state
kleur - color
symbool - symbol
tekstlaag - textlayer




ok, patched

I also have some modifications to do in some files to compile 
modules.pdf .

I post them at collector at
http://context.literatesolutions.com/

I don't know if it's the right place.


sounds ok to me, serious problems you can mail to me directly 

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
-

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


Re: [NTG-context] Issues: framedtext and tables inside itemized list

2005-08-30 Thread Eugene Toporov
Thanks, Hans!

To make it work I had to use your suggestion given in this lest earlier

\startlinecorrection 
\setlocalhsize \hsize\localhsize 
\startframedtext
...
\stopframedtext 
\stoplinecorrection

However, is there any chance to get an answer to my second question
about splitting natural tables placed inside itemized list? it is in
the original message for the thread. 
Any ideas?

Thanks in advance.On 8/29/05, Hans Hagen [EMAIL PROTECTED] wrote:
Mojca Miklavec wrote:Taco Hoekwater wrote:Yes, I think so. Something like \localtextwidth maybe.there is already \setlocalhsizeand \localhsize
Hans-Hans
Hagen | PRAGMA ADERidderstraat
27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl-___ntg-context mailing list
ntg-context@ntg.nlhttp://www.ntg.nl/mailman/listinfo/ntg-context-- Regards.Eugene Toporov
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] MathML to PDF

2005-08-30 Thread Elena Fraboschi
Dear All:

I write this with my tail between my legs, because I am positive that, if
I looked around in the archives etcetera, the information would be there.
So, with apologies (no laziness here, just inordinate haste), could anyone
drop me a URL or two that might answer the needs explained below?  No need
for anyone to waste time writing: just toss me the URL! :-)

What I need
===
The IUMJ abstracts are in MathML.  Sometimes we luck out and the rendition
is just fine.  Sometimes (for example, when using something as simple as
$\sqrt{2}$), the browsers ability to read perfect MathML is atrocious.
Solution:  use ConTeXt to convert MathML to perfect PDF's.  And the
best URL to learn and do just that is...

Many thanks, hope to contribute something soon, best, elena

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


Re: [NTG-context] MathML to PDF

2005-08-30 Thread Peter Rolf
Hi Elena,

I've never used mathml in context, but afaik you can just type/include
the mathml source in your context documents. See the docs at

http://context.aanhet.net/show-man-16.htm

at Taco's mirror (pragma is down?).


Taken from page 87 (89)...

\usemodule[mathml]

\starttext
\startXMLdata

math
  applycos/
cix/ci
  /apply
/math

\stopXMLdata
\stoptext


Hope that helps,

Peter


Elena Fraboschi wrote:
 Dear All:
 
 I write this with my tail between my legs, because I am positive that, if
 I looked around in the archives etcetera, the information would be there.
 So, with apologies (no laziness here, just inordinate haste), could anyone
 drop me a URL or two that might answer the needs explained below?  No need
 for anyone to waste time writing: just toss me the URL! :-)
 
 What I need
 ===
 The IUMJ abstracts are in MathML.  Sometimes we luck out and the rendition
 is just fine.  Sometimes (for example, when using something as simple as
 $\sqrt{2}$), the browsers ability to read perfect MathML is atrocious.
 Solution:  use ConTeXt to convert MathML to perfect PDF's.  And the
 best URL to learn and do just that is...
 
 Many thanks, hope to contribute something soon, best, elena
 
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context
 
 

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


[NTG-context] Help with \setuplayout[grid=yes]

2005-08-30 Thread Randall Skelton
Hi all,

Attached is an example showing my misunderstanding about grid
alignment. The attached works as expected when
\setuplayout[grid=no] is used or the 'Author table' is commented
out. The inclusion of the little table in the text is
really just to convince myself that I can have a table with the grid
enabled.

Any and all suggestions are greatly appreciated.

Cheers,
Randall


\showframe
%\showmakeup
%\showgrid

%%% Dimensions
\newdimen\PaperWidth \PaperWidth=8.5in
\newdimen\PaperHeight \PaperHeight=11.0in
\newdimen\TextWidth \TextWidth=5.5in
\newdimen\TextHeight \TextHeight=10.0in

\setuppapersize[letter][letter]
% paper size
\definepapersize[width=\PaperWidth,height=\PaperHeight]

\setuplayout
 [location=doublesided, % double-sided printing

grid=yes,
 WHY DOES THIS CAUSE AN ERROR?
 topspace=0.50in, % the space at the very top of the page
 backspace=1.5in, % the space in the gutter 
 header=0.75in, % the space for headers
 footer=0.50in, % the space for footers
 leftmargin=1in, % the space for margin notes
 rightmargin=1in, % the space for right margin notes
 width=\TextWidth, % the width of the body text
 height=\TextHeight] % the height of the body text

%%% Authors and Approvals
\def\AuthorsTitle{\midaligned{\sc{Authors and Approvals}}}

\def\startAuthors{%
 \blank[2*big]\AuthorsTitle\\\blank[2*big]%
 \hbox to \hsize\bgroup\hss\SetTableToWidth{6.5in}%
 \starttable[|c|c|c|c|c|]
 \HL
 \VL \VL Function\VL Name\VL Signature\VL Date\VL\SR\HL}

\def\stopAuthors{\stoptable\hss\egroup}

def\Author[#1]{%
 \getgparameters[Author][#1]%
 \doifundefined{AuthorRole}{\gdef\AuthorRole{Prepared by:}}%
 \doifundefined{AuthorFunction}{\gdef\AuthorFunction{-}}%
 \doifundefined{AuthorName}{\gdef\AuthorName{-}}%
 \doifundefined{AuthorSignature}{\gdef\AuthorSignature{}}%
 \doifundefined{AuthorDate}{\gdef\AuthorDate{-}}%
 \VL\AuthorRole \VL\AuthorFunction%
 \VL\AuthorName \VL\AuthorSignature%
 \VL\AuthorDate%
 \VL\SR\HL%
 \gdef\AuthorFunction{ }\gdef\AuthorName{ }%
 \gdef\AuthorSignature{ }\gdef\AuthorDate{ }%
 }

\starttext

%%% Start: Front 
\startfrontmatter

\startAuthors
 \Author
 [Role={Prepared by:},
 Function={Scientist},
 Name={John Smith},
 Date={2005-08-24}]
 \Author
 [Role={Checked by}:,
 Date={2005-08-24}]
 \Author
 [Role={Approved by:},
 Date={2005-08-24}]
\stopAuthors

%%% Stop: Front
\stopfrontmatter

%%% Start: Body 
\startbodymatter

\section{One}

\dorecurse{3}{\input knuth}

\starttable[|c|c|]
\HL
\VL One \VL Two \VL\FR
\VL Three \VL Four \VL\LR
\HL
\stoptable

\section{Two}

\dorecurse{4}{\input knuth}

%%% Stop: Body part
\stopbodymatter

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