Re: [NTG-context] Listings (was: Experience on writing a thesis with MKIV)

2008-09-30 Thread Chen Shen
Hi Wolfgang, I guess you are referring to mkii features. It seems that formatting in verbatim doesn't work in mkiv yet, or did I miss out something? None of the wiki verbatim examples worked for me. regards, shenchen On Mon, Sep 29, 2008 at 2:16 AM, Wolfgang Schuster [EMAIL PROTECTED] wrote

Re: [NTG-context] Listings (was: Experience on writing a thesis with MKIV)

2008-09-30 Thread Wolfgang Schuster
Am 30.09.2008 um 18:37 schrieb Chen Shen: Hi Wolfgang, I guess you are referring to mkii features. It seems that formatting in verbatim doesn't work in mkiv yet, or did I miss out something? None of the wiki verbatim examples worked for me. Syntax hyghlighting is implemented in different

Re: [NTG-context] Listings

2008-09-30 Thread Hans Hagen
Chen Shen wrote: Hi Wolfgang, I guess you are referring to mkii features. It seems that formatting in verbatim doesn't work in mkiv yet, or did I miss out something? None of the wiki verbatim examples worked for me. it's on the todo ... only tex and mp should work

Re: [NTG-context] Listings (was: Experience on writing a thesis with MKIV)

2008-09-30 Thread Chen Shen
--- regards, shenchen On Wed, Oct 1, 2008 at 1:15 AM, Wolfgang Schuster [EMAIL PROTECTED] wrote: Am 30.09.2008 um 18:37 schrieb Chen Shen: Hi Wolfgang, I guess you are referring to mkii features. It seems that formatting in verbatim doesn't work in mkiv yet, or did I miss out something

Re: [NTG-context] Listings

2008-09-28 Thread Mohamed Bana
; http://pastebin.com/m40986857 Pdf; http://filebin.ca/kceezh/listing.pdf or http://filebin.ca/kceezh I've still got some issues with it :(. I think I'll just wait till verbatim supports improves. 1. Lines protude into the margin and sometime even go past the end of the page. 2. Why doesn't

Re: [NTG-context] Listings

2008-09-28 Thread Wolfgang Schuster
://pastebin.com/m40986857 Pdf; http://filebin.ca/kceezh/listing.pdf or http://filebin.ca/kceezh I've still got some issues with it :(. I think I'll just wait till verbatim supports improves. 1. Lines protude into the margin and sometime even go past the end of the page. \setuptyping [JAVA

Re: [NTG-context] Listings

2008-09-28 Thread Wolfgang Schuster
Wolfgang. Source; http://pastebin.com/m40986857 Pdf; http://filebin.ca/kceezh/listing.pdf or http://filebin.ca/kceezh I've still got some issues with it :(. I think I'll just wait till verbatim supports improves. 1. Lines protude into the margin and sometime even go past the end

Re: [NTG-context] Verbatim with color background

2008-09-07 Thread Aditya Mahajan
On Fri, 5 Sep 2008, Hans Hagen wrote: B. Tommy Jensen wrote: On Thu, 04 Sep 2008 10:12:47 +0200, Hans Hagen [EMAIL PROTECTED] wrote: Is there any other easy way of controlling the background color on verbatim areas? can you make a small example that shows where it goes wrong? The example

Re: [NTG-context] Verbatim with color background

2008-09-07 Thread Aditya Mahajan
On Sun, 7 Sep 2008, Aditya Mahajan wrote: On Fri, 5 Sep 2008, Hans Hagen wrote: B. Tommy Jensen wrote: On Thu, 04 Sep 2008 10:12:47 +0200, Hans Hagen [EMAIL PROTECTED] wrote: Is there any other easy way of controlling the background color on verbatim areas? can you make a small example

Re: [NTG-context] Verbatim with color background

2008-09-06 Thread Hans Hagen
B. Tommy Jensen wrote: On Thu, 04 Sep 2008 10:12:47 +0200, Hans Hagen [EMAIL PROTECTED] wrote: Is there any other easy way of controlling the background color on verbatim areas? can you make a small example that shows where it goes wrong? The example I used is shown below. Other

Re: [NTG-context] Verbatim with color background

2008-09-04 Thread Hans Hagen
B. Tommy Jensen wrote: Hi, I have a short question about verbatim areas (\starttyping): I have been trying to define a background color to verbatim areas in a document. My method so far is to define a textbackground named verbatim and refer to this in the setuptyping method

Re: [NTG-context] Verbatim with color background

2008-09-04 Thread B. Tommy Jensen
On Thu, 04 Sep 2008 10:12:47 +0200, Hans Hagen [EMAIL PROTECTED] wrote: Is there any other easy way of controlling the background color on verbatim areas? can you make a small example that shows where it goes wrong? The example I used is shown below. Other observations are: - The code

[NTG-context] Verbatim with color background

2008-09-03 Thread B. Tommy Jensen
Hi, I have a short question about verbatim areas (\starttyping): I have been trying to define a background color to verbatim areas in a document. My method so far is to define a textbackground named verbatim and refer to this in the setuptyping method: \setuptyping[typing][margin=0.5cm,bodyfont

Re: [NTG-context] Non-printable Unicode control characters

2008-08-16 Thread Hans Hagen
has glyphs for them or not. It might be also useful if we can enable rendering those characters manually, for drafts and such. actually we need: - ignore them (like in verbatim) - act upon them and - show them (might somehow interfere with other things) - hide them if i'm right, when bidi

Re: [NTG-context] Non-printable Unicode control characters

2008-08-16 Thread Idris Samawi Hamid ادريس سماوي ح امد
characters affect text formatting while not visually rendered whether the font has glyphs for them or not. It might be also useful if we can enable rendering those characters manually, for drafts and such. actually we need: - ignore them (like in verbatim) Eventually we want to be able to show them

Re: [NTG-context] Hyphenmark and composed words

2008-07-11 Thread Charles P. Schaum
The whole issue of typesetting URL's is dodgy because style manuals like Chicago don't want them broken. Now, Chicago is pretty conservative and has the idea that people are going to type stuff in verbatim from printed bubs and furthermore that they will always interpret a line break as a return

Re: [NTG-context] listings.sty

2008-07-10 Thread nico
. But before doing it, there are some questions: * What do Hans and other people thing about that? * listings.sty uses keyval.sty, how is the proper ConTeXt-way to do the same things as keyval, or should listings stay with keyval? I don't see the point. The native ConTeXt verbatim support seems

Re: [NTG-context] listings.sty

2008-07-10 Thread Mohamed Bana
nico nicolas.marsgui at libertysurf.fr writes: I don't see the point. The native ConTeXt verbatim support seems to cover all what listings can do. The wiki page gives some examples: http://wiki.contextgarden.net/Verbatim_text Regards, BG Hi, take a look at http

Re: [NTG-context] listings.sty

2008-07-10 Thread Hans Hagen
is interested. But before doing it, there are some questions: * What do Hans and other people thing about that? * listings.sty uses keyval.sty, how is the proper ConTeXt-way to do the same things as keyval, or should listings stay with keyval? I don't see the point. The native ConTeXt verbatim

Re: [NTG-context] listings.sty

2008-07-10 Thread Aditya Mahajan
Quoting Mohamed Bana [EMAIL PROTECTED]: nico nicolas.marsgui at libertysurf.fr writes: I don't see the point. The native ConTeXt verbatim support seems to cover all what listings can do. The wiki page gives some examples: http://wiki.contextgarden.net/Verbatim_text Regards, BG Hi

Re: [NTG-context] Fedora 9 (Linux) Installation

2008-07-06 Thread Taco Hoekwater
[EMAIL PROTECTED] wrote: Hi, I can't seem to install ConTeXt manually. I've literally followed this page http://wiki.contextgaraden.net/Linux_User_Installation verbatim and I can't seem to compile even the most basic of documents. I'm running Fedora9 bit, and I do happen to have TeXLive

[NTG-context] Fedora 9 (Linux) Installation

2008-07-05 Thread abbg770
Hi, I can't seem to install ConTeXt manually. I've literally followed this page http://wiki.contextgaraden.net/Linux_User_Installation verbatim and I can't seem to compile even the most basic of documents. I'm running Fedora9 bit, and I do happen to have TeXLive with ConTeXt installed

Re: [NTG-context] markup format --- ConTeXt

2008-06-03 Thread Maurice Diamantini
(with default table of content, correct verbatim, ...) which was not the case for db2latex. But then, any customisation will be a latex style, which is more hacking than ConTeXt (I think so, but I'm sure you agree ;-) Nevertheless, the first criterion was that it just works in simple case. If some magic

Re: [NTG-context] markup format --- ConTeXt

2008-06-03 Thread Wolfgang Schuster
: http://jelix.org/forums/read.php?10,2680,page=4#msg-2872 Looks like spain to me ;-) The result was that the simple command: dblatex jelix-manual.xml produce a correct (i.e. readable) jelix-manual.pdf file without any customisation (with default table of content, correct verbatim

Re: [NTG-context] markup format --- ConTeXt

2008-06-03 Thread Hans Hagen
produce a correct (i.e. readable) jelix-manual.pdf file without any customisation (with default table of content, correct verbatim, ...) which was not the case for db2latex. But then, any customisation will be a latex style, which is more hacking than ConTeXt (I think so, but I'm sure you

Re: [NTG-context] Buffers and commands with optional arguments

2008-05-31 Thread Hans Hagen
renders buffers useless for verbatim usage because I won't force users of my letter module to put a \relax after \startletter only because they use MkII. did you try \definebuffer[letter] Hans

Re: [NTG-context] Buffers and commands with optional arguments

2008-05-31 Thread Wolfgang Schuster
} \doifsomething\ascii {\tmpblockstartedtrue %\immediate\write\tmpblocks{\string#1}}% %\immediate\write\tmpblocks{#1}}% \immediate\write\tmpblocks{\ascii}}% this may introduce spaces after \cs and therefore renders buffers useless for verbatim usage This hack

Re: [NTG-context] luatex feature question/request

2008-04-16 Thread Olivier Guéry
have -- --- and such) The spaces before « ; » and others are not the same habits than « -- » and « --- ». « -- » is TeX specific, the spaces no, it's just a french habit. the problem with all these automatisms is that it then becomes impossible to do something verbatim, i.e bypass those

Re: [NTG-context] LuaTex error attempt to index global 'lang' (a nil value)

2008-04-08 Thread Roland
/base/verb-ini.tex loading : Context Verbatim Macros / Initialization ) (/usr/local/texlive/texmf-local/tex/context/base/core-ins.tex loading : Context Insertion Macros / General ) (/usr/local/texlive/texmf-local/tex/context/base/core-fil.tex loading : Context Core Macros / File Support ) (/usr/local

Re: [NTG-context] UTF-8 characters and gnuplot module

2008-03-26 Thread Mojca Miklavec
. The problem is that the content of between GNUPLOTscript should be copied *verbatim* to .plt file. Now it goes through some semi-modified TeX parser that usually screws up some non-trivial cases (or, better said, only trivial cases work OK). If there existed some \startbuffer[name][continue

Re: [NTG-context] UTF-8 characters and gnuplot module

2008-03-24 Thread Mojca Miklavec
Here's a short summary for Hans (or Taco), so that he doesn't need to read any further: - is it possible to have the contents between \startGPscript ... \stopGPscript go verbatim to the temporary file instead of having to be parsed? - Is there a way to get UTF-8 accented latin characters out

Re: [NTG-context] UTF-8 characters and gnuplot module

2008-03-24 Thread Morgan Brassel
On Mon, 24 Mar 2008, Mojca Miklavec wrote: Here's a short summary for Hans (or Taco), so that he doesn't need to read any further: - is it possible to have the contents between \startGPscript ... \stopGPscript go verbatim to the temporary file instead of having to be parsed

Re: [NTG-context] Semi-verbatim - preserve whitespace - don't escape character

2007-12-09 Thread dexterclarke
Wolfgang Schuster wrote: \startlines verbatin text \stoplines Thanks! That's almost perfect. I've noticed that space is still inserted after punctuation characters such as '.', ':' and '!'. Is it possible to disable this as well? I've read a little about category codes but I'm not entirely

Re: [NTG-context] Semi-verbatim - preserve whitespace - don't escape character

2007-12-09 Thread Wolfgang Schuster
verbatim output and spaces after punctuation marks are part of verbatim code. \starttext \startlines \catcode`!=13 \catcode`:=13 \catcode`.=13 \def.{\char`.\ignorespaces} \def:{\char`:\ignorespaces} \def!{\char`!\ignorespaces} text text, text. text: text! text text text text, text! text. text

Re: [NTG-context] Semi-verbatim - preserve whitespace - don't escape characters

2007-12-08 Thread Wolfgang Schuster
. This is desirable for many reasons that are out of scope for this post... The problem I am having is that one may do this: (para-verbatim (render file)) The para-verbatim tag is meant to preserve whitespace in the output. For example, this becomes: precontents of file/pre

[NTG-context] Semi-verbatim - preserve whitespace - don't escape characters

2007-12-08 Thread dexterclarke
for this post... The problem I am having is that one may do this: (para-verbatim (render file)) The para-verbatim tag is meant to preserve whitespace in the output. For example, this becomes: precontents of file/pre in the XHTML output. Unfortunately, I've hit a wall when it comes to the ConTeXt

Re: [NTG-context] Semi-verbatim - preserve whitespace - don't escape characters

2007-12-08 Thread Aditya Mahajan
in XHTML, or any ConTeXt file inclusion directives. This is desirable for many reasons that are out of scope for this post... The problem I am having is that one may do this: (para-verbatim (render file)) The para-verbatim tag is meant to preserve whitespace in the output. For example

Re: [NTG-context] Semi-verbatim - preserve whitespace - don't escape characters

2007-12-08 Thread Wolfgang Schuster
-verbatim (render file)) The para-verbatim tag is meant to preserve whitespace in the output. For example, this becomes: precontents of file/pre in the XHTML output. Unfortunately, I've hit a wall when it comes to the ConTeXt equivalent: The ConTeXt backend reads in file and prints

Re: [NTG-context] Semi-verbatim - preserve whitespace - don't escape characters

2007-12-08 Thread Aditya Mahajan
On Sat, 8 Dec 2007, Wolfgang Schuster wrote: On Sat, 8 Dec 2007 09:44:52 -0500 (EST) Aditya Mahajan [EMAIL PROTECTED] wrote: \startlines verbatin text \stoplines Note that everything between start-stop lines is normal tex code. you mean start/stoplines need style and color keys. That

Re: [NTG-context] Semi-verbatim - preserve whitespace - don't escape characters

2007-12-08 Thread Wolfgang Schuster
On Sat, 8 Dec 2007 17:30:38 -0500 (EST) Aditya Mahajan [EMAIL PROTECTED] wrote: On Sat, 8 Dec 2007, Wolfgang Schuster wrote: On Sat, 8 Dec 2007 09:44:52 -0500 (EST) Aditya Mahajan [EMAIL PROTECTED] wrote: \startlines verbatin text \stoplines Note that everything between

Re: [NTG-context] Whitespace significance without verbatim

2007-11-30 Thread Wolfgang Schuster
2007/11/30, Mike Santy [EMAIL PROTECTED]: Thanks. Works like a champ. Cheers, Mike This is possible in varbatim mode with a few restrictions (just to know). \starttext \setuptyping[option=commands] \starttyping write what you want /BTEX {\it Either italic} or not/ETEX \stoptyping

[NTG-context] Whitespace significance without verbatim

2007-11-29 Thread Mike Santy
Is there an environment that preserves whitespace (like typing), but still processes \bf \it and other text formatting commands (unlike typing). Any thoughts? Cheers, Mike ___ If your question is of interest to

Re: [NTG-context] Whitespace significance without verbatim

2007-11-29 Thread Aditya Mahajan
On Thu, 29 Nov 2007, Mike Santy wrote: Is there an environment that preserves whitespace (like typing), but still processes \bf \it and other text formatting commands (unlike typing). \setuplines[space=yes] \startlines write what you want {\bf Either bold} or not \stoplines Aditya

Re: [NTG-context] Whitespace significance without verbatim

2007-11-29 Thread Mike Santy
Thanks. Works like a champ. Cheers, Mike ___ 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

Re: [NTG-context] Preventing page break in a paragraph

2007-11-27 Thread Maurí­cio
} \blank \input tufte \blank \input tufte \stoptext Is it possible to do that with verbatim text? Like \startC (a lot of text) \stopC? ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Preventing page break in a paragraph

2007-11-25 Thread Maurí­cio
control. Aditya Are those supposed to work with verbatim code (\startC etc.) inside? Maurício ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

[NTG-context] System commands are disabled

2007-10-13 Thread Leo
/original- public-lm.map} (/usr/local/packages/texlive/2007/texmf-dist/tex/context/base/verb-tex.tex loading : Context Support Macros / Pretty TEX Verbatim ) [1.1] systems : end file 4 at line 29 [flush and process 4-mpgraph.mp afterwards] system : cont-err loaded (/usr/local

[NTG-context] quote characters in luatex

2007-10-02 Thread Thomas A. Schmitz
In my experiments with luatex, there's one thing that may be surprising for many users: we have come to expect that the characters ` and ' in our input files map to single left and single right quotation marks. luatex just typesets them verbatim, so to speak. It converts the combination

Re: [NTG-context] quote characters in luatex

2007-10-02 Thread Hans Hagen
Thomas A. Schmitz wrote: In my experiments with luatex, there's one thing that may be surprising for many users: we have come to expect that the characters ` and ' in our input files map to single left and single right quotation marks. luatex just typesets them verbatim, so to speak

Re: [NTG-context] How to process simple HTML files with LuaTeX

2007-10-01 Thread Mojca Miklavec
? With \ignorespaces? - How to use the new verbatim code? I have tried to use \xmlsetfunction{main}{pre}{lxml.verbatim} but it didn't really work. % test.tex: \startxmlsetups all:html \xmlsetsetup{main}{h1|pre}{*} \stopxmlsetups \xmlregistersetup{all:html} % is this the proper way

Re: [NTG-context] How to process simple HTML files with LuaTeX

2007-09-16 Thread Mojca Miklavec
to process: keep in mind that this is still somewhat experimental Sure :) That's why I'm sending files for testing :) :) :) - i'll make a table mapper (need it anyway), cals tables are already provided - idem for preformatted and verbatim Thanks a lot. I'm waiting patiently :) - your

Re: [NTG-context] How to process simple HTML files with LuaTeX

2007-09-14 Thread Hans Hagen
experimental Sure :) That's why I'm sending files for testing :) :) :) - i'll make a table mapper (need it anyway), cals tables are already provided - idem for preformatted and verbatim - your code: d[k] = dk:gsub(nbsp;,' ') dk = d[k] d[k] = dk:gsub(le;, '\\mathematics{\\le}') local dk = d[k

[NTG-context] close-up (was: backward compatibility ... )

2007-09-10 Thread Steffen Wolfrum
{\txx these -- and also \verbatim {Auf|\-|lagen} -- kill the other hyphenation Aufla-gen. Esp ugly for long words ... \break - -} 1234567890 Auf|*|lagen Auf|*|lagen {\txx right hyphenation, but too much space in fl\break - -} % for the right space between fl see also ff: Auf\-fangen {\txx

[NTG-context] mkiv

2007-08-13 Thread Hans Hagen
spacing, french punctuation), it's there but needs integration - indexing: is already using lua, needs to be tested and we need tables for languages - numbering lines etc: work in progress - verbatim: new pretty printers will show up (i expect users to step in once we have the api ready

Re: [NTG-context] mkiv

2007-08-13 Thread [EMAIL PROTECTED]
as horizontal (inter character spacing, french punctuation), it's there but needs integration - indexing: is already using lua, needs to be tested and we need tables for languages - numbering lines etc: work in progress - verbatim: new pretty printers will show up (i expect users to step

[NTG-context] also install problems (luatex)

2007-08-10 Thread WolfgangZ
) Handling ) (C:/context/tex/texmf-local/tex/context/base/typo-ini.tex loading : Context Typographic Macros (ini) ) (C:/context/tex/texmf-local/tex/context/base/verb-ini.tex loading : Context Verbatim Macros / Initialization ) (C:/context/tex/texmf-local/tex/context/base/core-ins.tex loading : Context

Re: [NTG-context] strange colorleak in definetyping[XML]

2007-07-22 Thread Hans Hagen
Hans van der Meer wrote: I did encounter 'leaking' color outside the XML verbatim typing. The effect can be turned off and on by removing/placing the ':' in 'file:' in the second xml-line. Is this a bug? It certainly is annoying that the default color is inadvertently changed

[NTG-context] strange colorleak in definetyping[XML]

2007-07-19 Thread Hans van der Meer
I did encounter 'leaking' color outside the XML verbatim typing. The effect can be turned off and on by removing/placing the ':' in 'file:' in the second xml-line. Is this a bug? It certainly is annoying that the default color is inadvertently changed. A (somewhat) minimal example follows

Re: [NTG-context] semi-smart quotes in verbatim text?

2007-07-18 Thread cormullion
verbatim lines, and/or remap characters so remind me in half a year (we can make a mkiv wish list) half a year later :-) No worries, at present. But I'd really like to solve this minor problem of incorrect quote-education at some stage in the future. I don't know how imminent the move

[NTG-context] drawoptions in \startMPinclusions

2007-06-14 Thread nicola
. Is this a bug? Or do I misunderstand the purpose of \startMPinclusions (I have assumed that it inserts the text verbatim inside each figure definition)? I am using ConTeXt ver: 2007.01.12 15:56 MKII fmt: 2007.6.8 int: english/english Nicola

Re: [NTG-context] drawoptions in startMPinclusions

2007-06-14 Thread Aditya Mahajan
the text verbatim inside each figure definition)? It inserts text *before* the figure definitions. Have a look at the resulting -mpgraph.mp file. The problem is that in metapost beginfig resets drawoptions. This is how beginfig is defined def beginfig(expr c) = begingroup charcode:=c

Re: [NTG-context] endlinechar redefinition

2007-06-04 Thread Hans Hagen
not know what is dealt with; take xml, in that case we want to stay in xml mode; or verbatim, which needs to set up verbatim actually this is all arranged already (and always has been) your problem with the pdfr-enc file results from the fact that loading that file comes at a nasty moment

Re: [NTG-context] endlinechar redefinition

2007-06-04 Thread Vit Zyka
}% \egroup} modules of system files , we revert to tex catcode regimes etc user files ... well, here tex (context) does not know what is dealt with; take xml, in that case we want to stay in xml mode; or verbatim, which needs to set up verbatim actually this is all arranged already

Re: [NTG-context] verbatim on wiki

2007-05-16 Thread Andrea Valle
Simply because I'm ignorant. :) Now I know and as soon as possible I will update the programa nd the wiki... By the way, I saw I accidentaly introduced a bug in my python script, so I have to fix it. Best -a- On 17 May 2007, at 01:46, Aditya Mahajan wrote: On Sat, 12 May 2007, Andrea

[NTG-context] verbatim on wiki

2007-05-12 Thread Andrea Valle
Hi, I've added the discussion of the approach I used for the recently posted doc on http://wiki.contextgarden.net/Verbatim_text As it is a bit heretical and I don't want to widespread bad practices :) please let me know if it is of some interest or if I have to move it on another place

[NTG-context] beginner's question: interlinespace and definetyping

2007-04-25 Thread Patrick Gundlach
Hi, it seems that I keep asking the beginner's questions... How do I combine \setupinterlinespace with \definetyping? I'd like to have a verbatim envrionment with less interlinespace then the rest of the document. \definetyping [befehl] [before={\startframedtext[width=.8\makeupwidth

[NTG-context] Semi-verbatim

2007-03-25 Thread John R. Culleton
I have a situation where I wish to import a file and have the line endings and the spaces honored as in \typefile. But I want any font changes (e.g. \it) honored as well. I tried the plain TeX commands \obeylines and \obeyspaces. The line endings and typeface changes were honored but the

Re: [NTG-context] Newbie questions: integrating ruby/perl scripts into a document; changing line spacing for typed text only

2007-02-17 Thread cormullion
with \typefile{\NLfile.out} in which case you will not need to escape all the special characters. ConTeXt will do it for you. OK. In fact I originally had two commands - one for verbatim-text, the other for generating material to be included in 'ordinary paragraphs'. I originally had the code

Re: [NTG-context] \externalcommand?

2007-01-05 Thread cormullion
On 2007-01-04, at 23:10.0, Aditya Mahajan wrote: Perhaps the R module is easiest to understand. That method will work for most cases where you simply want to capture part of tex source and write it verbatim to a file, and then read the output back into tex. I'm really grateful for your

Re: [NTG-context] \externalcommand?

2007-01-05 Thread Aditya Mahajan
On Fri, 5 Jan 2007, [EMAIL PROTECTED] wrote: On 2007-01-04, at 23:10.0, Aditya Mahajan wrote: Perhaps the R module is easiest to understand. That method will work for most cases where you simply want to capture part of tex source and write it verbatim to a file, and then read

Re: [NTG-context] semi-smart quotes in verbatim text?

2007-01-04 Thread cormullion
this as this: These are �quotes�. let a = �quoted string� ie the quotes have been educated - although only half-educated, since the opening one should be an opening one, if you see what I mean. But I really don't want characters in the verbatim (typing) section to change...because when you copy them from the PDF into an editor

Re: [NTG-context] semi-smart quotes in verbatim text?

2007-01-04 Thread Hans Hagen
renders this as this: These are �quotes�. let a = �quoted string� ie the quotes have been educated - although only half-educated, since the opening one should be an opening one, if you see what I mean. But I really don't want characters in the verbatim (typing) section to change...because when you

Re: [NTG-context] semi-smart quotes in verbatim text?

2007-01-04 Thread cormullion
On 2007-01-04, at 15:53.0, Hans Hagen wrote: non-trivial (we must make the ' always active then) ; in luatex we can preprocess verbatim lines, and/or remap characters so remind me in half a year Thanks Hans - I'm happy for it to be considered a problem - that's the first step towards

Re: [NTG-context] \externalcommand?

2007-01-04 Thread Aditya Mahajan
. Perhaps the R module is easiest to understand. That method will work for most cases where you simply want to capture part of tex source and write it verbatim to a file, and then read the output back into tex. Aditya ___ ntg-context mailing list ntg

[NTG-context] semi-smart quotes in verbatim text?

2007-01-03 Thread cormullion
only half-educated, since the opening one should be an opening one, if you see what I mean. But I really don't want characters in the verbatim (typing) section to change...because when you copy them from the PDF into an editor, the code listings don't work! There must be some kind of switch

Re: [NTG-context] semi-smart quotes in verbatim text?

2007-01-03 Thread Hans Hagen
the quotes have been educated - although only half-educated, since the opening one should be an opening one, if you see what I mean. But I really don't want characters in the verbatim (typing) section to change...because when you copy them from the PDF into an editor, the code listings don't

Re: [NTG-context] Making a verbatim file for another language

2006-12-31 Thread Jarimatti Valkonen
[EMAIL PROTECTED] kirjoitti 30.12.2006 kello 16.18: On 2006-12-30, at 09:22.0, Jarimatti Valkonen wrote: Works fine here. System: Mac OS 10.4.8, using default Vim (6.2: yikes, thats old!). ConTeXt ver: 2006.08.08 21:51 fmt: 2006.11.1 Thanks Jarimatti for sharing that. It suggests that

Re: [NTG-context] Making a verbatim file for another language

2006-12-31 Thread cormullion
On 2006-12-30, at 21:24.0, Jarimatti Valkonen wrote: /usr/local/teTeX/share/texmf.local/scripts/context/ruby/texmfstart.rb Unfortunately, I don't have a scripts directory here... Obviously my system is not correctly installed. What is the recommended way to install the latest Context version

Re: [NTG-context] Making a verbatim file for another language

2006-12-31 Thread Mojca Miklavec
On 12/31/06, [EMAIL PROTECTED] wrote: What is the recommended way to install the latest Context version (MacOS X)? You have to install at least the following two packages: - gwTeX based on TeX Live (texlive.ii2) - gwTeX Support: ConTeXt updater (context-update.ii2) Perhaps uninstall both

Re: [NTG-context] Making a verbatim file for another language

2006-12-31 Thread cormullion
On 2006-12-31, at 13:40.0, Mojca Miklavec wrote: On 12/31/06, [EMAIL PROTECTED] wrote: What is the recommended way to install the latest Context version (MacOS X)? You have to install at least the following two packages: - gwTeX based on TeX Live (texlive.ii2) - gwTeX Support: ConTeXt

Re: [NTG-context] Making a verbatim file for another language

2006-12-30 Thread Jarimatti Valkonen
Aditya Mahajan kirjoitti 28.12.2006 kello 19.09: [About ConTeXt and Vim module for syntax highlighting.] Let us know if you come across any problems. Works fine here. System: Mac OS 10.4.8, using default Vim (6.2: yikes, thats old!). ConTeXt ver: 2006.08.08 21:51 fmt: 2006.11.1 --

Re: [NTG-context] Making a verbatim file for another language

2006-12-30 Thread cormullion
On 2006-12-30, at 09:22.0, Jarimatti Valkonen wrote: Aditya Mahajan kirjoitti 28.12.2006 kello 19.09: [About ConTeXt and Vim module for syntax highlighting.] Let us know if you come across any problems. Works fine here. System: Mac OS 10.4.8, using default Vim (6.2: yikes, thats old!).

Re: [NTG-context] Making a verbatim file for another language

2006-12-29 Thread cormullion
OK, I think vim works OK here, so this is what I tried: ... \setupcolors[state=start] \usemodule[vimsyntax] \definetypeVIMfile [typeRUBY] [syntax=ruby] \typeRUBY[typeRUBY]{fibo.rb} \defineVIMtyping[RUBY][syntax=ruby] \startRUBY # This is a ruby program puts Hello World \stopRUBY ... Error

Re: [NTG-context] Making a verbatim file for another language

2006-12-29 Thread Mojca Miklavec
On 12/29/06, [EMAIL PROTECTED] wrote: OK, I think vim works OK here, so this is what I tried: ... \setupcolors[state=start] \usemodule[vimsyntax] \definetypeVIMfile [typeRUBY] [syntax=ruby] \typeRUBY[typeRUBY]{fibo.rb} \defineVIMtyping[RUBY][syntax=ruby] \startRUBY # This is a ruby

Re: [NTG-context] Making a verbatim file for another language

2006-12-29 Thread Aditya Mahajan
On Fri, 29 Dec 2006, Mojca Miklavec wrote: On 12/29/06, [EMAIL PROTECTED] wrote: OK, I think vim works OK here, so this is what I tried: ... \setupcolors[state=start] \usemodule[vimsyntax] \definetypeVIMfile [typeRUBY] [syntax=ruby] \typeRUBY[typeRUBY]{fibo.rb}

Re: [NTG-context] Making a verbatim file for another language

2006-12-29 Thread Aditya Mahajan
On Fri, 29 Dec 2006, [EMAIL PROTECTED] wrote: On 2006-12-29, at 13:09.0, Mojca Miklavec wrote: Which version of TeX/ConTeXt are you using? (Perhaps Hans has changed something in the meantime, to make that work again.) Are you using Gerben's i-Installer? In that case and if you have a

Re: [NTG-context] Making a verbatim file for another language

2006-12-29 Thread cormullion
On 2006-12-29, at 15:59.0, Aditya Mahajan wrote: This is the perl version of texexec I do everything from TeXShop (http://www.uoregon.edu/~koch/texshop) and BBEdit so I have no idea where anything TeX-y is... I spent half an hour finding out how to 'enable write 18'... ;-) Poking around

Re: [NTG-context] Making a verbatim file for another language

2006-12-29 Thread Mojca Miklavec
On 12/29/06, [EMAIL PROTECTED] wrote: On 2006-12-29, at 13:09.0, Mojca Miklavec wrote: Which version of TeX/ConTeXt are you using? (Perhaps Hans has changed something in the meantime, to make that work again.) Are you using Gerben's i-Installer? In that case and if you have a chance, can

Re: [NTG-context] Making a verbatim file for another language

2006-12-29 Thread cormullion
On 2006-12-29, at 13:09.0, Mojca Miklavec wrote: Which version of TeX/ConTeXt are you using? (Perhaps Hans has changed something in the meantime, to make that work again.) Are you using Gerben's i-Installer? In that case and if you have a chance, can you please test the new TeXLive-based

Re: [NTG-context] Making a verbatim file for another language

2006-12-28 Thread Aditya Mahajan
On Thu, 28 Dec 2006, [EMAIL PROTECTED] wrote: On 2006-12-27, at 21:41.0, Aditya Mahajan wrote: If you have vim and are interested in testing, you can be the first tester of the module :) Hi! Yes I can find a vim module, so if you can tell me which files to put where, I'll give it a try!

Re: [NTG-context] Making a verbatim file for another language

2006-12-28 Thread cormullion
How does it find the .vim language syntax file for - say - Ruby? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] Making a verbatim file for another language

2006-12-28 Thread Mojca Miklavec
On 12/28/06, [EMAIL PROTECTED] wrote: How does it find the .vim language syntax file for - say - Ruby? When you start vim and say set syntax=ruby, vim should find the syntax file automatically. For example under: /usr/share/vim/vimXX/syntax/ruby.vim c:/programs/vim/vimXX/syntax/ruby.vim

Re: [NTG-context] Making a verbatim file for another language

2006-12-27 Thread Aditya Mahajan
On Tue, 26 Dec 2006, [EMAIL PROTECTED] wrote: After looking at these files a bit more closely, I decided I didn't have a week to spare. Too much to learn and too few instructions. For now I'm sticking with plain old black verbatim code listings. Sometimes one has to set one's sights

Re: [NTG-context] Making a verbatim file for another language

2006-12-26 Thread Henning Hraban Ramm
Am 2006-12-25 um 11:38 schrieb Taco Hoekwater: There a few definition files already there, and you should start from the one that is closest to the language you want to define (especially wrt comment and string syntax). ... Good luck, Taco I found that interesting and wikified it at http://

Re: [NTG-context] Making a verbatim file for another language

2006-12-26 Thread Mojca Miklavec
On 12/26/06, Henning Hraban Ramm wrote: Am 2006-12-25 um 11:38 schrieb Taco Hoekwater: There a few definition files already there, and you should start from the one that is closest to the language you want to define (especially wrt comment and string syntax). ... Good luck, Taco I

Re: [NTG-context] Making a verbatim file for another language

2006-12-26 Thread cormullion
After looking at these files a bit more closely, I decided I didn't have a week to spare. Too much to learn and too few instructions. For now I'm sticking with plain old black verbatim code listings. Sometimes one has to set one's sights a little lower...! :-) But thanks again

[NTG-context] Making a verbatim file for another language

2006-12-25 Thread cormullion
I'm going to try to make a 'verbatim- module' (don't know what the right word is) for another language. I've found: /usr/local/teTeX/share/texmf.tetex/tex/context/base/verb-pl.tex and can probably have a go at making a version of this. Some questions occur: 1: where should i put my file? 2

Re: [NTG-context] Making a verbatim file for another language

2006-12-25 Thread Taco Hoekwater
[EMAIL PROTECTED] wrote: I'm going to try to make a 'verbatim- module' (don't know what the right word is) for another language. I've found: /usr/local/teTeX/share/texmf.tetex/tex/context/base/verb-pl.tex The syntax of your intended language is indeed similar to perl? There a few

Re: [NTG-context] Making a verbatim file for another language

2006-12-25 Thread cormullion
On 2006-12-25, at 10:38.0, Taco Hoekwater wrote: [EMAIL PROTECTED] wrote: I'm going to try to make a 'verbatim- module' (don't know what the right word is) for another language. I've found: Good luck, Taco Thanks - I'll need it, I think. ;-) Your very helpful reply is most appreciated

Re: [NTG-context] Making a verbatim file for another language

2006-12-25 Thread Mojca Miklavec
On 12/25/06, [EMAIL PROTECTED] wrote: I'm going to try to make a 'verbatim- module' (don't know what the right word is) for another language. I've found: /usr/local/teTeX/share/texmf.tetex/tex/context/base/verb-pl.tex and can probably have a go at making a version of this. Some questions

<    1   2   3   4   5   6   7   8   >