Re: [NTG-context] { in input file names
Nikolai Weibull wrote: Hi. Another one of my sort of weird questions. I have a file with { in it's weird indeed, are you searching for the limits of tex/context/your-os? file name and context doesn't seem to enjoy it much: i only enjoy names that match [a-z0-9\-] % mkdir {test} % cd {test} % mkdir output % touch a.tex ed a.tex 0 0a \starttext Hello \stoptext . wq 27 % texexec --runpath=output a.tex You can put this somewhere (cont-loc.tex or so) since i'm not that sure if it does not interfere, so i (and others) need to test this for a long time % supp-fil \bgroup % todo: _ cleanup \catcode`\/=\@@active \catcode`\:=\@@active \catcode`\~=\@@active \gdef\sanitizefilename#1\to#2% {\bgroup \edef/{\string/}% \edef:{\string:}% \edef~{\string~}% \expanded{\xdef\noexpand\sanitizedfilename{#1}}% \egroup \let#2\sanitizedfilename% \convertcommand\sanitizedfilename\to#2} \egroup % core-job \def\usepath[#1]% {\def\docommando##1% {\doifelse{##1}\v!reset {\let\allinputpaths\empty} {\sanitizefilename#1\to\ascii %\convertcommand\ascii\to\ascii \addtocommalist\ascii\allinputpaths}}% \processcommalist[#1]\docommando} \def\usesubpath[#1]% new, see webschrift for usage {\ifx\allinputpaths\empty \sanitizefilename#1\to\allinputpaths \else \def\docommando##1% {\def\dodocommando1% {\sanitizefilename1\to\ascii \addtocommalist{##1/\ascii}\allinputpaths}% \processcommalist[#1]\dodocommando}% \processcommacommand[\allinputpaths]\docommando \fi} ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Question ConTeXt
Thanks ! :) jose Am 21.06.2004 um 16:04 schrieb Hans Hagen: [forwarded to the context list] [EMAIL PROTECTED] wrote: I understand that using \language[es] (or \mainlanguage[es]) would select correct hyphenation patterns for Spanish. Is this correct? Yes. and then... can I enter text with proper Spanish accents in it, like in... No. Input encoding has nothing to do with hyphenation patterns. In ConTeXt the input encoding is called regime: \enableregime[il1] % iso latin 1, try utf8 if your editor does support it Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Installation problem
Patrick Gundlach wrote: TeX run : 1 warning: Could not open char translation file `cp8bit.tcx'. This is pdfeTeX, Version 3.141592-1.11a-2.1 (Web2C 7.5.2) kpathsea: Running mktexfmt cont-en.efmt This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2) \write18 enabled. %-line parsing enabled. (/opt/texlive/8/texmf/web2c/cp8bit.tcx) ** ! End of file on the terminal... why? running `pdfetex -ini -jobname=cont-en -progname=context *cont-en.ini' ... This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2) (INITEX) \write18 enabled. %-line parsing enabled. (/opt/texlive/8/texmf/web2c/cp8bit.tcx) entering extended mode (/opt/context/2004.6.21/texmf/tex/context/config/cont-en.ini{/opt/local/texmf/p dftex/config/pdftex.cfg} ... cp8bit is not found in the first line, but ok in the 7th. Do you have an idea what is going on? maybe some interference with cont-en.ini; does texexec --make --alone work ok? it should not bark on the cp8bit (btw the latest version should use natural.tcx which is in the context distribution, cp8bit is flawed and not really 8 bit [straight in-out mapping is needed for instance for runtime xslt processign and such]; next year we can use -8bit (this whole 8 bit mess-up has been hauting me for years -) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] typo in recent version
I found a typo in the recent version (16-06-2004) of ConTeXt. In file type-buy.tex in line 143 one finds: \definefontsynonym f[LucidaSans-DemiItalic] ... The f before the [ is a spurious character and should be removed. Hans van der Meer ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] typo in recent version
dr. Hans van der Meer wrote: I found a typo in the recent version (16-06-2004) of ConTeXt. In file type-buy.tex in line 143 one finds: \definefontsynonym f[LucidaSans-DemiItalic] ... The f before the [ is a spurious character and should be removed. it's even worse, since there are some out-of-typescript lines; i found out a few days ago so the latest version should be ok; i can send you the type-buy file if needed Thanks Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: Installation problem
Hello Hans and Matt, here is my solution: in texexec.ini change set TeXFormatFlag to into: set TeXFormatFlag to (empty) and run texexec like: texexec --tex=pdfetex file.tex this is because texexec checks if ( $TeXFormatFlag eq ) { if ($TeXProgram =~ /(etex|pdfetex)/) { $TeXFormatFlag = -efmt= ; # =2004 -fmt= } elsif ($TeXProgram =~ /(eomega)/) { $TeXFormatFlag = -eoft= ; # =2004 obsolete } elsif ($TeXProgram =~ /(aleph)/) { $TeXFormatFlag = -fmt= ; } else { $TeXFormatFlag = -fmt= ; } } and $TeXProgram is not set to $TeXExecutable (why the two different vars?) Patrick ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: { in input file names
* Hans Hagen Outside [EMAIL PROTECTED] [Jun 22, 2004 10:40]: Another one of my sort of weird questions. I have a file with { in weird indeed, are you searching for the limits of tex/context/your-os? Nah, I'm just getting used to Tom Lord's naming scheme http://wiki.gnuarch.org/moin.cgi/FunkyFileNames since I use GNU Arch for revision control. I have my project files in ~/src/{projects}/ file name and context doesn't seem to enjoy it much: i only enjoy names that match [a-z0-9\-] [a-z0-9{=,+-] on my side You can put this somewhere (cont-loc.tex or so) since i'm not that sure if it does not interfere, so i (and others) need to test this for a long time [cut] OK, that worked fine for me. I'll report any problems. nikolai -- ::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);} ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] when trying to setup Arial fonts...
Hi all, I am trying to setup Arial fonts...I am quite a newbie to this ConTeXt thing... Once Willi told me to use: Hi Jose use \usetypescript[helvetica][\defaultencoding] \setupbodyfont[helvetica,ss,12pt] Success! Willi I have just done \setupbodyfont[helvetica,ss,12pt] cause \usetypescript apparently is not recognised in my ConTeXt (previous version to the latest update of these days) what is the use of this \usetypescript thing? is Arial just a nickname for Helvetica sans-serif? cheers ! Jose Ignacio ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: when trying to setup Arial fonts...
Hello Jose, I am trying to setup Arial fonts...I am quite a newbie to this ConTeXt thing... I have just done \setupbodyfont[helvetica,ss,12pt] cause \usetypescript apparently is not recognised in my ConTeXt (previous version to the latest update of these days) \usetypescript is an old command. Your ConTeXt surely knows about this command. what is the use of this \usetypescript thing? Well, typescripts are complicated. See Bill' page at http://home.salamander.com/~wmcclain/context-help.html using Helvetica works for me: -- \usetypescript [adobekb][\defaultencoding] \usetypescript [postscript][\defaultencoding] \setupbodyfont[pos,ss,12pt] \starttext foo \stoptext -- is Arial just a nickname for Helvetica sans-serif? Well, yes and no. There is no such thing as Helvetica sans-serif, because Helvetica *is* without serifs. And Arial and Helvetica are two different fonts, though similar looking and same metrics. But, depending on your setup, asking for Helvetica can result in using Arial in Acrobat Reader. Patrick ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: when trying to setup Arial fonts...
Hello, thanks for your reply... hmmm, I tried your code but I get a funny message. The thing is that I suspect I am lacking some files... Try \usetypescript [adobekb][ec] \usetypescript [postscript][ec] \setupbodyfont[pos,ss,12pt] \starttext foo \stoptext How old is your ConTeXt? What TeX system do you have? Make sure that ther is a line in your logfile like: fonts : [adobekb] [ec] [] If this does not appear, post your complete logfile. Patrick ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: ConTeXt-Wiki
Hello Holger, [starting ConTeXt wiki at] http://members.ping.de:8062/ What kind of example documents do you think of? I guess that you know that the magazines on the main ConTeXt site have their source code included? I was thinking of all kinds of day-to-day documents, like the letter template I mentioned. I could not find one according to DIN-standards, so I did some trial-and-error experiments and created my own. What were the difficulties you ran into? Arguments for a collection could be: 1) Perhaps a comprehensive and classified collection of sample documents could spare others such time consuming trials. a) it is impossible to have a comprehensive collection of documents. There are too many faces ConTeXt has. b) It is hard to classify the documents. Two possibilities: 1) layout trickery macro hacking itemize weirdness crazy table fun or 2) letters articles poems magazines/newspaper Any other? Which one makes sense? 2) On the other hand, my template could for sure be further improved (beyond the level, I am capable of), so by putting it on a WIKI, I may get hints and feedback by others. Yes, that would be a great thing. This is actually the reason why I started this wiki (and texshow-web). What was your motivation for mentioning such a collection on the WIKI? Every 4 months this question arises on this mailinglist. (Not really true). Another advantage of the WIKI would be the following: I am often lost, when I try to remember, where I found a certain hint/trick/technique I am remembering. If there is a place where everyone can edit pages and include hints or links to information, then there would be no need to create more and more separate web sites about ConTeXt, because the content could be placed in the WIKI, or it could at least be linked from there. And (the best part!) there is a search field in the wiki. So if you have important information there, get it in a few seconds. But it is up to every user to add things to the wiki. Patrick ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: ConTeXt-Wiki
On Tue, Jun 22, 2004 at 05:55:24PM +0200, Patrick Gundlach wrote: Arguments for a collection could be: 1) Perhaps a comprehensive and classified collection of sample documents could spare others such time consuming trials. a) it is impossible to have a comprehensive collection of documents. There are too many faces ConTeXt has. b) It is hard to classify the documents. Two possibilities: Yes, it is hard to classify them (and many other things) if you insist on forcing them into a single, canonical hierarchy. But what if you classified documents on the basis of keywords, or key phrases? Then visitors could either search based on those phrases or browse a keyword index. Of course, that assumes your Wiki software has some means of managing metadata. And you could just make some arbitrary decisions about what materials should be included and how to classify them. Even a very imperfect collection would be more helpful than none. And if people don't like your collection, tell them to start their own. Isn't that what the Web is all about? -- Matt Gushee When a nation follows the Way, Englewood, Colorado, USAHorses bear manure through [EMAIL PROTECTED] its fields; http://www.havenrock.com/ When a nation ignores the Way, Horses bear soldiers through its streets. --Lao Tzu (Peter Merel, trans.) ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: ConTeXt-Wiki
Hi Matt, b) It is hard to classify the documents. Two possibilities: Yes, it is hard to classify them (and many other things) if you insist on forcing them into a single, canonical hierarchy. Oh, I don't insist on anything; I just don't have clue how to start... But what if you classified documents on the basis of keywords, or key phrases? Then visitors could either search based on those phrases or browse a keyword index. Of course, that assumes your Wiki software has some means of managing metadata. As far as I can see, it doesn't. But putting keywords on the pages could help. And you could just make some arbitrary decisions about what materials should be included and how to classify them. Even a very imperfect collection would be more helpful than none. Probably true. And if people don't like your collection, tell them to start their own. Isn't that what the Web is all about? Right. Easy to change everything. Patrick -- texshow-web: http://members.ping.de:8061 ConTeXt wiki: http://members.ping.de:8062 ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: ConTeXt-Wiki
Hi all, the idea of the keywords is very nice... in http://wiki.tcl.tk you can search for a specific page using the url like in http://wiki.tcl.tk/file even more, you can search all pages containing a word like in: http://wiki.tcl.tk/menu* perhaps it could be copied for ConTeXt wiki...don´t know how tclers do theirs, but I guess they use tcl and they more or less can give some advice. Just some thoughts. Cheers, Jose Ignacio Hi Matt, b) It is hard to classify the documents. Two possibilities: Yes, it is hard to classify them (and many other things) if you insist on forcing them into a single, canonical hierarchy. Oh, I don't insist on anything; I just don't have clue how to start... But what if you classified documents on the basis of keywords, or key phrases? Then visitors could either search based on those phrases or browse a keyword index. Of course, that assumes your Wiki software has some means of managing metadata. As far as I can see, it doesn't. But putting keywords on the pages could help. And you could just make some arbitrary decisions about what materials should be included and how to classify them. Even a very imperfect collection would be more helpful than none. Probably true. And if people don't like your collection, tell them to start their own. Isn't that what the Web is all about? Right. Easy to change everything. Patrick -- texshow-web: http://members.ping.de:8061 ConTeXt wiki: http://members.ping.de:8062 ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] reference problem
On 20-jun-04, at 21:45, Hans Hagen Outside wrote: dr. Hans van der Meer wrote: In the ConTeXt manual (cont-eni.pdf) it says in the chapter on references by way of example: can you try the version i uploaded yesterday? (i introduced a feature and therefore bug but don't know yet why it fails on those cases) I tried and now it works. By the way, I found the typo in type-buy.tex (I just reported) has been corrected also. thanks. Hans van der Meer ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] typo in recent version
On 22-jun-04, at 11:05, Hans Hagen wrote: dr. Hans van der Meer wrote: I found a typo in the recent version (16-06-2004) of ConTeXt. In file type-buy.tex in line 143 one finds: \definefontsynonym f[LucidaSans-DemiItalic] ... The f before the [ is a spurious character and should be removed. it's even worse, since there are some out-of-typescript lines; i found out a few days ago so the latest version should be ok; i can send you the type-buy file if needed Thanks for the prompt reply. In the mean time I got the version dated 21 june. If that one is ok or if you are readying a newer version soon, then do not bother to send me an update. I am looking fairly regular for updates. Anyway, I managed today to typeset my lucida fonts. Hans van der Meer ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: when trying to setup Arial fonts...
Hello there, I have tried Try \usetypescript [adobekb][ec] \usetypescript [postscript][ec] \setupbodyfont[pos,ss,12pt] \starttext foo \stoptext How old is your ConTeXt? What TeX system do you have? Make sure that ther is a line in your logfile like: fonts : [adobekb] [ec] [] If this does not appear, post your complete logfile. Patrick the line appears but the command fails my ConTeXt is the latest...just downloaded my TeX is the one that comes bundled with cygwin: This is TeXk, Version 3.14159 (Web2C 7.4.5) also This is METAFONT, Version 2.7182 (Web2C 7.4.5) the poor thing says that it cannot make: mktextfm ec-uhvr8a I enclose the output thanks ! Jose TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002 executable : pdfetex format : cont-en inputfile : new output : pdftex interface : en current mode : none TeX run : 1 This is pdfeTeXk, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) \write18 enabled. %-line parsing enabled. entering extended mode (./new.tex{/usr/share/texmf/pdftex/config/pdftex.cfg} ConTeXt ver: 2004.6.21 fmt: 2004.6.22 int: english mes: english language : language en is active protectionstate 0 system : cont-new loaded (/usr/share/texmf/tex/context/base/cont-new.tex systems: beware: some patches loaded from cont-new.tex! color : palette rollover is available system (E-TEX) : [line 578] system (E-TEX) : [line 633] ) system : cont-old loaded (/usr/share/texmf/tex/context/base/cont-old.tex loading: Context Old Macros ) system : cont-fil loaded (/usr/share/texmf/tex/context/base/cont-fil.tex loading: Context File Synonyms ) bodyfont : 12pt rm is loaded language : patterns 2:2-es-2 3:2-en-2 4:2-uk-2 5:2-de-2 6:2-fr-2 7:2-it-2 8:2-nl-2 loaded specials : tex,postscript,rokicki loaded system : new.top loaded (./new.top specials : loading definition file tpd (/usr/share/texmf/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/usr/share/texmf/tex/context/base/spec-fdf.tex unprotect 3 unprotect 4 system (E-TEX) : [line 2270] \ifcsname protect 4 protect 3) specials : fdf loaded unprotect 3 protect 3) specials : fdf,tpd loaded ) fonts : [adobekb] [ec] [] (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex) fonts : [postscript] [ec] [] (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex fonts : [postscript] [rm] [serif] [times] / ec fonts : [map] [ec] [] (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex) fonts : [serif,map] [times] [name,default,ec,special] (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex) fonts : [serif] [default] [size] (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex) fonts : [postscript] [mm] [math] [times] / ec fonts : [map] [ec] [] (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex) fonts : [math,map] [times] [name,default,ec,special] (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex) fonts : [math] [default] [size] (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex)