[NTG-context] Context and Reftex

2005-12-12 Thread David Arnold

All,

I assume that reftex does not work with context? Correct?

Is there a management system for references in Context that is  
similar to Reftex?


David


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


Re: [NTG-context] A very little error in texmf.cnf

2005-12-12 Thread Hans Hagen

Nicolas Grilly wrote:


There is a very little error in file /tex/texmf-local/web2c/texmf.cnf.
 
This file is contained in archive justtex.zip downloaded from Pragma 
web site.
 
It lacks a S after TEXMFPROJECT in definition of TEXMF :
 
TEXMF = 
{!!$TEXMFPROJECTS,!!$TEXMFFONTS,!!$TEXMFLOCAL,!!$TEXMFEXTRA,!!$TEXMFMAIN}



eh ... why should that be plural?

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


Re: [NTG-context] A very little error in texmf.cnf

2005-12-12 Thread Taco Hoekwater

Hans Hagen wrote:

Nicolas Grilly wrote:


There is a very little error in file /tex/texmf-local/web2c/texmf.cnf.
 
This file is contained in archive justtex.zip downloaded from Pragma 
web site.
 
It lacks a S after TEXMFPROJECT in definition of TEXMF :
 
TEXMF = 
{!!$TEXMFPROJECTS,!!$TEXMFFONTS,!!$TEXMFLOCAL,!!$TEXMFEXTRA,!!$TEXMFMAIN}


eh ... why should that be plural?


It should agree with this line, surely:

  TEXMFPROJECTS = $SELFAUTOPARENT/texmf-projects


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


Re: [NTG-context] Re: mfonts.tex from manuals

2005-12-12 Thread Taco Hoekwater

Mojca Miklavec wrote:

piskala upendran wrote:

Thank you very much. I replaced
\usetypescriptfile[type-buy]
with
\usetypescript [adobekb][\defaultencoding]
which finally worked.

Installing cont-fnt as Hans suggested didn't have any influence at all.


The problem is caused by the (no longer valid) Palatino = uplXXX
mapping in type-dis.tex (current distributions only ship the URW
metrics under the Adobe name, not using the URW naming).

Those mappings will go away soon, and then this will be no longer
a problem.


It may be that MikTeX is a bit old (27.10.), but there is no newer
version available yet, so I hope that the problem will go away with
the next version.


Yes, the problem will go away. It was fixed in the 2005.11.24 or so.

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


Re: [NTG-context] bold \tt and pdf-output

2005-12-12 Thread Taco Hoekwater

Peter Münster wrote:


And there are a lot more.
If someone does not want bold tt in lm, then there could be a switch like
\nobftt.

Nevertheless: thanks for your suggestions, they work very well!

Cheers, Peter

P.S.: Any comments about bold small caps?


Latin Modern doesn't have a bold small caps (yet?), I think.

Taco


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


Re: [NTG-context] A very little error in texmf.cnf

2005-12-12 Thread Hans Hagen

Taco Hoekwater wrote:


Hans Hagen wrote:


Nicolas Grilly wrote:

There is a very little error in file 
/tex/texmf-local/web2c/texmf.cnf.
 
This file is contained in archive justtex.zip downloaded from 
Pragma web site.
 
It lacks a S after TEXMFPROJECT in definition of TEXMF :
 
TEXMF = 
{!!$TEXMFPROJECTS,!!$TEXMFFONTS,!!$TEXMFLOCAL,!!$TEXMFEXTRA,!!$TEXMFMAIN} 




eh ... why should that be plural?



It should agree with this line, surely:

  TEXMFPROJECTS = $SELFAUTOPARENT/texmf-projects


ah, then that one should be singular (i always set that one in other 
setup scripts)


TEXMFPROJECT = $SELFAUTOPARENT/texmf-project

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


Re: [NTG-context] modes in newtexexec

2005-12-12 Thread Hans Hagen

Johan Sandblom wrote:


Hello.

Doing

texmfstart texexec

now appears to call newtexexec. However, newtexexec does not seem to
handle --mode at all. Is it coming? Should I set it up so I can call
texexec directly in order to use modes?
 

i ran into that as well, it does recognize the modes (plural) option; 
the problem is (was since i fixed it) in


--modes
--modefile

and mode got resolved to modefile

Hans

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


Re: [NTG-context] Is conTeXt good for book writing?

2005-12-12 Thread Idris Samawi Hamid

Hi Leon,

In general, I think there can be no doubt that ConTeXt is much more  
flexible than LaTeX for book writing, although the latter is far more  
well-known. LaTeX has a package, memoir, that makes LaTeX much better for  
book writing, but I still prefer ConTeXt because of its much more  
integrated and consistent user interface overall.


As for documentation, start here:

http://www.pragma-ade.com/show-man-1.htm

BTW: I mainly typeset books and journals, came from LaTeX, and will never  
go back if I can help it...


Best
Idris

On Sat, 10 Dec 2005 10:47:24 -0700, leon [EMAIL PROTECTED] wrote:


I'm completely new to conTeXt though I've heard enough good thing about
it. Now I have a chance to write a book. I'm wondering is it more
effective to write in conTeXt than LaTeX given I'm new to both. Can you
point out some help document that can start me off?


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


[NTG-context] Tex drawing tool

2005-12-12 Thread Boris Pedrofiets

Hi guys,

I run into a drawing tool, capable of generating metapost. It's on 
http://tpx.sourceforge.net/ . It looks great to me, soo I like to share this 
with you all!


Has anyone got any experiance with it?

B.

_
Een audiogesprek? Pak Messenger, niet de telefoon 
http://www1.imagine-msn.com/Messenger/Video.aspx


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


Re: [NTG-context] bold \tt and pdf-output

2005-12-12 Thread Hans Hagen

� wrote:


On Tue, 6 Dec 2005, Hans Hagen wrote:

 


automatically.
Test-file:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\begin{document}
\texttt{Normal and \textbf{bold Type-Writer}}
\end{document}


 


not automatically, you have to ask for it: \usepackage{lmodern}
   



Hi Hans,

ok, you're right. What I meant: after loading lm, no further work is needed
to get bold tt.

 

sure, but it would break compatibility (unless everyone agrees upon  
having bold tt  enabled by default);  latex has different compatibility 
rules  (and does not default to latin modern)



But they are not so bold as the cmbtt ones. Anyway: how could the dark lmtt
font be activated in ConTeXt and could this be included in the
distribution?


 

by default, context loads the cmr fonts with design sizes, nowadays 
replaced by their latin modern alternative


in order to be backward compatible (although one can dispute the 
neccessity of this) the dark etc variants are not used
   



In fact, you are never backward compatible. Just an example:
\setupindenting[medium] is now \setupindenting[medium]
And there are a lot more.
 

hm, not that many i hope; concerning the indenting, that was basically a 
merge of two commands [and the auto yes was a bug]



If someone does not want bold tt in lm, then there could be a switch like
\nobftt.

Nevertheless: thanks for your suggestions, they work very well!
 


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


Re: [NTG-context] fonts

2005-12-12 Thread Hans Hagen

Alan Bowen wrote:


Warning: pdfetex (file qx-bitstream-vera.map): cannot open font map file
and then complaints about not being able to create a long list of 
bitmap fonts,�when I try to compile your vera-test.tex.



do you need qx? (eastern european languages)

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


[NTG-context] Tex drawing tool

2005-12-12 Thread Boris Pedrofiets

Hi guys,

I run into a drawing tool, capable of generating metapost. It's on 
http://tpx.sourceforge.net/ . It looks great to me, soo I like to share this 
with you all!


Has anyone got any experiance with it?

B.

_
Een audiogesprek? Pak Messenger, niet de telefoon 
http://www1.imagine-msn.com/Messenger/Video.aspx


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


Re: [NTG-context] bold \tt and pdf-output

2005-12-12 Thread Vit Zyka

Taco Hoekwater wrote:

Peter Münster wrote:


And there are a lot more.
If someone does not want bold tt in lm, then there could be a switch like
\nobftt.

Nevertheless: thanks for your suggestions, they work very well!

Cheers, Peter

P.S.: Any comments about bold small caps?



Latin Modern doesn't have a bold small caps (yet?), I think.


If you really need it, generate pseudo small caps
http://wiki.contextgarden.net/Pseudo_Small_Caps

Vit

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


Re: [NTG-context] Chinese

2005-12-12 Thread Hans Hagen

Tobias Burnus wrote:


Hi,

Adam Lindsay wrote:


Is there less kerning among CJK fonts? I would expect so.


Classically any Chinese character has exactly the same width, which is 
the same as the height (square). Nowadays some are taller than wide. 
I'm quite certain that there is hardly any Chinese font with kerning 
as this would break the grid.


Thinking aloud, you'd probably want to include some 
language-switching commands, to mediate between the calling of 
unicode fonts for un-named CJK glyphs (just raw conversion from 
Unicode to font switch + glyph number) to named roman (and other 
alphabetic) glyphs (conversion from UTF-8 to named glyphs to 
font+glyph, which retains kerning where it can).


Well, I think one uses most of the time different fonts for Chinese 
and non-CJK texts as many Chinese fonts don't include that many roman 
letters (at least the ones quoted at 
http://wiki.contextgarden.net/Chinese miss the ß and ä).


if there is a utf-8 mapping for chinese, then th eother chars can come 
from the main text font


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


Re: [NTG-context] fonts

2005-12-12 Thread Adam Lindsay

Henning Hraban Ramm wrote:

  Warning: pdfetex (file qx-bitstream-vera.map): cannot open font
map file
  and then complaints about not being able to create a long list of
  bitmap fonts,�when I try to compile your vera-test.tex.

do you need qx? (eastern european languages)

 
Yes, the maps should be contained, I simply forgot to include them. Will 
fix that tonight.
And I decided to provide everything for ec, texnansi, tex256 and qx 
encoding.


What's the functional difference between ec and tex256? What good is it 
to generate both?


adam
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


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


Re: [NTG-context] fonts

2005-12-12 Thread Henning Hraban Ramm

 Yes, the maps should be contained, I simply forgot to include them. Will fix that tonight.
 And I decided to provide everything for ec, texnansi, tex256 and qx encoding.What's the functional difference between ec and tex256? What good is itto generate both?

There doesn't seem to be a functional difference between ec and tex256, http://wiki.contextgarden.net/Encodings_and_Regimesstates only that tex256 uses Adobe character names, and I thought it would be nice, but didn't really think much... ;-)
Greetlings, Hraban
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Chinese

2005-12-12 Thread Hans Hagen

Richard Gabriel wrote:


Hi guys,

I can confirm that the UTF-8 input doesn't work for me too.
If I convert the file info GBK (CP936), it works fine [I suggest to 
use the 'iconv' utility for the conversion :-)].


I tested the UTF-8 output the followin ways:

1)
\enableregime[utf]
\usemodule[chinese]



chinese is not yet defined in utf so if you want that, we need to do it

now, since the chinese remapping stuff is rather complex, the best 
method is to consider a dedicated mechanism


question: do the unicode tables cover gbk and big 5 well?

assuming this, how about making a set of tfm,enc,map files that match 
the unicode positions (volunteers ...)


we can extend the utf handler with a kind of plugin mechanism:

\unprotect

\def\utfunihashglyph#1%
 [EMAIL PROTECTED]@EA{\number\utfdiv{#1}}{#1}} % only div once

\def\doutfunihashglyph#1#2% div raw
 {\csname
\ifnum#2[EMAIL PROTECTED]
  \strippedcsname\unicodeasciicharacter
\else\ifcsname\@@unicommand#1\endcsname
  \@@unicommand#1%
\else\ifcsname\@@univector#1\endcsname
  \@@univector#1%
\else
  \strippedcsname\unicodeunknowncharacter
\fi\fi\fi
[EMAIL PROTECTED]@EA{\number\utfmod{#2}}} % only mod once

\def\unicodeunknowncharacter#1%
 {\unknownchar}

\let\utfunihash\utfunihashglyph

\def\@@unicommand{@@unicommand}

\def\defineutfcommand #1 #2%
 {\setvalue{\@@unicommand#1}##1{#2{#1}{##1}}}

so we can define pluig in handlers for e.g. chinese

\defineutfcommand 81 {\uchar}

(bombs due to missing fonts, so for testing)

\def\NotYet#1#2{[#1 #2]}

\defineutfcommand 81 {\NotYet}

(next comes adapting the chinese files; i can imagine that we redo the 
big5 and gbk definitions so that they remap to ut8 as common encoding)


so .. the question is ... who is going to make the tfm/enc/map files

Hans

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


[NTG-context] \setupinteraction[state=start,focus=...]

2005-12-12 Thread Peter Münster
Hello,
it seems, that the focus-option is only for links in the pdf. How could one
get the right focus even on startup of acroread?
TIA for any hint!
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] problem with font variants in setupTABLE

2005-12-12 Thread Hans Hagen

Henning Hraban Ramm wrote:


Hi wizards!

In my typescript I define a condensed variant:
\definefontvariant [Serif] [cond] [Cond]

That works fine if I call \Var[cond] where I need it.

But if I try to setup a TABLE column like this:

\setupTABLE[c][3][width=10em, distance=2em, style={\Var[cond]}]


hm, maybe add a \relax after \Var[cond] helps ?

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


Re: [NTG-context] footnote disappeared when used in background text

2005-12-12 Thread Hans Hagen

Xiao Jianfeng wrote:


Hello,

I found that \footnote cannot work correctly as I expected.
Here is my source file:
%--
%\loadmapfile[gbk]
%\usemodule[chinese]
\setuppagenumbering[location=inright]
\setupbodyfont[lbr,12pt]
\setupindenting[big,yes]
\setupcolors[state=start]
\setupbackground[state=start,background=screen,cornor=round]
\setupinterlinespace[line=20pt]

\starttext

\startbackground
some words \footnote{ some words some words some words some words some
words some words some words some words some words}
\stopbackground

\stoptex
%--
This file can compile successfully and produce a pdf file, but if you try to
compile this file on your system you will find that the footnote
disappeared.

I'm using the latest version(2005.12.01).

Is this a bug ?
 


no, a side effect, (no inserts in boxes)

best use textbackgrounds (or some wrapper like:

\unprotect

\definetextbackground
 [\??ag]
 [\c!location=\v!text,
  \c!corner=\v!round,
  \c!state=\v!stop,
  \c!framecolor=black]

\def\setupbackground{\setuptextbackground[\??ag]}
\def\startbackground{\starttextbackground[\??ag]}
\def\stopbackground {\stoptextbackground}

\protect

\setupbackground[state=start,background=color,cornor=round]

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


[NTG-context] problems with bold small caps (was: Re: bold \tt and pdf-output)

2005-12-12 Thread Peter Münster
On Mon, 12 Dec 2005, Taco Hoekwater wrote:

 Peter Münster wrote:
 
  P.S.: Any comments about bold small caps?
 
 Latin Modern doesn't have a bold small caps (yet?), I think.

Yes. I've just made a reference to my message from 5th December with the
subject problems with bold small caps. Here it is (2/4 problems already
solved):

I would like to get bold small caps, here is my test-file:

\enableregime[il1]

\definebodyfont [12pt] [sc] [bf=ecxc1200]
\definebodyfont [11pt] [sc] [bf=ecxc1100]
\definebodyfont [10pt] [sc] [bf=ecxc1000]
\definebodyfont [9pt] [sc] [bf=ecxc0900]
\definebodyfont [8pt] [sc] [bf=ecxc0800]

\starttext
{\sc Normal and \bf bold Small-Caps. Accents: àÉßöÜ}
\stoptext


And here are my problems:

1.) I get bold sc font, but the normal \sc is now the normal font.

2.) Accented characters are not correct.


Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] float over both text and margin

2005-12-12 Thread Hans Hagen

Vit Zyka wrote:


Hi.

1) I am unsuccessfully solving the problem of making float spanning 
both text and margin. More over, it is inside columnset... Example 
follows. Is there some solution?

-
\showframe
\setupcolors[state=start]
\setuplayout[margin=0pt,rightmargin=1.5cm,width=middle]

\starttext
\startcolumnset
  \dorecurse{2}{\input knuth \endgraf\blank}
  \placefloat[page]{none}
{\framed
 [width=\dimexpr\makeupwidth+\rightmarginwidth+
\rightmargindistance\relax,
  height=\textheight]
 {Here I would like to be a float over both text and margin. How?}
}
  \dorecurse{10}{\input knuth \endgraf\blank}
\stopcolumnset

\stoptext
-

2) As a side effect I discover that in the following example the float 
is over the text (so some text is disappeared).

-
\showframe
\setupcolors[state=start]
\setuplayout[margin=0pt,rightmargin=1.5cm,width=middle]

\starttext
\startcolumnset
  \dorecurse{2}{\input knuth \endgraf}
  \placefloat[page]{none}
{\framed
   [width=\makeupwidth,height=\textheight,background=screen]
   {Here I would like to be a float over both text and margin. How?}
}
  \dorecurse{10}{\input knuth \endgraf}
\stopcolumnset

\stoptext
---


don't use \placefloat.

\definefloat
 [pagefigure]
 [figure]
\setupfloat
 [pagefigure]
 [default={page,none},
  location=inner]

 \dorecurse{3}{\input knuth \endgraf\blank}
 \placepagefigure
 {}
{...}

etc

maybe the next helps, but i hesitate to include this patch too fast

def\dogetfloat
 {\ifsomefloatwaiting
\global\setbox\floatlist\vbox
  {\unvbox\floatlist
   \global\setbox\globalscratchbox\lastbox}%
\ifcenterfloatbox
  \ifdim\wd\globalscratchbox\hsize
\setbox\floatbox\hbox to \hsize{\hss\box\globalscratchbox\hss}%
  \else
\setbox\floatbox\box\globalscratchbox % local !
\wd\floatbox\makeupwidth
  \fi
\else
  \setbox\floatbox\box\globalscratchbox % local !
\fi
\global\advance\savednoffloats \minusone
\ifcase\savednoffloats
  \global\somefloatwaitingfalse
\fi
  \else
\global\savednoffloats\zerocount
[EMAIL PROTECTED]
  \fi}

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


Re: [NTG-context] float over both text and margin

2005-12-12 Thread Hans Hagen

Vit Zyka wrote:


Hi.

1) I am unsuccessfully solving the problem of making float spanning 
both text and margin. More over, it is inside columnset... Example 
follows. Is there some solution?



or maybe:


\def\dogetfloat
 {\ifsomefloatwaiting
\global\setbox\floatlist\vbox
  {\unvbox\floatlist
   \global\setbox\globalscratchbox\lastbox}%
\ifcenterfloatbox
  \ifdim\wd\globalscratchbox\hsize
\setbox\floatbox\hbox to \hsize{\hss\box\globalscratchbox\hss}%
  \else
\setbox\floatbox\box\globalscratchbox % local !
\ifinsidecolumns
   % retain special alignments
   \ifdim\wd\floatbox\makeupwidth
   \wd\floatbox\makeupwidth
   \fi
\fi
  \fi
\else
  \setbox\floatbox\box\globalscratchbox % local !
\fi
\global\advance\savednoffloats \minusone
\ifcase\savednoffloats
  \global\somefloatwaitingfalse
\fi
  \else
\global\savednoffloats\zerocount
[EMAIL PROTECTED]
  \fi}


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


Re: [NTG-context] Tex drawing tool

2005-12-12 Thread Idris Samawi Hamid

Hi Boris

On Mon, 12 Dec 2005 03:41:26 -0700, Boris Pedrofiets  
[EMAIL PROTECTED] wrote:


I run into a drawing tool, capable of generating metapost. It's on  
http://tpx.sourceforge.net/ . It looks great to me, soo I like to share  
this with you all!


I have not looked at it yet, but your note reminded me of MetaGraf; seems  
like Santiago is about to release a new version:


http://w3.mecanica.upm.es/metapost/metagraf.php

Best
Idris

--
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] fonts

2005-12-12 Thread Henning Hraban Ramm


Am 2005-12-12 um 12:02 schrieb Henning Hraban Ramm:

 Warning: pdfetex (file qx-bitstream-vera.map): cannot open font  
map file

 and then complaints about not being able to create a long list of
 bitmap fonts,�when I try to compile your vera-test.tex.

do you need qx? (eastern european languages)

Yes, the maps should be contained, I simply forgot to include them.  
Will fix that tonight.
And I decided to provide everything for ec, texnansi, tex256 and qx  
encoding.


Ok, this is fixed now.
I just uploaded some more fonts; I guess I should add better  
information about contained variants and a nice preview...


http://www.fiee.net/texnique/?menu=0-1-4lang=en

Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
http://contextgarden.net
http://www.cacert.org (I'm an assurer)

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


[NTG-context] focus=minwidth,minheight

2005-12-12 Thread Peter Münster
Hello,
this does not work:

\setupoutput[pdf]
\setupinteraction[state=start,focus=minwidth]
\starttext
bla
\stoptext

Solution seems to be in mult-con.tex in a \startvariables section:

 minwidth: minbreedteminwidth
   minbreite minsirka
   ampiezzamin   latimeminima % TB TH
minheight: minhoogte minheight
   minhoehe  minvyska
   altezzamininaltimeminima

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Chinese

2005-12-12 Thread Tobias Burnus

Hi,

Hans Hagen wrote:

chinese is not yet defined in utf so if you want that, we need to do it

We probably should.


question: do the unicode tables cover gbk and big 5 well?
There exists a one-to-one correspondence between GBK and Unicode [1], 
for Big5 there are 7 characters which cannot be mapped one-to-one (see 
comment at top of [2]); thee of which appear twice in Big5 but only once 
in Unicode, two are not in unicode and there are two mapping problems.

In practive one can thus say: Both GBK and Big5 can be mapped to Unicode.

assuming this, how about making a set of tfm,enc,map files that match 
the unicode positions (volunteers ...)
If I get the time, I will play around with the four fonts mentioned on 
http://wiki.contextgarden.net/Chinese
Adam mentioned 
http://www.physik.fu-berlin.de/~tburnus/linlibertine/LibertineUnicode.zip, 
which contains LibertineInConTeXt.txt, which describes a possible way to 
do so.
But I wouldn't mind if someone who has more experience in playing around 
with .enc files would do the job ;)


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


Re: [NTG-context] float over both text and margin

2005-12-12 Thread Vit Zyka

Hans Hagen wrote:

Vit Zyka wrote:


Hi.

1) I am unsuccessfully solving the problem of making float spanning 
both text and margin. More over, it is inside columnset... Example 
follows. Is there some solution?


2) As a side effect I discover that in the following example the float 
is over the text (so some text is disappeared).


don't use \placefloat.

\definefloat
 [pagefigure]
 [figure]
\setupfloat
 [pagefigure]
 [default={page,none},
  location=inner]


OK, I thought \placefloat[page] is defined like this, but now I see this 
is more flexible.


Thank you for your patch it behaves better but still the float is over 
the text, see page 2 in the example. I also do not see the influence of 
location argument.


Vit

-
\showframe
\setupcolors[state=start]
\setuplayout[margin=0pt,rightmargin=1.5cm,width=13cm]
\setuppagenumbering[alternative=doublesided]

\definefloat
 [pagefigure]
 [figure]
\setupfloat
 [pagefigure]
 [default={page,none},
  location=outer]

\unprotect
\def\dogetfloat{
  \ifsomefloatwaiting
\global\setbox\floatlist\vbox{%
   \unvbox\floatlist
   \global\setbox\globalscratchbox\lastbox
}%
\ifcenterfloatbox
  \ifdim\wd\globalscratchbox\hsize
\setbox\floatbox\hbox to \hsize{\hss\box\globalscratchbox\hss}%
  \else
\setbox\floatbox\box\globalscratchbox % local !
\wd\floatbox\makeupwidth
  \fi
\else
  \setbox\floatbox\box\globalscratchbox % local !
\fi
\global\advance\savednoffloats \minusone
\ifcase\savednoffloats
  \global\somefloatwaitingfalse
\fi
  \else
\global\savednoffloats\zerocount
[EMAIL PROTECTED]
  \fi}
\protect

\starttext
\startcolumnset
  \dorecurse{2}{\input knuth \endgraf\blank}
  \placepagefigure{none}
{\framed

[width=\dimexpr\makeupwidth+\rightmarginwidth+\rightmargindistance\relax,height=\textheight]
   {Here I would like to be a float over both text and margin. How?}
}
  \dorecurse{10}{\input knuth \endgraf\blank}
\stopcolumnset

\stoptext
-



 \dorecurse{3}{\input knuth \endgraf\blank}
 \placepagefigure
 {}
{...}

etc

maybe the next helps, but i hesitate to include this patch too fast

def\dogetfloat
 {\ifsomefloatwaiting
\global\setbox\floatlist\vbox
  {\unvbox\floatlist
   \global\setbox\globalscratchbox\lastbox}%
\ifcenterfloatbox
  \ifdim\wd\globalscratchbox\hsize
\setbox\floatbox\hbox to \hsize{\hss\box\globalscratchbox\hss}%
  \else
\setbox\floatbox\box\globalscratchbox % local !
\wd\floatbox\makeupwidth
  \fi
\else
  \setbox\floatbox\box\globalscratchbox % local !
\fi
\global\advance\savednoffloats \minusone
\ifcase\savednoffloats
  \global\somefloatwaitingfalse
\fi
  \else
\global\savednoffloats\zerocount
[EMAIL PROTECTED]
  \fi}

Hans
___
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] Re: Context and Reftex

2005-12-12 Thread Patrick Gundlach
Hi,

 I assume that reftex does not work with context? Correct?

As far as I know: correct.

 Is there a management system for references in Context that is
 similar to Reftex?

Not in the emacs world.

Patrick
-- 
ConTeXt wiki and more: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] footnote disappeared when used in background text

2005-12-12 Thread Xiao Jianfeng

Hans Hagen wrote:


Xiao Jianfeng wrote:


Hello,

I found that \footnote cannot work correctly as I expected.
Here is my source file:
%-- 


%\loadmapfile[gbk]
%\usemodule[chinese]
\setuppagenumbering[location=inright]
\setupbodyfont[lbr,12pt]
\setupindenting[big,yes]
\setupcolors[state=start]
\setupbackground[state=start,background=screen,cornor=round]
\setupinterlinespace[line=20pt]

\starttext

\startbackground
some words \footnote{ some words some words some words some words some
words some words some words some words some words}
\stopbackground

\stoptex
%-- 

This file can compile successfully and produce a pdf file, but if you 
try to

compile this file on your system you will find that the footnote
disappeared.

I'm using the latest version(2005.12.01).

Is this a bug ?
 


no, a side effect, (no inserts in boxes)

best use textbackgrounds (or some wrapper like:

\unprotect

\definetextbackground
 [\??ag]
 [\c!location=\v!text,
  \c!corner=\v!round,
  \c!state=\v!stop,
  \c!framecolor=black]

\def\setupbackground{\setuptextbackground[\??ag]}
\def\startbackground{\starttextbackground[\??ag]}
\def\stopbackground {\stoptextbackground}

\protect

\setupbackground[state=start,background=color,cornor=round]

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


Thanks, I use \startframedtext instead, and it works well :-)

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