Re: [NTG-context] Interesting interview
Le 12 avr. 07 à 07:37, Thomas A. Schmitz a écrit : >> ... There are fast approaching competitors that >> will eventually overtake LaTeX if we continue to stagnate. (Not to >> mention ConTeXt, which has surpassed LaTeX in essentially every >> area. Maybe the solution is just for everyone to switch to that.) Except for reference documentation or book (no need for a "s" here!). That's why I come back to LaTeX (but keep subscribe to this mailing list ;-) > I mean, we all know that this is true, but it's great that a fairly > well-known member of the LaTeX crowd says so as well. -- Maurice ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \pdfannot and \tooltip won't work with Chinese characters
Hi I've been looking at some core codes and the PDF reference, still have no idea. Somehow, I was told that LaTeX can do such things using "hyperref" package and \pdfstringdef\temp{???}, then \pdfannot{... /Contents(\temp) ...} should be OK. On 4/11/07, Zhichu Chen <[EMAIL PROTECTED]> wrote: Hi everybody, Since \inmargin won't break through pages and I've tried everything but still can't make it, I bended. Now I want to comment some words with \pdfannot. It seems that this command don't support Chinese very well, the annotations appeared like "lookaheaduchar 73" and something. Then I turned to \tooltip, and this time it showed nothing. Can anybody help me? -- Sincerely yours, Chen Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn -- Sincerely yours, Chen Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] broken section number
Hallo! I need help with referencing a subsubsection-number and the following setup: --- \setuphead[chapter][number=no] \setuphead[subsection][resetnumber=no] \setuphead[subsubsection][ numbercommand={\determineheadnumber[section]\currentheadnumber .}] \setupsection[section][previousnumber=no,conversion=Romannumerals] \setupsection[subsection][previousnumber=no,conversion=Characters] \setupsection[subsubsection][previousnumber=no] \starttext \section{Eins} \subsection{Zuerst} \subsubsection{Test} \subsubsection[LAB]{Test} \subsubsection{Test} \subsection{Danach} \subsubsection{Test} \subsubsection{Test} \section{Zwei} \subsection{Und dann} \subsubsection{Test} In \in[LAB] % < problem \stoptext --- The numbering of the subsub's is prefixed (arabic, not roman) and reset by the section-number (not the subsection-number). This works. The problem is, that section-number-prefix is not used for the reference. What is the solution? Btw. I have not found any explanations for the 'prefix' and the 'ownnumber' options. Where can I read and learn about these options? Wolfgang ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Killing the space after a section.
On 4/12/07, John R. Culleton <[EMAIL PROTECTED]> wrote: > I have the file set up with no parindent and one blank line between > paragraphs. but I want to kill the extra space after \section > headers. The current definition is: > \setuphead[section][number=no,style=\SectSans,page=no,after={\vskip > 2sp}] > > ...but the blank line remains. Do I need to use a negative \vskip? not an answer (sorry). But try this \setuphead[section][style={\ssbfb}, before={\begingroup\ruledvbox\bgroup}, after={\egroup\endgroup}] \starttext \section{Foo} foo baa \section{gMoo()} gMoo \stoptext luigi ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Grid-keeping list (again)
hmm maibe i have not understand, but > \startcolumns[n=2, balance=no] > %% (columns are not necessary to show the effect) > > \dorecurse{20}{ > \zeichen{0001}{a}{first letter}{}% > \zeichen{0002}{b}{second letter}{}% \zeichen{0002}{b}{second letter \vrule width 0.1pt height 1em depth2em }{}% %% or this %% \zeichen{0002}{b}{second letter \blank Mlg() }{}% > > \stopcolumns > the list I published in "Detailtypografie" (2nd ed. 2004), but for breaks the rule. Or not ? luigi ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Killing the space after a section.
> \SectSans is a font I set up (bold, sans serif and slightly larger. ) > If there is a way to specify both bold and sans serif at a larger > (e.g. \tfb) size I would be happy to use that instead. hmm, maybe \ssbfb luigi ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Can I use OpenType fonts with ConTe Xt on Windows right now
An easy way to test OpenType fonts with Context/Xetex from scratch under Windows (XP): 1. Get Texlive 2007 2. Install the Context collection with the Texlive Manager (Xetex is included) 3. Create a little test file: \enableregime[utf] \definetypeface[myface][ss][Xsans][Arial]%or any else font in your /windows/fonts folder; run "fc-list >namelist.txt" to get them all \setupbodyfont[myface, 12pt] \starttext Hello World! \stoptext 4. Run "texexec --xtx test.tex" Sources: http://wiki.contextgarden.net/Fonts_in_XeTeX http://www.fsci.fuk.kindai.ac.jp/kakuto/win32-ptex/web2c75-e.html ___ SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192 ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Can I use OpenType fonts with ConTeXt on Windows right now
Hello, Thanks a lot for people who replied to my "OpenType in Windows" topic. I have learned a lot about perspectives, but... can someone make it clear -- CAN I use OpenType fonts with ConTeXt on Windows right NOW (without conversion to other formats), and, if possible, what I have to do to achieve it? Thanks. -- Best regards, Vyatcheslav Yatskovsky ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Killing the space after a section.
I have the file set up with no parindent and one blank line between paragraphs. but I want to kill the extra space after \section headers. The current definition is: \setuphead[section][number=no,style=\SectSans,page=no,after={\vskip 2sp}] ...but the blank line remains. Do I need to use a negative \vskip? \SectSans is a font I set up (bold, sans serif and slightly larger. ) If there is a way to specify both bold and sans serif at a larger (e.g. \tfb) size I would be happy to use that instead. -- John Culleton Able Indexing and Typesetting Precision typesetting (tm) at reasonable cost. Satisfaction guaranteed. http://wexfordpress.com _ Need personalized email and website? Look no further. It's easy with Doteasy $0 Web Hosting! Learn more at www.doteasy.com ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Change the size of publication list
On Thu, 12 Apr 2007, Taco Hoekwater wrote: > > > Aditya Mahajan wrote: >> Hi, >> >> I want to change the font size of the list of publications to \small. >> This needs to be done in the style file. But I could not find any >> option to do this in the bib module. What is the correct way to do >> this? > > Good question. Looks like I inadvertedly removed the before&after > functionality at some point :-( For the moment, I am abusing initializepublist, mainly because it resets some options in \setuplist[pub] and I am against a hard deadline. This is my bib setup for IEEE style (well atleast in terms of font and spacing, the actual formatting of enteries will have to wait) bibliography. There is some spurious white space between enteries, and as a temp hack, I use \vskip -0.5\baselineskip. I will debug more carefully over the weekend and send you a bibl-ieee.tex \setuppublications [alternative=num,monthconversion=month,sorttype=bib] \setupbibtex [sort=author] \setuppublicationlist [maybeyear=off] \setuppublicationlist [numbercommand=\withbrackets,margin=1em,distance=1em,width=fit] \setuppublicationlist [before={\vskip -0.5\baselineskip},after=,inbetween=] \setupcite [num] [compress=yes] \def\initializepubslist {\switchtobodyfont[small] \setupinterlinespace \setupwhitespace[none] \vskip 0.5\baselineskip} % Defined in bibl-num.tex \def\withbrackets#1{[#1]} \unprotect \def\doverysimplebibnumref#1#2% {\refsep \ifcase#1\relax \unknownreference{#1}\else \def\tempa{#2}\ifx\empty\tempa#1\else#1\docommaordash{#1}{#2}#2\fi \fi} \def\docommaordash#1#2% {\doifelse{\the\numexpr#1+1-#2\relax}{0} {\bibalternative\c!pubsep} {\bibalternative\c!inbetween}} \protect Aditya ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Grid-keeping list (again)
> the problem with tex is that it does not hav ea way to force consistent > height and depth of lines. yes, it'true. And this is why I'm so involved. luigi ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] xetext-pdftex differences
On Thu, 12 Apr 2007 12:46:51 +0200, Hans Hagen wrote: > Steffen Wolfrum wrote: >> On Wed, 11 Apr 2007 17:44:18 +0200, Mojca Miklavec wrote: >> >>> You should try to get "uc" working if possible, but you need to add >>> some definitions from my previous mail. If you want to stick with >>> texnansi, you should better use pdfTeX. >>> >> >> I have a document with German as the main language, defined ... >> >> \usetypescriptfile[type-gyr] >> \usetypescript[times][texnansi] >> \mainlanguage[de] >> \setupbodyfont[times,10pt] >> >> and inserted Arabic quotes in Arabic AlBayan.ttf, defined ... >> >> \font\geeza="AlBayan" at 10pt >> >> >> That's why it's typeset with XeTeX. But nevertheless texnansi for >> TeXGyreTermes seems to be fine (at least for now). >> > technically one can define a virtual font which uses TeXGyreTermes as > base, but has additional glyphs taken from AlBayan; I do have > experimental code for that but have to cook up an interface (not that > hard, i only need time and motivation) ... No no, stop!!! Don't do it the hard way. ConTeXt has already such handy ways to fulfill my needs. Switching between the two fonts is perfectly fine for me. Thank you, Steffen. ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Grid-keeping list (again)
Hi Wolfgang, perfect, now everything works as expected! Thank you! Johannes Wolfgang Schuster wrote: > Hi Johannes, > > replace the current definition of \zeichenzelle with the following: > > \def\zeichenzelle#1% > {\advance\zeichencolumn\plusone >\hbox > {\vtop > {\hsize\zeichenparameter\c!width > \normalbaselines > \zeichenparameter\c!before > \begstrut >\dostartattributes{\ze\number\zeichencolumn}\c!style\c!color >\zeichenparameter\c!left > #1 >\zeichenparameter\c!right >\dostopattributes > \endstrut > \zeichenparameter\c!after}}} > > \synchronizegrid in \setupzeichen is not neccessary > > \setupzeichen > [\c!textwidth=63.8833mm, >\c!before=\noindenting, %\synchronizegrid, >\c!after=, %\synchronizegrid > ] > > add the next two commands to your module > > \def\startzeichen{\begingroup\offinterlineskip} > \def\stopzeichen{\endgroup} > > a alternative version > > %\def\startzeichen{\offinterlineskip} > %\def\stopzeichen{\oninterlineskip} > > and put \startzeichen and \stopzeichen before and after your lines > with all \zeichen commands > > \startzeichen > \zeichen > ... > \zeichen > \stopzeichen > > and everything should work as expected > > Wolfgang -- Johannes Kuester typoma mailto:[EMAIL PROTECTED] http://www.typoma.com ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Grid-keeping list (again)
Johannes Kuester wrote: > luigi scarso wrote: > >> On 4/12/07, Johannes Kuester <[EMAIL PROTECTED]> wrote: >> >>> Hello, >>> >>> I'm still trying to typeset a "grid-keeping" list (or table). >>> >> Sorry, no answer. >> Only to say that I'm following this subject, and I'm doing some private >> tests. >> > > Thank you! I hope you will be more successful than I am. > > I do not understand why this is such a problem. Basically, it's just > about "paragraph boxes" and their proper alignment on a grid. > > To me, such a list seems like a basic typographic requirement, so it > should be possible to do that in ConTeXt. > the problem with tex is that it does not hav ea way to force consistent height and depth of lines, so here are a few tricks: \begstrut some text \endstrut \endgraf \snaptogrid\vbox{some text} Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Grid-keeping list (again)
luigi scarso wrote: > On 4/12/07, Johannes Kuester <[EMAIL PROTECTED]> wrote: >> Hello, >> >> I'm still trying to typeset a "grid-keeping" list (or table). > Sorry, no answer. > Only to say that I'm following this subject, and I'm doing some private tests. Thank you! I hope you will be more successful than I am. I do not understand why this is such a problem. Basically, it's just about "paragraph boxes" and their proper alignment on a grid. To me, such a list seems like a basic typographic requirement, so it should be possible to do that in ConTeXt. Johannes -- Johannes Kuester typoma mailto:[EMAIL PROTECTED] http://www.typoma.com ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Grid-keeping list (again)
2007/4/12, Johannes Kuester <[EMAIL PROTECTED]>: Hello, I'm still trying to typeset a "grid-keeping" list (or table). Wolfgang Schuster supplied me off-list with the attached module. This works fine except for one problem: Only the first few lines are placed on the grid, then the grid is lost. After the next pass (i.e. after the next "texmfstart texexec testfile"), some more lines are placed on the grid. (So I need many passes to typeset the complete list correctly). Why? Any idea? (I fiddled around with \synchronizegrid, \placeongrid, \moveongrid, and \startlinecorrection \stoplinecorrection, but none of these seems to work.) You could try the effect with the following example: %% \setuplayout[grid=yes, columns=2] \showgrid %\showstruts \usemodule[gridlist] \starttext \startcolumns[n=2, balance=no] %% (columns are not necessary to show the effect) \dorecurse{20}{ \zeichen{0001}{a}{first letter}{}% \zeichen{0002}{b}{second letter}{}% \zeichen{0002}{c}{third letter, this one has a longer entry which needs more than one line}{}% } \stopcolumns \stoptext Hi Johannes, replace the current definition of \zeichenzelle with the following: \def\zeichenzelle#1% {\advance\zeichencolumn\plusone \hbox {\vtop {\hsize\zeichenparameter\c!width \normalbaselines \zeichenparameter\c!before \begstrut \dostartattributes{\ze\number\zeichencolumn}\c!style\c!color \zeichenparameter\c!left #1 \zeichenparameter\c!right \dostopattributes \endstrut \zeichenparameter\c!after}}} \synchronizegrid in \setupzeichen is not neccessary \setupzeichen [\c!textwidth=63.8833mm, \c!before=\noindenting, %\synchronizegrid, \c!after=, %\synchronizegrid ] add the next two commands to your module \def\startzeichen{\begingroup\offinterlineskip} \def\stopzeichen{\endgroup} a alternative version %\def\startzeichen{\offinterlineskip} %\def\stopzeichen{\oninterlineskip} and put \startzeichen and \stopzeichen before and after your lines with all \zeichen commands \startzeichen \zeichen ... \zeichen \stopzeichen and everything should work as expected Wolfgang ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] error in meta-txt.tex
luigi scarso wrote: > On 4/12/07, Vit Zyka <[EMAIL PROTECTED]> wrote: >> Hi Hans, >> >> there is an error in meta-txt.tex: >> instead of >> \includeMPgraphic{followtokens} >> should be something like >> \includeMPgraphic{followtokens}\relax >> otherwise we get >> icture pic[]; ... >> in .mp file > [OT] > Hi Vit, too bad that we didn't met at Epen. > Maybe next time... > > luigi Hi Luigi, yes it is a pity, I believe it will be very interesting meeting. But I spent by travelling South America first three months of this year and now it is the time to catch up my job duty. So, may be next time. Enjoy Epen Vit ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] xetext-pdftex differences
Steffen Wolfrum wrote: > On Wed, 11 Apr 2007 17:44:18 +0200, Mojca Miklavec wrote: > >> You should try to get "uc" working if possible, but you need to add >> some definitions from my previous mail. If you want to stick with >> texnansi, you should better use pdfTeX. >> > > I have a document with German as the main language, defined ... > > \usetypescriptfile[type-gyr] > \usetypescript[times][texnansi] > \mainlanguage[de] > \setupbodyfont[times,10pt] > > and inserted Arabic quotes in Arabic AlBayan.ttf, defined ... > > \font\geeza="AlBayan" at 10pt > > > That's why it's typeset with XeTeX. But nevertheless texnansi for > TeXGyreTermes seems to be fine (at least for now). > technically one can define a virtual font which uses TeXGyreTermes as base, but has additional glyphs taken from AlBayan; I do have experimental code for that but have to cook up an interface (not that hard, i only need time and motivation); that way you dont't need to switch to geeza in between \ctxlua { fonts.define.methods.install("weird", { { "include-method", "base" } , { "copy-char" , "lmroman10-regular" , 65, 66 } , { "copy-range", "lmsans10-regular" , 0x0100, 0x01FF } , { "copy-range", "lmtypewriter10-regular", 0x0200, 0xFF00 } , { "fallback-range", "lmtypewriter10-regular", 0x, 0x0200 } }) } \starttext \startTEXpage [EMAIL PROTECTED] \test \eacute \rcaron \adoublegrave \char"0200 AB\char65\char65 \stopTEXpage Along these lines ... but then properly interfaced -) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] xetext-pdftex differences
Steffen Wolfrum wrote: > On Wed, 11 Apr 2007 19:22:39 +0200, Hans Hagen wrote: > > >> luatex itself has still the pdftex machinery around, so you can use map >> files to handle things when you use for instance type one fonts. >> > > > Does this mean for document with different fonts > I will be able to use my good old mapfiles like > > pads8r AGaramond-Semibold "TeXBase1Encoding ReEncodeFont" <8r.enc > > > and also an opentype fonts like > > DecoTypeNaskh.ttf > > together in one ConTeXt document, typeset with luatex? > indeed - pads8r is a rather dump tfm file, so that goes through the normal tex machinery - DecoTypeNaskh.ttf is an open type font and can be used directly \definefont[whatever][DecoTypeNaskh] should be enough Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] error in meta-txt.tex
Hi Hans, there is an error in meta-txt.tex: instead of \includeMPgraphic{followtokens} should be something like \includeMPgraphic{followtokens}\relax otherwise we get icture pic[]; ... in .mp file Vit Test file: - \starttext \useMPlibrary[txt] \startuseMPgraphic{followtokens} path P, RotPath, C; C:= fullcircle scaled 10cm; draw C withpen pencircle scaled 0pt; P:= fullcircle scaled 11.3cm; RotPath:= subpath (3.25,4.5) of P; \stopuseMPgraphic \hbox{\followtokens{Text along the arc.}} \stoptext - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] error in meta-txt.tex
On 4/12/07, Vit Zyka <[EMAIL PROTECTED]> wrote: > Hi Hans, > > there is an error in meta-txt.tex: > instead of > \includeMPgraphic{followtokens} > should be something like > \includeMPgraphic{followtokens}\relax > otherwise we get > icture pic[]; ... > in .mp file [OT] Hi Vit, too bad that we didn't met at Epen. Maybe next time... luigi ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Grid-keeping list (again)
On 4/12/07, Johannes Kuester <[EMAIL PROTECTED]> wrote: > Hello, > > I'm still trying to typeset a "grid-keeping" list (or table). Sorry, no answer. Only to say that I'm following this subject, and I'm doing some private tests. ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Change the size of publication list
Aditya Mahajan wrote: > Hi, > > I want to change the font size of the list of publications to \small. > This needs to be done in the style file. But I could not find any > option to do this in the bib module. What is the correct way to do > this? Good question. Looks like I inadvertedly removed the before&after functionality at some point :-( Taco ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Grid-keeping list (again)
Hello, I'm still trying to typeset a "grid-keeping" list (or table). Wolfgang Schuster supplied me off-list with the attached module. This works fine except for one problem: Only the first few lines are placed on the grid, then the grid is lost. After the next pass (i.e. after the next "texmfstart texexec testfile"), some more lines are placed on the grid. (So I need many passes to typeset the complete list correctly). Why? Any idea? (I fiddled around with \synchronizegrid, \placeongrid, \moveongrid, and \startlinecorrection \stoplinecorrection, but none of these seems to work.) You could try the effect with the following example: %% \setuplayout[grid=yes, columns=2] \showgrid %\showstruts \usemodule[gridlist] \starttext \startcolumns[n=2, balance=no] %% (columns are not necessary to show the effect) \dorecurse{20}{ \zeichen{0001}{a}{first letter}{}% \zeichen{0002}{b}{second letter}{}% \zeichen{0002}{c}{third letter, this one has a longer entry which needs more than one line}{}% } \stopcolumns \stoptext %% (This should result in an annotated list of mathematical symbols, showing the Unicode number, the math symbol, and some explanation (and where the explanation could need more than one line); quite similar to the list I published in "Detailtypografie" (2nd ed. 2004), but for another -- quite pressing -- project.) Johannes -- Johannes Kuester typoma mailto:[EMAIL PROTECTED] http://www.typoma.com \startmodule[gridlist] \unprotect \def\ze{ze} % ZEichen \newcount\zeichencolumn \def\setupzeichen {\dodoubleempty\dosetupzeichen} \def\dosetupzeichen[#1][#2]% {\ifsecondargument \dodosetupzeichen[#1][#2] \else \dodosetupzeichen[\v!line][#1] \fi} \def\dodosetupzeichen[#1][#2]% {\def\docommand##1% {\getparameters[\ze##1][#2]} \processcommalist[#1]\docommand} \def\zeichenparameter#1% {\csname \ifcsname\ze\number\zeichencolumn#1\endcsname \ze\number\zeichencolumn \else \ze\v!line \fi #1\endcsname} \definehspace[myindent][10pt] \def\startunisym% {\bgroup% \setbox\scratchbox\hbox\bgroup} \def\stopunisym% {\egroup% \raise.3ex\hbox{\box\scratchbox} \egroup} \def\zeichen% {\ignorespaces\permitspacesbetweengroups \doquadruplegroupempty\dozeichen} \def\dozeichen#1#2#3#4% {\begingroup \zeichenparameter\c!before \zeichencolumn\zerocount \hbox\!!to\zeichenparameter\c!textwidth {\zeichenzelle{#1}% \zeichenzelle{#2}% \hfill \zeichenzelle{#3}}% \zeichenparameter\c!after \endgroup} \def\zeichenzelle#1% {\advance\zeichencolumn\plusone \hbox {\vtop {\hsize\zeichenparameter\c!width \zeichenparameter\c!before \begstrut \dostartattributes{\ze\number\zeichencolumn}\c!style\c!color \zeichenparameter\c!left #1 \zeichenparameter\c!right \dostopattributes \endstrut \zeichenparameter\c!after}}} \setupzeichen [\c!textwidth=63.8833mm,% \c!before=\noindenting\synchronizegrid,% \c!after=\synchronizegrid,% ] \setupzeichen [1,2,3,4] [\c!before=, \c!after=, \c!left=, \c!right=] \setupzeichen [1] [\c!width=6.5mm, \c!left=\startunisym, \c!right=\stopunisym, \c!align=right, \c!before=\raggedright, \c!after=, \c!style={\switchtobodyfont[6.8pt]\tt\bf}] \setupzeichen [2] [\c!width=7.5mm, \c!left=$, \c!right=$, \c!before=\raggedcenter, \c!style={\switchtobodyfont[9.6pt]}] \setupzeichen [3] [\c!width=49.883mm, \c!style={\switchtobodyfont[8.4pt]}, \c!before=\hangindent10pt\hangafter1\raggedright] \protect \stopmodule \endinput ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] xetext-pdftex differences
On Wed, 11 Apr 2007 17:44:18 +0200, Mojca Miklavec wrote: > You should try to get "uc" working if possible, but you need to add > some definitions from my previous mail. If you want to stick with > texnansi, you should better use pdfTeX. I have a document with German as the main language, defined ... \usetypescriptfile[type-gyr] \usetypescript[times][texnansi] \mainlanguage[de] \setupbodyfont[times,10pt] ... and inserted Arabic quotes in Arabic AlBayan.ttf, defined ... \font\geeza="AlBayan" at 10pt That's why it's typeset with XeTeX. But nevertheless texnansi for TeXGyreTermes seems to be fine (at least for now). Thank you, Steffen ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] xetext-pdftex differences
On Wed, 11 Apr 2007 19:22:39 +0200, Hans Hagen wrote: > luatex itself has still the pdftex machinery around, so you can use map > files to handle things when you use for instance type one fonts. Does this mean for document with different fonts I will be able to use my good old mapfiles like pads8r AGaramond-Semibold "TeXBase1Encoding ReEncodeFont" <8r.enc http://www.ntg.nl/mailman/listinfo/ntg-context