[NTG-context] no escaping with scite highlighting any more?

2024-08-11 Thread Henning Hraban Ramm
Hi, this used to work: """ \usemodule[scite] % the setup doesn’t change the behavior, I think it used to. \setuptyping[TEX][ option=tex, % scite sets "cld" ] \starttext \startTEX[escape=yes] \definemeasure[PageWidth][165mm] /BTEX\hfill{\ss Dimensions}/ETEX \define

[NTG-context] Re: “call for articles” (context meeting 2023)

2024-06-23 Thread Henning Hraban Ramm
%\noAbstract % You can use sections/subjects and below. \startTEX some code \stopTEX \stopArticle Noting special, besides the header. Have fun! Hraban ___ If your question is of interest to others as well, please

[NTG-context] Re: ConTeXt source from XML

2024-06-05 Thread Pablo Rodriguez via ntg-context
bsp;Martin A comprehensive treatise The medieval part of the church \stopXML \startTEX \starttext \startchapter[title=St.\, Martin] \stopchapter \startsection[title=The medieval part of the church]\stopsection \stoptext \stopTEX \stoptext I think that a text editor with reasonab

[NTG-context] Re: typing with scite module and escape

2024-02-24 Thread Henning Hraban Ramm
}} \setuptyping[TEX][   option=tex,% scite sets cld   escape=yes, ] \starttext \startTEX \starttext/BTEX\SAY{Text starts here}/ETEX \input tufte \stoptext/BTEX\SAY{Text ends here}/ETEX \stopTEX \stoptext I tried to load the module only in the section where I need it, that lead to strange errors in

[NTG-context] typing with scite module and escape

2024-02-24 Thread Henning Hraban Ramm
=yes, ] \starttext \startTEX \starttext/BTEX\SAY{Text starts here}/ETEX \input tufte \stoptext/BTEX\SAY{Text ends here}/ETEX \stopTEX \stoptext ___ If your question is of interest to others as well, please add an

Re: [NTG-context] pretty printers

2019-05-08 Thread Tomas Hala
g # > # >Maybe it is a misunderstanding but how can use these modules # >in ConTeXt? I had in mind typesetting the code in ConTeXt # >like \startTEX etc. # # 1. Scite module # # \usemodule [scite] # # \starttext # # \startCPP # #include # # using namespace std; # # int main() # {

Re: [NTG-context] pretty printers

2019-05-08 Thread Tomas Hala
Maybe it is a misunderstanding but how can use these modules # >in ConTeXt? I had in mind typesetting the code in ConTeXt # >like \startTEX etc. # # Here is an example with the vim module: # # \usemodule[vim] # \definevimtyping[HTML][syntax=html] #

Re: [NTG-context] pretty printers

2019-05-08 Thread Wolfgang Schuster
# or json) but php is still missing. # # 2. Use Aditya's vim module which uses vim to highlight source code. # # Wolfgang Maybe it is a misunderstanding but how can use these modules in ConTeXt? I had in mind typesetting the code in ConTeXt like \startTEX etc. 1. Scite module \usemodule [scite]

Re: [NTG-context] pretty printers

2019-05-08 Thread Aditya Mahajan
n) but php is still missing. # # 2. Use Aditya's vim module which uses vim to highlight source code. # # Wolfgang Maybe it is a misunderstanding but how can use these modules in ConTeXt? I had in mind typesetting the code in ConTeXt like \startTEX etc. Here is an example with

Re: [NTG-context] pretty printers

2019-05-08 Thread Tomas Hala
e Aditya's vim module which uses vim to highlight source code. # # Wolfgang Maybe it is a misunderstanding but how can use these modules in ConTeXt? I had in mind typesetting the code in ConTeXt like \startTEX etc. Tomáš ___

Re: [NTG-context] align=broad not working in typing

2018-11-13 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 13.11.18 um 19:58: Dear list, I have the following sample: \showframe \setuppapersize[A6] \setuptyping[TEX][align={right, broad}] \starttext \startTEX \showframe \setuppapersize[A5] \setuptyping[TEX][align={right

[NTG-context] align=broad not working in typing

2018-11-13 Thread Pablo Rodriguez
Dear list, I have the following sample: \showframe \setuppapersize[A6] \setuptyping[TEX][align={right, broad}] \starttext \startTEX \showframe \setuppapersize[A5] \setuptyping[TEX][align={right,broad}] \starttext \startTEX

Re: [NTG-context] Saving Metafun Graphic for use outside ConTeXt

2018-04-05 Thread Keith McKay
Thanks dr. Hans! It certainly will. Best Wishes Keith On 05/04/2018 19:55, dr. Hans van der Meer wrote: Maybe this script could help a bit too. Use with following code scheme in ConTeXt: \starttex t\startMPpage % Your Metapost/metafun code here \stopMPpage \stoptext It will produce a

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-26 Thread SteamedFish
comment: \inlineTEX{ag%befe} \Lua\ inline comment: \inlineLUA{agb --efe} \startTEX This is text. % a comment, not \comment \stopTEX \startXML This is text. \stopXML \startLUA if code=="code" then --this is a comment \stopLUA \stopTEXpage \stoptext > On 22 Dec 2017, at 4

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-21 Thread Christoph Reller
fe} > > \Lua\ inline comment: \lua{agb --efe} > > \startTEX > This is text. % a comment, not \comment > \stopTEX > > \startXML > This is text. > \stopXML > > \startLUA > if code=="code" then --this is a comment > \

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-20 Thread Hans Hagen
} \Lua\ inline comment: \lua{agb --efe} \startTEX This is text. % a comment, not \comment \stopTEX \startXML This is text. \stopXML \startLUA if code=="code" then --this is a comment \stopLUA \stopTEXpage \stoptext Would it b

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-19 Thread Aditya Mahajan
On Mon, 18 Dec 2017, Pablo Rodriguez wrote: \definetype[context][option=tex] \definetype[lua][option=lua] \starttext \startTEXpage[offset=2em] a \TEX\ inline comment: \context{ag%befe} \Lua\ inline comment: \lua{agb --efe} \startTEX This is text. % a comment, not

[NTG-context] type and typing comments for TeX and Lua

2017-12-18 Thread Pablo Rodriguez
} \startTEX This is text. % a comment, not \comment \stopTEX \startXML This is text. \stopXML \startLUA if code=="code" then --this is a comment \stopLUA \stopTEXpage \stoptext Would it be possible that all comments in type and typing (at least, for Lu

[NTG-context] three issues with \setuptyping

2017-10-21 Thread Pablo Rodriguez
Hans, [I have reported this before the meeting, but it was wiser to wait after the meeting was over.] I have the following sample: %~ \usemodule[scite] \starttext \startTEXpage[offset=2em] \startTEX This is text. % a comment, not \comment \stopTEX \startXML This

Re: [NTG-context] lines in \setuptyping

2017-08-29 Thread Hans Hagen
On 8/29/2017 4:43 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setuptyping[TEX][lines=yes] \starttext \startTEX code one line before two lines before three lines before \stopTEX \stoptext I thought the lines key should

[NTG-context] lines in \setuptyping

2017-08-29 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuptyping[TEX][lines=yes] \starttext \startTEX code one line before two lines before three lines before \stopTEX \stoptext I thought the lines key should display multiple lines when they are in the code. How

Re: [NTG-context] Scite module and escape does not work anymore

2017-08-29 Thread Hans Hagen
[scite] \setuptyping[TEX][escape={[[,]]}] \starttext \startTEX \test[[\em test]] \stopTEX \stoptext The reported error is: [ctxlua]:221: attempt to index local 'specification' (a nil value) stack traceback: [ctxlua]:221: in function <[ctxlua]:220> [C]: in function 'lpegma

[NTG-context] Scite module and escape does not work anymore

2017-08-29 Thread Christoph Reller
\startTEX \test[[\em test]] \stopTEX \stoptext The reported error is: [ctxlua]:221: attempt to index local 'specification' (a nil value) stack traceback: [ctxlua]:221: in function <[ctxlua]:220> [C]: in function 'lpegmatch' ...ext/tex/texmf-context/tex/context/base

[NTG-context] (again) issues with typing

2017-08-16 Thread Pablo Rodriguez
[offset=1em] \startTEX This is text. % and this is a comment \stopTEX \startXML This is text. \stopXML \startLUA if code=="code" then --this is a comment --[[ this is a multiline comment --]] ---[[ this isn’t a multili

[NTG-context] having all lines with \setuptyping

2017-08-15 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuptyping[TEX][lines=no] \definetyping[TEXlines][lines=yes, option=TEX] \starttext \startxtable[frame=off,option=stretch]\startxrow \startxcell\startTEX \starttext Esto es un único párrafo. Y aquí está el

[NTG-context] comment colors in \typebuffers

2017-08-08 Thread Pablo Rodriguez
Hans, I have the following sample: \starttext \startTEXpage[offset=1em] \startTEX This is text. % and this is a comment \stopTEX \startXML This is text. \stopXML \startLUA if code=="code" then --this is a comment --[[ and this is a

Re: [NTG-context] source code and result side by side

2017-08-04 Thread Henning Hraban Ramm
mal, >>> ] >>> >>> \definebuffer >>> [CodeExample] >>> >>> \define\stopCodeExample >>> {\placesidebyside >>> {\CodeExampleFramed{\typeCodeExample}} >>> {\CodeExampleFramed{\getCodeExample}}} >> >> Oh, I

Re: [NTG-context] source code and result side by side

2017-08-03 Thread Henning Hraban Ramm
etCodeExample}}} Oh, I overlooked something: Can I get pretty printing back, like in \startTEX ... \stopTEX? I couldn’t find any suitable setup options. This doesn’t work: \setupbuffer[CodeExampleB][before={\startTEX},after={\stopTEX}] Greetlings, Hraban --- http://

Re: [NTG-context] source code and result side by side

2017-07-30 Thread Pablo Rodriguez
pbuffer > \typebuffer[zB] > \getbuffer[zB] > } > > \CodeExample{\framed[frame=off,leftframe=on,rulethickness=1em,framecolor=blue]{Klotz > am Bein}} > > Compilation just stops, maybe some infinite loop? This is what I get from your sample above. > Simpler: > > \def\CodeEx

Re: [NTG-context] source code and result side by side

2017-07-30 Thread Henning Hraban Ramm
=on,rulethickness=1em,framecolor=blue]{Klotz am Bein}} Compilation just stops, maybe some infinite loop? Simpler: \def\CodeExample#1{% \startTEX #1 \stopTEX #1 } Stops with the error: Use of \m_syst_action_yes do

[NTG-context] issue with focusoffset and \start.. \stop structures

2016-03-11 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start,focus=standard, focusoffset=5pt] \starttext \index[setuppapersize]{\type{\setuppapersize}} \startTEX \setuppapersize[A][A4, landscape] \setuparranging[2UP, doublesided] \stopTEX \blank

Re: [NTG-context] How to Centre Multi-line Verbatim Text

2015-03-14 Thread Emmanuel Asante
the > page but I cannot figure out how to do that. With the code below how can I > centre the whole block horizontally on the page? > > > > \setuptyping[TEX] > > > > \startTEX > >RSpec.describe Post, :type => :model do > > end > > \stopTEX

Re: [NTG-context] How to Centre Multi-line Verbatim Text

2015-03-14 Thread Wolfgang Schuster
> > \setuptyping[TEX] > > \startTEX >RSpec.describe Post, :type => :model do > end > \stopTEX You can add a framedtext environment around the verbatim text and use “location=middle” to center it. \setuptyping [TEX] [before={\startframedtext[location=middle]},

[NTG-context] How to Centre Multi-line Verbatim Text

2015-03-13 Thread Emmanuel Asante
Hello All, I am trying to centre a multi-line verbatim text horizontally on the page but I cannot figure out how to do that. With the code below how can I centre the whole block horizontally on the page? \setuptyping[TEX] \startTEX RSpec.describe Post, :type => :model do end \stop

Re: [NTG-context] handling code in XML

2015-02-24 Thread Hans Hagen
\ConTeXt\ rocks! \stoptext And what I need (and haven’t been able to explain) is in pure ConTeXt: \startTEX \ConTeXt\ rocks! \stopTEX If this can be achieved with \xmlcontext{#1}{#2}, I cannot find which values #2 take (I have no idea of what is expected there). Many thanks for your

Re: [NTG-context] handling code in XML

2015-02-23 Thread Pablo Rodriguez
t And what I need (and haven’t been able to explain) is in pure ConTeXt: \startTEX \ConTeXt\ rocks! \stopTEX If this can be achieved with \xmlcontext{#1}{#2}, I cannot find which values #2 take (I have no idea of what is expected there). Many thanks for your help, Pablo -- h

Re: [NTG-context] No escape to TeX for inline typing?

2015-02-17 Thread Wolfgang Schuster
> Am 17.02.2015 um 16:04 schrieb Christoph Reller : > > Hi, > > How do I escape to TeX from inside an inline typing command? It works fine > from a typing environment. > > MWE: > > \setuptyping[TEX][escape={[[,]]}] > \definetype[typeTEX][option=TEX] > \st

[NTG-context] No escape to TeX for inline typing?

2015-02-17 Thread Christoph Reller
Hi, How do I escape to TeX from inside an inline typing command? It works fine from a typing environment. MWE: \setuptyping[TEX][escape={[[,]]}] \definetype[typeTEX][option=TEX] \starttext \startTEX \I\can [[\em escape]] \stopTEX \typeTEX{\I\cannot [[\em escape]]} \stoptext Thank you for any

[NTG-context] TEX and XML typing with trailing interline space

2014-08-18 Thread Christoph Reller
Hi, How do I get rid of the additional line inserted at the end of a TEX or XML environment? Minimal working example: \starttext \setuptyping[TEX][before=,after=] % <- trailing interline space \hrule \startTEX \TeX \stopTEX \hrule \medskip \setuptyping[XML][before=,after=] % <- tr

Re: [NTG-context] suggestion on [option=TEX]

2014-02-12 Thread Pablo Rodriguez
> \setuptyping[TEX][escape=myescape->{\letterpercent,}] > > \starttext > \startTEX > This is \TeX\ code % and this is a \TeX\ comment. > \stopTEX > \stoptext Sorry for not having replied before and many thanks for your help, Wolfgang. The code works as you told me. I r

Re: [NTG-context] suggestion on [option=TEX]

2014-02-06 Thread Wolfgang Schuster
gt; >> http://pragma-ade.com/general/magazines/mag-1102.pdf > > Many thanks for your reply, Wolfgang. > > After reading the document, I think it could be achieved with: > > \definefontfamily[mainface][mono][DejaVu Sans Mono] > \setupbodyfont[mainface] > \d

Re: [NTG-context] suggestion on [option=TEX]

2014-02-06 Thread Pablo Rodriguez
document, I think it could be achieved with: \definefontfamily[mainface][mono][DejaVu Sans Mono] \setupbodyfont[mainface] \defineprocessor[myescape][style=bold,color=gray, left=\%] \setuptyping[TEX][escape=myescape->{\%}] \starttext \startTEX This is a c%omment. % And this is another one. \command

[NTG-context] Project structure and path evaluation

2013-04-25 Thread contact
f the PDF on project structure there is an example with \startdocument ... \stopdocument. But I don't understand where I should use these commands. From the source, it looks like \starttex ... \stoptext with the ability to register a before and after command. I am under the impression that I hav

Re: [NTG-context] ! LuaTeX error [string "\directlua "]:1: invalid escape sequence

2013-04-19 Thread Hans Hagen
\edef\\BzrRevision{\%s}", os.resultof"bzr revno | tr -d '\\n'")}} \initializeBzr \starttex foo \stoptex The error I receive is: ! LuaTeX error [string "\directlua "]:1: invalid escape sequ

[NTG-context] ! LuaTeX error [string "\directlua "]:1: invalid escape sequence

2013-04-18 Thread Kip Warner
n{\%s}", os.resultof"bzr revno | tr -d '\\n'")}} \initializeBzr \starttex foo \stoptex The error I receive is: ! LuaTeX error [string "\directlua "]:1: invalid escape sequence near '\%'. system

Re: [NTG-context] width of tabs inside \startTEX ... \stopTEX

2011-02-10 Thread Hans Hagen
On 10-2-2011 9:47, Mojca Miklavec wrote: Hello, I love tabs for some reason. However when I use them inside \startTEX \stopTEX they are exactly 1 character long in MKII and of zero width in MKIV. Is it possible to change that somehow? In particular it would make sense to have some other

[NTG-context] width of tabs inside \startTEX ... \stopTEX

2011-02-10 Thread Mojca Miklavec
Hello, I love tabs for some reason. However when I use them inside \startTEX ... \stopTEX they are exactly 1 character long in MKII and of zero width in MKIV. Is it possible to change that somehow? In particular it would make sense to have some other default (I would suggest 4, but anything is

Re: [NTG-context] escape in verbatim text eats line breaks

2011-01-21 Thread Stefan Müller
Because of the new beta I tried it again with a current Mk IV version (2011.01.18 19:34). The examples I provided (from the wiki, now abbreviated, with numbering) have correct line breaks but the second line does not get a number. \setuptyping[TEX][escape=yes, numbering=line] \startTEX /BTEX

Re: [NTG-context] escape in verbatim text eats line breaks

2011-01-10 Thread Stefan Müller
/]" seems to have no effect at all, "//" is printed just like normal chars. Actually in mkii it's \setuptyping[TEX][escape=/] \startTEX /em sometex \before /em sometex \stopTEX Does that mean the example on the wiki page is not correct? and indeed in mkiv it does no

Re: [NTG-context] escape in verbatim text eats line breaks

2011-01-10 Thread Hans Hagen
line break): \starttext \setuptyping[TEX][escape=yes] \startTEX /BTEX\em sometex/ETEX /BTEX\em sometex/ETEX \after \before /BTEX\em sometex/ETEX \before /BTEX\em sometex/ETEX \after \before /BTEX\em sometex/ETEX \inbetween /BTEX\em sometex/ETEX \after \before \after \stopTEX \setuptyping[T

[NTG-context] escape in verbatim text eats line breaks

2011-01-10 Thread Stefan Müller
EX][escape=yes] \startTEX /BTEX\em sometex/ETEX /BTEX\em sometex/ETEX \after \before /BTEX\em sometex/ETEX \before /BTEX\em sometex/ETEX \after \before /BTEX\em sometex/ETEX \inbetween /BTEX\em sometex/ETEX \after \before \after \stopTEX \setuptyping[TEX][escape={[[,]]}] \startTEX [[\em somet

Re: [NTG-context] hyphenated url

2010-10-27 Thread Steffen Wolfrum
As I don't have any experience with "\asciimode" "I am not sure if I can >>> map this entirely on a complex book project... >> >> In addition to usual asciimode, I changed the definition so that % >> does not have its usual meaning. So, % is no longer

Re: [NTG-context] hyphenated url

2010-10-25 Thread Philipp Gesang
hanged the definition so that % > does not have its usual meaning. So, % is no longer a comment; it > just typesets percentage sign. You can get a comment using > > \starthiding ... \stophiding. > > >Any known side-effects? > > * You need to use \math{...} to go into

Re: [NTG-context] hyphenated url

2010-10-25 Thread Wolfgang Schuster
ve a dollar. There is also \formula{...}. > * You need \startformula ... \stopformula to go into display math. > $$...$$ will just print dollars. > > * _ in text mode will produce an underscore instead of an error. _ in math > mode will work fine. The same for ^. > > * You

Re: [NTG-context] hyphenated url

2010-10-25 Thread Aditya Mahajan
t give a dollar. * You need \startformula ... \stopformula to go into display math. $$...$$ will just print dollars. * _ in text mode will produce an underscore instead of an error. _ in math mode will work fine. The same for ^. * You need \starttex(something) (I don't remember on

Re: [NTG-context] vbox construct breaking MKII

2010-08-04 Thread Aditya Mahajan
tartbuffer writes it to an external file. Something that combines the two will be great. Such a feature will be handy for inline syntax highlighting with the t-vim module. \setbuffer[bla]more bla\endbuffer That does not work in mkii and does not look right for the user interface. For pret

[NTG-context] tex in context

2010-08-01 Thread R. Bastian
Hello, is there a way to insert plain tex code in context source ? example: \startTEX \font\ttbold=cmbtt10 at 12pt {\ttbold texte monospace en gras} ... \stopTEX -- René Bastian www.pythoneon.org ___ If

Re: [NTG-context] new issue with page break

2010-05-06 Thread Hans Hagen
On 6-5-2010 2:39, Peter Münster wrote: Hello, IMHO there should never be a page break right *after* a section header, but here it is: \starttext \dorecurse{660}{text } \section{bla} % \par\page[no] % does not help \startTEX bla bla \stopTEX \stoptext My actual work-around: \page before

[NTG-context] new issue with page break

2010-05-06 Thread Peter Münster
Hello, IMHO there should never be a page break right *after* a section header, but here it is: \starttext \dorecurse{660}{text } \section{bla} % \par\page[no] % does not help \startTEX bla bla \stopTEX \stoptext My actual work-around: \page before \section{} Is there a better solution? TIA

Re: [NTG-context] bibtex problems

2010-03-10 Thread Tom
ote: > I am now trying to create a bibliography database and have, I think, > followed the documentation but to no good result. Myfile.tex contains the > following: > > \setupbibtex[database=myfile] > \starttex > \startpublication > ... > \stoppublication > \stoptext >

Re: [NTG-context] bibtex problems

2010-03-09 Thread Taco Hoekwater
Tom wrote: I am now trying to create a bibliography database and have, I think, followed the documentation but to no good result. Myfile.tex contains the following: \setupbibtex[database=myfile] \starttex \startpublication ... \stoppublication \stoptext texexec --once myfile processes myfile

[NTG-context] bibtex problems

2010-03-09 Thread Tom
I am now trying to create a bibliography database and have, I think, followed the documentation but to no good result. Myfile.tex contains the following: \setupbibtex[database=myfile] \starttex \startpublication ... \stoppublication \stoptext texexec --once myfile processes myfile then returns

Re: [NTG-context] Verbatim Text with Embedded Formatting Commands (MkIV)

2010-01-29 Thread Tad Ashlock
main(){ >return 0; >/BTEX{\em unreachedCode;}/ETEX > } > \stopC > > \setuptyping[escape=yes] > > \startTEX > /BTEX\em sometex/ETEX > /BTEX\em sometex/ETEX \after > \before /BTEX\em sometex/ETEX > \before /BTEX\em sometex/ETEX \after > \before

Re: [NTG-context] Verbatim Text with Embedded Formatting Commands (MkIV)

2010-01-11 Thread Hans Hagen
yes] \startTEX /BTEX\em sometex/ETEX /BTEX\em sometex/ETEX \after \before /BTEX\em sometex/ETEX \before /BTEX\em sometex/ETEX \after \before /BTEX\em sometex/ETEX \inbetween /BTEX\em sometex/ETEX \after \before \after \stopTEX \setuptyping[TEX][escape=no] \startTEX /BTEX\em sometex/ETEX /BTEX\em some

Re: [NTG-context] Verbatim Text with Embedded Formatting Commands (MkIV)

2010-01-08 Thread Tad Ashlock
rking on a project on over the holiday break that will need it. the beta has: \starttext \setuptyping[TEX][escape=yes] \startTEX /BTEX\em sometex/ETEX /BTEX\em sometex/ETEX \after \before /BTEX\em sometex/ETEX \before /BTEX\em sometex/ETEX \after \before /BTEX\em sometex/ETEX \inbetween /BTEX\

Re: [NTG-context] Verbatim Text with Embedded Formatting Commands (MkIV)

2009-12-30 Thread Hans Hagen
n over the holiday break that will need it. the beta has: \starttext \setuptyping[TEX][escape=yes] \startTEX /BTEX\em sometex/ETEX /BTEX\em sometex/ETEX \after \before /BTEX\em sometex/ETEX \before /BTEX\em sometex/ETEX \after \before /BTEX\em sometex/ETEX \inbetween /BTEX\em sometex/ETEX \aft

Re: [NTG-context] Why are pretty printer names uppercased?

2009-08-26 Thread Hans Hagen
Matthijs Kooijman wrote: Hi Hans, according to the wiki, and the current code, the arguments to \installprettytype should be uppercased. E.g.: \installprettytype [PHP][PHP] because want uppercase \startTEX \stopTEX Well, those would be coming from the first argument of

Re: [NTG-context] Why are pretty printer names uppercased?

2009-08-26 Thread Matthijs Kooijman
Hi Hans, >> according to the wiki, and the current code, the arguments to >> \installprettytype should be uppercased. E.g.: >> >> \installprettytype [PHP][PHP] > because want uppercase > > \startTEX > \stopTEX Well, those would be coming from the f

Re: [NTG-context] Why are pretty printer names uppercased?

2009-08-26 Thread Hans Hagen
Matthijs Kooijman wrote: Hi all, according to the wiki, and the current code, the arguments to \installprettytype should be uppercased. E.g.: because want uppercase \startTEX \stopTEX \startMP \stopMP \startLUA \stopLUA \installprettytype [PHP][PHP] Referring to them should be

[NTG-context] Palet option in setuptyping not working

2007-01-10 Thread Berend de Boer
tytwo=colorprettytwo, prettythree=colorprettythree, prettyfour=colorprettyfour] \setuptyping [TEX] [palet=MYcolorpretty] \starttext \startTEX \this \is \a \test \stopTEX \stoptext - -- As you will see, there are no colors anymore.

[NTG-context] palet option in typing not working

2007-01-03 Thread Berend de Boer
palet=MYcolorpretty] \starttext \startTEX \this \is \a \test \stopTEX \stoptext - -- As you will see, there are no colors anymore. My tex and context versions: This is pdfeTeXk, Version 3.141592-1.20a-2.2 (Web2C 7.5.3) (format=cont-en 2007.1.4) 4 JAN

Re: [NTG-context] In-line syntax highlighting for type

2006-10-25 Thread Hans Hagen
gt;>>> >>>>> Hi, >>>>> >>>>> How can I define a command that is the inline version of \startTEX ... >>>>> \stopTEX. (I need to show inline commands in color). >>>>> >>>> \setupcolors[st

Re: [NTG-context] In-line syntax highlighting for type

2006-10-25 Thread Mojca Miklavec
On 10/25/06, Aditya Mahajan <[EMAIL PROTECTED]> wrote: > On Wed, 25 Oct 2006, Aditya Mahajan wrote: > > > On Wed, 25 Oct 2006, Hans Hagen wrote: > > > >> Aditya Mahajan wrote: > >>> Hi, > >>> > >>> How can I define a command t

Re: [NTG-context] In-line syntax highlighting for type

2006-10-25 Thread Aditya Mahajan
On Wed, 25 Oct 2006, Aditya Mahajan wrote: > On Wed, 25 Oct 2006, Hans Hagen wrote: > >> Aditya Mahajan wrote: >>> Hi, >>> >>> How can I define a command that is the inline version of \startTEX ... >>> \stopTEX. (I need to show inline commands in co

Re: [NTG-context] In-line syntax highlighting for type

2006-10-25 Thread Aditya Mahajan
On Wed, 25 Oct 2006, Hans Hagen wrote: > Aditya Mahajan wrote: >> Hi, >> >> How can I define a command that is the inline version of \startTEX ... >> \stopTEX. (I need to show inline commands in color). There had been a >> discussion on this in the past,

Re: [NTG-context] In-line syntax highlighting for type

2006-10-25 Thread Hans Hagen
Aditya Mahajan wrote: > Hi, > > How can I define a command that is the inline version of \startTEX ... > \stopTEX. (I need to show inline commands in color). There had been a > discussion on this in the past, and Taco had suggested a solution > > http://archive.con

[NTG-context] In-line syntax highlighting for type

2006-10-24 Thread Aditya Mahajan
Hi, How can I define a command that is the inline version of \startTEX ... \stopTEX. (I need to show inline commands in color). There had been a discussion on this in the past, and Taco had suggested a solution http://archive.contextgarden.net/thread/20050907.093522.baf795f5.en.html which is

Re: [NTG-context] verb-c and tabulator width

2006-04-26 Thread nico
): \usemodule[verb-c] \setupcolors[state=start] \starttext \startC[tab=2] if (i == 0) { a = b; } else { a = c; } \stopC \startC[tab=4] if (i == 0) { a = b; } else { a = c; } \stopC \startTEX[tab=8] \startC[tab=4] if (i == 0) { a = b; } else { a =

Re: [NTG-context] some highlighted \type-ing

2005-09-07 Thread Mojca Miklavec
xt<% > \let\next\relax >\else\ifx\next\bgroup > \let\next\relax >\else\ifx\next\egroup % takes care of \type{} > \let\next\relax >\else\ifx\next\activeleftargument > \let\next\relax >\else > \let\next\protectedfirsttype >

[NTG-context] some highlighted \type-ing

2005-09-06 Thread Mojca Miklavec
Hello, How can I make highlighted \type-d text? I would like \type{\thisTeXcommand[option=something]} to be highlighted in TEX style. (The question could also be relevant for the wiki, where inline text can only be "highlighted" with or , but not with something similar to or .)

Re: [NTG-context] extra pages after backmatter

2005-08-24 Thread Hans Hagen Outside
Ciro Soto wrote: Hello, I am getting 2 extra pages after the backmatter. Is there any way delete them? thank you Ciro \starttex \starfrontmatter \input frontmatter.tex \stopfrontmatter \startbodymatter \input a_file.tex \stopbodymatter \startbackmatter

[NTG-context] extra pages after backmatter

2005-08-21 Thread Ciro Soto
Hello, I am getting 2 extra pages after the backmatter. Is there any way delete them? thank you Ciro \starttex \starfrontmatter \input frontmatter.tex \stopfrontmatter \startbodymatter \input a_file.tex \stopbodymatter \startbackmatter \input

Re: [NTG-context] howto \getbuffer inside of \startTEX ... \stopTEX

2005-04-04 Thread VnPenguin
On Apr 3, 2005 9:32 PM, h h extern <[EMAIL PROTECTED]> wrote: > > just \typebuffer as in: > > \setupcolors[state=start] \setuptyping[option=TEX] > > \starttext > > \startbuffer > \bTABLE > \bTR >\bTH title1 \eTH >\bTH title2 \eTH > \eTR > \bTR >\bTD data1 \eTD >\bTD data2 \eTD >

Re: [NTG-context] howto \getbuffer inside of \startTEX ... \stopTEX

2005-04-03 Thread h h extern
VnPenguin wrote: Hi all, I have a following code: -- \startbuffer \bTABLE \bTR \bTH title1 \eTH \bTH title2 \eTH \eTR \bTR \bTD data1 \eTD \bTD data2 \eTD \eTR \eTABLE \stopbuffer \startTEX \getbuffer \stopTEX \getbuffer

[NTG-context] howto \getbuffer inside of \startTEX ... \stopTEX

2005-04-03 Thread VnPenguin
Hi all, I have a following code: -- \startbuffer \bTABLE \bTR \bTH title1 \eTH \bTH title2 \eTH \eTR \bTR \bTD data1 \eTD \bTD data2 \eTD \eTR \eTABLE \stopbuffer \startTEX \getbuffer \stopTEX \getbuffer

[NTG-context] Improving the Documentation of Context

2003-06-14 Thread Matthias Vogel
; locating ini file : not found in own path > > so, what am I going to do? I found "texexec" in > /usr/share/texmf/context/config ... am I to make a link? Let's say to > /home/user/texmf? ok, I made a link to /home/user/texmf. Running texexec now works ... seemingly. But

Re: [NTG-context] texexec

2003-06-13 Thread Raimund Kohl-Fuechsle
to make a link? Let's say to > /home/user/texmf? ok, I made a link to /home/user/texmf. Running texexec now works ... seemingly. But if I process Testfile.tex \starttex Hallo Hallo \stoptext with texexec Testfile the message is: TexExec 2.5 ConTeXt / PRAGMA ADE ... executable : pd

Re: [NTG-context] texexec

2003-06-13 Thread Raimund Kohl
quot; in > /usr/share/texmf/context/config ... am I to make a link? Let's say to > /home/user/texmf? ok, I made a link to /home/user/texmf. Running texexec now works ... seemingly. But if I process Testfile.tex \starttex Hallo Hallo \stoptext with texexec Testfile the message is: