[NTG-context] Context and Reftex
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
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
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
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
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
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
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?
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
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
� 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
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
Re: [NTG-context] fonts
> 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. Greetlings, Hraban ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Tex drawing tool
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
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
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
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
> 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_Regimes states 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
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=...]
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
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
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)
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
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
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
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
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-4&lang=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
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
[NTG-context] typescript problem (hw variants)
Hi wizards! I'm reworking my setup of Apostrophe's huge "Republika" font clan and reckognized that handwriting (hw) doesn't accept style switches; the following doesn't work: \starttypescript[handwriting][republika1-cond][name] \definefontsynonym[Handwriting][RepublikaCnd-Sketch] \definefontsynonym[HandwritingItalic][RepublikaCnd- Sktech-Italic] \definefontsynonym[HandwritingBold][RepublikaCnd-Haze] \definefontsynonym[HandwritingBoldItalic][RepublikaCnd- Haze-Italic] \definefontsynonym[HandwritingRegularBlack][RepublikaCnd- Shatter] \definefontsynonym[HandwritingItalicBlack][RepublikaCnd- Shatter-Italic] \definefontvariant[Handwriting] [black] [Black] \definefontsynonym[HandwritingSlanted][HandwritingItalic] \definefontsynonym[HandwritingBoldSlanted] [HandwritingBoldItalic] \stoptypescript I always get only the "plain" font (Handwriting). I need rm, ss and tt for other purposes. Could the font mechanism get enhanced? 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
Re: [NTG-context] Chinese
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
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: Is conTeXt good for book writing?
I use linux. I just read the editor list in the wiki page. It's really informative. Thanks. "Idris Samawi Hamid" <[EMAIL PROTECTED]> writes: | On Sat, 10 Dec 2005 19:18:19 -0700, leon <[EMAIL PROTECTED]> wrote: | | > What editor do you use for editing conTeXt file? I've been using auctex | > with emacs for editting latex files? | | Are you on Unix, Mac, or Windows? | | Hans Hagen uses Scite, a context-ready version is available from | Pragma (at least for Windows, I'm sure the configuration files are | available for other platforms); | | I mostly use WinEdt, perhaps the best TeX-editor ever for endusers, | but it's Windows only-( and no Unicode-(( | | Fabrice has a ConTeXt-aware version of XEmacs that comes with XemTeX | for Windows; perhaps his configuration files can easily be ported to | Linux, etc... | | Others on the list can point you to auctex configuration files for | context, or the best Mac editors, etc. | | Hmm, just looked at the wiki; check this out: | | http://wiki.contextgarden.net/Text_editor | | Best | Idris -- .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. . * . ./.\Merry Christmas . . /..'\ . . /'.'\ -- Leon. . /.''.'\. . /.'.'.\. . /'.''.'.\ . . ^^^[_]^^^ . .:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: Context and Reftex
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] Re: Context and Reftex
Patrick, Is there a management system for references in Context that is similar to Reftex? Not in the emacs world. OK. In another world? David Arnold College of the Redwoods Mathematics Department Eureka, CA 95501 (707) 476-4222 http://online.redwoods.edu/instruct/darnold/ ___ 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
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