[NTG-context] Russian hyphenation how to use?

2006-07-23 Thread Arkady Shraer
Hello,

Recently, I made lang-ru.hyp and lang-ru.pat files from TeX's ruhyphal.tex .
I read Hans' Hyphenation patterns and didn't understand how to use
my patterns to enable hyphenation (btw, in manual used key --patterns
but in current ctxtools used --patternfiles)

What I've done:
1. Created lang-ru.hyp (UTF-8) and lang-ru.pat (UTF-8) from TeX's
ruhyphal.tex by hands (ctxtools generated patterns, but russian and
ukrainian didn't)
2. Copied files to directory with other languages' patterns
3. texexec --make --all (get an error while compiling lang-cyr.tex
. undefined sequence)
4. in tex file used \language[ru]
5. Still don't have my text hyphenated.

What I do wrong? Should I upgrade my ConTeXt to recent version?
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Question on Itemize

2006-07-23 Thread Helin Gai
Hi,

I tried to play with \setupitemize, and I can't figure out what the  
key distance actually does.
For example, the following two lines seem to produce the same effect:

\setupitemize[each][packed][width=20pt,distance=15pt]
\setupitemize[each][packed][width=20pt,distance=5pt]

Can someone please give me a hint?
Thanks!

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


Re: [NTG-context] Margin Kerning Problem

2006-07-23 Thread Alan Bowen
Colin—

I think \setupalign has to come before \setupbodyfont is defined. Try

\setupalign[hz,hanging]

\usetypescript[cmr]

\setupfontsynonym[cmr10][handling=hz]

\setupfontsynonym[Serif][handling=hz]

\setupbodyfont[cmr,10pt]

Alan


On Jul 23, 2006, at 9:54 AM, Helin Gai wrote:

 Hi,

 I used the following code to set up margin kerning:

 \setupfontsynonym[cmr10][handling=hz]
 \setupfontsynonym[Serif][handling=hz]
 \usetypescript[cmr]
 \setupbodyfont[cmr,10pt]
 \setupalign[hz,hanging]

 Can someone please tell me what is going wrong?
 Thanks!!

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


Re: [NTG-context] Margin Kerning Problem

2006-07-23 Thread Helin Gai
Hi Alan,

Thanks for the reply. But it doesn't seem to work either.

Colin

On Jul 23, 2006, at 10:40 PM, Alan Bowen wrote:

 Colin—

 I think \setupalign has to come before \setupbodyfont is defined. Try

 \setupalign[hz,hanging]

 \usetypescript[cmr]

 \setupfontsynonym[cmr10][handling=hz]

 \setupfontsynonym[Serif][handling=hz]

 \setupbodyfont[cmr,10pt]

 Alan


 On Jul 23, 2006, at 9:54 AM, Helin Gai wrote:

 Hi,

 I used the following code to set up margin kerning:

 \setupfontsynonym[cmr10][handling=hz]
 \setupfontsynonym[Serif][handling=hz]
 \usetypescript[cmr]
 \setupbodyfont[cmr,10pt]
 \setupalign[hz,hanging]

 Can someone please tell me what is going wrong?
 Thanks!!

 Colin
 ___
 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 mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] scaling reusableMPgraphic some ConTeXt programming

2006-07-23 Thread Mojca Miklavec
Hello,

the answers to these three questions are most probably one-liners, but
I don't know which ones ;)

1. How can I scale (an already defined) reusableMPgraphic? Simplified
example of what I currently (want to) have:

% how should I change this definition?
\def\usemygraphic[#1][#2]{\reuseMPgraphic{#1}}
\usemygraphic[name][width=.7\textwidth]


2. I have several graphics defined as

\startGNUPLOTgraphic[1][name]
draw fullcircle scaled 3cm withcolor .625red;
\stopGNUPLOTgraphic
\startGNUPLOTgraphic[2][name]
draw fullcircle scaled 3cm withcolor .625green;
\stopGNUPLOTgraphic
\startGNUPLOTgraphic[3][name]
draw fullcircle scaled 3cm withcolor .625blue;
\stopGNUPLOTgraphic

\startGNUPLOTgraphic[1][othername]
fill fullcircle scaled 3cm withcolor .625red;
\stopGNUPLOTgraphic
\startGNUPLOTgraphic[2][othername]
fill fullcircle scaled 3cm withcolor .625green;
\stopGNUPLOTgraphic

and a pretty stupid definition:

\long\def\startGNUPLOTgraphic
{\dodoubleargument\dostartGNUPLOTgraphic}

\long\def\dostartGNUPLOTgraphic[#1][#2]#3\stopGNUPLOTgraphic % [number][name]
{% add to counter to note the nuber of the graphic
 % define a new counter for the first time when you use it
 \doif{#1}{1}{\doglobal\newcounter\abc}% counter name has to depend on 
#2
 \doglobal\increment\abc % assigning the value #1 to it would also be OK
 \startreusableMPgraphic{gpg:#2:#1}#3\stopreusableMPgraphic}

How can I give a better name than \abc to the counter (the name should
depend on #2 in order to be unique)?


3. I would like to change \usemygraphic, so that
\usemygraphic[othername] or \usemygraphic[othername][height=5cm] would
resolve to
\dorecurse{2}{\useMPgraphic{gpg:othername:\recurselevel}}
and \usemygraphic[name][n={1,3},width=8cm] (syntax might be different
if necessary) to
\reuseMPgraphic{gpg:name:1}
\reuseMPgraphic{gpg:name:3}
(with proper scaling if possible).

How should I start?

Thank you a lot for any hints,
Mojca Miklavec
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Russian hyphenation how to use?

2006-07-23 Thread Mojca Miklavec
On 7/23/06, Arkady Shraer wrote:
 Hello,

 Recently, I made lang-ru.hyp and lang-ru.pat files from TeX's ruhyphal.tex .
 I read Hans' Hyphenation patterns and didn't understand how to use
 my patterns to enable hyphenation (btw, in manual used key --patterns
 but in current ctxtools used --patternfiles)

 What I've done:
 1. Created lang-ru.hyp (UTF-8) and lang-ru.pat (UTF-8) from TeX's
 ruhyphal.tex by hands (ctxtools generated patterns, but russian and
 ukrainian didn't)
 2. Copied files to directory with other languages' patterns
 3. texexec --make --all (get an error while compiling lang-cyr.tex
 . undefined sequence)

Which one was undefined?

 4. in tex file used \language[ru]
 5. Still don't have my text hyphenated.

copy cont-usr.ori into cont-usr.tex and uncomment the line
% \installlanguage [\s!ru] [\c!state=\v!start] % russian

 What I do wrong? Should I upgrade my ConTeXt to recent version?

The version may not be more than 2 months old (so yes, take that as
it has to be the latest one).

(Try ctxtools --update. If that one doesn't work your version
probably is too old. Download cont-tmf.zip, unzip and replace the old
files and do texexec --make --all.)

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


Re: [NTG-context] Margin Kerning Problem

2006-07-23 Thread Mojca Miklavec
On 7/23/06, Helin Gai wrote:
 Hi,

 I used the following code to set up margin kerning:

 \setupfontsynonym[cmr10][handling=hz]
 \setupfontsynonym[Serif][handling=hz]
 \usetypescript[cmr]
 \setupbodyfont[cmr,10pt]
 \setupalign[hz,hanging]

 Can someone please tell me what is going wrong?
 Thanks!!

Does the recipe on
http://wiki.contextgarden.net/Protrusion#Use_with_Latin_Modern help
you?

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


[NTG-context] definesynonyms

2006-07-23 Thread Bernd Militzer
Hi all,


for a large ancestor-project I defined a set of informations for a  
lot of persons like you can see below.

QUESTION: how many synonyms  can I  max. define? I need about 4000 defs.

or has someone a better idea to handle those informations.

thanks for help!

Bernd


% -- snip
%
\definesynonyms[PID][PIDs][\doGetPID]

\PID{Fam268}{Rudolph}
\PID{Nam268}{Rudluffen}
\PID{Vor268}{Adam}
\PID{Ruf268}{Adam}
\PID{Geb268}{k.A.}
\PID{GebOrt268} {Oberkoskau}
\PID{Tau268}{19. Mai 1725}
\PID{TauOrt268} {Unterkoskau}
\PID{Hei268}{17. November 1755}
\PID{HeiOrt268} {Willersdorf}
% \PID{Amt268}  {}
% \PID{AmtOrt268}   {}
\PID{Tod268}{14. Februar 1781}
\PID{TodOrt268} {Oberkoskau}
\PID{Alt268}{55 Jahre, 9 Monate, 3 Tage}
\PID{Urs268}{nach dreitägiger Krankheit}
\PID{Grab268}   {14. Februar 1781}
\PID{GrabOrt268}{Unterkoskau}
\PID{Ber268}{Müller}
\PID{Zus268}{Besitzer der Obermühle}
%
\PID{Fam2112}   {Militzer}
\PID{Nam2112}   {Mielitzer}
\PID{Vor2112}   {Adam}
\PID{Ruf2112}   {Adam}
\PID{Geb2112}   {k.A.}
\PID{GebOrt2112}{Unterkoskau}
\PID{Tau2112}   {16. November 1670}
\PID{TauOrt2112}{Unterkoskau}
\PID{Hei2112}   {21. Mai 1694}
\PID{HeiOrt2112}{Unterkoskau}
% \PID{Amt2112} {}
% \PID{AmtOrt2112}  {}
\PID{Tod2112}   {27. Juni 1699}
\PID{TodOrt2112}{Unterkoskau}
\PID{Alt2112}   {28 Jahre, 6 Monate, 21 Tage}
\PID{Urs2112}   {k.A}
\PID{Grab2112}  {k.A.}
\PID{GrabOrt2112}   {Unterkoskau}
\PID{Ber2112}   {k.A.}
\PID{Zus2112}   {Epidemie im Jahr 1699, da viele Todesf‰lle}
%
%
% Familienname, Vorname(n) (000)
\def\getPID#1{\doGetPID{Fam#1}, \doGetPID{Vor#1}~(#1)}
\def\titPID#1{{\it \doGetPID{Fam#1}, \doGetPID{Vor#1}~(#1)}}
% für Überschriften
\def\getPIDGeb#1{\doGetPID{Fam#1}, \doGetPID{Vor#1}~(#1) -- Geburt}
\def\getPIDHei#1{\doGetPID{Fam#1}, \doGetPID{Vor#1}~(#1) -- Heirat}
\def\getPIDTod#1{\doGetPID{Fam#1}, \doGetPID{Vor#1}~(#1) -- Tod}
%
\def\getGeburt#1{\doGetPID{Geb#1}} % Geburtsdatum
\def\getGebOrt#1{\doGetPID{GebOrt#1}}
\def\getTaufe#1{\doGetPID{Tau#1}} % Taufdatum
\def\getTauOrt#1{\doGetPID{TauOrt#1}}
\def\getHeirat#1{\doGetPID{Hei#1}} % Kirchliche Heirat
\def\getHeiOrt#1{\doGetPID{HeiOrt#1}}
\def\getAmt#1{\doGetPID{Amt#1}} % Standesamtliche Heirat
\def\getAmtOrt#1{\doGetPID{AmtOrt#1}}
\def\getTod#1{\doGetPID{Tod#1}} % Sterbedatum
\def\getTodOrt#1{\doGetPID{TodOrt#1}}
\def\getUrsache#1{\doGetPID{Urs#1}} % Todesursache
\def\getAlter#1{\doGetPID{Alt#1}} % Alter bei Tod
\def\getGrab#1{\doGetPID{Grab#1}} % Datum des Begräbnisses
\def\getGrabOrt#1{\doGetPID{GrabOrt#1}}
\def\getBeruf#1{\doGetPID{Ber#1}} % Beruf
\def\getZusatz#1{\doGetPID{Zus#1}} % Zusatzinformation
%
% Vorname(n) Familienname
\def\getNamen#1{\doGetPID{Vor#1}~\doGetPID{Fam#1}}
\def\titNamen#1{{\it \doGetPID{Vor#1}~\doGetPID{Fam#1}}}
%
\def\getNameN#1{\doGetPID{Vor#1}~\doGetPID{Fam#1}~(#1)}
\def\titNameN#1{{\it \doGetPID{Vor#1}~\doGetPID{Fam#1}}~(#1)}
%
%
% Familienname
\def\getFamilie#1{\doGetPID{Fam#1}}
\def\titFamilie#1{{\it \doGetPID{Fam#1}}}
% Geburtsname (exakte Schreibweise)
\def\getExakt#1{\doGetPID{Nam#1}}
\def\titExakt#1{{\it \doGetPID{Nam#1}}}
% Vorname
\def\getVor#1{\doGetPID{Vor#1}}
\def\titVor#1{{\it \doGetPID{Vor#1}}}
%
\def\getRuf#1{\doGetPID{Ruf#1}}
\def\titRuf#1{{\it \doGetPID{Ruf#1}}}
%
%
\starttext

Testtext\crlf
\getNamen{2112}\ starb am \getTod{2112} im Alter von \getAlter{2112}n  
in \getTodOrt{2112}.

\stoptext


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


Re: [NTG-context] Margin Kerning Problem

2006-07-23 Thread Alan Bowen
Colin—

Sorry: what I indicated would work for any font but  Latin/Computer  
Modern.

This works at my end.

\enableregime[mac]
\mainlanguage[en]

  Margin Kerning and Font Expansion
\usetypescript[serif,sans,mono,mm][hanging][normal]
\setupalign[hz,hanging]
\setupfootnotes[align={hz,hanging}]

  Default Encoding
\setupencoding[default=texnansi]

% install Latin Modern
% install margin kerning before the font is loaded: since Latin is
% loaded before font definitions, load it again

\starttypescript[serif][default][size]
   \definebodyfont[9.5pt,10.5pt][rm][default]
   \definebodyfont[9.5pt,10.5pt][mm][default]
\stoptypescript

On Jul 23, 2006, at 10:43 AM, Helin Gai wrote:

 Hi Alan,

 Thanks for the reply. But it doesn't seem to work either.

 Colin

 On Jul 23, 2006, at 10:40 PM, Alan Bowen wrote:

 Colin—

 I think \setupalign has to come before \setupbodyfont is defined. Try

 \setupalign[hz,hanging]

 \usetypescript[cmr]

 \setupfontsynonym[cmr10][handling=hz]

 \setupfontsynonym[Serif][handling=hz]

 \setupbodyfont[cmr,10pt]

 Alan


 On Jul 23, 2006, at 9:54 AM, Helin Gai wrote:

 Hi,

 I used the following code to set up margin kerning:

 \setupfontsynonym[cmr10][handling=hz]
 \setupfontsynonym[Serif][handling=hz]
 \usetypescript[cmr]
 \setupbodyfont[cmr,10pt]
 \setupalign[hz,hanging]

 Can someone please tell me what is going wrong?
 Thanks!!

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


Re: [NTG-context] Russian hyphenation how to use?

2006-07-23 Thread Arkady Shraer
I spent some time and decided to start from the beginning:
1. I deleted all old ConTeXt files from my tetex distribution.
2. Unzipped recent cont-tmf into texmf-local analog in my system.
3. Unzipped recent font metrics to appropriate folder
4. texexec --make --all   runs perfectly
5. texexec --make --language=ru  runs without errors
6. When I try to texexec --pdf --language=ru anyfile.tex
I get errors, e.g. font metrics ec-lmr12 can't be found etc...(I
can attach full log and source file)

So I can't compile any tex file with ConTeXt even in English. Maybe
I'm just unlucky :)

2006/7/23, Mojca Miklavec [EMAIL PROTECTED]:
 On 7/23/06, Arkady Shraer wrote:
  Hello,
 
  Recently, I made lang-ru.hyp and lang-ru.pat files from TeX's ruhyphal.tex
 .
  I read Hans' Hyphenation patterns and didn't understand how to use
  my patterns to enable hyphenation (btw, in manual used key --patterns
  but in current ctxtools used --patternfiles)
 
  What I've done:
  1. Created lang-ru.hyp (UTF-8) and lang-ru.pat (UTF-8) from TeX's
  ruhyphal.tex by hands (ctxtools generated patterns, but russian and
  ukrainian didn't)
  2. Copied files to directory with other languages' patterns
  3. texexec --make --all (get an error while compiling lang-cyr.tex
  . undefined sequence)

 Which one was undefined?

  4. in tex file used \language[ru]
  5. Still don't have my text hyphenated.

 copy cont-usr.ori into cont-usr.tex and uncomment the line
 % \installlanguage [\s!ru] [\c!state=\v!start] % russian

  What I do wrong? Should I upgrade my ConTeXt to recent version?

 The version may not be more than 2 months old (so yes, take that as
 it has to be the latest one).

 (Try ctxtools --update. If that one doesn't work your version
 probably is too old. Download cont-tmf.zip, unzip and replace the old
 files and do texexec --make --all.)

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


Re: [NTG-context] Question on Itemize

2006-07-23 Thread dwarnold45
width is the size of the box containing the item number

distance is the distance between the item number box and the beginning of the 
text of the item.


 Helin Gai [EMAIL PROTECTED] wrote: 
 Hi,
 
 I tried to play with \setupitemize, and I can't figure out what the  
 key distance actually does.
 For example, the following two lines seem to produce the same effect:
 
 \setupitemize[each][packed][width=20pt,distance=15pt]
 \setupitemize[each][packed][width=20pt,distance=5pt]
 
 Can someone please give me a hint?
 Thanks!
 
 Colin
 ___
 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


Re: [NTG-context] Charts, Graphs, Tufte, and ConTeXt

2006-07-23 Thread Sanjoy Mahajan
Hans writes:
 fyi: there is a new tufte book (don't have it yet but i'm told that it's 
 nice too)

It's _Beautiful Evidence_ (2006) and it is beautiful.  I think it was
typeset in Quark.  A few pages from the book, as well some of Tufte's
updates on the book's production, are here:

http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=000262topic_id=1

Can TeX/LaTeX/ConTexT-based typesetting can look as good?  Perhaps!
Towards the end of this thread
http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=hB,
there are well-designed documents typeset with LaTeX.  With MetaPost
they would look even better.  Maybe the ConTeXt community should add
to the thread examples of beautiful ConTeXt/Meta(Fun|Post)
documents...

-Sanjoy

`Never underestimate the evil of which men of power are capable.'
 --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] sorting list

2006-07-23 Thread Hans van der Meer
Some things I do not understand about sorting:This is the example:\def\sortprocess#1{{\bf #1}}\definesorting[city][cities][\callupcities]\setupsorting[city][criterium=all,command=\sortprocess]\city{Londen}\city{Berlijn}\city{New York}\city{Parijs}\city{Amstelveen}\placelistofcities\callupcitiesquestion 1. The manual states (p.163) "When we add a command in the third argument during the definition of the sorted list we may recall sorted list with this command."However \callupcities gives me this error:Runaway argument?! Paragraph ended before \callupcities was complete.to be read again                    \par question 2. The command \sortprocess does work, the items are in bold. But they now are typeset next to one another instead of each one on a line by itself, as occurs without command=\sortprocess on the setup.Hans van der Meer ___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Fleurons

2006-07-23 Thread John R. Culleton
On Thursday 02 June 2005 18:25, Hartmut Henkel wrote:
 On Thu, 2 Jun 2005, John R. Culleton wrote:
  (K.I.S.S. = Keep it simple silly.)

 wasn't the 2nd S. stupid?

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

A late response:

Yes, but I try to be nice. I never know whose help I may need
someday :)
-- 
John Culleton
Able Indexing and Typesetting


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


[NTG-context] sorting commalist?

2006-07-23 Thread Hans van der Meer
In the article "Context System macros, part1: general macros" there are all sorts of interesting and useful macros. Among these I have set my eye on the processing of commalists.Question: is there a context macro that takes a commalist (either in a token register or \the\tokenregister form) that returns a sorted commalist (ascending or descending doesnt matter to me for the moment).If someone will be so kind to point one out to me. A scan through the sources didn't bring an obvious candidate to my attention although I feel there must be one, but I may overlooking it. Hans van der Meer ___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Charts, Graphs, Tufte, and ConTeXt

2006-07-23 Thread Idris Samawi Hamid
Hi Sanjoy,

On Sun, 23 Jul 2006 11:48:07 -0600, Sanjoy Mahajan [EMAIL PROTECTED]  
wrote:

 It's _Beautiful Evidence_ (2006) and it is beautiful.  I think it was
 typeset in Quark.  A few pages from the book, as well some of Tufte's
 updates on the book's production, are here:

 http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=000262topic_id=1

 Can TeX/LaTeX/ConTexT-based typesetting can look as good?  Perhaps!

I'm curious: What is preventing ConTeXt in particular from looking this  
good?
What is the basis of your Perhaps!? What's missing?

Best
Idris

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Charts, Graphs, Tufte, and ConTeXt

2006-07-23 Thread Sanjoy Mahajan
  Can TeX/LaTeX/ConTexT-based typesetting can look as good?  Perhaps!

 I'm curious: What is preventing ConTeXt in particular from looking
 this good?  What is the basis of your Perhaps!? What's missing?

Mostly my lack of skill with ConTeXt, but the experts could say for
sure.  A likely trouble spot is automatic figure placement.
Positioning involves compromising competing criteria: keep figures
next to the text that references them (the ideal), but it may not fit.
So failing that, keep it on the same page, or at least on the same
double-page spread.  Otherwise, on the next page.  

But where you put one figure will affect the placement of later
figures.  And maybe you paint yourself into a corner, and would like
to backtrack and sacrifice excellent earlier placements in order to
minimize terrible placements now...

So the engine should typeset a document one chapter at a time (figures
should never cross chapter boundaries).  TeX does one page and a bit
at a time, so fully automatic placement is difficult to program (and
always tricky to use since it involves lots of hinting).

Instead of doing it automatically, you can give a lot of help to the
program, which is probably what you have to do with Quark.

-Sanjoy

`Never underestimate the evil of which men of power are capable.'
 --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Russian hyphenation how to use?

2006-07-23 Thread Mojca Miklavec
On 7/23/06, Arkady Shraer wrote:
 I spent some time and decided to start from the beginning:
 1. I deleted all old ConTeXt files from my tetex distribution.
 2. Unzipped recent cont-tmf into texmf-local analog in my system.
 3. Unzipped recent font metrics to appropriate folder
 4. texexec --make --all   runs perfectly
 5. texexec --make --language=ru  runs without errors
 6. When I try to texexec --pdf --language=ru anyfile.tex
 I get errors, e.g. font metrics ec-lmr12 can't be found etc...(I
 can attach full log and source file)

If you can't compile english documents, the source wouldn't help much,
but the full log in attachment might.

This might have nothing to do with your problem, but it might be
sensible to try to use texmfstart texexec.rb instead of the old perl
script.

You need to create an executable texmfstart (in the bin folder of
course) with content
ruby path-to-context-ruby-scripts/texmfstart.rb,
and add the content of [texmf]/scripts/context/stubs/unix
to some place in PATH

Please ask if you have more questions about it (I'm a bit too short  cryptic).

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