Re: [NTG-context] ConTeXt logo
Thomas A. Schmitz wrote: All (and especially Hans...), where is \CONTEXT (the logo) defined? Looking at the output I get, I wonder if it doesn't need a bit of kerning between Con and the following T; there's quite a gap between these two letters (at least in the font I'm using). Have a look at \ConTeXt in cont-log.tex. The needed spacing will vary per font family, of course. Usually (as for the NTG's journal), we do not even try to get it right. Our defs are along these lines: \def\ConTeXt{Con{\TeX}t} \def\LaTeX{La\TeX} \def\MF{Metafont} \def\MP{Metapost} etc. (basically, only use the \TeX macro and ignore all else) Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt logo
Wonderful, thanks Taco! I see that somebody had played around with kerning the \TeX-part, there was a commented line. I tried a somewhat higher value than the default 0.667em, and it seems to be looking better now! Best Thomas On Dec 4, 2005, at 3:18 PM, Taco Hoekwater wrote: Thomas A. Schmitz wrote: All (and especially Hans...), where is \CONTEXT (the logo) defined? Looking at the output I get, I wonder if it doesn't need a bit of kerning between Con and the following T; there's quite a gap between these two letters (at least in the font I'm using). Have a look at \ConTeXt in cont-log.tex. The needed spacing will vary per font family, of course. Usually (as for the NTG's journal), we do not even try to get it right. Our defs are along these lines: \def\ConTeXt{Con{\TeX}t} \def\LaTeX{La\TeX} \def\MF{Metafont} \def\MP{Metapost} etc. (basically, only use the \TeX macro and ignore all else) Cheers, Taco ___ 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] tetex3 ubuntu install (was : installing tetex on ubuntu : basics log)
Hi everybody, I still have pbs for this (begin to be) hard to achieve task (compared of unziping mswincontext.zip on a :\C drive...) 1) I can't succed in adding executables to the path, with my various tryies, here is my .bash_profile : if [ -f ~/.bashrc ]; then source ~/.bashrc fi export PATH=/usr/local/teTeX/bin/i686-pc-linux-gnu:/usr/local/teTeX/bin/i686-pc-linux-gnu:/usr/local/teTeX/bin/i686-pc-linux-gnu:/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/games 2) emacs+ auctex nor scite (installed before : maybe a reinstall ?) are not context aware, so I can only texexec via the terminal 2) is texmfstart working on linux ? PS : when everything will be fine, (tetex3 install, same .pdf results between mswincontext and tetex3, scite linux integration (hard to change editor now), i'll add this to ubuntu wiki section TIA, olivier ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] tetex3 ubuntu install (was : installing tetex on ubuntu : basics log)
Hi, olivier Turlier wrote: Hi everybody, I still have pbs for this (begin to be) hard to achieve task (compared of unziping mswincontext.zip on a :\C drive...) 1) I can't succed in adding executables to the path, with my various tryies, here is my .bash_profile : Have you tried to put your PATH= and export statements on two separate lines? Like so: if [ -f ~/.bashrc ]; then source ~/.bashrc fi PATH=/usr/local/teTeX/bin/i686-pc-linux-gnu:$PATH export PATH (I wouldn't be very surprised if the 'exportassignment' shortcut only works in an interactive shell. ) 2) emacs+ auctex nor scite (installed before : maybe a reinstall ?) are not context aware, so I can only texexec via the terminal 2) is texmfstart working on linux ? PS : when everything will be fine, (tetex3 install, same .pdf results between mswincontext and tetex3, scite linux integration (hard to change editor now), i'll add this to ubuntu wiki section It works OK for me (using a from-scratch teTeX 3.0). Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] installing tetex on ubuntu : basics log
olivier Turlier wrote: Hi everybody, Starting to try installing correctly tetex3 on ubuntu, I wanted to ask tons of questions. While formatting this mail, I've succeed in installing tetex3. Maybe what follows can be worth fore somebody more nbie than me (is that possible?), or for a pre-beginner doc. Following http://wiki.contextgarden.net/TeTeX_3.0_installation and beginning of http://tug.org/teTeX/tetex-src/QuickInstall, i've : dwld * tetex-src.tar.gz tetex-texmf.tar.gz sudo mkdir -p /usr/local/teTeX/share/texmf sudo mkdir -p /usr/local/teTeX/share/texmf-dist SHIT HAPPENS HERE : it's like i'm missing some basic commands, because if I type what next, term conplains : gzip -dc tetex-texmf.tar.gz \| (umask 0; cd /usr/local/teTeX/share/texmf-dist; tar xvf -) I think I've solved this: I just realized you have \| here, where it should have been just a |, without backslash. The backslash on the line above it in the quickinstall is there to hide the newline that follows it from the shell (look up 'backslash' in bash-s man page) Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] tetex3 ubuntu install (was : installing tetex on ubuntu : basics log)
OK, since you're having so much trouble, I'll try to explain a few things: 1. Your trouble with Ubuntu: you copied the command as is from the document INSTALL in tetex: gzip -dc tetex-texmf.tar.gz \| (umask 0; cd /usr/local/teTeX/share/texmf-dist; tar xvf -) In the tetex document, the \ was just there because the line was continued, it wasn't meant to be retyped by you in the middle of the line. Rewrite the command without it, and you'll be fine. Please don't put anything along the lines you tried into the wiki, Ubuntu is working fine here, that was just a user error. 2. .bash_profile is read by login shells only, so if you set your $PATH there, you have to either log out and then back in or run the command source .bash_profile 3. I have a dim memory that the way auctex is set up on Ubuntu, it calls sh and doesn't take your current path into account. This is easy to fix: in emacs, type M-x customize-variable RET TeX-command-list In the buffer that opens, scroll down till you see the variable for ConTeXt, which is set to texexec --pdf --nonstop --texutil %t instead of texexec, give the full path: /usr/local/teTeX/bin/i686-pc- linux-gnu/tetex and you should be fine. Most of what you're experiencing are not real ConTeXt problems, but general shell/path/auctex problems. If they are to appear in the Wiki (I'm not sure they should), this should be in a section of its own. They're definitely not special or restricted to Ubuntu. HTH Thomas On Dec 4, 2005, at 4:19 PM, olivier Turlier wrote: Hi everybody, I still have pbs for this (begin to be) hard to achieve task (compared of unziping mswincontext.zip on a :\C drive...) 1) I can't succed in adding executables to the path, with my various tryies, here is my .bash_profile : if [ -f ~/.bashrc ]; then source ~/.bashrc fi export PATH=/usr/local/teTeX/bin/i686-pc-linux-gnu:/usr/local/teTeX/bin/ i686-pc-linux-gnu:/usr/local/teTeX/bin/i686-pc-linux-gnu:/usr/local/ bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/ games 2) emacs+ auctex nor scite (installed before : maybe a reinstall ?) are not context aware, so I can only texexec via the terminal 2) is texmfstart working on linux ? PS : when everything will be fine, (tetex3 install, same .pdf results between mswincontext and tetex3, scite linux integration (hard to change editor now), i'll add this to ubuntu wiki section TIA, olivier ___ 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] An idea
Christopher Creutzig wrote: Nikolai Weibull wrote: this than I have is welcome to finish it. The \highlight command should be defined something like this (pseudo-tex-code): \pdef\highlight[#1]{#2}% {\bgroup \setupcolorforgroup[#1]% \type{#2}% \egroup} #1 is a group name, such as Statement, Operator, or Comment. #2 may contain multiple lines, and I don’t know how well this will work on the TeX side. It may also contain special characters like {, #, , and so on. Suggestions? The most simple one I expect to work would be \def\highlight[#1]{% \bgroup \setuphighlightcolors[{#1}]% never forget those {}, %% since [] aren't balanced! \processinlineverbatim\egroup}% \egroup is an argument to % % \processinlineverbatim here OK, check the attachments for what I’ve got so far. It works well it seems. Still need to do more escaping, though. nikolai -- Nikolai Weibull: now available free of charge at http://bitwi.se/! Born in Chicago, IL USA; currently residing in Gothenburg, Sweden. main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);} Vim syntax support file Maintainer: Nikolai Weibull [EMAIL PROTECTED] Latest Revision: 2005-12-04 function! s:Format(text, group) let formatted = strtrans(a:text) let formatted = substitute(formatted, '{', '\\leftargument', 'g') let formatted = substitute(formatted, '}', '\\rightargument', 'g') TODO: Replace the reserved ConTeXt characters. TODO: make sure to escape everything. if a:group != let formatted = \\highlight[ . a:group . ']{' . formatted . '}' endif return formatted endfunction function! s:Append(text) exe s:new_win . 'wincmd w' call append(line('$'), a:text) exe s:org_win . 'wincmd w' endfunction function! s:AppendFillers(filler, diff_fillchar) let n = filler while n 0 let new = repeat(diff_fillchar, 3) if n 2 n filler !exists('context_whole_filler') let new .= ' ' . filler . ' inserted lines ' let n = 2 endif let new .= repeat(diff_fillchar, columns - strlen(new)) call s:Append(s:Format(new, 'DiffDelete')) let n -= 1 endwhile endfunction function! s:GetFillChar(char, default) let fillchar = fillchars[matchend(fillchars, a:char . ':')] return (fillchar != '' ? fillchar : default) endfunction function! s:MainLoop() Set up stuff for handling folding. if has('folding') !exists('context_ignore_folding') let fold_fillchar = s:GetFillChar('fold', '-') endif Set up stuff for handling diffs. let diff_fillchar = s:GetFillChar('diff', '-') let lnum = 1 let last = line('$') while lnum = last If there are filler lines for diff mode, show these above the line. let filler = diff_filler(lnum) if filler 0 call s:AppendFillers(filler, diff_fillchar) endif let new = if has('folding') !exists('context_ignore_folding') foldclosed(lnum) -1 let new = s:Format(new . foldtextresult(lnum), 'Folded') let lnum = foldclosedend(lnum) else let line = getline(lnum) let len = strlen(line) let diff_attr = diff_hlID(lnum, 1) let col = 1 while col = len || (col == 1 diff_attr) let start_col = col The start column for processing text. if diff_attr let id = diff_hlID(lnum, col) let col += 1 while col = len id == diff_hlID(lnum, col) | let col += 1 | endwhile if len columns Add spaces at the end to mark the changed line. let line = line . repeat(' ', columns - len) let len = columns endif else TODO: why not use synIDtrans here instead? That’t give longest possible matches. let id = synID(lnum, col, 1) let col += 1 while col = len id == synID(lnum, col, 1) | let col += 1 | endwhile endif Expand tabs. TODO: make a function? let new .= s:ExpandAndFormat(strpart(...), id) let expanded = strpart(line, start_col - 1, col - start_col) let idx = stridx(expanded, \t) while idx = 0 let i = ts - (idx + start_col - 1) % ts let expanded = substitute(expanded, '\t', repeat(' ', i), '') let idx = stridx(expanded, \t) endwhile if expanded =~ '^\s*$' let new .= expanded else let new .= s:Format(expanded, synIDattr(synIDtrans(id), 'name')) endif endwhile endif call s:Append(new) let lnum = lnum + 1 endwhile endfunction Set up options. let s:old_title = title let s:old_icon = icon let s:old_search = @/ set notitle noicon Split window to create a buffer with the ConTeXt file. let s:org_bufnr = winbufnr(0) if expand(%) == new untitled.tex else new %.tex endif let s:new_win = winnr() let s:org_win = bufwinnr(s:org_bufnr) Set up the new buffer. set
[NTG-context] synonyms
Hi I want to define synonyms with accentued characters (utf8) how can I do That? \definesynonyms[mysyn][mysans][\mysynfull] \mysyn{wordwithé}{Description of wordwithé} and what is the fourth optional brackets from \definesynonyms? I see that it is a command, but what dos this command? Thanks Mike - Découvrez Romandie.FM La radio comme vous l'entendez ! http://www.romandie.fm - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] An idea
Christopher Creutzig wrote: Nikolai Weibull wrote: this than I have is welcome to finish it. The \highlight command should be defined something like this (pseudo-tex-code): \pdef\highlight[#1]{#2}% {\bgroup \setupcolorforgroup[#1]% \type{#2}% \egroup} #1 is a group name, such as Statement, Operator, or Comment. #2 may contain multiple lines, and I don�t know how well this will work on the TeX side. It may also contain special characters like {, #, , and so on. Suggestions? The most simple one I expect to work would be \def\highlight[#1]{% \bgroup \setuphighlightcolors[{#1}]% never forget those {}, %% since [] aren't balanced! \processinlineverbatim\egroup}% \egroup is an argument to % % \processinlineverbatim here (I did have some mildly elaborate low-level code here, but upon searching for the ConTeXt way of switching of everything, I came upon \processinlineverbatim, which probably does everything you want. If it does not, please come back and I'll send you something more low-level that should.) there is no need for verbatim mode when you convert anyway! Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Dropped caps and indenting
Dear gang, I am having difficuly getting dropped caps and the new indenting mechanism coordinated; the dropped cap goes into the margin. Try this: === \setupoutput[pdftex] \setupindenting[medium,next,yes] \def\TextDroppedCaps{% \DroppedCaps% {} % commands (like color) {cmr12} {2.2\baselineskip} % height scale of dropped cap {4pt} % amount of indent wrt dropped letter {\baselineskip}% distance of base of letter from base of first line {2}% number of indented lines } \starttext \TextDroppedCaps In general, Baroque letterforms appear more modern and less {\em written} than Renaissance forms. They give less evidence of the direct trace of the pen. Yet they take many different forms, and they thrived in Europe throughout the seventeenth century, endured through much of the eighteenth, and enjoyed an enthusiastic revival during the nineteenth. \stoptext === If indenting is commented it works correctly. I ran into this before and worked around it back when indenting had to be declared twice; don't know what to do now... Best Idris Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] dvipdfmx
Idris Samawi Hamid wrote: Dear Hans, Taco, Chof, and all, Just installed 051130, and I am happy to report that, so far anyway, dvipdfmx map files work fine-) good, thanks for testing Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] fontvariants
Adam Lindsay wrote: Hans van der Meer wrote: I was probing into the font variant mechanism. QUESTION: Is the variant mechanism exclusively tied to the series Serif (\rm) and Sans (\ss)? Yes, pretty much, in the implementation's design. more precisely, it;s related to rm|ss|tt (mapped onto Serif Sans Mono) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] GNU Emacs/ AucTeX configuration for ConTeXt
Johan Sandblom wrote: I think possibly that the reason for the sparse syntax highlighting is the higher frequency of inline definitions in ConTeXt, making it impossible to keep up with it. I think it should be parsable, but requires emacs-lisp skills way beyond mine. it's not that hard; i've done it in modula (texedit), perltk (texwork), c++ (scintilla) so ...; think of it this way: - coloring of special characters: handle in per line - coloring of commands: either all \cs or use a list (which i can provide using ctxtools) it's not that big a deal Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Placing a scaled symbol within the flow of text
Pearson, Mark (Capita Symonds) wrote: Hi all, I am attempting to insert a symbol at a reduced size within the text flow but I'm not sure how to achieve this. I've included my test script below. \starttext \definefontsynonym[Dingbats][uzdr] \definesymbol[filledSq][\getglyph{Dingbats}{\char110}] a \getscaledglyph{.5}{Serif}{a} a Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] extra space after variant
Taco Hoekwater wrote: Hans Hagen wrote: Hans van der Meer wrote: When I code: abc {\variant[xyz] pqr} I find extra space typeset between abc and pqr. This extra space is absent when I code abc {\variant[xyz]pqr} Thus the space in the source between ] and pqr makes a difference in the result. Clearly visible in: abc {\variant[xyz] pqr} abc {\variant[xyz]pqr}\crlf abc {\Var[xyz]pqr} abc {\Var[xyz] pqr}\crlf I would think that this should not happen. The whitespace goes away by inserting an \ignorespaces in the variant- definition. \def\variant[#1]% slow {\dosetscaledfont \expanded{\definedfont [\truefontname{\fontstringA\fontstylesuffix\fontvariant \fontstringA{#1}} at \scaledfont]}\ignorespaces} Still using version 2005-11-14, forget this if already corrected in the latest version of the 30th. before we do that ... do others agree (taco, adam ...)? I can't get the example to compile. Whatever I do, context insists on creating SerifRegular.tfm through mktextfm (sigh). I'm too lazy to figure out what is going on right now, so can someone create a full minimal example, please? I'd like to check this with all tracing on, because it hints are a problem deeper down somewhere. i simplified the code till it worked -) variants are Adam's speciality so he should provide the solution for the precize definition -) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] extra space after variant
Adam Lindsay wrote: Also, thanks for the fix for adapting sizes, back a few months. It means that the EC Companion/TS1 support can now become feasible. Shall I try to nudge that forward again? yes, because it would solve the mu-problem (repported in the collector) The biggest issue is probably in typescripts and font synonyms -- should they directly support Berry names, seeing as that's where people will be getting these TS1 fonts? ok, those are the raw fonts anyway (contrary to other fonts that have bevose names - vendor supplied) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: LucidaBright fonts...I'm stumped
Henk Koster wrote: Hans, you said that you posted an updated version of cont-fnt.zip, but all I could find was the 1-12-2005 version without texnansi fmt-files (only the ec ones). Anyway, I have enough information now to apply the LB fonts if I choose to do so. Again, many thanks for the response. ah, a mess up, i'll repair that Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Dropped caps and indenting
Idris Samawi Hamid wrote: \TextDroppedCaps In general, Baroque letterforms appear more \noindenting \TextD or replace this in supp-fun.tex \def\DroppedCaps#1#2#3#4#5#6#7% does not yet handle accented chars {\convertargument#7\to\asciia \convertcommand \DroppedString\to\asciib \ExpandBothAfter\doifinstringelse\asciia\asciib {\noindenting \dontleavehmode %\ifhmode\hskip-\parindent\fi % sensitive for context mechanism \keeplinestogether{#6}% \setbox0\hbox{\definedfont[#2 at #3]#1{#7}\hskip#4}% \ifdim\dp0\strutdp % one of those Q's , will be option \setbox2\hbox{\raise\dp0\hbox{\lower\strutdp\copy0}}% \ht2\ht0 \dp0\strutdp \setbox0\box2 \fi \setbox0\hbox {\ifnum\DropMode=\plusone \hskip-\wd0\wd0\zeropoint \fi \lower#5\box0}% \ht0\strutht \dp0\strutdp \ifnum\DropMode=\plusone \globaldropcaps\let\DroppedIndent\!!zeropoint \globaldropcaps\edef\DroppedLines{\number\maxdimen}% \globaldropcaps\chardef\DroppedStatus\plusthree \else \globaldropcaps\edef\DroppedIndent{\the\wd0}% \globaldropcaps\edef\DroppedLines {\number#6}% \globaldropcaps\chardef\DroppedStatus\plustwo \globaldropcaps\hangindent\DroppedIndent \globaldropcaps\hangafter-\DroppedLines \noindent \hskip-\DroppedIndent \fi \vbox{\forgetall\box0}% \nobreak \let\next\ignorespaces} % Could be a one character word ! {\globaldropcaps\let\DroppedIndent\!!zeropoint \globaldropcaps\edef\DroppedLines{\number\maxdimen}% \globaldropcaps\chardef\DroppedStatus\plusthree \def\next{#7}}% \let\globaldropcaps\global \next} btw, another way is: \setupinitial [n=3, distance=.125em, font=SansBold] % or: \definefontsynonym[Initial][SansBold] \setupinitial[state=start] \placeinitial \input tufte (and there is taco's lettrines module) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] strange behavior of startbackground
Hello, I came across a problem when I was trying to compile my tex file. The attached file is an example. I have to process Chinese, so \loadmapfile[gbk] and \usemodule[chinese] are essential. I'm using the lastest release of ConTeXt. ConText ver:2005.12.01, texExec 5.4.3, to be exact. And I use texmfstart texexec.pl --autopdf --pdf test2.tex to compile my source file. The problem is there is enough space in page 2 for the words between \startbackground and \stopbackground, but the background block was put on page 3 with most of the page 2 was left blank. And there is another small problem, the command \setupindenting[medium] didn't work. Thanks a lot. xiaojf %interface=en output=pdftex \loadmapfile[gbk] \usemodule[chinese] \setuppagenumbering[location=inright] \setupbodyfont[lbr,12pt] \setupindenting[medium] \setupcolors[state=start] \setupbackground[state=start,background=screen,cornor=round] \setupinterlinespace[medium] %- \starttext \input knuth \input knuth %- \subject{Introduction} word word word word word word word word word word word word. \startitemize[n] \item word, word word word word word word word word word word word word word word word word word word. \item word, word word word word word word word word word word word word word word word word word-word word word word word word word word word word word word. \stopitemize Water along with small polar molecules and lipophilic drugs are konwn to corss the barrier. Larger polar molecules and hydrophilic(?hydrophyllic) organic molecules, including plasma preoteins(Ѫ½¬µ°°×), do not penetrate well. \startbackground word word word word word word word word word word word word word word word word word word word word word word word word \stopbackground \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] strange behavior of startbackground
Xiao Jianfeng wrote: Hello, I came across a problem when I was trying to compile my tex file. The attached file is an example. I have to process Chinese, so \loadmapfile[gbk] and \usemodule[chinese] are essential. I'm using the lastest release of ConTeXt. ConText ver:2005.12.01, texExec 5.4.3, to be exact. And I use texmfstart texexec.pl --autopdf --pdf test2.tex to compile my source file. The problem is there is enough space in page 2 for the words between \startbackground and \stopbackground, but the background block was put on page 3 with most of the page 2 was left blank. And there is another small problem, the command \setupindenting[medium] didn't work. Thanks a lot. xiaojf %interface=en output=pdftex \loadmapfile[gbk] \usemodule[chinese] \setuppagenumbering[location=inright] \setupbodyfont[lbr,12pt] \setupindenting[medium] \setupcolors[state=start] \setupbackground[state=start,background=screen,cornor=round] \setupinterlinespace[medium] %- \starttext \input knuth \input knuth %- \subject{Introduction} word word word word word word word word word word word word. \startitemize[n] \item word, word word word word word word word word word word word word word word word word word word. \item word, word word word word word word word word word word word word word word word word word-word word word word word word word word word word word word. \stopitemize Water along with small polar molecules and lipophilic drugs are konwn to corss the barrier. Larger polar molecules and hydrophilic(?hydrophyllic) organic molecules, including plasma preoteins(血浆蛋白), do not penetrate well. If I remove the Chinese characters on this line, the next part of the file will be put appropriately on page 2. \startbackground word word word word word word word word word word word word word word word word word word word word word word word word \stopbackground \stoptext ___ 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