Re: [NTG-context] Digraphs ij, nj, lj, ch, ... (was: new upload)
Mojca Miklavec wrote: Hmmm ... pdfTeX with LM already replaces all occurencies of ij with an ij ligature (noticed when I took a look at the strange kerning between the two letters - not present with CM). :-Z that uses lc codes, mkiv uses node list parsing; this is also robust for complex commands inside the conversion ... and mkiv works cross page -) Consider the desired output of \Word{ijsselmeer} % example taken from wikipedia, I don't speak Dutch yet ;-) when writing in Dutch. (\mainlanguage[nl], not when writing in English) One might like to treat every ij as a single letter and then convert both I and J to uppercase when asked for that. yes, but not i+j may be ij I read that Dutch keyboard includes the ij digraph (ij), but the Croatian/Serbian keyboards don't include those digraphs and none of the cp1250 and iso-8859-2 encodings have it, so everyone writes with plain latin letters - I doubt that anyone uses digraphs at all. (It would be almost as obscure and inconvenient to write them as if someone tried to write with fi unicode ligatures.) The main problem is that: - ligature lj is always lowercase - ligature Lj is uppercase, but only at the beginning of a word where other letters are lowercase (Ljubljana) - ligature LJ is uppercase, but only at the beginning of a word where other letters are uppercase (LJUBJANA) well, in utf it should be ok, since then we use info from the tables 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] subsection number independent of section
2007/8/27, Michael [EMAIL PROTECTED]: Hi, I am trying to write up a legal document, in which I want the numbers for section and subsection look like: , | I. A Section Title | | A. A Subsection Title ` So far, I can only get , | I. A Section Title | | I.A. A Subsection Title ` Commend used: \setupsection[section-3][conversion=Romannumerals] \setuplabeltext[section={{},{.}}] \setuphead[section] [style=bold,alternative=normal,textcommand=\uppercase] \setupsection[section-4][conversion=Character] How can I get what I need? Thanks. Michael Hi Michael, you need previousnumber=no in setupsection. \setupsection [section] [conversion=Romannumerals] \setuplabeltext [section={{},{.}}, subsection={{},{.}}] \setuphead [section] [style=bold, alternative=normal, textcommand=\uppercase] \setupsection [subsection] [previousnumber=no, conversion=Character] \starttext \section{A Section Title} \subsection{A Subsection Title} \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] missing *8t.tfm files
On 2007-08-25 23:47, Giorgos Keramidas [EMAIL PROTECTED] wrote: When I try typesetting: \definetypeface [zapf] [cg] [calligraphy] [chancery] \switchtotypeface [zapf] [12pt,cg] \starttext Foo bar. \stoptext All I get is an error like: % (/usr/local/share/texmf-dist/tex/context/base/type-akb.tex)kpathsea: Running mktextfm uzcmi8t % mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input uzcmi8t % This is METAFONT, Version 2.71828 (Web2C 7.5.4) I think something is broken with my installation. Even trying to use the Postscript fonts breaks with 8-point font errors :-/ ___ 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] missing *8t.tfm files
On 2007-08-26 16:04, Hans Hagen [EMAIL PROTECTED] wrote: Giorgos Keramidas wrote: Hi all, I've recently started reading about typefaces in ConTeXt, and trying out the examples of `showfont.pdf', but stumbled upon errors for almost all the fonts. don't use tetex, use tex live or take one of the more recent packages (see wiki) Unfortunately, teTeX is the `standard' TeX distribution on FreeBSD. I'll try TeX live, though. Thanks :) you've probably chosen an encoding that has no matching tfm files in the distribition (\setupencoding[default=ec] may help) Thanks for the tip :-) It seems teTeX is missing tfm files even for `ec', since trying to typeset a PDF version of the following: \setuppapersize[A4] % Define page margins, and enable them for this document. \definelayout[keramidaLayout] [backspace=60mm,cutspace=20mm,width=middle] \setuplayout[keramidaLayout] \setupencoding[default=ec] \definetypeface [postscript] [rm] [serif] [times][default] \definetypeface [postscript] [ss] [sans] [helvetica] [default] [rscale=.9] \definetypeface [postscript] [tt] [mono] [courier] [default] [rscale=1.1] \switchtotypeface [postscript] [11pt] \starttext \subject{Foxes and dogs} The quick brown fox jumped over the lazy black dog. The quick brown fox jumped over the lazy black dog. The quick brown fox jumped over the lazy black dog. The quick brown fox jumped over the lazy black dog. The quick brown fox jumped over the lazy black dog. The quick brown fox jumped over the lazy black dog. The quick brown fox jumped over the lazy black dog. The quick brown fox jumped over the lazy black dog. The quick brown fox jumped over the lazy black dog. The quick brown fox jumped over the lazy black dog. \stoptext Still results in missing font errors, like this: (/usr/local/share/texmf-dist/tex/context/base/type-spe.tex) (/usr/local/share/texmf-dist/tex/context/base/type-exa.tex) (/usr/local/share/texmf-dist/tex/context/base/type-akb.tex)kpathsea: Running mktextfm utmr8t mktextfm: Running mf-nowin -progname=mf \mode:=canonex; mag:=1; nonstopmode; input utmr8t This is METAFONT, Version 2.71828 (Web2C 7.5.4) kpathsea: Running mktexmf utmr8t ! I can't find file `utmr8t'. * ...=canonex; mag:=1; nonstopmode; input utmr8t Please type another input file name ! Emergency stop. Thanks for all the help. I will try getting either TeX Live or one of the newer packages :-) - Giorgos ___ 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] plain tex, context and latex
In context the following plain tex columnscript works all right: %-- plain tex, Knuth p.232 $$\vbox{\settabs 3\columns \+This isa srangeexample \cr \+of displayedthree-columnformat.\cr}$$ %-- /plain tex In latex it doesn't work. Latex says that \settabs is undefined. Does anyone know why? -- [EMAIL PROTECTED] www.wiskunde-interactief.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 upload
I do not really understand unicode. I will try to figure out which unicode characters need special consideration, and then make up the specs. In Unicode the most important dash-or-hyphen-like characters are: U+002D HYPHEN-MINUS (-): The “usual” ASCII character with an ambiguous meaning (hyphen? minus?); U+00AD SOFT HYPHEN (): Indicate a line break opportunity, no visible glyph; U+2010 HYPHEN (‐): Carries the “hyphenation” meaning of hyphen-minus; preferred over the latter to indicate a visible hyphen; U+2011 NON-BREAKING HYPHEN (‑): Well ... a hyphen, but non-breaking; U+2012 FIGURE DASH (‒): Same ambiguous meaning as hyphen-minus, but has the same width as digits; U+2013 EN DASH (–): Used to indicate ranges of values (1910–2007); the equivalent to TeX's “--” ligature; U+2014 EM DASH (—): Used to separate quotes—like this—; the equivalent to TeX's “---” ligature. The above is an extract of the “Dashes and hyphen” paragraph of section 6.2 of the Unicode Standard (http://www.unicode.org/versions/Unicode5.0.0/ch06.pdf). You might also want to look into the Unicode line breaking properties for a complete description (http://www.unicode.org/reports/tr14/). I can summarize that for you if you want. Arthur ___ 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] Wanting Lilipond
Don't ask me why it works when used as a module, but fails when module documentation has to be typeset. Actually the second problem happens when one uses your file with Mark II as well: ConTeXt tries to expand \savebuffer and finds a \ctxlua which it doesn't know, since it is running pdfTeX. You should really check for \ctxlua instead of \savebuffer in the line you added (\ifx\ctxlua\undefined ...); \savebuffer is defined anyway (in core-buf.tex) but when running Mark II it expands to something pdfTeX doesn't understand. Arthur ___ 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] plain tex, context and latex
In latex it doesn't work. Latex says that \settabs is undefined. Does anyone know why? Yes, that's because \settabs is not a TeX primitive and is defined in plain.tex (line 602, \def\settabs{\setbox\tabs\null [EMAIL PROTECTED]). In LaTeX I guess you want to look into the tabbing environment, or the more high-level tabular sort of things. ConTeXt takes over most of the Plain TeX macros; that's why it's defined here and not in LaTeX. Arthur ___ 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] lost after upgrade
Hi all, Yesterday I issued: ctxtools --updatecontext and everything seemed as usual. But when trying to compile a standard file, I get: ... ConTeXt ver: 2007.08.20 22:17 MKII fmt: 2007.8.21 int: english/english language: language en is active system : cont-new loaded (/usr/local/texlive/2007/../texmf-local/tex/context/base/cont-new.tex FatalError : Your format does not match the base files! FormatVersion : 2007.08.20 22:17 MKII FilesVersion: 2007.08.27 09:11 ... and it fails. I tried to go to all the steps described in the wiki (for texlive install), no joy :-( tia, -- Jean ___ 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] lost after upgrade
On 8/27/07, Jean Magnan de Bornier [EMAIL PROTECTED] wrote: Hi all, Yesterday I issued: ctxtools --updatecontext and everything seemed as usual. But when trying to compile a standard file, I get: ... ConTeXt ver: 2007.08.20 22:17 MKII fmt: 2007.8.21 int: english/english language: language en is active system : cont-new loaded (/usr/local/texlive/2007/../texmf-local/tex/context/base/cont-new.tex FatalError : Your format does not match the base files! FormatVersion : 2007.08.20 22:17 MKII FilesVersion: 2007.08.27 09:11 ... and it fails. I tried to go to all the steps described in the wiki (for texlive install), no joy :-( Try kpsewhich cont-en.fmt or locate cont-en.fmt (after running updatedb) It should point you to [something]/we2c/pdftex/cont-en.fmt Remove all the .fmt files inside that folder ([something]/we2c/*/*.fmt): well, at least cont-en, you may leave the latex format files untouched if any. Then run texexec --make --all and try again. 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] Lilypond MKIV, pstopdf, sysctl errors?
On 8/27/07, David Wooten wrote: On Aug. 26, 2007, at Aug 26, 6:44 PM, Mojca Miklavec wrote: On 8/27/07, David Wooten wrote: Greetings all, In trying to run Mojca's latest Lilypond extension with MKIV (on an Intel Mac), I've been receiving the errors after pstopdf is run, which I've never seen before: *** sysctlbyname_with_pid: sysctl failed:Operation not permitted is_pid_native: sysctlbyname_with_pid failed:Operation not permitted *** According to google this seems to be mac-specific problem, and the first think that comes to my mind are problems with GhostScript during conversion. (http://developer.apple.com/documentation/MacOSX/ Conceptual/universal_binary/universal_binary.pdf) How did you install GhostScript? Try which gs, gs --version and gs alone to check some more details about the version. It seems most likely that I installed GhostScript via Gerben's i- installer. From apple's Terminal.app: *** ~ $ which gs /usr/local/bin/gs ~ $ gs --version 8.57 ~ $ gs GPL Ghostscript 8.57 (2007-05-11) Copyright (C) 2007 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Hello, I use fink's ghostscript. I'm almost sure that the problem lies in GS; that report cannot come from ConTeXt (unless pstopdf does some nasty things with eps documents which then confuse gs - it does delete some portions from ps files, but I doubt that that could be the problem). I have no idea whom to report anything. (Gerben said he had stopped with user support, and he probably cannot reproduce the error if it's really inconsistent behaviour - that it works one time and not the other time.) Do you have fink already installed? (If yes, try to install ghostscript from there.) I would suggest you to try running pstopdf on some random postscript document once you spot the error, and see what happens. Perhaps you can try running pstopdf on that document after an unsuccesfull ConTeXt run ... Unless others have any better ideas ... 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] lilypond
Hallo Wolfgang, ich hoffe es ist OK, dass ich mich direkt an Dich wende. Deinem E-Mail an die Liste entnehme ich, dass Du an sich das Modul zum Laufen bekommen hast. Bei mir kommt statt jedoch nur ein grauer Kasten mit dem Inhalt: name: dummy file: test-lilypond-1 state: unknown Irgendwie wird kein eps erzeugt, das Programm Lilpond.app nicht gefunden? Kannst Du mir einen Tipp geben, wie Du das ganze installiert hast? Danke! Steffen Am 03.07.2007 um 17:59 schrieb Wolfgang Werners-Lucchini: Hallo! I tryed the first wiki-example: There are some notes \lilypond{ \relative{bes a c b} } embedded in this line. With version 2.11.27 the lilypond option -b eps is unknown. With version 2.10.25 the above example is a 3-page output: (1) There are some notes (2) lilypond-output (3) embedded in this line Should I downgrad with lilypond? Or what else I am doing wrong? 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 __ _ ___ 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] plain tex, context and latex
Really!. That's really a disadvantage of Latex! I thought Knuth's primitives plus macro's were together 'plain tex' and thus untouched in both Context and Latex. Thanks for your help. The reason to write a booklet in Latex instead of in context was that I wanted to use some amstex macro's. Is it possible to use amstex in context as well? Liesbeth 2007/8/27, Arthur Reutenauer [EMAIL PROTECTED]: In latex it doesn't work. Latex says that \settabs is undefined. Does anyone know why? Yes, that's because \settabs is not a TeX primitive and is defined in plain.tex (line 602, \def\settabs{\setbox\tabs\null [EMAIL PROTECTED]). In LaTeX I guess you want to look into the tabbing environment, or the more high-level tabular sort of things. ConTeXt takes over most of the Plain TeX macros; that's why it's defined here and not in LaTeX. Arthur ___ 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 ___ -- [EMAIL PROTECTED] www.wiskunde-interactief.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] ConTeXt on FreBSD (was: missing *8t.tfm files)
On 8/27/07, Giorgos Keramidas wrote: On 2007-08-27 13:22, Mojca Miklavec wrote: See: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=568536+0+archive/2007/freebsd-ports/20070722.freebsd-ports http://students.dec.bmth.ac.uk/ebarrett/texlive/ Thanks :) Try to install TeXLive 2007. I will, but I'm afraid I am not good enough for porting it to the FreeBSD ports. Doesn't something already exist on the link above (I didn't read carefully and I wasn't sure about the FreeBSD/OpenBSD relation)? Does locate uzcmi8t return you anything? No, no matches found here. That means that you don't have those fonts (or that they have different names). Try to install TeXLive 2007 or minimal ConTeXt distribution. I like ConTeXt a lot, so I will try to install a minimal ConTeXt distribution in my $HOME first, and if that fails I will go the TeXLive route some time during September. Well, I forgot that there are no minimals for FreeBSD For now, I will have to stick with the CM fonts for a while, and finish writing the documents which I want to write. OK, so here is what you need to do to install the non-existing minimals: Step 1: download from PRAGMA: wget -c http://www.pragma-ade.com/context/install/justtex.zip wget -c http://www.pragma-ade.com/context/install/linuxtex.zip unzip justtex.zip unzip linuxtex.zip Step 2: download binaries from TeXLive 2007 and prepare a freebsd binary folder cd tex mkdir texmf-freebsd cd texmf-freebsd svn co svn://tug.org/texlive/trunk/Master/bin/i386-freebsd mv i386-freebsd bin # perhaps also chmod 755 bin/* mv ../texmf-linux/web2c . cd .. rm -r texmf-linux Step 3: patch setuptex Find the following ines in setuptex: export TEXARCH=`uname -m` export TEXUNIX=`uname -s` if [ $TEXARCH = x86_64 ] ; then export TEXMFOS=$TEXROOT/texmf-linux-64 ; fi if [ $TEXUNIX = Darwin ] ; then export TEXMFOS=$TEXROOT/texmf-macosx ; fi and add a hardcoded line below them export TEXMFOS=$TEXROOT/texmf-freebsd Step 4: First setup Run . setuptex mktexlsr texexec --make --all texexec --make --all --xtx # don't worry about those below yet if they don't work luatools --generate texexec --make --all --lua Step 5: compile your document cd your-folder texexec your-file Step 6: next time cd folder-with-setuptex . setuptex (I've put that command to .bashrc) If you want TeXLive 2007: svn co svn://tug.org/texlive/trunk/Master ./install-live.sh You can install it in such a way that it doesn't interfere with your old system. 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] ConTeXt on FreBSD (was: missing *8t.tfm files)
2007/8/27, Mojca Miklavec [EMAIL PROTECTED]: On 8/27/07, Giorgos Keramidas wrote: On 2007-08-27 13:22, Mojca Miklavec wrote: See: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=568536+0+archive/2007/freebsd-ports/20070722.freebsd-ports http://students.dec.bmth.ac.uk/ebarrett/texlive/ Thanks :) Try to install TeXLive 2007. I will, but I'm afraid I am not good enough for porting it to the FreeBSD ports. Doesn't something already exist on the link above (I didn't read carefully and I wasn't sure about the FreeBSD/OpenBSD relation)? OpenBSD has a port in current (it will make 4.3, to be released in 2008-05). FreeBSD clings to tetex. :-{ Best Martin ___ 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] lost after upgrade
Le 27 août à 12:38:38 Mojca Miklavec [EMAIL PROTECTED] écrit notamment: | On 8/27/07, Jean Magnan de Bornier [EMAIL PROTECTED] wrote: | Hi all, | Yesterday I issued: | ctxtools --updatecontext | and everything seemed as usual. | But when trying to compile a standard file, I get: | ... | ConTeXt ver: 2007.08.20 22:17 MKII fmt: 2007.8.21 int: english/english | | language: language en is active | system : cont-new loaded | (/usr/local/texlive/2007/../texmf-local/tex/context/base/cont-new.tex | | FatalError : Your format does not match the base files! | | FormatVersion : 2007.08.20 22:17 MKII | FilesVersion: 2007.08.27 09:11 | ... | | and it fails. I tried to go to all the steps described in the wiki (for | texlive install), no joy :-( | Try | kpsewhich cont-en.fmt | or |locate cont-en.fmt (after running updatedb) | It should point you to [something]/we2c/pdftex/cont-en.fmt | Remove all the .fmt files inside that folder | ([something]/we2c/*/*.fmt): well, at least cont-en, you may leave the | latex format files untouched if any. | Then run | texexec --make --all | and try again. Thanks Mojca, But strangely I got the same message after rebuilding! Then I remove again the fmt files and try ctxtools --updatecontext again; same thing again! I also tried with another file, no more success! ? -- Jean ___ 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] plain tex, context and latex
On 8/27/07, Liesbeth van der Plas [EMAIL PROTECTED] wrote: Really!. That's really a disadvantage of Latex! I thought Knuth's primitives plus macro's were together 'plain tex' and thus untouched in both Context and Latex. No -- in some cases there are real conflicts, but in this case, you might get away with just pasting lines 598--632 from plain.tex, bracketed with \makeatletter and \makeatother (which will also be needed around your table). \documentclass{minimal} \makeatletter \newif\ifus@ [EMAIL PROTECTED] [...] [EMAIL PROTECTED] \makeatother \begin{document} \input tufte \makeatletter $$\vbox{\settabs 3\columns \+This isa srangeexample \cr \+of displayedthree-columnformat.\cr}$$ \makeatother \end{document} Thanks for your help. The reason to write a booklet in Latex instead of in context was that I wanted to use some amstex macro's. Is it possible to use amstex in context as well? What part of amstex?The math-ams module defines characters, but I'm not sure about some of the advanced layout stuff. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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 upload
On Mon, 27 Aug 2007, Arthur Reutenauer wrote: I do not really understand unicode. I will try to figure out which unicode characters need special consideration, and then make up the specs. In Unicode the most important dash-or-hyphen-like characters are: [snip] The above is an extract of the “Dashes and hyphen” paragraph of section 6.2 of the Unicode Standard (http://www.unicode.org/versions/Unicode5.0.0/ch06.pdf). You might also want to look into the Unicode line breaking properties for a complete description (http://www.unicode.org/reports/tr14/). I can summarize that for you if you want. Thank you Arthur. This should be sufficient for the moment. I will ask if I do not understand something. Thanks, Aditya ___ 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] plain tex, context and latex
On Mon, 27 Aug 2007, Liesbeth van der Plas wrote: The reason to write a booklet in Latex instead of in context was that I wanted to use some amstex macro's. Is it possible to use amstex in context as well? ConTeXt has the functionality for most of amstex macros. The syntax is a bit different from amstex, it is a bit more contextish. See http://dl.contextgarden.net/myway/context-latex-math.pdf and http://dl.contextgarden.net/myway/mathalign.pdf Aditya ___ 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] lilypond
On 7/6/07, Henning Hraban Ramm wrote: Am 2007-07-03 um 17:59 schrieb Wolfgang Werners-Lucchini: Sorry, the publicly available LilyPond module is outdated. Try the attached one. I delayed the publishing of my latest version because Ruby texexec had a bug that prevented lilypond from being called, I guess that's gone, but I had no time to check yet. The module on the garden worked OK for me with lilypond 2.10.25, but it failed (only slightly) when called with LuaTeX, that's why you need an additional one-line patch. And I didn't adapt the module to LilyPond 2.11, too. (2.10.2x should work.) To Steffen: if you're working with Mac (I'm not sure), the easiest way is to install it with fink (of course you need to have fink installed first.) fink install lilypond 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] ConTeXt on FreBSD (was: missing *8t.tfm files)
- Mojca Miklavec [EMAIL PROTECTED] [070827 16:16]: OK, so here is what you need to do to install the non-existing minimals: Step 1: download from PRAGMA: wget -c http://www.pragma-ade.com/context/install/justtex.zip wget -c http://www.pragma-ade.com/context/install/linuxtex.zip unzip justtex.zip unzip linuxtex.zip Step 2: download binaries from TeXLive 2007 and prepare a freebsd binary folder *snip* I do this regularly (including building luatex from svn). If there is enough demand for it, I can put together a freebsdtex.zip for the wiki. Cheers, Olaf ___ 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] lost after upgrade
On 8/27/07, Jean Magnan de Bornier [EMAIL PROTECTED] wrote: Le 27 août à 12:38:38 Mojca Miklavec [EMAIL PROTECTED] écrit notamment: | On 8/27/07, Jean Magnan de Bornier [EMAIL PROTECTED] wrote: | Hi all, | Yesterday I issued: | ctxtools --updatecontext | and everything seemed as usual. | But when trying to compile a standard file, I get: | ... | ConTeXt ver: 2007.08.20 22:17 MKII fmt: 2007.8.21 int: english/english | | language: language en is active | system : cont-new loaded | (/usr/local/texlive/2007/../texmf-local/tex/context/base/cont-new.tex | | FatalError : Your format does not match the base files! | | FormatVersion : 2007.08.20 22:17 MKII | FilesVersion: 2007.08.27 09:11 | ... | | and it fails. I tried to go to all the steps described in the wiki (for | texlive install), no joy :-( | Try | kpsewhich cont-en.fmt | or |locate cont-en.fmt (after running updatedb) | It should point you to [something]/we2c/pdftex/cont-en.fmt | Remove all the .fmt files inside that folder | ([something]/we2c/*/*.fmt): well, at least cont-en, you may leave the | latex format files untouched if any. | Then run | texexec --make --all | and try again. Thanks Mojca, But strangely I got the same message after rebuilding! Then I remove again the fmt files and try ctxtools --updatecontext again; same thing again! I also tried with another file, no more success! Did you do the step of finding and removing all the old .fmt files? On my system, fmtuil-sys puts the cont-en.fmt formats in texmf-var/web2c/pdftex/ and texmf-var/web2c/xetex/, but the context tools put them under texmf-config, so it is all easy to end up with multiple versions of the .fmt files. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] lost after upgrade
Le 27 août à 17:29:24 George N. White III [EMAIL PROTECTED] écrit notamment: | Did you do the step of finding and removing all the old .fmt files? | On my system, fmtuil-sys puts the cont-en.fmt formats in | texmf-var/web2c/pdftex/ and texmf-var/web2c/xetex/, | but the context tools put them under texmf-config, so it | is all easy to end up with multiple versions of the .fmt files. OK, things are back to normal now after I removed cont-en.fmt and cont-nl.fmt from my home ~/.texlive2007/texmf-var/web2c/pdftex and /xetex, I still don't see where this problem came from as it is not the first time I did an update. The files were not recreated by texexec --make --all. Thanks -- Jean ___ 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 upload
On Fri, 24 Aug 2007, Hans Hagen wrote: - pre/post character spacing (for french) using similar mechanism Thank you very much, a feature that I highly appreciate!! Even this works very well (utf-encoding) and could perhaps be added into core-spa.mkiv: \setupcharacterspacing [frenchpunctuation] [\number`«] [right=.250] \setupcharacterspacing [frenchpunctuation] [\number`»] [left=.250] Cheers, Peter -- http://pmrb.free.fr/contact/ ___ 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 upload
Peter Münster wrote: On Fri, 24 Aug 2007, Hans Hagen wrote: - pre/post character spacing (for french) using similar mechanism Thank you very much, a feature that I highly appreciate!! Even this works very well (utf-encoding) and could perhaps be added into core-spa.mkiv: \setupcharacterspacing [frenchpunctuation] [\number`«] [right=.250] \setupcharacterspacing [frenchpunctuation] [\number`»] [left=.250] can you lookup the hex numbers of all those glyphs? (handy as comment) - 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 upload
On 8/27/07, Hans Hagen wrote: Peter Münster wrote: On Fri, 24 Aug 2007, Hans Hagen wrote: - pre/post character spacing (for french) using similar mechanism Thank you very much, a feature that I highly appreciate!! Even this works very well (utf-encoding) and could perhaps be added into core-spa.mkiv: \setupcharacterspacing [frenchpunctuation] [\number`«] [right=.250] \setupcharacterspacing [frenchpunctuation] [\number`»] [left=.250] can you lookup the hex numbers of all those glyphs? (handy as comment) 00ABguillemotleft « leftguillemot 00BBguillemotright » rightguillemot 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 ___
[NTG-context] Streams ignore textwidth
Hi, In streams width=whatever only sets the width of the bounding box, the text still goes until \textwidth. Is this a bug or a feature? A work around is to use setups:stream:settings, but it is a bit clumsy. See the differece between the two streams below. \usemodule[streams] \definestreamlayer[flash][width=3in] \definestreamlayer[model][width=3in] \startsetups streamlayer:flash:settings \hsize=3in \stopsetups \starttext \startstreamlayer[flash] \input tufte \stopstreamlayer \startstreamlayer[model] \input tufte \stopstreamlayer \framed[sturt=no]{\placestreamlayer[flash]} \framed[sturt=no]{\placestreamlayer[model]} \stoptext Aditya ___ 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] Lilypond MKIV, pstopdf, sysctl errors?
I narrowed it down to my editor, in fact. Strange! The command line call for TextMate (mate) gives me the errors. I was compiling via the ConTeXt TextMate bundle and it must call mate for some reason at that point. pstopdf is off the hook ;) Dave On Aug. 27, 2007, at Aug 27, 3:54 AM, Mojca Miklavec wrote: On 8/27/07, David Wooten wrote: On Aug. 26, 2007, at Aug 26, 6:44 PM, Mojca Miklavec wrote: On 8/27/07, David Wooten wrote: Greetings all, In trying to run Mojca's latest Lilypond extension with MKIV (on an Intel Mac), I've been receiving the errors after pstopdf is run, which I've never seen before: *** sysctlbyname_with_pid: sysctl failed:Operation not permitted is_pid_native: sysctlbyname_with_pid failed:Operation not permitted *** According to google this seems to be mac-specific problem, and the first think that comes to my mind are problems with GhostScript during conversion. (http://developer.apple.com/documentation/MacOSX/ Conceptual/universal_binary/universal_binary.pdf) How did you install GhostScript? Try which gs, gs --version and gs alone to check some more details about the version. It seems most likely that I installed GhostScript via Gerben's i- installer. From apple's Terminal.app: *** ~ $ which gs /usr/local/bin/gs ~ $ gs --version 8.57 ~ $ gs GPL Ghostscript 8.57 (2007-05-11) Copyright (C) 2007 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Hello, I use fink's ghostscript. I'm almost sure that the problem lies in GS; that report cannot come from ConTeXt (unless pstopdf does some nasty things with eps documents which then confuse gs - it does delete some portions from ps files, but I doubt that that could be the problem). I have no idea whom to report anything. (Gerben said he had stopped with user support, and he probably cannot reproduce the error if it's really inconsistent behaviour - that it works one time and not the other time.) Do you have fink already installed? (If yes, try to install ghostscript from there.) I would suggest you to try running pstopdf on some random postscript document once you spot the error, and see what happens. Perhaps you can try running pstopdf on that document after an unsuccesfull ConTeXt run ... Unless others have any better ideas ... 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 __ _ ___ 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] Inter row space in tabulate
Hi, Is there some easy way to make tabulate more spaced out? I could not find anything in core-tbl. Aditya ___ 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] Inter row space in tabulate
Aditya Mahajan wrote: Hi, Is there some easy way to make tabulate more spaced out? I could not find anything in core-tbl. you can use the same directives as in table (s k j i directives) - 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] Wanting Lilipond
Am 2007-08-26 um 23:16 schrieb Mojca Miklavec: Actually Hraban is in charge for doing uploading a new version to the garden I know and I will. But I've too much work at the moment to - install MkIV (and make sure it really works) - try to understand what MkIV does different - combine the features from your MkIV und my latest non-working MkII version of t-lilypond - update the docs etc. Looking at my calendar it may become October. But sometimes I gain huge productivity from stress... ;-) Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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] Streams ignore textwidth
Aditya Mahajan wrote: Hi, In streams width=whatever only sets the width of the bounding box, the text still goes until \textwidth. Is this a bug or a feature? A work around is to use setups:stream:settings, but it is a bit clumsy. i know, but it's needed this way because we intercept the otr and need to use the same settings several times i will make a better stream model in mkiv 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 upload
\setupcharacterspacing [frenchpunctuation] [\number`«] [right=.250] \setupcharacterspacing [frenchpunctuation] [\number`»] [left=.250] And actually, to be very precise, in French typography the space before the colon is supposed to be the same as the normal space, not a fraction of it like before ; ? ! etc ... :-) Arthur ___ 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] lost after upgrade
On 8/27/07, Jean Magnan de Bornier [EMAIL PROTECTED] wrote: Le 27 août à 17:29:24 George N. White III [EMAIL PROTECTED] écrit notamment: | Did you do the step of finding and removing all the old .fmt files? | On my system, fmtuil-sys puts the cont-en.fmt formats in | texmf-var/web2c/pdftex/ and texmf-var/web2c/xetex/, | but the context tools put them under texmf-config, so it | is all easy to end up with multiple versions of the .fmt files. OK, things are back to normal now after I removed cont-en.fmt and cont-nl.fmt from my home ~/.texlive2007/texmf-var/web2c/pdftex and /xetex, I still don't see where this problem came from as it is not the first time I did an update. The format files in ~/.texlive2007 are generated by fmtutil --all. I try to remember to use fmtutil-sys --all so they go in texmf-var. The files were not recreated by texexec --make --all. I doubt texexec knows about ~/.texlive2007 -- that was done so individual users on multi-user systems could make personal formats without the need for the intervention of an adminstrator. For safety you might want to disable context in the fmtutil configuration. I tend to do a fair bit of pdftex testing so it is convenient to get the cont-en format when I build the others. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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 upload
On Mon, 27 Aug 2007, Hans Hagen wrote: \setupcharacterspacing [frenchpunctuation] [\number`«] [right=.250] \setupcharacterspacing [frenchpunctuation] [\number`»] [left=.250] can you lookup the hex numbers of all those glyphs? (handy as comment) From http://www.unicode.org/charts/PDF/U0080.pdf : 00AB « LEFT-POINTING DOUBLE ANGLE QUOTATION MARK = left guillemet usually opening, sometimes closing 00BB » RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK = right guillemet usually closing, sometimes opening Cheers, Peter -- http://pmrb.free.fr/contact/ ___ 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] MKIV, hz, hanging punctuation
Greetings all, Can someone say when typographic extras like hz hanging punctuation will be available in LuaTeX/MKIV for OpenType fonts? --- or are they already available? I thought I'd read a comment on this from Hans, but cannot for the life of me find it. Best, 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] MKIV, hz, hanging punctuation
I thought I'd read a comment on this from Hans, but cannot for the life of me find it. Hans to the list on Fri, 17 Aug 2007 09:55:40 +0200: All spacing related features, except hz and protruding are / will be removed from luatex; keep in mind that in pdftex they're also experimental, far from perfect etc ... Arthur ___ 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] cweb-scr.pdf and m-cweb
On 8/25/07, luigi scarso [EMAIL PROTECTED] wrote: On 8/25/07, John Luciani [EMAIL PROTECTED] wrote: Are the source files that were used to create cweb-scr.pdf on the http://www.pragma-ade.com site available for download? I am trying to get ConTeXt working on a cweaved TeX file and am getting an Undefined control sequence error. A working example (especially the source for the cweb-scr files) would be extremely useful. Maybe this can help you http://wiki.contextgarden.net/User:Luigi.scarso#Modules::documentation Thanks for the information. Using texexec --pdf --modules m-cweb my cweaved file compiles without error but the output is not correct. I will post a simple example with a different subject line. I was hoping to get the cweave file for cweb-scr.pdf. I like way the screen is setup and was hoping to use some of the macros in my programs. (* jcl *) -- http://www.luciani.org ___ 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] Using context with cweave
I created the file hello.w containing the following lines --- @** Hello. @c @header files@@; int main(void) { printf(Hello World.\n); return(0); } @ Header files. @header files@+= #include stdio.h I run the commands cweave hello.w texexec --pdf --modules m-cweb hello.tex The text that is output in hello.pdf are cweb macros --- \input cwebmac \N{0}{1}Hello. \Y\B\X2:header files\X\7 . . . If I run pdftex hello.tex a correct pdf file is output. Are there other modules that I need to load to use ConTeXt with a cweave file? Is there a documentation file that I missed? I am using he ConTeXt that came with texlive-2007. If there is a cweave file that produces a nice layout like cweb-scr.pdf available for download please let me know. Thanks. (* jcl *) -- http://www.luciani.org ___ 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] Using context with cweave
On 8/28/07, John Luciani [EMAIL PROTECTED] wrote: I created the file hello.w containing the following lines --- @** Hello. @c @header files@@; int main(void) { printf(Hello World.\n); return(0); } @ Header files. @header files@+= #include stdio.h I run the commands cweave hello.w texexec --pdf --modules m-cweb hello.tex The text that is output in hello.pdf are cweb macros --- \input cwebmac \N{0}{1}Hello. \Y\B\X2:header files\X\7 For printed version $ texexec --pdf test.tex %% hello.tex \input m-cweb \activateCWEB \starttext \N{0}{1}Hello. \Y\B\X2:header files\X\7 \{int} \\{main}(\{void})\1\1\2\2\6 ${}\{{}$\1\6 \\{printf}(\.{Hello\ World.\\n});\6 \{return} (\T{0});\6 \4${}\}{}$\2\par \fi \M{2}Header files. \Y\B\4\X2:header files\X${}\E{}$\6 \8\#\{include} \.{stdio.h}\par \U1.\fi \inx \fin \con \stoptext for screen -- 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 ___ 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 ___