From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/19099 Path: news.gmane.org!not-for-mail From: ishamid Newsgroups: gmane.comp.tex.context Subject: RE: m-bib issues Date: Thu, 17 Mar 2005 08:17:09 -0700 Message-ID: <423A74FD@webmail.colostate.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1111073097 15859 80.91.229.2 (17 Mar 2005 15:24:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 17 Mar 2005 15:24:57 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 17 16:24:56 2005 Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DBwj1-0006et-8T for gctc-ntg-context-518@m.gmane.org; Thu, 17 Mar 2005 16:15:51 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0E219128FB; Thu, 17 Mar 2005 16:17:21 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07130-07; Thu, 17 Mar 2005 16:17:16 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AAEFF128B2; Thu, 17 Mar 2005 16:17:15 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B9102128B2 for ; Thu, 17 Mar 2005 16:17:13 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07393-01 for ; Thu, 17 Mar 2005 16:17:12 +0100 (CET) Original-Received: from eagle.colostate.edu (eagle.acns.colostate.edu [129.82.100.90]) by ronja.ntg.nl (Postfix) with ESMTP id 6D658127B7 for ; Thu, 17 Mar 2005 16:17:11 +0100 (CET) Original-Received: from lamar.colostate.edu (lamar.acns.colostate.edu [129.82.100.75]) by eagle.colostate.edu (AIX5.1/8.11.6p2/8.11.0) with ESMTP id j2HFHAS1591990 for ; Thu, 17 Mar 2005 08:17:10 -0700 Original-Received: from webmail.colostate.edu (csunts4.acns.colostate.edu [129.82.100.135]) by lamar.colostate.edu (AIX5.1/8.11.6p2/8.11.0) with ESMTP id j2HFHAH655988 for ; Thu, 17 Mar 2005 08:17:10 -0700 X-WebMail-UserID: ishamid Original-To: mailing list for ConTeXt users X-EXP32-SerialNo: 00002247, 00002264 X-Mailer: Infinite Mobile Delivery (Hydra) SMTP v3.62.01 X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl X-MailScanner-From: ntg-context-bounces@ntg.nl X-MailScanner-To: gctc-ntg-context-518@m.gmane.org Xref: news.gmane.org gmane.comp.tex.context:19099 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:19099 >===== Original Message From Taco Hoekwater ===== >> The \startpublication[a= ] option seems to cause m-bib to choke on some >> accents. Here is an example: > >It might be a font thing, because my Context does not complain and >typesets the \~\i correctly. Rather, its almost certainly a macro thing, because I've had to redefine/create some accents for transliteration, etc. See below. Anyway, these accents work fine outside of the \startpublication[a= ] option. >A log file and/or texexec --version >information is needed. Silly me, I was half-sleep when I sent that. Try this: ===================test-bib.tex=================== \setupoutput[pdftex] \usemodule[bib] \def\SHIFT#1{\dimen0=.00#1ex \multiply\dimen0 by\fontdimen1\font \kern-.0156\dimen0} % compensate for slant/italic in lower accents \def\h#1{{\oalign{\relax#1\crcr\hidewidth\SHIFT{34}% \vbox to.2ex{\hbox{\char'25}\vss}\hidewidth}}} \def\~#1{{\struttedbox{\accent"7E #1}}} \def\AHSAI{A\d hs\=a'\~\i} %\def\AHSAI{A\d hs\=a'\i} \def\KHAWARIZMI{\h Haw\=arizm\=i} %\def\KHAWARIZMI{Khaw\=arizm\=i} \KHAWARIZMI{} (from whom we get `algorithm') \input test-bib.bbl \starttext \cite[ahsaif] \cite[ahsaijk] \cite[khawarizmi] \AHSAI \KHAWARIZMI \stoptext =================================================== ==================test-bib.bbl===================== \startpublication[k=ahsaif, t=book, a=\AHSAI, y=1856, s=\AHSAI1856] %\author[\v Say\h h]{A\.hmad Ibn Zayni \Al-D\={i}n}[A.]{}{\Ah} \author[\v Say\h h]{A\.hmad Ibn Zayni \Al-D\={i}n}[A.]{}{\Ah} \title{\v Sar\.hu \~al-Faw\={a}\'id} \pubname{n.p.} \city{Tabriz} \pubyear{1856} \stoppublication \startpublication[k=ahsaijk, t=book, a=\AHSAI, y=1856--59, s=\AHSAI1856--59] \author[\v Say\h h]{A\.hmad Ibn Zayni \Al-D\={i}n}[A.]{}{\Ah} \title{Jaw\={a}mi\`u \~al-Kalim} \pubname{n.p.} \note{Two volumes} \city{Tabriz} \pubyear{1856--59} \stoppublication \startpublication[k=khawarizmi, t=book, a=\KHAWARIZMI, y=1856, s=\KHAWARIZMI1856] %\author[\v Say\h h]{A\.hmad Ibn Zayni \Al-D\={i}n}[A.]{}{\Ah} \author[\v Say\h h]{A\.hmad Ibn Zayni \Al-D\={i}n}[A.]{}{\Ah} \title{\v Sar\.hu \~al-Faw\={a}\'id} \pubname{n.p.} \city{Tabriz} \pubyear{1856} \stoppublication =================================================== ======================log========================== This is pdfeTeX, Version 3.141592-1.20a-2.2 (Web2c 7.5.3) (format=cont-en 2005.3.16) 17 MAR 2005 08:33 entering extended mode \write18 enabled. (c:\CONTEXT\texmf-local/web2c/natural.tcx) **&cont-en test-bib.tex (./test-bib.tex ConTeXt ver: 2005.01.31 fmt: 2005.3.16 int: english mes: english language : language en is active system : cont-new loaded (c:\CONTEXT\texmf-local/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex! color : palette rollover is available system (E-TEX) : [line 878] system (E-TEX) : [line 933] ) system : cont-old loaded (c:\CONTEXT\texmf-local/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (c:\CONTEXT\texmf-local/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (c:\CONTEXT\texmf-local/tex/context/user/cont-sys.tex (c:\CONTEXT\texmf-local/tex/context/base/type-syn.tex) (c:\CONTEXT\texmf-local/tex/context/base/type-enc.tex) (c:\CONTEXT\texmf-local/tex/context/base/type-dis.tex) (c:\CONTEXT\texmf-local/tex/context/base/type-siz.tex) (c:\CONTEXT\texmf-local/tex/context/base/type-map.tex) (c:\CONTEXT\texmf-local/tex/context/base/type-spe.tex) (c:\CONTEXT\texmf-local/tex/context/base/type-exa.tex) (c:\CONTEXT\texmf-local/tex/context/base/type-akb.tex)) bodyfont : 12pt rm is loaded language : patterns en->default:default->1->2:2 uk->default:default->2-> 2:2 de->texnansi:texnansi->3->2:2 de->ec:ec->4->2:2 fr->texnansi:texnansi->5->2 :2 fr->ec:ec->6->2:2 es->default:default->7->2:2 it->texnansi:texnansi->8->2:2 it->ec:ec->9->2:2 nl->texnansi:texnansi->10->2:2 nl->ec:ec->11->2:2 loaded specials : tex,postscript,rokicki loaded \openout2 = `test-bib.tui'. system : test-bib.top loaded (./test-bib.top) \openout0 = `test-bib-mpgraph.mp'. \openout0 = `mpgraph.mp'. specials : loading definition file tpd (c:\CONTEXT\texmf-local/tex/context/base/spec-tpd.tex specials : loading definition file fdf (c:\CONTEXT\texmf-local/tex/context/base/spec-fdf.tex system (E-TEX) : [line 2280] \ifcsname ) specials : fdf loaded ) specials : fdf,tpd loaded system : macros of module bib loaded (c:\CONTEXT\texmf-local/tex/context/bib/t-bib.tex system : macros of module bibltx loaded (c:\CONTEXT\texmf-local/tex/context/bib/t-bibltx.tex) publications : loading formatting style from bibl-apa (c:\CONTEXT\texmf-local/tex/context/bib/bibl-apa.tex)) (./test-bib.bbl) (./test-bib.tuo) (./test-bib.tuo) (./test-bib.tuo) (./test-bib.tuo) (./test-bib.tuo) (./test-bib.tuo) (./test-bib.tuo) (./test-bib.tuo) (./test-bib.tuo) (./test-bib.tuo) (./test-bib.tuo) (./test-bib.tuo) (./test-bib.tuo) fonts : using map file: texnansi-public-lm.map fonts : using map file: original-public-vnr.map fonts : using map file: original-public-csr.map fonts : using map file: original-public-plr.map fonts : using map file: original-public-lm.map fonts : using map file: original-ams-euler.map fonts : using map file: original-ams-cmr.map fonts : using map file: texnansi-base.map fonts : using map file: t5-base.map fonts : using map file: qx-base.map fonts : using map file: 8r-base.map fonts : using map file: ec-base.map fonts : using map file: ec-public-lm.map fonts : using map file: original-base.map publications : loading database from test-bib.bbl (./test-bib.bbl) systems : begin file test-bib at line 23 ! Undefined control sequence. \dowithnextbox #1->\long \def \dodowithnextbox {#1}\afterassignment \dododow... \struttedbox ...trutheight \flushnextbox \egroup } \normalhbox \~#1->{\struttedbox {\accent "7E #1}} \getcommacommandsize [#1]->\edef \commacommand {#1 }\scratchtoks \expandafter... \dobibauthoryear ...acommandsize [\thebibauthors ] \@EA \processcommalist \@E... \bibauthoryearsref ...rnative \c!inbetween {\YR }} \bibalternative \v!right ... l.26 ? ! Undefined control sequence. \dododowithnextbox ->\aftergroup \dodowithnextbox \dowithnextbox ...erassignment \dododowithnextbox \setbox \nextbox \struttedbox ...trutheight \flushnextbox \egroup } \normalhbox \~#1->{\struttedbox {\accent "7E #1}} \getcommacommandsize [#1]->\edef \commacommand {#1 }\scratchtoks \expandafter... \dobibauthoryear ...acommandsize [\thebibauthors ] \@EA \processcommalist \@E... ... l.26 ? ! Undefined control sequence. \dowithnextbox #1->\long \def \dodowithnextbox {#1}\afterassignment \dododow... \struttedbox ...trutheight \flushnextbox \egroup } \normalhbox \~#1->{\struttedbox {\accent "7E #1}} \getcommacommandsize [#1]->\edef \commacommand {#1 }\scratchtoks \expandafter... \dobibauthoryear ...acommandsize [\thebibauthors ] \@EA \processcommalist \@E... \bibauthoryearsref ...rnative \c!inbetween {\YR }} \bibalternative \v!right ... l.28 ? ! Undefined control sequence. \dododowithnextbox ->\aftergroup \dodowithnextbox \dowithnextbox ...erassignment \dododowithnextbox \setbox \nextbox \struttedbox ...trutheight \flushnextbox \egroup } \normalhbox \~#1->{\struttedbox {\accent "7E #1}} \getcommacommandsize [#1]->\edef \commacommand {#1 }\scratchtoks \expandafter... \dobibauthoryear ...acommandsize [\thebibauthors ] \@EA \processcommalist \@E... ... l.28 ? ! Illegal parameter number in definition of \commacommand. \crcr \oalign ...z@skip \lineskip .25ex\ialign {##\crcr #1\crcr }} \h ...x to.2ex{\hbox {\char '25}\vss }\hidewidth } } \KHAWARIZMI ->\h H aw\=arizm\=i \getcommacommandsize [#1]->\edef \commacommand {#1 }\scratchtoks \expandafter... \ixbibauthoryear ...acommandsize [\thebibauthors ] \xdef \theauthorssize {\co... ... l.30 ? ! Illegal parameter number in definition of \commacommand. \crcr \oalign ...z@skip \lineskip .25ex\ialign {##\crcr #1\crcr }} \h ...x to.2ex{\hbox {\char '25}\vss }\hidewidth } } \KHAWARIZMI ->\h H aw\=arizm\=i \getcommacommandsize [#1]->\edef \commacommand {#1 }\scratchtoks \expandafter... \dobibauthoryear ...acommandsize [\thebibauthors ] \@EA \processcommalist \@E... ... l.30 ? [1.1{c:\CONTEXT\texmf-local/fonts/map/pdftex/context/original-empty.map}{c:\CO N TEXT\texmf-local/fonts/map/pdftex/context/texnansi-public-lm.map}{c:\CONTEXT\t e xmf-local/fonts/map/pdftex/context/original-public-vnr.map}{c:\CONTEXT\texmf-l o cal/fonts/map/pdftex/context/original-public-csr.map}{c:\CONTEXT\texmf-local/f o nts/map/pdftex/context/original-public-plr.map}{c:\CONTEXT\texmf-local/fonts/m a p/pdftex/context/original-public-lm.map}{c:\CONTEXT\texmf-local/fonts/map/pdft e x/context/original-ams-euler.map}{c:\CONTEXT\texmf-local/fonts/map/pdftex/cont e xt/original-ams-cmr.map}{c:\CONTEXT\texmf-local/fonts/map/pdftex/context/texna n si-base.map}{c:\CONTEXT\texmf-local/fonts/map/pdftex/context/t5-base.map}{c:\C O NTEXT\texmf-local/fonts/map/pdftex/context/qx-base.map}{c:\CONTEXT\texmf-local / fonts/map/pdftex/context/8r-base.map}{c:\CONTEXT\texmf-local/fonts/map/pdftex/ c ontext/ec-base.map}{c:\CONTEXT\texmf-local/fonts/map/pdftex/context/ec-public- l m.map}{c:\CONTEXT\texmf-local/fonts/map/pdftex/context/original-base.map}] systems : end file test-bib at line 35 ) Here is how much of TeX's memory you used: 1649 strings out of 162969 25978 string characters out of 664882 2494205 words of memory out of 3536160 36350 multiletter control sequences out of 10000+50000 10284 words of font info for 34 fonts, out of 1000000 for 2000 104 hyphenation exceptions out of 1000 44i,17n,49p,220b,364s stack positions out of 5000i,500n,5000p,200000b,40000s 7 PDF objects out of 300000 0 named destinations out of 131072 1 words of extra memory for PDF output out of 65536 Output written on test-bib.pdf (1 page, 9141 bytes). =================================================== Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523