Re: [NTG-context] Fwd: complicated layout - impostion

2010-08-17 Thread Honza Pohanka
Thank you for answer. I was aware about two document workaround, but can  
the same be done using only one document?


regards
Jan

Dne Mon, 09 Aug 2010 10:02:53 +0200 Willi Egger w.eg...@boede.nl  
napsal(a):



Hi Jan,

Indeed a demanding layout. --- As I see it, this will become a two step  
build:


Create two documents containing the recto layout and the verso layout.
   1st document made up with \setuparranging [2*4]
   2nd document made up with \setuparranging[2UP]

In the second step you can combine the two documents into one:

\starttext
   \insertpages [sample1.pdf][width=0pt]
   \insertpages [sample2.pdf][width=0pt]
\stoptext

Kind regards

Willi
Begin forwarded message:


Subject: [NTG-context] complicated layout - impostion
Date: Fri, 30 Jul 2010 12:00:29 +0200
From: Jan Pohanka xhpoha...@gmail.com
Reply-To: mailing list for ConTeXt users ntg-context@ntg.nl
To: ntg-context@ntg.nl ntg-context@ntg.nl

Hallo,
I need to create a document with complicated layout.

four A6 pages on one side of A4 sheet (two upper ones with bottom up)
two  A5 landscape pages on back side of A4 sheet (upper one with bottom  
up)


How can I reach this in Context please?
\setuppapersize[A6][A4]
\setuparranging[2*4]
This code works fine for A6 pages, but I'm not sure how to include also  
A5

landscape pages.

Whole work should end with a document similar to
http://www.eprona.com/kdp/data/skladacka2010.pdf

greetings Jan


--
Tato zpráva byla vytvořena převratným poštovním klientem Opery:
http://www.opera.com/mail/
___
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  : http://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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___



--
Tato zpráva byla vytvořena převratným poštovním klientem Opery:  
http://www.opera.com/mail/

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] MKIV and bib module

2010-06-09 Thread Honza Pohanka

Hallo,
I have discovered a problem with bib module in MKIV.
Using \completepublications command typesets only the heading and no bib  
items. Numbers in citations are missing too.

\placepublications and MKII works fine.


example

\enableregime[utf]
\mainlanguage[cz]
\input pdfr-def.mkii % glyph to unicode

\usemodule[bib]

\setupbibtex[database={stereo}]
\setuppublications[alternative=num,autohang=yes]
\setuppublicationlist[before=\blank]

\setupexternalfigures[directory=./img]


\starttext

bla \cite[moltonetal1998] bla \cite[andersonetal2007]

\setuppublications[alternative=ams]
\completepublications


\stoptext


--
Tato zpráva byla vytvořena převratným poštovním klientem Opery:  
http://www.opera.com/mail/

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MKIV and bib module

2010-06-09 Thread Honza Pohanka

This helps, thank you.
But another error.
Specifying  \setuppublicationlist[title={\section}]

causes following error for MKIV


(E:/context/tex/texmf-context/tex/context/bib/bibl-ams.tex)
! Argument of \dosetuplist has an extra }.
inserted text
\par
to be read again
   }
\doifelsenothing #1-\edef \!!stringa {#1}
  \ifx \!!stringa \empty  
\expandafte...

\docompletepublications ...istparameter \c!title }
   {\systemsuppliedchapter  
[...

l.153 \completepublications[criterium=all]


regards
Jan

Dne Wed, 09 Jun 2010 21:15:36 +0200 Aditya Mahajan adit...@umich.edu  
napsal(a):



On Wed, 9 Jun 2010, Honza Pohanka wrote:


Hallo,
I have discovered a problem with bib module in MKIV.
Using \completepublications command typesets only the heading and no  
bib items. Numbers in citations are missing too.

\placepublications and MKII works fine.


example

\enableregime[utf]
\mainlanguage[cz]
\input pdfr-def.mkii % glyph to unicode

\usemodule[bib]

\setupbibtex[database={stereo}]
\setuppublications[alternative=num,autohang=yes]
\setuppublicationlist[before=\blank]

\setupexternalfigures[directory=./img]


\starttext

bla \cite[moltonetal1998] bla \cite[andersonetal2007]

\setuppublications[alternative=ams]
\completepublications


\completepublications[criterium=all]

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___



--
Tato zpráva byla vytvořena převratným poštovním klientem Opery:  
http://www.opera.com/mail/

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \ldots

2010-05-20 Thread Honza Pohanka
Dne Thu, 20 May 2010 17:57:58 +0200 Aditya Mahajan adit...@umich.edu  
napsal(a):



On Thu, 20 May 2010, Jan Pohanka wrote:


Thanks for the reply,
it helped.

Exploring the math- files I found other questions.

What's the difference between \definemathsymbol and  
\definemathcharacter?


symbol are cs names (\something) that map to a font glyph.

characters are input character (any ascii/unicode value) that map to a  
font glyph


command is a cs name (\something) that maps to a TeX command  
(\somethingelse)


I expect that [punct] means punctuation character, but what the [inner]  
means?


inner is same as ord math class (see the TeX book). ConTeXt uses some  
symbol names which map back to mathclasses. See math-ini.mkii for a list  
(grep for \chardef\math...)



Where can I found what [xx] different characters need?


In the font :-) You can use (in MkII)

\loadmapfile[name.map]
\starttext
\showfont[full-name-of-font]
\stoptext

BTW, which math font are you using?



I played with Serapion from Storm foundry. Math is not complete there, but  
some glyphs (as \ldots) are present.



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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___



--
Tato zpráva byla vytvořena převratným poštovním klientem Opery:  
http://www.opera.com/mail/

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [NTG Context] Storm (Lido) font support seems to be broken in newer versions of MKII

2010-05-13 Thread Honza Pohanka

What does [mr] [mc] [ma] in mathcollection stands for?

Jan


Dne Thu, 13 May 2010 15:09:02 +0200 Hans Hagen pra...@wxs.nl napsal(a):


On 13-5-2010 2:53, Mojca Miklavec wrote:


(A note to Hans: the question was about MKII. One would need to
rewrite the whole typescript for MKIV, sure, but the first step might
be to fix the almost-working MKII.)


mostly stripping ... no encodings any more


\usetypescript[Lido][st1]
\setupbodyfont[Lido,12pt]


probably something with the filtering ... i don't remember drastic  
changes, but one never knows


Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___



--
Tato zpráva byla vytvořena převratným poštovním klientem Opery:  
http://www.opera.com/mail/

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [NTG Context] Storm (Lido) font support seems to be broken in newer versions of MKII

2010-05-12 Thread Honza Pohanka

Dne Thu, 06 May 2010 22:13:57 +0200 Hans Hagen pra...@wxs.nl napsal(a):


On 3-5-2010 10:09, Honza Pohanka wrote:

Hello,
the Storm font support by Vit Zyka is broken in actual version of MKII.
I spoke with him, but unfortunately he uses old version and does not
have the time for updates. I discovered that renaming the enco-*.tex
files to enco-*.mkii solves a part of the problem, but there still
remains an issue with math typesetting. Context does not know many
characters (\times, \neq, ...), boldmath etc. Typescripts looks OK and I
don't know enough to look deeper. Could anyone help?


aren't there open type storm fonts?


Yes, there are. Could you please give me an example of installing OpenType
font and creating corresponding typescript? I tried to do that but with no
succes. (otfinst is not working in windows).
What was changed in MKII that makes Vit's type1 support unusable? He uses
approximately two years old release?

Jan




Hans


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-



--
Tato zpráva byla vytvořena převratným poštovním klientem Opery:  
http://www.opera.com/mail/

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] \hfill at the end of line

2010-05-10 Thread Honza Pohanka

Hello,

I'd like add a word at the end of the last line of the paragraph. \hfill  
command works fine, when this word doesn't overflow to the next line. In  
that case the word stays on the next line but left aligned.



example

Zakreslete průběh na signálu TX při vyslání dvou znaků, které odpovídají  
vaším iniciálám. Jak dlouho bude tento proces trvat? (Předpokládejte  
rychlost 57600 Bd, 8 datových bitů, 1 stopbit.) \hfill (4 body)



greetings Jan

--
Tato zpráva byla vytvořena převratným poštovním klientem Opery:  
http://www.opera.com/mail/

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Columnset with defined height

2010-05-05 Thread Honza Pohanka

Hello,

is it possible to somehow define certain height of a columnset? I have  
tried to put it into the frame, but it does not work.
I'm trying to create a conference poster and I think it could be useful  
for it.


greetings
Jan


--
Tato zpráva byla vytvořena převratným poštovním klientem Opery:  
http://www.opera.com/mail/

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] [NTG Context] Storm (Lido) font support seems to be broken in newer versions of MKII

2010-05-03 Thread Honza Pohanka

Hello,
the Storm font support by Vit Zyka is broken in actual version of MKII. I  
spoke with him, but unfortunately he uses old version and does not have  
the time for updates. I discovered that renaming the enco-*.tex files to  
enco-*.mkii solves a part of the problem, but there still remains an issue  
with math typesetting. Context does not know many characters (\times,  
\neq, ...), boldmath etc. Typescripts looks OK and I don't know enough to  
look deeper. Could anyone help?


greetings Jan


--
Tato zpráva byla vytvořena převratným poštovním klientem Opery:  
http://www.opera.com/mail/

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] right aligned footnote

2010-04-29 Thread Honza Pohanka
Thanks for the answer, but it does not work. I tried MKII and MKIV. Text  
is still on the left.


min example

\setupoutput[pdftex]

\starttext

\setupfootnotes[location=page]
\setupnotedefinition[footnote][location=right,align=flushright]
a\footnotetext{blabla}
b\footnotetext{bububu}

\stoptext


Dne Thu, 22 Apr 2010 15:58:37 +0200 Wolfgang Schuster  
schuster.wolfg...@googlemail.com napsal(a):



Am 20.04.10 23:16, schrieb Honza Pohanka:

Hello,

I can't find out, how to place footnote on the right side of the page.

\setupfootnotes[location=page]
\setupnotedefinition[footnote][location=right]

This places the number on the right, but the text remains on the left.

\setupnotedefinition[footnote][location=right,align=flushright]

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___



--
Tato zpráva byla vytvořena převratným poštovním klientem Opery:  
http://www.opera.com/mail/

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] packed itemize and beforehead

2010-04-20 Thread Honza Pohanka

Following construction does not work for me.

\setupitemize[each][packed][beforehead={}]

Is there any possibility to suppress the vertical space around \head in  
packed itemize?

(latest MKII)

greetings Jan


--
Tato zpráva byla vytvořena převratným poštovním klientem Opery:  
http://www.opera.com/mail/

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] right aligned footnote

2010-04-20 Thread Honza Pohanka

Hello,

I can't find out, how to place footnote on the right side of the page.

\setupfootnotes[location=page]
\setupnotedefinition[footnote][location=right]

This places the number on the right, but the text remains on the left.


greetings
Jan

--
Tato zpráva byla vytvořena převratným poštovním klientem Opery:  
http://www.opera.com/mail/

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Grid typesetting, colums and vertical spacing

2010-04-19 Thread Honza Pohanka

Hello,

I'm trying to typeset on the grid, but I also need to reduce vertical  
spacing around headings. Unfortunately when i specify the 'before/after'  
setting for head, grid typesetting fails.

Is there any option to make \blank more flexible?
(I'm using MKII)

example:


\setupoutput[pdftex]

\setuppapersize[A4,landscape][A4,landscape]
\setuplayout[backspace=0.5cm,topspace=0.5cm,top=0cm,footer=0.5cm,
 width=middle,height=middle,margin=0cm,header=0cm]

\setupbodyfont[10pt]

\mainlanguage[cz]
\enableregime[utf8]

\setuppagenumbering[location=]

\setuphead[section][style={\bf}]
\setuphead[section][before={\blank[halfline,flexible]}] % not working well
% \setuphead[section][after={\blank[halfline,flexible]}] % not working well


\starttext

\setuplayout[grid=yes] \showgrid
\definecolumnset[my][n=4,distance=1.2em,balance=yes] % balance not work

\startcolumnset[my]

\section{Pokus}
\input knuth
\input knuth
\subsection{Pokus 2}
\input knuth
\input knuth
\input knuth
\subsection{Pokus 3}
\input knuth

\stopcolumnset

\stoptext


greetings
Jan


--
Tato zpráva byla vytvořena převratným poštovním klientem Opery:  
http://www.opera.com/mail/

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] regenerate database

2010-04-09 Thread Honza Pohanka

Hello,

which command regenerates the file database, please? I'm trying to add  
type-my.tex file to texmf-local tree in Context minimals. I found that  
luatools --generate should do that job, but it does not work for me.


regards Jan


--
Tato zpráva byla vytvořena převratným poštovním klientem Opery:  
http://www.opera.com/mail/

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Context and psfrag

2010-04-07 Thread Honza Pohanka

Hello,
is there please any equivalent for LaTeX psfrag package (it can replace  
the text in eps images)?



greetings
Jan Pohanka
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Indent of heading when using command option

2010-04-05 Thread Honza Pohanka
Dne Mon, 05 Apr 2010 14:06:52 +0300 Wolfgang Schuster  
schuster.wolfg...@googlemail.com napsal(a):



Am 05.04.10 10:54, schrieb Jan Pohanka:

Hello,

I have following code (simplified)

\def\mySubject#1{#1}
\setuphead[subject][style=\bfb\ss,color=HeadColor,before=,after=,textcommand={\mySubject}]  
When the command option is not set it works as expected and typeset the  
heading (subject) without any indenting, but using the command causes  
the small horizontal space in front of the subject. Is there any  
possibility to get rid of it?

Learn to make a minimal example, with this I can't see what you mean.

\def\mySubject#1{#1}

\setuphead
   [subject]
   [style=\bfb\ss,
color=HeadColor,
before=,
after=,
textcommand={\mySubject}]

\showframe
\starttext
\subject{Text}
\stoptext

Wolfgang


Sorry for unclear question, I have already find the solution. I  
missunderstood the \def macro.

\def\mySubject#1{#1} works fine

\def\mySubject#1{
#1
}
causes problems

Jan



___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___



--
Tato zpráva byla vytvořena převratným poštovním klientem Opery:  
http://www.opera.com/mail/

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___