From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72841 Path: news.gmane.org!not-for-mail From: Alexandre Krispin Newsgroups: gmane.comp.tex.context Subject: Re: Error while compiling : ! String contains an invalid utf-8 sequence. Date: Wed, 30 Nov 2011 13:25:05 +0100 Message-ID: References: <4ED33367.907@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1095819690==" X-Trace: dough.gmane.org 1322655938 9784 80.91.229.12 (30 Nov 2011 12:25:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 30 Nov 2011 12:25:38 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 30 13:25:30 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RVjE8-00026l-Jq for gctc-ntg-context-518@m.gmane.org; Wed, 30 Nov 2011 13:25:29 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C5C65CB10D; Wed, 30 Nov 2011 13:25:27 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1rrWquLY749M; Wed, 30 Nov 2011 13:25:23 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9E57BCB103; Wed, 30 Nov 2011 13:25:23 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B91E1CB103 for ; Wed, 30 Nov 2011 13:25:21 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id HwHgAhdwvZVs for ; Wed, 30 Nov 2011 13:25:08 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id BC389CB102 for ; Wed, 30 Nov 2011 13:25:08 +0100 (CET) Original-Received: from mail-ey0-f169.google.com (mail-ey0-f169.google.com [209.85.215.169]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pAUCP6pe004888 for ; Wed, 30 Nov 2011 13:25:06 +0100 Original-Received: by eaah1 with SMTP id h1so809590eaa.14 for ; Wed, 30 Nov 2011 04:25:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=vPrnuK7/I92kkAuAiRM8bJWhBrTWjlCPHwNWN5NTMoY=; b=hYSZ5U4sB3TF2n/OV0hnAzY3GuDoo8YmU/0EEMaJSLhsfI9FDB2YKuZnDvTJ4lg+Vj Rh4sWsnaq2MGT6umdIcabFXNo5bdKA6IO/K2DMbgrpvwP5Fre7FleIWP+rHnM0O7M7+O szm8OmUo/pIclMESVo5i9f053+w4ai+K5zmWQ= Original-Received: by 10.216.221.39 with SMTP id q39mr252276wep.70.1322655905470; Wed, 30 Nov 2011 04:25:05 -0800 (PST) Original-Received: by 10.216.50.208 with HTTP; Wed, 30 Nov 2011 04:25:05 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06G3op6Rx - fc873a8e2485 - 20111130 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:72841 Archived-At: --===============1095819690== Content-Type: multipart/alternative; boundary=0014853932a467d8ad04b2f2d342 --0014853932a467d8ad04b2f2d342 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, I had no response for the problem related to the script "hanzi", and the reason may be that I have done a mistake since I have sent a mail only to Wolfgang Schuster and not to the mailing list. So in case there would be a solution to solve the problem of misplaced dots that the script "hanzi" caused, I copy-paste the mail I sent to Wolfgang Schuster only instead of the mailing list by mistake : The problem when I switch to the latin script for the bibliography is that again, japanese words won't wrap, the long japanese titles will go throughout the page, without going to the next line, as before. And if I switch to the the hanzi script for the bibliography, japanese titles will appear correctly, but dots will be misplaced. Some dots will be before the parenthesis, others will be at the same after parenthesis but with a big space between it. Here are the tex and bib file which allow you to reproduce the problem : %***************************** ******************************************************************* \usemodule[simplefonts] \setmainfont[Arno Pro] \definesimplefonttypeface[jpn][HeiseiMinStd-W3] %**************************************** \setupbibtex[database=3Dbiblio,sort=3Dauthor] \setuppublications[alternative=3Dapa-fr,sorttype=3Dbbl,refcommand=3Dauthory= ear] %**************************************** \setscript[hanzi] %if this script is turned on, japanese display is ok, but dots won't display correctly \starttext \completepublications[criterium=3Dall] \stoptext %**************************************************************************= ************************ %**************************************************************************= ************************ @article{conrad1980transformation, author =3D "Conrad Totman", title =3D "From {S}akoku to {K}aikoku. {T}he {T}ransformation of {F}oreign-{P}olicy {A}ttitudes, 1853-1868", journal =3D "Monumenta Nipponica", year =3D 1980, volume =3D 35, number =3D 1, pages =3D "1-19", publisher =3D "Sophia University", url =3D "http://www.jstor.org/stable/2384397", } @article{howse2002from, author =3D "Robert Howse", title =3D "From Politics to Technocracy-and Back Again: The Fate of the Multilateral Trading Regime", journal =3D "The American Journal of International Law", volume =3D 96, number =3D 1, month =3D "January", year =3D 2002, pages =3D "94-117", publisher =3D "American Society of International Law", url =3D "http://www.jstor.org/stable/2686127", } @article{kato2011tpp, author =3D "Kat=C3=B4, Fumiko {\jpn =E5=8A=A0=E8=97=A4 =E6=96=87=E5=AD=90}"= , title =3D "{TPP} sanka giron wo meguru ikk=C3=B4satsu - Iry=C3=B4bunya wo c= h=C3=BBshin ni - =C3=94bei no r=C3=B4d=C3=B4 shij=C3=B4 to no genj=C3=B4 wo fumaete {\jpn =EF=BC=B4=EF=BC=B0=EF=BC=B0=E5=8F=82=E5=8A=A0=E8=AD=B0=E8=AB=96=E3=82=92=E3= =82=81=E3=81=90=E3=82=8B=E4=B8=80=E8=80=83=E5=AF=9F-=E5=8C=BB=E7=99=82=E5= =88=86=E9=87=8E=E3=82=92=E4=B8=AD=E5=BF=83=E3=81=AB-=E6=AC=A7=E7=B1=B3=E3= =81=AE=E5=8A=B4=E5=83=8D=E5=B8=82=E5=A0=B4=E3=81=A8=E3=81=AE=E7=8F=BE=E7=8A= =B6=E6=AF=94=E8=BC=83=E3=82=92=E3=81=B5=E3=81=BE=E3=81=88=E3=81=A6} (Une r=C3=A9flexion sur les d=C3=A9bats d'adh=C3=A9sion au {TPP}, centr=C3= =A9e sur le champ m=C3=A9dical -- Bas=C3=A9e sur une comparaison du march=C3=A9 du travail actuel europ=C3= =A9en et nord-am=C3=A9ricain)", journal =3D "Jissen joshi daigaku ningen shakai gakubu kiy=C3=B4 {\jpn =E5=AE=9F=E8=B7=B5=E5=A5=B3=E5=AD=90=E5=A4=A7=E5=AD=A6=E4=BA=BA=E9=96=93=E7= =A4=BE=E4=BC=9A=E5=AD=A6=E9=83=A8=E7=B4=80=E8=A6=81}", month =3D "avril", year =3D 2011, pages =3D "77-88", publisher =3D "Jissen joshi daigaku {\jpn =E5=AE=9F=E8=B7=B5=E5=A5=B3=E5=AD= =90=E5=A4=A7=E5=AD=A6}", url =3D "http://ci.nii.ac.jp/naid/110008431857/", } @article{kobrain1998mai, author =3D "Stephen J. Kobrin", title =3D {The {MAI} and the Clash of Globalizations}, journal =3D "Foreign Policy", number =3D 112, month =3D "Autumn", year =3D 1998, pages =3D "97-109", publisher =3D "Washington Post Newsweek Interactive LLC", url =3D "http://www.jstor.org/stable/1149038", } @article{ishihara2011tpp, author =3D "Ishihara, Kenji {\jpn =E7=9F=B3=E5=8E=9F=E5=81=A5=E4=BA=8C}", title =3D {{TPP} mondai to nihon n=C3=B4gy=C3=B4 {\jpn =EF=BC=B4=EF=BC=B0=EF=BC=B0=E5=95=8F=E9=A1=8C=E3=81= =A8=E6=97=A5=E6=9C=AC=E8=BE=B2=E6=A5=AD}(Le probl=C3=A8me du {TPP} et l'agr= iculture japonaise)}, journal =3D {Jichi s=C3=B4ken {\jpn =E8=87=AA=E6=B2=BB=E7=B7=8F=E7=A0=94}}, volume =3D {392}, year =3D {2011}, month =3D {June}, pages =3D {38-58}, publisher =3D {Chih=C3=B4 jichi s=C3=B4g=C3=B4 kenky=C3=BBjo {\jpn =E5=9C= =B0=E6=96=B9=E8=87=AA=E6=B2=BB=E7=B7=8F=E5=90=88=E7=A0=94=E7=A9=B6=E6=89=80= }}, url =3D {http://ci.nii.ac.jp/naid/110008454120/}, } @article{ciccantell2001nafta, author =3D "Paul Ciccantell", title =3D "{NAFTA} and the Reconstruction of {U.S.} Hegemony: The Raw Materials Foundations of Economic Competitiveness", publisher =3D "Canadian Journal of Sociology", journal =3D "The Canadian Journal of Sociology", year =3D 2001, period =3D Winter, volume =3D 26, number =3D 1, pages =3D "57-87", url =3D "http://www.jstor.org/stable/3341511" } @article{robey1999civil, author =3D "John S. Robey", title =3D "Civil Society and {NAFTA}: Initial Results", journal =3D "Annals of the American Academy of Political and Social Science= ", publisher =3D "Sage Publications, Inc.", year =3D 1999, month =3D "September", volume =3D 565, pages =3D "113-125", url =3D "http://www.jstor.org/stable/1049540" } @article{morales1999governance, author =3D "Isidro Morales", title =3D "{NAFTA}: The Governance of Economic Openness", journal =3D "Annals of the American Academy of Political and Social Science= ", publisher =3D "Sage Publications, Inc.", year =3D 1999, month =3D "September", volume =3D 565, pages =3D "35-65", url =3D "http://www.jstor.org/stable/1049536" } @article{morales1999mexican, author =3D "Isidro Morales", title =3D "The Mexican Crisis and the Weakness of the {NAFTA} Consensus", journal =3D "Annals of the American Academy of Political and Social Science= ", publisher =3D "Sage Publications, Inc.", year =3D 1997, month =3D "March", volume =3D 550, pages =3D "130-152", url =3D "http://www.jstor.org/stable/1047712" } @article{uzawa2011tpp, author =3D "Hirofumi, Uzawa {\jpn =E5=AE=87=E6=B2=A2=E5=BC=98=E6=96=87} and= Uchihashi, Katsuto {\jpn =E5=86=85=E6=A9=8B=E5=85=8B=E4=BA=BA}", journal =3D "Sekai {\jpn =E4=B8=96=E7=95=8C}", title =3D "Taidan {TPP} wa shakaiteki ky=C3=B4ts=C3=BB shihon wo hakai suru {\jpn =E5=AF=BE=E8=AB=87=EF=BC=B4=EF=BC=B0=EF=BC=B0=E3=81=AF=E7=A4=BE=E4=BC= =9A=E7=9A=84=E5=85=B1=E9=80=9A=E8=B3=87=E6=9C=AC=E3=82=92=E7=A0=B4=E5=A3=8A= =E3=81=99=E3=82=8B} ({D}iscussion. Le {TPP} d=C3=A9truit le capital social commun)", year =3D 2011, month =3D "april", publisher =3D "Iwanami shoten {\jpn =E5=B2=A9=E6=B3=A2=E6=9B=B8=E5=BA=97}", pages =3D "62-72", url =3D "http://ci.nii.ac.jp/naid/40018706510/", } %**************************************************************************= ************************ Cheers, Alexandre Krispin 2011/11/28 Alexandre Krispin > Yes for sure, thanks to the script Wolfgang Schuster pointed out to me > earlier in the discussion : > \setscript[hanzi] > > > 2011/11/28 S Barmeier > >> On 11/27/2011 11:44 PM, ntg-context-request@ntg.nl wrote: >> > Send ntg-context mailing list submissions to >> > ntg-context@ntg.nl >> > >> > To subscribe or unsubscribe via the World Wide Web, visit >> > http://www.ntg.nl/mailman/listinfo/ntg-context >> > or, via email, send a message with subject or body 'help' to >> > ntg-context-request@ntg.nl >> > >> > You can reach the person managing the list at >> > ntg-context-owner@ntg.nl >> > >> > When replying, please edit your Subject line so it is more specific >> > than "Re: Contents of ntg-context digest..." >> > >> > >> > Today's Topics: >> > >> > 1. error with \showlayout and export (Henning Hraban Ramm) >> > 2. Re: error with \showlayout and export (Wolfgang Schuster) >> > 3. page number in margin (Henning Hraban Ramm) >> > 4. Export to epub (Keith McKay) >> > 5. Re: Error while compiling : ! String contains an invalid >> > utf-8 sequence. (Mojca Miklavec) >> > 6. Re: Export to epub (Hans Hagen) >> > >> > >> > ---------------------------------------------------------------------- >> > >> > Message: 1 >> > Date: Sun, 27 Nov 2011 12:11:36 +0100 >> > From: Henning Hraban Ramm >> > To: mailing ConTeXt users list for >> > Subject: [NTG-context] error with \showlayout and export >> > Message-ID: <4670B7FC-970F-4698-B676-9F8C31AE8971@fiee.net> >> > Content-Type: text/plain; charset=3DUS-ASCII; format=3Dflowed; delsp= =3Dyes >> > >> > Hi wizards, >> > >> > if I use \showlayout in a project where I setup export=3Dyes, ConTeXt >> > stops with a fatal error. >> > >> > Minimal failing example: >> > >> > \setupbackend[export=3Dyes] >> > \starttext >> > \showlayout >> > \stoptext >> > >> > >> > Ixchel:konzept hraban$ context --purge context_test.tex >> > >> > mtx-context | run 1: luatex --fmt=3D"/Users/hraban/Library/texmf/t= ex/ >> > texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/ >> > formats/cont-en" --lua=3D"/Users/hraban/Library/texmf/tex/texmf-cache/ >> > luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont- >> > en.lui" --backend=3D"pdf" "./context_test.tex" \stoptext >> > This is LuaTeX, Version beta-0.70.1-2011051908 (rev 4277) >> > \write18 enabled. >> > (context_test.tex >> > >> > ConTeXt ver: 2011.11.24 15:52 MKIV fmt: 2011.11.25 int: english/ >> > english >> > >> > system > cont-new.mkiv loaded >> > (/Users/hraban/Library/texmf/tex/texmf-context/tex/context/base/cont- >> > new.mkiv >> > system > beware: some patches loaded from cont-new.mkiv >> > ) >> > system > context_test.top loaded >> > (context_test.top) >> > fonts > latin modern fonts are not preloaded >> > languages > language en is active >> > backend > export > enabling export to xml >> > {/Users/hraban/Library/texmf/tex/texmf-context/fonts/map/pdftex/ >> > context/mkiv-base.map} >> > fonts > preloading latin modern fonts (second stage) >> > (/Users/hraban/Library/texmf/tex/texmf-context/tex/context/base/type- >> > siz.mkiv) (/Users/hraban/Library/texmf/tex/texmf-context/tex/context/ >> > base/type-otf.mkiv) >> > files > readfile > asked name: 'loc', not found >> > {/Users/hraban/Library/texmf/tex/texmf-fonts/fonts/map/dvips/lm/lm- >> > math.map}{/Users/hraban/Library/texmf/tex/texmf-fonts/fonts/map/dvips/ >> > lm/lm-rm.map} >> > fonts > virtual math > unable to resolve name mapsfromchar >> > fonts > fallback modern rm 12pt is loaded >> > (/Users/hraban/Library/texmf/tex/texmf-context/tex/context/base/page- >> > run.mkiv >> > loading > ConTeXt Page Macros / Runtime Macros >> > ) >> > interface > initialization > loading interface definitions from >> > 'mult-def.lua' >> > interface > initialization > loading interface messages from >> > 'mult-mes.lua' >> > metapost > initializing instance 'metafun' using format 'metafu= n' >> > metapost > loading 'metafun': /Users/hraban/Library/texmf/tex/ >> > texmf-context/metapost/context/base/metafun.mpiv >> > backend > xmp > using file '/Users/hraban/Library/texmf/tex/ >> > texmf-context/tex/context/base/lpdf-pdx.xml' >> > pages > flushing realpage 1, userpage 1, subpage 1 >> > pages > flushing realpage 2, userpage 2 >> > pages > flushing realpage 3, userpage 3 >> > pages > flushing realpage 4, userpage 4 >> > pages > flushing realpage 5, userpage 5 >> > )> > lmmono10-regular.otf>> > opentype/public/lm/lmmono12-regular.otf>> > tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf> >> > ! LuaTeX error ...exmf/tex/texmf-context/tex/context/base/back-exp.lua= : >> > 1203: attempt to index global 'c' (a nil value). >> > >> > system > tex > error on line 0 in file : LuaTeX error ... >> > >> > >> > >> > <*> ./context_test.tex >> > \stoptext >> > ? >> > >> > >> > >> > Greetlings from Lake Constance! >> > Hraban >> > --- >> > http://www.fiee.net/texnique/ >> > http://wiki.contextgarden.net >> > https://www.cacert.org (I'm an assurer) >> > >> > >> > >> > ------------------------------ >> > >> > Message: 2 >> > Date: Sun, 27 Nov 2011 12:35:10 +0100 >> > From: Wolfgang Schuster >> > To: mailing list for ConTeXt users >> > Cc: Henning Hraban Ramm >> > Subject: Re: [NTG-context] error with \showlayout and export >> > Message-ID: <0BCE3119-7D79-43B9-A159-62BC079800B1@googlemail.com> >> > Content-Type: text/plain; charset=3Dus-ascii >> > >> > >> > Am 27.11.2011 um 12:11 schrieb Henning Hraban Ramm: >> > >> >> Hi wizards, >> >> >> >> if I use \showlayout in a project where I setup export=3Dyes, ConTeXt >> stops with a fatal error. >> >> >> >> Minimal failing example: >> >> >> >> \setupbackend[export=3Dyes] >> >> \starttext >> >> \showlayout >> >> \stoptext >> > >> > I think this change in back-exp.lua should work (runs at least without >> an error message): >> > >> > function extras.tabulate(result,element,detail,n,fulltag,di) >> > local data =3D di.data >> > for i=3D1,#data do >> > local di =3D data[i] >> > if di.tg =3D=3D "tabulaterow" then >> > local did =3D di.data >> > local content =3D false >> > for i=3D1,#did do >> > local d =3D did[i].data >> > -- local c =3D d and c.content >> > local c =3D d and d.content >> > if c and #c > 0 then >> > content =3D true >> > break >> > end >> > end >> > if not content then >> > di.element =3D "" -- or simply remove >> > end >> > end >> > end >> > end >> > >> > Wolfgang >> > >> > ------------------------------ >> > >> > Message: 3 >> > Date: Sun, 27 Nov 2011 13:40:51 +0100 >> > From: Henning Hraban Ramm >> > To: mailing list for ConTeXt users >> > Subject: [NTG-context] page number in margin >> > Message-ID: <90A69805-BCEC-4A6C-BC89-5FA243C9C802@fiee.net> >> > Content-Type: text/plain; charset=3DWINDOWS-1252; format=3Dflowed; >> > delsp=3Dyes >> > >> > Hi again, >> > >> > I?d like to get my page numbers in the margin. >> > This works: >> > \setuppagenumbering[alternative=3Ddoublesided,location=3Dmargin] >> > >> > But that way it?s on the bottom of the footer margin; I'd like it on >> > the top. >> > >> > Second variant: Even better, I?d like my page number at the bottom of >> > the text margin. How can I achieve that? >> > >> > location option "marginedge" doesn?t seem to do anything, as far as i >> > can tell, and "inright" is the same as "margin". >> > >> > Greetlings from Lake Constance! >> > Hraban >> > --- >> > http://www.fiee.net/texnique/ >> > http://wiki.contextgarden.net >> > https://www.cacert.org (I'm an assurer) >> > >> > >> > >> > ------------------------------ >> > >> > Message: 4 >> > Date: Sun, 27 Nov 2011 13:03:28 +0000 >> > From: Keith McKay >> > To: Ntg-Context >> > Subject: [NTG-context] Export to epub >> > Message-ID: <4ED23520.2070103@gmail.com> >> > Content-Type: text/plain; charset=3D"iso-8859-1"; Format=3D"flowed" >> > >> > Hi >> > >> > I've been playing about with Export in Context with a view to producin= g >> > ePubs. >> > >> > When I run the script: >> > >> > /mtxrun --script epub --make test.specification >> > >> > /the test.tree is prepared but no epub file. The output shown below h= as >> > a couple or 'error' messages which are probably due to the way my text >> > editor is set up (Scite Version 2.02). If anyone is using Scite and >> > producing ePubs I be grateful for some hints on how to set this up so >> > that inkscape and zip works. >> > >> > %%Script Output >> > >> > mtx-epub | creating paths in tree test.tree >> > mtx-epub | copying toc.ncx to test.tree/OPS/toc.ncx >> > mtx-epub | copying test-styles.css to >> test.tree/OPS/test-styles.css >> > mtx-epub | copying test-images.css to >> test.tree/OPS/test-images.css >> > mtx-epub | copying test.css to test.tree/OPS/test.css >> > mtx-epub | copying test.xhtml to test.tree/OPS/test.xhtml >> > mtx-epub | running command 'inkscape --export-plain-svg=3Dcow.s= vg >> > cow.pdf' >> > >> > 'inkscape' is not recognized as an internal or external command, >> > operable program or batch file. >> > >> > mtx-epub | copying cow.svg to test.tree/OPS/cow.svg >> > mtx-epub | copying hacker.jpg to test.tree/OPS/hacker.jpg >> > mtx-epub | copying mill.png to test.tree/OPS/mill.png >> > mtx-epub | creating archive >> > >> > 'zip' is not recognized as an internal or external command, >> > operable program or batch file. >> > 'zip' is not recognized as an internal or external command, >> > operable program or batch file. >> > 'zip' is not recognized as an internal or external command, >> > operable program or batch file. >> > >> > mtx-epub | epub archive: test.tree/test.epub>Exit code: 0 >> > >> > %%End Script Output >> > >> > I'm using Minimals ConTeXt ver: 2011.09.27 20:05 MKIV fmt: 2011.11.1= 9 >> > int: english/english on a Windows 7 machine and the test.tex file is t= he >> > |export-example.tex file renamed from the Minimals distribution|. >> > >> > Thanks >> > Keith McKay >> > >> > -------------- next part -------------- >> > An HTML attachment was scrubbed... >> > URL: < >> http://www.ntg.nl/pipermail/ntg-context/attachments/20111127/f306eade/at= tachment-0001.html >> > >> > >> > ------------------------------ >> > >> > Message: 5 >> > Date: Sun, 27 Nov 2011 14:33:32 +0100 >> > From: Mojca Miklavec >> > To: mailing list for ConTeXt users >> > Subject: Re: [NTG-context] Error while compiling : ! String contains >> > an invalid utf-8 sequence. >> > Message-ID: >> > > zuD_g7OyBMyW7hxXoXc6ZZ7rA@mail.gmail.com> >> > Content-Type: text/plain; charset=3DUTF-8 >> > >> > 2011/11/26 Alexandre Krispin wrote: >> >> Now that japanese display correctly, there is still another problem. >> >> Japanese sentences (long titles in bibliography) don't break at the >> end of >> >> line. I have tested the behavior of japanese with entire paragraphs, >> and I >> >> get the same problem as in the bibliography, lines don't break and go >> >> "through" the page. >> >> >> >> Though I have looked to documentation about chinese on the wiki, none >> helped >> >> me to solve this problem. Does someone have any idea ? >> > >> > My first guess is that ConTeXt doesn't know how to "hyphenate" / split >> > words or sentences without space. I don't know what the Japanese >> > typesetting rules are, but if nothing is implemented yet, it cannot >> > work. >> > >> > Mojca >> >> I'm interested in Japanese to work as well... Should be easy - no >> hyphenation, just split the word when the line is full and continue on >> the next one. There are some more subtle rules for vertical typesetting >> (e.g. full stops =E3=80=82 and commas =E3=80=81 hang over), but for hori= zontal >> typesetting you'd just want to split the line anywhere... >> >> Can that be done? >> >> Severin >> >> >> ________________________________________________________________________= ___________ >> If your question is of interest to others as well, please add an entry t= o >> the Wiki! >> >> maillist : ntg-context@ntg.nl / >> http://www.ntg.nl/mailman/listinfo/ntg-context >> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net >> archive : http://foundry.supelec.fr/projects/contextrev/ >> wiki : http://contextgarden.net >> >> ________________________________________________________________________= ___________ >> > > > > -- > > -------------------------------------------------------------------------= ----- > Alexandre KRISPIN > 41 rue Guynemer | 93200 Saint-Denis | France > t=C3=A9l : 06 28 76 69 34 | http://bijutsu.toile-libre.org > > -------------------------------------------------------------------------= --- > > --=20 ---------------------------------------------------------------------------= --- Alexandre KRISPIN 41 rue Guynemer | 93200 Saint-Denis | France t=C3=A9l : 06 28 76 69 34 | http://bijutsu.toile-libre.org ---------------------------------------------------------------------------= - --0014853932a467d8ad04b2f2d342 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello,

I had no response for the problem related to the script "= ;hanzi", and the reason may be that I have done a mistake since I have= sent a mail only to Wolfgang Schuster and not to the mailing list.

So in case there would be a solution to solve the problem of misplaced dots= that the script "hanzi" caused, I copy-paste the mail I sent to = Wolfgang Schuster only instead of the mailing list by mistake :

The problem when I switch to the latin script for the bibliography is=20 that again, japanese words won't wrap, the long japanese titles will go= =20 throughout the page, without going to the next line, as before. And if I switch to the the hanzi script for the bibliography, japanese titles=20 will appear correctly, but dots will be misplaced. Some dots will be=20 before the parenthesis, others will be at the same after parenthesis but with a big space between it.

Here are the tex and bib file which allow you to reproduce the problem = :
%*****************************
************************= *******************************************

\usemodule= [simplefonts]
\setmainfont[Arno Pro]
\definesimplefonttypeface[jpn][HeiseiMinStd-W3]
%***********************= *****************
\setupbibtex[database=3Dbiblio,sort=3Dauthor]
\setu= ppublications[alternative=3Dapa-fr,sorttype=3Dbbl,refcommand=3Dauthoryear]<= br>%****************************************
\setscript[hanzi] %if this script is turned on, japanese display is ok, but= dots won't=C2=A0 display correctly

\starttext
\completepubli= cations[criterium=3Dall]
\stoptext
%*********************************= *****************************************************************

%**********************************************************************= ****************************
@article{conrad1980transformation,
autho= r =3D "Conrad Totman",
title =3D "From {S}akoku to {K}aik= oku. {T}he {T}ransformation of {F}oreign-{P}olicy
{A}ttitudes,
1853-1868",
journal =3D "Monumenta Nipponica&q= uot;,
year =3D 1980,
volume =3D 35,
number =3D 1,
pages =3D &qu= ot;1-19",
publisher =3D "Sophia University",
url =3D &= quot;http= ://www.jstor.org/stable/2384397",
}

@article{howse2002from,
author =3D "Robert Howse",title =3D "From Politics to Technocracy-and Back Again: The Fate of t= he
Multilateral Trading Regime",
journal =3D "The American = Journal of International Law",
volume =3D 96,
number =3D 1,
month =3D "January",
year = =3D 2002,
pages =3D "94-117",
publisher =3D "American = Society of International Law",
url =3D "http://www.jstor.org/stable/268= 6127",
}

@article{kato2011tpp,
author =3D "Kat=C3=B4, Fumiko {\jpn = =E5=8A=A0=E8=97=A4 =E6=96=87=E5=AD=90}",
title =3D "{TPP} sank= a giron wo meguru ikk=C3=B4satsu - Iry=C3=B4bunya wo ch=C3=BBshin ni - =C3= =94bei no r=C3=B4d=C3=B4
shij=C3=B4 to no genj=C3=B4 wo fumaete {\jpn=EF=BC=B4=EF=BC=B0=EF=BC=B0=E5=8F=82=E5=8A=A0=E8=AD=B0=E8=AB=96=E3=82=92= =E3=82=81=E3=81=90=E3=82=8B=E4=B8=80=E8=80=83=E5=AF=9F-=E5=8C=BB=E7=99=82= =E5=88=86=E9=87=8E=E3=82=92=E4=B8=AD=E5=BF=83=E3=81=AB-=E6=AC=A7=E7=B1=B3= =E3=81=AE=E5=8A=B4=E5=83=8D=E5=B8=82=E5=A0=B4=E3=81=A8=E3=81=AE=E7=8F=BE=E7= =8A=B6=E6=AF=94=E8=BC=83=E3=82=92=E3=81=B5=E3=81=BE=E3=81=88=E3=81=A6}
(Une r=C3=A9flexion sur les d=C3=A9bats d'adh=C3=A9sion au {TPP}, centr= =C3=A9e sur le champ m=C3=A9dical
-- Bas=C3=A9e sur une comparaison du m= arch=C3=A9 du travail actuel europ=C3=A9en et
nord-am=C3=A9ricain)"= ,
journal =3D "Jissen joshi daigaku ningen shakai gakubu kiy=C3=B4 = {\jpn
=E5=AE=9F=E8=B7=B5=E5=A5=B3=E5=AD=90=E5=A4=A7=E5=AD=A6=E4=BA=BA=E9=96=93=E7= =A4=BE=E4=BC=9A=E5=AD=A6=E9=83=A8=E7=B4=80=E8=A6=81}",
month =3D &q= uot;avril",
year =3D 2011,
pages =3D "77-88",
publi= sher =3D "Jissen joshi daigaku {\jpn =E5=AE=9F=E8=B7=B5=E5=A5=B3=E5=AD= =90=E5=A4=A7=E5=AD=A6}",
url =3D "http://ci.nii.ac.jp/naid/110008431= 857/",
}

@article{kobrain1998mai,
author =3D "Stephen J. Kobrin&quo= t;,
title =3D {The {MAI} and the Clash of Globalizations},
journal = =3D "Foreign Policy",
number =3D 112,
month =3D "Autum= n",
year =3D 1998,
pages =3D "97-109",
publisher =3D "Wash= ington Post Newsweek Interactive LLC",
url =3D "http://www.jstor.org/st= able/1149038",
}

@article{ishihara2011tpp,
author =3D "Ishihara, Kenji {\jp= n =E7=9F=B3=E5=8E=9F=E5=81=A5=E4=BA=8C}",
title =3D {{TPP} mondai t= o nihon
n=C3=B4gy=C3=B4 {\jpn =EF=BC=B4=EF=BC=B0=EF=BC=B0=E5=95=8F=E9=A1= =8C=E3=81=A8=E6=97=A5=E6=9C=AC=E8=BE=B2=E6=A5=AD}(Le probl=C3=A8me du {TPP}= et l'agriculture
japonaise)},
journal =3D {Jichi s=C3=B4ken {\jp= n =E8=87=AA=E6=B2=BB=E7=B7=8F=E7=A0=94}},
volume =3D {392},
year =3D {2011},
month =3D {June},
pages =3D {38-58},
publ= isher =3D {Chih=C3=B4 jichi s=C3=B4g=C3=B4 kenky=C3=BBjo {\jpn =E5=9C=B0=E6= =96=B9=E8=87=AA=E6=B2=BB=E7=B7=8F=E5=90=88=E7=A0=94=E7=A9=B6=E6=89=80}},url =3D {http://ci.nii.ac.jp/naid/110008454120/},
}

@article{ciccantell2001nafta,
author =3D "Paul Ciccantell&= quot;,
title =3D "{NAFTA} and the Reconstruction of {U.S.} Hegemony= : The Raw Materials
Foundations of Economic Competitiveness",
pu= blisher =3D "Canadian Journal of Sociology",
journal =3D "The Canadian Journal of Sociology",
year =3D 2001= ,
period =3D Winter,
volume =3D 26,
number =3D 1,
pages =3D &qu= ot;57-87",
url =3D "http://www.jstor.org/stable/3341511"
}

@article{robey1999civil,
author =3D "John S. Robey",<= br>title =3D "Civil Society and {NAFTA}: Initial Results",
jou= rnal =3D "Annals of the American Academy of Political and Social Scien= ce",
publisher =3D "Sage Publications, Inc.",
year =3D 1999,
mon= th =3D "September",
volume =3D 565,
pages =3D "113-125= ",
url =3D "http://www.jstor.org/stable/1049540"
}


@article{morales1999governance,
author =3D "Isidro Mor= ales",
title =3D "{NAFTA}: The Governance of Economic Openness= ",
journal =3D "Annals of the American Academy of Political an= d Social Science",
publisher =3D "Sage Publications, Inc.",
year =3D 1999,
mon= th =3D "September",
volume =3D 565,
pages =3D "35-65",
url = =3D "http://www.jstor.org/stable/1049536"
}

@article{morales1999mexican,
author =3D "Isidro Morales&qu= ot;,
title =3D "The Mexican Crisis and the Weakness of the {NAFTA} = Consensus",
journal =3D "Annals of the American Academy of Pol= itical and Social Science",
publisher =3D "Sage Publications, Inc.",
year =3D 1997,
mon= th =3D "March",
volume =3D 550,
pages =3D "130-152&quo= t;,
url =3D "http://www.jstor.org/stable/1047712"
}

@article{uzawa2011tpp,
author =3D "Hirofumi, Uzawa {\jpn = =E5=AE=87=E6=B2=A2=E5=BC=98=E6=96=87} and Uchihashi, Katsuto {\jpn =E5=86= =85=E6=A9=8B=E5=85=8B=E4=BA=BA}",
journal =3D "Sekai {\jpn =E4= =B8=96=E7=95=8C}",

title =3D "Taidan {TPP} w= a shakaiteki ky=C3=B4ts=C3=BB shihon wo hakai suru
{\jpn =E5=AF=BE=E8=AB=87=EF=BC=B4=EF=BC=B0=EF=BC=B0=E3=81=AF=E7=A4=BE=E4=BC= =9A=E7=9A=84=E5=85=B1=E9=80=9A=E8=B3=87=E6=9C=AC=E3=82=92=E7=A0=B4=E5=A3=8A= =E3=81=99=E3=82=8B} ({D}iscussion. Le {TPP} d=C3=A9truit le
capital soci= al commun)",

year =3D 2011,
month =3D "ap= ril",
publisher =3D "Iwanami shoten {\jpn =E5=B2=A9=E6= =B3=A2=E6=9B=B8=E5=BA=97}",

pages =3D "62-72",
url =3D "http://ci.nii.ac.jp/naid/40018706510/",
}
%****= ***************************************************************************= *******************

Cheers,
Alexandr= e Krispin

2011/11/28 Alexandre Krispin <k.m.alexandr= e@gmail.com>
Yes for sure, thanks to the script Wolfgang= Schuster pointed out to me earlier in the discussion :
\setscript[hanzi= ]


2011/11/28 S Barmeier = <severinbarmeier@googlemail.com>
On 11/27/2011 11:44 PM, ntg-context-request@ntg.nl = wrote:
> Send ntg-context mailing list submissions to
> =C2=A0 =C2=A0 =C2=A0 ntg-context@ntg.nl
>
> To subscribe or unsubscribe via the World Wide Web, visit
> =C2=A0 =C2=A0 =C2=A0 http://www.ntg.nl/mailman/listinfo/ntg-context<= /a>
> or, via email, send a message with subject or body 'help' to > =C2=A0 =C2=A0 =C2=A0
ntg-context-request@ntg.nl
>
> You can reach the person managing the list at
> =C2=A0 =C2=A0 =C2=A0 ntg-context-owner@ntg.nl
>
> When replying, please edit your Subject line so it is more specific > than "Re: Contents of ntg-context digest..."
>
>
> Today's Topics:
>
> =C2=A0 =C2=A01. error with \showlayout and export (Henning Hraban Ramm= )
> =C2=A0 =C2=A02. Re: error with \showlayout and export (Wolfgang Schust= er)
> =C2=A0 =C2=A03. page number in margin (Henning Hraban Ramm)
> =C2=A0 =C2=A04. Export to epub (Keith McKay)
> =C2=A0 =C2=A05. Re: Error while compiling : ! String contains an inval= id
> =C2=A0 =C2=A0 =C2=A0 utf-8 sequence. (Mojca Miklavec)
> =C2=A0 =C2=A06. Re: Export to epub (Hans Hagen)
>
>
> ----------------------------------------------------------------------=
>
> Message: 1
> Date: Sun, 27 Nov 2011 12:11:36 +0100
> From: Henning Hraban Ramm <hraban@fiee.net>
> To: mailing ConTeXt users list for <ntg-context@ntg.nl>
> Subject: [NTG-context] error with \showlayout and export
> Message-ID: <4670B7FC-970F-4698-B676-9F8C31AE8971@fiee.net<= /a>>
> Content-Type: text/plain; charset=3DUS-ASCII; format=3Dflowed; delsp= =3Dyes
>
> Hi wizards,
>
> if I use \showlayout in a project where I setup export=3Dyes, ConTeXt<= br> > stops with a fatal error.
>
> Minimal failing example:
>
> \setupbackend[export=3Dyes]
> \starttext
> \showlayout
> \stoptext
>
>
> Ixchel:konzept hraban$ context --purge context_test.tex
>
> mtx-context =C2=A0 =C2=A0 | run 1: luatex --fmt=3D"/Users/hraban/= Library/texmf/tex/
> texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/
> formats/cont-en" --lua=3D"/Users/hraban/Library/texmf/tex/te= xmf-cache/
> luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont- > en.lui" --backend=3D"pdf" "./context_test.tex"= ; \stoptext
> This is LuaTeX, Version beta-0.70.1-2011051908 (rev 4277)
> =C2=A0 \write18 enabled.
> (context_test.tex
>
> ConTeXt =C2=A0ver: 2011.11.24 15:52 MKIV =C2=A0fmt: 2011.11.25 =C2=A0i= nt: english/
> english
>
> system =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0> cont-new.mkiv loaded
> (/Users/hraban/Library/texmf/tex/texmf-context/tex/context/base/cont-<= br> > new.mkiv
> system =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0> beware: some patches loa= ded from cont-new.mkiv
> )
> system =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0> context_test.top loaded<= br> > (context_test.top)
> fonts =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > latin modern fonts are n= ot preloaded
> languages =C2=A0 =C2=A0 =C2=A0 > language en is active
> backend =C2=A0 =C2=A0 =C2=A0 =C2=A0 > export > enabling export t= o xml
> {/Users/hraban/Library/texmf/tex/texmf-context/fonts/map/pdftex/
> context/mkiv-base.map}
> fonts =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > preloading latin modern = fonts (second stage)
> (/Users/hraban/Library/texmf/tex/texmf-context/tex/context/base/type-<= br> > siz.mkiv) (/Users/hraban/Library/texmf/tex/texmf-context/tex/context/<= br> > base/type-otf.mkiv)
> files =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > readfile > asked name= : 'loc', not found
> {/Users/hraban/Library/texmf/tex/texmf-fonts/fonts/map/dvips/lm/lm- > math.map}{/Users/hraban/Library/texmf/tex/texmf-fonts/fonts/map/dvips/=
> lm/lm-rm.map}
> fonts =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > virtual math > unable= to resolve name mapsfromchar
> fonts =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > fallback modern rm 12pt = is loaded
> (/Users/hraban/Library/texmf/tex/texmf-context/tex/context/base/page-<= br> > run.mkiv
> loading =C2=A0 =C2=A0 =C2=A0 =C2=A0 > ConTeXt Page Macros / Runtime= Macros
> )
> interface =C2=A0 =C2=A0 =C2=A0 > initialization > loading interf= ace definitions from
> 'mult-def.lua'
> interface =C2=A0 =C2=A0 =C2=A0 > initialization > loading interf= ace messages from
> 'mult-mes.lua'
> metapost =C2=A0 =C2=A0 =C2=A0 =C2=A0> initializing instance 'me= tafun' using format 'metafun'
> metapost =C2=A0 =C2=A0 =C2=A0 =C2=A0> loading 'metafun': /U= sers/hraban/Library/texmf/tex/
> texmf-context/metapost/context/base/metafun.mpiv
> backend =C2=A0 =C2=A0 =C2=A0 =C2=A0 > xmp > using file '/Use= rs/hraban/Library/texmf/tex/
> texmf-context/tex/context/base/lpdf-pdx.xml'
> pages =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > flushing realpage 1, use= rpage 1, subpage 1
> pages =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > flushing realpage 2, use= rpage 2
> pages =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > flushing realpage 3, use= rpage 3
> pages =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > flushing realpage 4, use= rpage 4
> pages =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > flushing realpage 5, use= rpage 5
> =C2=A0 )</Users/hraban/Library/texmf/tex/texmf/fonts/opentype/publi= c/lm/
> lmmono10-regular.otf></Users/hraban/Library/texmf/tex/texmf/font= s/
> opentype/public/lm/lmmono12-regular.otf></Users/hraban/Library/t= exmf/
> tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf>
> ! LuaTeX error ...exmf/tex/texmf-context/tex/context/base/back-exp.lua= :
> 1203: attempt to index global 'c' (a nil value).
>
> system =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0> tex > error on line 0= in file : LuaTeX error =C2=A0...
>
> <empty file>
>
> <*> ./context_test.tex
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 \stoptext
> ?
>
>
>
> Greetlings from Lake Constance!
> Hraban
> ---
>
http://www= .fiee.net/texnique/
> http://wik= i.contextgarden.net
> https://www.cacer= t.org (I'm an assurer)
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 27 Nov 2011 12:35:10 +0100
> From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Cc: Henning Hraban Ramm <hraban@fiee.net>
> Subject: Re: [NTG-context] error with \showlayout and export
> Message-ID: <0BCE3119-7D79-43B9-A159-62BC079800B1@goo= glemail.com>
> Content-Type: text/plain; charset=3Dus-ascii
>
>
> Am 27.11.2011 um 12:11 schrieb Henning Hraban Ramm:
>
>> Hi wizards,
>>
>> if I use \showlayout in a project where I setup export=3Dyes, ConT= eXt stops with a fatal error.
>>
>> Minimal failing example:
>>
>> \setupbackend[export=3Dyes]
>> \starttext
>> \showlayout
>> \stoptext
>
> I think this change in back-exp.lua should work (runs at least without= an error message):
>
> function extras.tabulate(result,element,detail,n,fulltag,di)
> =C2=A0 =C2=A0 local data =3D di.data
> =C2=A0 =C2=A0 for i=3D1,#data do
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 local di =3D data[i]
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 if di.tg =3D=3D "tabulaterow" then
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 local did =3D di.data
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 local content =3D false
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 for i=3D1,#did do
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 local d =3D di= d[i].data
> -- =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0local c =3D d and c= .content
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 local c =3D d = and d.content
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 if c and #c &g= t; 0 then
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = content =3D true
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = break
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 end
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 end
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 if not content then
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 di.element =3D= "" -- or simply remove
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 end
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 end
> =C2=A0 =C2=A0 end
> end
>
> Wolfgang
>
> ------------------------------
>
> Message: 3
> Date: Sun, 27 Nov 2011 13:40:51 +0100
> From: Henning Hraban Ramm <hraban@fiee.net>
> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Subject: [NTG-context] page number in margin
> Message-ID: <90A69805-BCEC-4A6C-BC89-5FA243C9C802@fiee.net<= /a>>
> Content-Type: text/plain; charset=3DWINDOWS-1252; format=3Dflowed;
> =C2=A0 =C2=A0 =C2=A0 delsp=3Dyes
>
> Hi again,
>
> I?d like to get my page numbers in the margin.
> This works:
> \setuppagenumbering[alternative=3Ddoublesided,location=3Dmargin]
>
> But that way it?s on the bottom of the footer margin; I'd like it = on
> the top.
>
> Second variant: Even better, I?d like my page number at the bottom of<= br> > the text margin. How can I achieve that?
>
> location option "marginedge" doesn?t seem to do anything, as= far as i
> can tell, and "inright" is the same as "margin". >
> Greetlings from Lake Constance!
> Hraban
> ---
>
http://www= .fiee.net/texnique/
> http://wik= i.contextgarden.net
> https://www.cacer= t.org (I'm an assurer)
>
>
>
> ------------------------------
>
> Message: 4
> Date: Sun, 27 Nov 2011 13:03:28 +0000
> From: Keith McKay <mckaymeister@gmail.com>
> To: Ntg-Context <ntg-context@ntg.nl>
> Subject: [NTG-context] Export to epub
> Message-ID: <4ED23520.2070103@gmail.com>
> Content-Type: text/plain; charset=3D"iso-8859-1"; Format=3D&= quot;flowed"
>
> Hi
>
> I've been playing about with Export in Context with a view to prod= ucing
> ePubs.
>
> When I run the script:
>
> /mtxrun --script epub --make test.specification
>
> /the test.tree is prepared but no epub file. =C2=A0The output shown be= low has
> a couple or 'error' messages which are probably due to the way= my text
> editor is set up (Scite Version 2.02). =C2=A0If anyone is using Scite = and
> producing ePubs I be grateful for some hints on how to set this up so<= br> > that inkscape and zip works.
>
> %%Script Output
>
> mtx-epub =C2=A0 =C2=A0 =C2=A0 =C2=A0| creating paths in tree test.tree=
> mtx-epub =C2=A0 =C2=A0 =C2=A0 =C2=A0| copying toc.ncx to test.tree/OPS= /toc.ncx
> mtx-epub =C2=A0 =C2=A0 =C2=A0 =C2=A0| copying test-styles.css to test.= tree/OPS/test-styles.css
> mtx-epub =C2=A0 =C2=A0 =C2=A0 =C2=A0| copying test-images.css to test.= tree/OPS/test-images.css
> mtx-epub =C2=A0 =C2=A0 =C2=A0 =C2=A0| copying test.css to test.tree/OP= S/test.css
> mtx-epub =C2=A0 =C2=A0 =C2=A0 =C2=A0| copying test.xhtml to test.tree/= OPS/test.xhtml
> mtx-epub =C2=A0 =C2=A0 =C2=A0 =C2=A0| running command 'inkscape --= export-plain-svg=3Dcow.svg
> cow.pdf'
>
> 'inkscape' is not recognized as an internal or external comman= d,
> operable program or batch file.
>
> mtx-epub =C2=A0 =C2=A0 =C2=A0 =C2=A0| copying cow.svg to test.tree/OPS= /cow.svg
> mtx-epub =C2=A0 =C2=A0 =C2=A0 =C2=A0| copying hacker.jpg to test.tree/= OPS/hacker.jpg
> mtx-epub =C2=A0 =C2=A0 =C2=A0 =C2=A0| copying mill.png to test.tree/OP= S/mill.png
> mtx-epub =C2=A0 =C2=A0 =C2=A0 =C2=A0| creating archive
>
> 'zip' is not recognized as an internal or external command, > operable program or batch file.
> 'zip' is not recognized as an internal or external command, > operable program or batch file.
> 'zip' is not recognized as an internal or external command, > operable program or batch file.
>
> mtx-epub =C2=A0 =C2=A0 =C2=A0 =C2=A0| epub archive: test.tree/test.epu= b>Exit code: 0
>
> %%End Script Output
>
> I'm using Minimals ConTeXt =C2=A0ver: 2011.09.27 20:05 MKIV =C2=A0= fmt: 2011.11.19
> int: english/english on a Windows 7 machine and the test.tex file is t= he
> |export-example.tex file renamed from the Minimals distribution|.
>
> Thanks
> Keith McKay
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://www.ntg.= nl/pipermail/ntg-context/attachments/20111127/f306eade/attachment-0001.html= >
>
> ------------------------------
>
> Message: 5
> Date: Sun, 27 Nov 2011 14:33:32 +0100
> From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Subject: Re: [NTG-context] Error while compiling : ! String contains > =C2=A0 =C2=A0 =C2=A0 an invalid utf-8 sequence.
> Message-ID:
> =C2=A0 =C2=A0 =C2=A0 <CALBOmsYJRQenBGJdBKtv85RY=3DzuD_g7OyBMyW7h= xXoXc6ZZ7rA@mail.gmail.com>
> Content-Type: text/plain; charset=3DUTF-8
>
> 2011/11/26 Alexandre Krispin wrote:
>> Now that japanese display correctly, there is still another proble= m.
>> Japanese sentences (long titles in bibliography) don't break a= t the end of
>> line. I have tested the behavior of japanese with entire paragraph= s, and I
>> get the same problem as in the bibliography, lines don't break= and go
>> "through" the page.
>>
>> Though I have looked to documentation about chinese on the wiki, n= one helped
>> me to solve this problem. Does someone have any idea ?
>
> My first guess is that ConTeXt doesn't know how to "hyphenate= " / split
> words or sentences without space. I don't know what the Japanese > typesetting rules are, but if nothing is implemented yet, it cannot > work.
>
> Mojca

I'm interested in Japanese to work as well... Should be easy - no=
hyphenation, just split the word when the line is full and continue on
the next one. There are some more subtle rules for vertical typesetting
(e.g. full stops =E3=80=82 and commas =E3=80=81 hang over), but for horizon= tal
typesetting you'd just want to split the line anywhere...

Can that be done?

Severin

___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =C2=A0: http= ://www.pragma-ade.nl / http://tex.aanhet.net
archive =C2=A0: http://foundry.supelec.fr/projects/contextrev/
wiki =C2=A0 =C2=A0 : http://contextgarden.net
___________________________________________________________________________= ________



--
---------------------------------------------------------------------------= ---
Alexandre KRISPIN
41 rue Guynemer=C2=A0 |=C2=A0 93200 Saint-Denis=C2=A0 = |=C2=A0 France
t=C3=A9l : 06 28 76 69 34=C2=A0 |=C2=A0 http://bijutsu.toile= -libre.org
---------------------------------------------------------------------------= -




--
-----------------------------------------------------= -------------------------
Alexandre KRISPIN
41 rue Guynemer=C2=A0 |= =C2=A0 93200 Saint-Denis=C2=A0 |=C2=A0 France
t=C3=A9l : 06 28 76 69 34=C2=A0 |=C2=A0 http://bijutsu.toile-libre.org
-----------= -----------------------------------------------------------------
=
--0014853932a467d8ad04b2f2d342-- --===============1095819690== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1095819690==--