From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72789 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: Mon, 28 Nov 2011 09:42:50 +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="===============0405257815==" X-Trace: dough.gmane.org 1322469796 22499 80.91.229.12 (28 Nov 2011 08:43:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Nov 2011 08:43:16 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 28 09:43:07 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 1RUwnp-0003Ap-Rv for gctc-ntg-context-518@m.gmane.org; Mon, 28 Nov 2011 09:43:05 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3E2AFCB0EE; Mon, 28 Nov 2011 09:43:05 +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 DCO3toFgEHre; Mon, 28 Nov 2011 09:42:58 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 15C55CB0E8; Mon, 28 Nov 2011 09:42:58 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 67C21CB0E8 for ; Mon, 28 Nov 2011 09:42:56 +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 jORM5n+ILxVw for ; Mon, 28 Nov 2011 09:42:53 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 14835CB04D for ; Mon, 28 Nov 2011 09:42:53 +0100 (CET) Original-Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com [74.125.83.41]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pAS8go6j019521 for ; Mon, 28 Nov 2011 09:42:51 +0100 Original-Received: by eeaq46 with SMTP id q46so582529eea.14 for ; Mon, 28 Nov 2011 00:42:50 -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=V1X6bCfWP5ksaxNFfoVmptugnLmpWu7Bf+H0VqQbOBc=; b=rsPDkiafTmEyk00EvKnMt7Gz1ulTbBTfeftZk2KM/0AQj2ih8YYXIhzXIvDY3qYzDV GYLHTmSbJs2eJCV0sKQ4RFelEg0jFPbOjodm6eXT59xos4vU1q8AA2gAI8NhUunadYim tXIA77n+pn97OvpXEVPzPYC6ZK6YOI9fosRqE= Original-Received: by 10.180.109.106 with SMTP id hr10mr55408183wib.9.1322469770368; Mon, 28 Nov 2011 00:42:50 -0800 (PST) Original-Received: by 10.216.50.208 with HTTP; Mon, 28 Nov 2011 00:42:50 -0800 (PST) In-Reply-To: <4ED33367.907@googlemail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.41; 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: 08G2wGPwp - 926757e87701 - 20111128 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:72789 Archived-At: --===============0405257815== Content-Type: multipart/alternative; boundary=e89a8f3b9da5e3953c04b2c77cf8 --e89a8f3b9da5e3953c04b2c77cf8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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=3D= yes > > > > 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/te= x/ > > 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 'metafun= ' > > 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 producing > > 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 ha= s > > 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.sv= g > > 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.19 > > int: english/english on a Windows 7 machine and the test.tex file is th= e > > |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/att= achment-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 en= d > 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 horiz= ontal > 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 > 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 > > _________________________________________________________________________= __________ > --=20 ---------------------------------------------------------------------------= --- Alexandre KRISPIN 41 rue Guynemer | 93200 Saint-Denis | France t=C3=A9l : 06 28 76 69 34 | http://bijutsu.toile-libre.org ---------------------------------------------------------------------------= - --e89a8f3b9da5e3953c04b2c77cf8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Yes for sure, thanks to the script Wolfgang Schuster pointed out to me earl= ier 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-c= ontext-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 <hraba= n@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>
> 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@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, 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 <hraba= n@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>
> 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 <mckaym= eister@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_g7OyBMyW7hxXoXc6ZZ7rA@mail.g= mail.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-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >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<= /a>
--------------------------------------------------------------------= --------

--e89a8f3b9da5e3953c04b2c77cf8-- --===============0405257815== 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 ___________________________________________________________________________________ --===============0405257815==--