Re: [NTG-context] how to make a coverpage?
Am 08.04.2009 um 01:10 schrieb Jos van Gisbergen: Hi, I'm experimenting with context for a few weeks now and am impressed by its possibilities and clean results. However, everything I want to try out seems to take a lot of trial and error to get right. Especially creating a titlepage for a book, a backgound picture covering the entire page with some text on it -- I cannot for the life of me figure out how it's done. Even after googling many hours and perusing the manuals. I've tried permutations of layers, overlays and setupbackgrounds within and without {start/stop}standardmakeup -- nothing quite does it. Can somebody please show me a simple example of how to create a book cover with a picture covering the entire page and a title text on it? \starttext \defineoverlay[coverimage][\ifnum\realpageno=\plusone \overlayfigure{cover}\fi] \setupbackgrounds[page][background=coverimage] \startstandardmakeup bla bla bla \stopstandardmakeup \input knuth \stoptext or \starttext \defineoverlay[coverimage][\ifnum\realpageno=\plusone \overlayfigure{cover}\fi] \definelayer[covertext][width=\paperwidth,height=\paperheight] \setupbackgrounds[page][background={coverimage,covertext}] \startstandardmakeup \setlayer[covertext][x=3cm,y=6cm]{bla bla bla} \stopstandardmakeup \input knuth \stoptext Wolfgang ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new beta
Hi Hans Thanks for the code so that we can use fonts in Plain and LaTeX. I just had two questions 1- I got the code from Khaled. How can I get the beta myself from your repository? I just joined ConTeXt mailing list. 2- Your code works fine but if in LaTeX, I compile a document like %%% \documentclass{article} \pagedir TRT \bodydir TRT \pardir TRT \textdir TRT \directlua { dofile(kpse.find_file("luatex-fonts.lua","tex")) } \font\body=file:XBZar.ttf:mode=node;script=arab;language=ara;+init;+medi;+fina;+liga;+rlig;+mark;+mkmk at 14pt \def\normalfont{\body} \AtBeginDocument{\body} \begin{document} این یک آزمایش است که در حال وقوع است. \section{مقدمه} \end{document} %%% Then it gives this error ! LuaTeX error /home/vafa/texmf/tex/luatex-fonts/font-def.lua:337: attempt to c all field 'read_from_afm' (a nil value). relax l.16 \section{مقدمه} ? Do you know how I can resolve this issue. The issue is when you use \section and similarly when you use \chapter, \textbf, \begin{} \end{.} If I can resolve this, Then I will be writting a LaTeX interface for the fonts. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] how to make a coverpage?
Hi, I'm experimenting with context for a few weeks now and am impressed by its possibilities and clean results. However, everything I want to try out seems to take a lot of trial and error to get right. Especially creating a titlepage for a book, a backgound picture covering the entire page with some text on it -- I cannot for the life of me figure out how it's done. Even after googling many hours and perusing the manuals. I've tried permutations of layers, overlays and setupbackgrounds within and without {start/stop}standardmakeup -- nothing quite does it. Can somebody please show me a simple example of how to create a book cover with a picture covering the entire page and a title text on it? Thanks in advance, Trychius ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Filling a box
An almost identical solution is given on the wiki (http://wiki.contextgarden.net/Cropping_text) Bostjan \starttext \def\breakeverywhere#1{\if#1\normalspace\space\else#1\allowbreak\fi} \framed [width=4cm,align=normal] {\handletokens i want a framed where the text flushes to the next line without hyphenation. There is a way to get this result?\with\breakeverywhere} \stoptext smime.p7s Description: S/MIME Cryptographic Signature ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Multi-line headers
I need a multi-line header in the right page corner, with content right-aligned. \setupheadertexts[nothing on left][line 1 \par line 2] doesn't work. Is using a \vbox the correct method of handling this? If so, how? \setupheadertexts[nothing on left][\vbox{line 1 \blank line 2] puts the header in the left corner. -- david ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Filling a box
On Wed, Apr 8, 2009 at 12:19 AM, Marcin Borkowski wrote: > Dnia Wed, Apr 08, 2009 at 12:13:01AM +0200, luigi scarso napisał(a): >> On Wed, Apr 8, 2009 at 12:02 AM, Diego Depaoli wrote: >> > On Tue, Apr 7, 2009 at 11:47 PM, Wolfgang Schuster >> > wrote: >> >> >> >> \starttext >> >> >> >> \def\breakeverywhere#1{\if#1\normalspace\space\else#1\allowbreak\fi} >> >> >> >> \framed >> >> [width=4cm,align=normal] >> >> {\handletokens i want a framed where the text flushes to the next line >> >> without hyphenation. There is a way to get this >> >> result?\with\breakeverywhere} >> >> >> >> \stoptext >> > >> > YYYEES >> hmm. >> I should say ni . The problem are spaces . >> In this example I should expected that >> hy- => hy >> and some changes in glues >> and nothing else. >> Also text with \handletokens is ,well, "not so good " (ie horrible) . > > I am not sure, but maybe that would be a good idea: gather 1,2,3,... > tokens and pack them (as a whole) into an hbox until its width is > greater than the frame width, output it, and repeat until there's > nothing left. This would be very time-consuming (at least without lua), > but it should preserve kerns etc. > > Also, instead of examining the width, one could probably pack the tokens > into an \hbox to ... {...} and examine the badness. > > I don't dare to try to implement it, though - at least not at 00:17 AM;) or try-and-error with some elastic spaces \def\breakeverywhere#1{\if#1\normalspace\hskip0.5ex plus0.1ex\else#1\allowbreak\fi} -- luigi ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Filling a box
Dnia Wed, Apr 08, 2009 at 12:13:01AM +0200, luigi scarso napisał(a): > On Wed, Apr 8, 2009 at 12:02 AM, Diego Depaoli wrote: > > On Tue, Apr 7, 2009 at 11:47 PM, Wolfgang Schuster > > wrote: > >> > >> \starttext > >> > >> \def\breakeverywhere#1{\if#1\normalspace\space\else#1\allowbreak\fi} > >> > >> \framed > >> [width=4cm,align=normal] > >> {\handletokens i want a framed where the text flushes to the next line > >> without hyphenation. There is a way to get this > >> result?\with\breakeverywhere} > >> > >> \stoptext > > > > YYYEES > hmm. > I should say ni . The problem are spaces . > In this example I should expected that > hy- => hy > and some changes in glues > and nothing else. > Also text with \handletokens is ,well, "not so good " (ie horrible) . I am not sure, but maybe that would be a good idea: gather 1,2,3,... tokens and pack them (as a whole) into an hbox until its width is greater than the frame width, output it, and repeat until there's nothing left. This would be very time-consuming (at least without lua), but it should preserve kerns etc. Also, instead of examining the width, one could probably pack the tokens into an \hbox to ... {...} and examine the badness. I don't dare to try to implement it, though - at least not at 00:17 AM;) Regards -- Marcin Borkowski (http://mbork.pl) ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Filling a box
On Wed, Apr 8, 2009 at 12:02 AM, Diego Depaoli wrote: > On Tue, Apr 7, 2009 at 11:47 PM, Wolfgang Schuster > wrote: >> >> \starttext >> >> \def\breakeverywhere#1{\if#1\normalspace\space\else#1\allowbreak\fi} >> >> \framed >> [width=4cm,align=normal] >> {\handletokens i want a framed where the text flushes to the next line >> without hyphenation. There is a way to get this >> result?\with\breakeverywhere} >> >> \stoptext > > YYYEES hmm. I should say ni . The problem are spaces . In this example I should expected that hy- => hy and some changes in glues and nothing else. Also text with \handletokens is ,well, "not so good " (ie horrible) . \starttext \def\breakeverywhere#1{\if#1\normalspace\space\else#1\allowbreak\fi} \framed [width=4cm,align=normal] {i want a framed where the text flushes to the next line without hyphenation. There is a way to get this result?} \framed [width=4cm,align=normal] {\handletokens i want a framed where the text flushes to the next line without hyphenation. There is a way to get this result?\with\breakeverywhere} \stoptext -- luigi ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Filling a box
On Tue, Apr 7, 2009 at 11:47 PM, Wolfgang Schuster wrote: > > \starttext > > \def\breakeverywhere#1{\if#1\normalspace\space\else#1\allowbreak\fi} > > \framed > [width=4cm,align=normal] > {\handletokens i want a framed where the text flushes to the next line > without hyphenation. There is a way to get this > result?\with\breakeverywhere} > > \stoptext YYYEES Many thanks Wolfgang Paraphrasing Beyoncè If I were a girl... -- Diego Depaoli ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Filling a box
Am 07.04.2009 um 23:36 schrieb Diego Depaoli: On Tue, Apr 7, 2009 at 1:19 AM, luigi scarso wrote: hmm what do you mean ? It seems that you want to hyphenate, but you don't want to see '-' . and I don't want to respect the hyphenation's rules. \starttext \def\breakeverywhere#1{\if#1\normalspace\space\else#1\allowbreak\fi} \framed [width=4cm,align=normal] {\handletokens i want a framed where the text flushes to the next line without hyphenation. There is a way to get this result?\with \breakeverywhere} \stoptext Wolfgang ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Filling a box
On Tue, Apr 7, 2009 at 1:19 AM, luigi scarso wrote: > > hmm what do you mean ? > It seems that you want to hyphenate, but you don't want to see '-' . and I don't want to respect the hyphenation's rules. -- Diego Depaoli ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Filling a box
On Tue, Apr 7, 2009 at 1:14 AM, Wolfgang Schuster wrote: > > Am 07.04.2009 um 01:07 schrieb Diego Depaoli: > >> >> |i want a framed wh| >> |ere the text flushes| >> |to the next line with| >> |out hyphenation.Th| >> |ere is a way to get| >> |this result? | >> > > align={nothyphenated,...} Thanks Wolfgang for the reply, but this isn't exactly what I was looking for. As you can see here http://wiki.contextgarden.net/Framed the box isn't filled on the right side because Context, in such way, formats the text. What I was looking for is a 'snaked' output where the text follows in a new line once it reaches the right side of the box. Cheers -- Diego Depaoli ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] TikZ, MKIV and font switching
Hi folks, I would use TikZ/mindmap to make some figures for a paper. Since I have to install TikZ, I have updated my minimals yesterday and began to really use MKIV. My problem is that when I process \enableregime[utf8] \useencoding[ffr] \mainlanguage[fr] \usetypescript[helvetica][texnansi] \setupbodyfont[helvetica,12pt] \setupcolors[state=start] \usemodule[tikz] \usetikzlibrary[mindmap] \starttext \input knuth \starttikzpicture[font=\nofont,mindmap,text=white, root concept/.style={concept color=blue}, level 1 concept/.append style= {every child/.style={concept color=blue!50}}] \node [concept] {Root Concept} child[grow=30] {node[concept] {child}} child[grow=0 ] {node[concept] {child}}; \stoptikzpicture \input tufte \stoptext the font switching is OK for the "\input ***" things but not for the embedded text. That's probably due to my lack of knowledge of TikZ but I have just found nothing usefull (nothing evident even in the pgf manual) about font switching within TikZ pictures with ConTeXt... (This is LuaTeX, Version snapshot-0.37.0-2009040617 (Web2C 7.5.7)) Best regards, Renaud ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta, xp interface
Thomas A. Schmitz wrote: Hi all, is this a known problem with interface=xp? If so, sorry for the noise... \starttext This is \pagenumber\ of \lastpage \page This is \pagenumber\ of \lastpage \stoptext the next beta will be the merged xp version; so just collect bugs and we'll sort them out (i cannot upload now because the next mkiv needs a luatex 0.38) 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 - ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] latest beta, xp interface
Hi all, is this a known problem with interface=xp? If so, sorry for the noise... \starttext This is \pagenumber\ of \lastpage \page This is \pagenumber\ of \lastpage \stoptext All best Thomas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to get the number of lines of a paragraph?
Am 07.04.2009 um 03:00 schrieb Wei-Wei Guo: Wolfgang Schuster 写道: Am 06.04.2009 um 17:17 schrieb Wei-Wei Guo: Dear all, I need to draw underlines under a paragraph. The number of underlines is determined by the number of lines of the paragraph. For example: \definetextbackground [underline] [location=text, alternative=1, background=, frame=off] \starttext \startunderline \input knuth \stopunderline \stoptext It is not what I want. First, the underline is too close to the text. I need to be able to manipulate the distance between the underline and the text. Second, the underline of the last line has the same length with the last line of the text. The underlines should be all the same length. location=paragraph Another question: How can I set the header of the pages of contents? \setupheadtext[][content=...] or \title{...} \placecontent I don't mean the head of contents. I mean the header of the page, which is the opposite concept to footer. It seems the head of the contents is not treated as chapter. I tried \getmarking, but it doesn't work. The context term is headertext and \title is used for the header, try \getmarking[title]. Wolfgang ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to get the number of lines of a paragraph?
Am 07.04.2009 um 04:18 schrieb Yanrui Li: \definestartstop [underline] [before={\starttextbackground[underline]}, after=\stoptextbackground] You don't need this, \definetextbackground creates start/stopunderline itself. Wolfgang ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new beta
Ulrike Fischer wrote: Am Tue, 07 Apr 2009 12:09:04 +0200 schrieb Hans Hagen: Loading luatex-fonts.lua inside a LaTeX document seems to work, but it looks as if it is not yet possible to add it to the format. I get errors when documentclasses call \normalsize. just load it runtime then, prepend it to everyjob or so is also an option; I had prepend it to everyjob. After some more testing I would say that the code disturbs the normal font loading of LaTeX (and perhaps also of plain, I haven't tried yet). There is no problem to use tfm's which have be loaded before the lua code is executed but each call for a new font in the document (even something like \font\testf=ptmr8t \testf abc) later gives an error like this: ! LuaTeX error /PrivateDaten/cont-tmf/tex/context/base/font-def.lua:337: att empt to call field 'read_from_afm' (a nil value). relax l.100 \fontencoding\encodingdefault\selectfont ? ! Font \T1/cmr/m/n/10=ecrm1000 at 10pt not loadable: metric data not found or bad. hm, looks like i need to disable afm 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 - ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \definedescription and space after \par
Am 07.04.2009 um 15:04 schrieb Markus Hubig: Hi @all, \all :) how can I alter the vertical space between two description items? I defined my description environment like this: ---8<-schnipp--- \definedescription [dsc] [location=left,headstyle=bold,width=8em,style=packed] ---8<-schnapp--- But the vertical spaces between two \dsc's are to big! ...,before={\blank[medium]},after={\blank[medium]},... Wolfgang ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \definedescription and space after \par
Hi @all, how can I alter the vertical space between two description items? I defined my description environment like this: ---8<-schnipp--- \definedescription [dsc] [location=left,headstyle=bold,width=8em,style=packed] ---8<-schnapp--- But the vertical spaces between two \dsc's are to big! - Markus -- ---"it's like this"-- even samurai have teddy bears and even teddy bears get drunk ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new beta
Am Tue, 07 Apr 2009 12:09:04 +0200 schrieb Hans Hagen: >> Loading luatex-fonts.lua inside a LaTeX document seems to work, but >> it looks as if it is not yet possible to add it to the format. I get >> errors when documentclasses call \normalsize. > > just load it runtime then, prepend it to everyjob or so is also an > option; I had prepend it to everyjob. After some more testing I would say that the code disturbs the normal font loading of LaTeX (and perhaps also of plain, I haven't tried yet). There is no problem to use tfm's which have be loaded before the lua code is executed but each call for a new font in the document (even something like \font\testf=ptmr8t \testf abc) later gives an error like this: ! LuaTeX error .../PrivateDaten/cont-tmf/tex/context/base/font-def.lua:337: att empt to call field 'read_from_afm' (a nil value). relax l.100 \fontencoding\encodingdefault\selectfont ? ! Font \T1/cmr/m/n/10=ecrm1000 at 10pt not loadable: metric data not found or bad. -- Ulrike Fischer ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new beta
On Tue, Apr 7, 2009 at 11:59 AM, Mojca Miklavec < mojca.miklavec.li...@gmail.com> wrote: > On Tue, Apr 7, 2009 at 11:02, Thomas A. Schmitz wrote: > > > > On Apr 6, 2009, at 3:11 PM, Mojca Miklavec wrote: > > > >> This has nothing to do with Hans' beta. See > >> http://thread.gmane.org/gmane.comp.tex.context/48892 > >> but I'm clueless. The binaries have been compiled on Debian Etch. Does > >> pdfTeX work on your machine? > >> > >> Mojca > > > > Hi Mojca, > > > > I usually run a luatex binary I have compiled myself, but when I simply > > tried to run the script to update the minimals, I got the same error as > > Luigi, on Debian lenny. > > Etch is really dated now, any chance to update? > > To be honest, it was the other way around: I was trying hard to find a > chance to compile on *as old machine as possible*. Compiling on > cutting-edge linux would be much more trivial than compiling on Debian > Etch, but then Luigi comes and starts complaining that the binaries > compiled on Taco's server (that runs a reasonably new linux) don't > work on his distribution. > on one of my server -- my laptop is ok . It's a bit messy situation , I understand. > > Since Taco promissed to change this library dependency this week, I > would prefer to wait on his patch. me too -- I'm sure that this will disappear . > > On the other hand, since luatex is already almost-broken anyway, ??? > it > might make less demage if we make it work on recent distributions than > if we make it work on older distributions. I leave that decision to > Taco. > I vote for recent distro (just my one cent ) -- luigi ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new beta
Ulrike Fischer wrote: Am Mon, 6 Apr 2009 16:41:47 -0400 (EDT) schrieb Aditya Mahajan: There is also an experimental plain version (luatex-plain.tex which you can rename to luatex.tex if needed). That gives you a plain tex with stripped down context mkiv font support (only the minimal amount of lua files are loaded). Some more info (also about generating the related font database) can be found in in luatex-fonts.tex. I wanted to try the font support together with latex but I have problems to run mtxrun to build the font database. I'm not using the minimals or texlive but miktex. To use luatex I have made a small texmf tree and a texmf.cnf which includes my miktex texmf-trees. This works fine with normal files like tfm, sty etc. But my system seems not to find lua-files: mtxrun loads mtx-fonts.lua (which is in the same folder) but stops then and claims "file not found". Could you tell me which environment variable or texmf.cnf or whatever setting luatex/mtxrun use to track down lua-files? Does your texmf.cnf set LUAINPUTS? If not, setting it to $TEXMF/scripts/context/lua might help. Luainputs was set, but I have some doubts that in the case of mtxrun (which I call via luatex --luaonly mtxrun..) texmf.cnf is really used as expected. In any case: I could generate the font name database by moving font-syn.lua in the same folder as mtxrun. Loading luatex-fonts.lua inside a LaTeX document seems to work, but it looks as if it is not yet possible to add it to the format. I get errors when documentclasses call \normalsize. just load it runtime then, prepend it to everyjob or so is also an option; anyway, the overhead of loading is 0.016 sec on my machine so it is neglectable 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 - ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new beta
On Tue, Apr 7, 2009 at 11:02, Thomas A. Schmitz wrote: > > On Apr 6, 2009, at 3:11 PM, Mojca Miklavec wrote: > >> This has nothing to do with Hans' beta. See >> http://thread.gmane.org/gmane.comp.tex.context/48892 >> but I'm clueless. The binaries have been compiled on Debian Etch. Does >> pdfTeX work on your machine? >> >> Mojca > > Hi Mojca, > > I usually run a luatex binary I have compiled myself, but when I simply > tried to run the script to update the minimals, I got the same error as > Luigi, on Debian lenny. > Etch is really dated now, any chance to update? To be honest, it was the other way around: I was trying hard to find a chance to compile on *as old machine as possible*. Compiling on cutting-edge linux would be much more trivial than compiling on Debian Etch, but then Luigi comes and starts complaining that the binaries compiled on Taco's server (that runs a reasonably new linux) don't work on his distribution. Since Taco promissed to change this library dependency this week, I would prefer to wait on his patch. If you have your own binary, just comment out the rsync line in first-setup that updates the updater and replace bin/texlua with your own luatex. (Unless you deleted the distribuiton before, you now have a non-updated distribution rather than a non-working one, so you can hopefully still compile the documents.) On the other hand, since luatex is already almost-broken anyway, it might make less demage if we make it work on recent distributions than if we make it work on older distributions. I leave that decision to Taco. Mojca ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta with changed messages approach
On 7 avr. 09, at 11:33, Hans Hagen wrote: […] it's in the zip on our website ... so it should show up in the minimals (normally half an hour after posting, in experimental) Hans Thanks I got it. Best regards: OK ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new beta
On Tue, Apr 7, 2009 at 11:02 AM, Thomas A. Schmitz < thomas.schm...@uni-bonn.de> wrote: > > On Apr 6, 2009, at 3:11 PM, Mojca Miklavec wrote: > > This has nothing to do with Hans' beta. See >> http://thread.gmane.org/gmane.comp.tex.context/48892 >> but I'm clueless. The binaries have been compiled on Debian Etch. Does >> pdfTeX work on your machine? >> >> Mojca >> > > Hi Mojca, > > I usually run a luatex binary I have compiled myself, but when I simply > tried to run the script to update the minimals, I got the same error as > Luigi, on Debian lenny. Etch is really dated now, any chance to update? I > assume the libstdc++ version on most Linux distros will be more recent: > Debian is never on the cutting edge, and using an ancient version of Debian > is unlikely to make things better... > It can happen on older systems (as a server of mine) : but for example under Ubunto 8.04 -- my laptop -- I have installed libstdc++5 easily and there is no error. Maybe you can try to install libstdc++5 on you linux box too, should be not a problem (well, debian it's a bit hard-and-pure this is why now I like ubunto ) . Anyway, as far I understand ,next release should be ok. -- luigi ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new beta
Am Mon, 6 Apr 2009 16:41:47 -0400 (EDT) schrieb Aditya Mahajan: >>> There is also an experimental plain version (luatex-plain.tex which you >>> can rename to luatex.tex if needed). That gives you a plain tex with >>> stripped down context mkiv font support (only the minimal amount of lua >>> files are loaded). Some more info (also about generating the related >>> font database) can be found in in luatex-fonts.tex. >> >> I wanted to try the font support together with latex but I have >> problems to run mtxrun to build the font database. >> >> I'm not using the minimals or texlive but miktex. To use luatex I >> have made a small texmf tree and a texmf.cnf which includes my >> miktex texmf-trees. This works fine with normal files like tfm, sty >> etc. But my system seems not to find lua-files: mtxrun loads >> mtx-fonts.lua (which is in the same folder) but stops then and >> claims "file not found". Could you tell me which environment >> variable or texmf.cnf or whatever setting luatex/mtxrun use to track >> down lua-files? > > Does your texmf.cnf set LUAINPUTS? If not, setting it to > $TEXMF/scripts/context/lua might help. Luainputs was set, but I have some doubts that in the case of mtxrun (which I call via luatex --luaonly mtxrun..) texmf.cnf is really used as expected. In any case: I could generate the font name database by moving font-syn.lua in the same folder as mtxrun. Loading luatex-fonts.lua inside a LaTeX document seems to work, but it looks as if it is not yet possible to add it to the format. I get errors when documentclasses call \normalsize. -- Ulrike Fischer ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new beta
Thomas A. Schmitz wrote: > I assume the libstdc++ version on most Linux distros will be more > recent: Debian is never on the cutting edge, and using an ancient > version of Debian is unlikely to make things better... More recent is *bad*. libstdc++ is the *old one*. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta with changed messages approach
Otared Kavian wrote: On 6 avr. 09, at 17:47, Hans Hagen wrote: hi, I uploaded a beta where all messages are now collectex in mult-mes.lua which makes it easier to translate them (for instance to persian which is still missing). Hans Hi Hans, Since I am one of the Persian speaking ConTeXt fans, I may help translate into Persian the messages you are talking about, but I didn't find in the latest minimal the file mult-mes.lua you are talking about: where is it and what should be translated? it's in the zip on our website ... so it should show up in the minimals (normally half an hour after posting, in experimental) 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 - ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new beta
On Apr 6, 2009, at 3:11 PM, Mojca Miklavec wrote: This has nothing to do with Hans' beta. See http://thread.gmane.org/gmane.comp.tex.context/48892 but I'm clueless. The binaries have been compiled on Debian Etch. Does pdfTeX work on your machine? Mojca Hi Mojca, I usually run a luatex binary I have compiled myself, but when I simply tried to run the script to update the minimals, I got the same error as Luigi, on Debian lenny. Etch is really dated now, any chance to update? I assume the libstdc++ version on most Linux distros will be more recent: Debian is never on the cutting edge, and using an ancient version of Debian is unlikely to make things better... All best Thomas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta with changed messages approach
On 6 avr. 09, at 17:47, Hans Hagen wrote: hi, I uploaded a beta where all messages are now collectex in mult- mes.lua which makes it easier to translate them (for instance to persian which is still missing). Hans Hi Hans, Since I am one of the Persian speaking ConTeXt fans, I may help translate into Persian the messages you are talking about, but I didn't find in the latest minimal the file mult-mes.lua you are talking about: where is it and what should be translated? Thanks in advance: OK ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___