rther I also found:
> \type{%\setupbackend[export=yes,xhtml=yes,css=yes]}
>
> This has the added benefit that it displays somewhat better because of the
> increased indentation (for which I misuse spaces).
>
>
> \setuptyping[margin=yes]
>
> \starttext
>
> \type{%\setupbackend[export=yes,xhtml=yes,css=yes]}
>
> This has the added benefit that it displays somewhat better because of the
> increased indentation (for which I misuse spaces).
\setuptyping[margin=yes]
\star
r...
\setupnumbering
[way=bychapter]
\setuppagenumbering
[\c!location=]
\setuptolerance
[\v!verytolerant,\v!stretch]
\setupblank
[\v!medium]
\setupwhitespace
[\v!medium]
\setuptyping
[\c!blank=\v!medium]
\setupheadertexts
[\v!margin]
[][\hfill\pagenumber\hfill]
\setupfootertexts
[\v!marg
pwhitespace
[\v!medium]
\setuptyping
[\c!blank=\v!medium]
\setupheadertexts
[\v!margin]
[][\hfill\pagenumber\hfill]
\setupfootertexts
[\v!margin]
[][{\hfill\doifnotmode{*\v!frontpart}{\getmarking[\v!chapter\v!
number]}\hfill}]
\setupheadertexts
[\v!text]
[][{\hfill\getmarking[\v!chapter]\hf
e[bok][width=7.0in,height=10.0in]
> > %\setuppapersize[bok][letter]
> > \setuppapersize[bok][bok]
> > \setuplayout[location=middle,marking=on]%
> > \setupwhitespace[line]
> > \setuptyping[style=small]
>
> \stopenvironment
>
> > Anyone else have this probl
gt; \stoptext
>
> and macros.tex looks like this:
\startenvironment macros
> \setupoutput[pdftex]
> \definepapersize[bok][width=7.0in,height=10.0in]
> %\setuppapersize[bok][letter]
> \setuppapersize[bok][bok]
> \setuplayout[location=middle,marking=on]%
> \setupwhitespac
rterbt). So this defect is not limited to one font. My
main file is as follows:
\input macros.tex
\usemodule [simplefonts]
\setmainfont [calibri]
\starttext
\input body.tex
\stoptext
and macros.tex looks like this:
\setupoutput[pdftex]
\definepapersize[bok][width=7.0in,height=10.0in]
%\setuppape
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
Hello,
sorry, my silly fault.
The main problem was to use \setuptyping instead of \definetyping.
When I was trying to create an as-small-as-possible example, I forgot to insert
\enableregime[1250] to the header, so I encountered additional error messages.
Sorry again for wasting your (and
... Thanks, it works now. (I've been using \setuptyping before and it used to
work.)
Lukas
On Thu, 13 Jan 2011 11:58:28 +0100, Wolfgang Schuster
wrote:
Am 13.01.2011 um 11:35 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:
You need \definetyping[Model][...].
Wolfgang
--
Ing.
Am 13.01.2011 um 11:35 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:
> Hello,
>
> I encountered another problem with \typefile. This code crashes:
>
> ---
> \setuptyping[Model][bodyfont=6pt,style=\tt\setupinterlinespace]
You need \definetyping[Mode
Hello,
I encountered another problem with \typefile. This code crashes:
---
\setuptyping[Model][bodyfont=6pt,style=\tt\setupinterlinespace]
\starttext
\typefile[Model]{t2.txt} %{t.u8}
%\startluacode context.typefile({"Model"}, "t.u8")\stopluacode
\stoptext
---
Although
On 10.01.2011 15:38, Hans Hagen wrote:
Is this a bug or am I missing something here?
I get newlines here.
I'm using minimals: ConTeXt version 2011.01.06 17:08
Just to clarify: My first line in the PDF result is
"sometexsometex \after"
Also "\setuptyping[TEX][escape=/
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
Hi list,
there seems to be something wrong with the "escape" mechanism in
verbatim. Line breaks before escaped code are ignored. Consider the
following example from the wiki [1] (e.g. the second line is printed
right behind the first with no line break):
\starttext
\setuptyping[T
\doprocesscommaitem
\doprocesscommalist ...item \gobbleoneargument #1,
]\relax \global
\advance \...
\...@setuptyping ...processcommalist [#1]\docommand
\else \let
\currenttyping ...
in MkIV, you can now write
>
> \setuptyping[escape=yes]
>
> \starttyping
> normal /BTEX\em emphasized/ETEX normal
> normal /BTEX\bf bold/ETEX normal
> \stoptyping
>
> or you set your own delimiters with
>
> \setuptyping[escape={[[,]]}]
>
> \starttypi
On Fri, Dec 03, 2010 at 03:36:14PM +0100, Wolfgang Schuster wrote:
>
> Am 03.12.2010 um 10:32 schrieb Khaled Hosny:
>
> > Is there a way to setup insertion of some stuff before/after \type{},
> > tried \setuptyping but only works for \start/stoptyping.
> >
>
On Sat, Dec 04, 2010 at 06:41:37PM +0100, Hans Hagen wrote:
> On 3-12-2010 10:32, Khaled Hosny wrote:
> >Is there a way to setup insertion of some stuff before/after \type{},
> >tried \setuptyping but only works for \start/stoptyping.
> >
> >\setuptyping[before=\framed]
On 3-12-2010 10:32, Khaled Hosny wrote:
Is there a way to setup insertion of some stuff before/after \type{},
tried \setuptyping but only works for \start/stoptyping.
\setuptyping[before=\framed]
\starttext
\type{aa}
\starttyping
aa
\stoptyping
\stoptext
the next beta will have:
\starttext
On 3-12-2010 1:49, Peter Schorsch wrote:
Hi,
today I recognized that the tab parameter is not working in setuptyping
anymore (actual beta). As soon the tab paramter is set and a tabulator is
used in the text, ConTeXt breaks with following error message:
! LuaTeX error ...text/tex/texmf
On 3-12-2010 10:32, Khaled Hosny wrote:
Is there a way to setup insertion of some stuff before/after \type{},
tried \setuptyping but only works for \start/stoptyping.
\setuptyping[before=\framed]
\starttext
\type{aa}
\starttyping
aa
\stoptyping
\stoptext
that would be 'left'
Am 03.12.2010 um 10:32 schrieb Khaled Hosny:
> Is there a way to setup insertion of some stuff before/after \type{},
> tried \setuptyping but only works for \start/stoptyping.
>
> \setuptyping[before=\framed]
You can try to convince Hans to add a command key to \setuptype, untill
Am 03.12.2010 um 10:40 schrieb Khaled Hosny:
> The following is listed on the wiki but does not work in MkIV, the
> commands are just typeset verbatim as well.
The mechanism has changed in MkIV, you can now write
\setuptyping[escape=yes]
\starttyping
normal /BTEX\em emphasized/ETEX
Hi,
today I recognized that the tab parameter is not working in setuptyping
anymore (actual beta). As soon the tab paramter is set and a tabulator is
used in the text, ConTeXt breaks with following error message:
! LuaTeX error ...text/tex/texmf-context/tex/context/base/util
The following is listed on the wiki but does not work in MkIV, the
commands are just typeset verbatim as well.
\setuptyping[option=commands]
\starttext
\starttyping
/BTEX{\em aa}/ETEX
\stoptyping
\stoptext
--
Khaled Hosny
Arabic localiser and member of Arabeyes.org team
Free font developer
Is there a way to setup insertion of some stuff before/after \type{},
tried \setuptyping but only works for \start/stoptyping.
\setuptyping[before=\framed]
\starttext
\type{aa}
\starttyping
aa
\stoptyping
\stoptext
Regards,
Khaled
--
Khaled Hosny
Arabic localiser and member of
=0.9,g=0.5,b=0.5]
\definecolor[palecyan][r=0.41,g=0.84,b=0.84]
\setuptyping[option=color,
% palet=colorpretty,
bodyfont=10pt,
before={\startframedtext[width=\makeupwidth,
background=screen,
frame=off
... Much better, thanks!
Lukas
On Wed, 01 Dec 2010 17:00:59 +0100, Wolfgang Schuster
wrote:
\definetyping[default][bodyfont=8pt]
--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4
Tel: +420 244
Am 01.12.2010 um 16:53 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:
> ... Still the same error with the latest beta.
Replace your \setuptyping with:
\definetyping[default][bodyfont=8pt]
Wolfgang
___
If y
... Still the same error with the latest beta.
Lukas
On Wed, 01 Dec 2010 15:47:31 +0100, Procházka Lukáš Ing. - Pontex s. r. o.
wrote:
Hello Hans -
On Wed, 01 Dec 2010 15:32:05 +0100, Hans Hagen wrote:
I'm trying to \setuptyping to use a 8pt font size [of a tt typeface].
\setupt
Hello Hans -
On Wed, 01 Dec 2010 15:32:05 +0100, Hans Hagen wrote:
I'm trying to \setuptyping to use a 8pt font size [of a tt typeface].
\setuptyping ... bodyfont=8pt
- Did you test it?
--- t2.mkiv
\enableregime[cp1250]
\setuptyping[default][bodyfont=8pt] % As you advised
\star
On 1-12-2010 10:50, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
Hello,
I'm trying to \setuptyping to use a 8pt font size [of a tt typeface].
\setuptyping ... bodyfont=8pt
-
Hans
Hello,
I'm trying to \setuptyping to use a 8pt font size [of a tt typeface].
Here are my trials - in several cases I get the wanted result but with error
messages:
--- t.mkiv
\enableregime[cp1250]
%\setuptyping[default][style=\ttxx\setupinterlinespace] % This works somehow
but with e
Hello,
is it possible to \setuptyping in the manner that long lines won't be broken?
So to get:
<-\textwidth ->
a
instead of:
aAA
AA
Thank you in advance.
Regards,
Lukas
--
Ing. Lukáš Procházka [mailto:l...@pontex.c
The texts „line“ and „lines“ are set with \setuplabeltext but you can see
> alternative texts with \inline{...}[].
>
> \setuptyping[numbering=line,escape=yes]
>
> \starttext
>
> See \inline[line:single] and also \inline[line:range].
>
> See \inline{typeline}
rnative texts with \inline{...}[].
\setuptyping[numbering=line,escape=yes]
\starttext
See \inline[line:single] and also \inline[line:range].
See \inline{typeline}[line:single] and also \inline{typelines}[line:range].
See line~\inlinerange[line:single] and also lines~\inlinerange[line:range].
\star
On 26.10.2010 15:31, Wolfgang Schuster wrote:
Am 26.10.2010 um 10:30 schrieb Stefan Müller:
Hi list,
is there a (preferably easy) way to reference line numbers inside a typing?
Minimal (not working) example:
\setuptyping[numbering=line]
\starttext
In the following typing, \in{line
Am 26.10.2010 um 10:30 schrieb Stefan Müller:
> Hi list,
>
> is there a (preferably easy) way to reference line numbers inside a typing?
> Minimal (not working) example:
>
> \setuptyping[numbering=line]
> \starttext
> In the following typing, \in{line}{}[line:intypin
Hi list,
is there a (preferably easy) way to reference line numbers inside a
typing? Minimal (not working) example:
\setuptyping[numbering=line]
\starttext
In the following typing, \in{line}{}[line:intyping] is really interesting.
\starttyping
This line is so interesting.
\stoptyping
9/counters.pdf)
>
> \definetyping[cmds]
> \setuptyping[cmds][option=commands]
> \starttext
> \startcmds
> \def\MySectionCounter{P\currentcounter[part].C\currentcounter[chapter]-\currentcounter[section]}
>/stopcmds
> \stoptext
>
> which has inserted spaces before the open
Wolfgang: thanks for the tips, I'll try them out.
Hans: Here is the example, which produced the output in my Thoughts
document (http://dl.dropbox.com/u/5718469/counters.pdf)
\definetyping[cmds]
\setuptyping[cmds][option=commands]
\starttext
\startcmds
\def\MySectionCounter{P\currentco
Hello, it doesn't seem to work.
Let's have "t-TypeF2.mkiv" with the following content:
---
\setuptyping[default][bodyfont=small,style={\ttx\setupinterlinespace}] % 1
% 2
\starttext % 3
\typefile[default][start=4]{t-TypeF2.mkiv} % = This file; 4
\typefile[default][start
Thank you both for the suggestions. My final code looks like this:
---
\def\PushPaperSize{\edef\PopPaperSize{\setuppapersize[\papersize][\printpapersize]}}
\definehead[subjectLand][subject]
\setuphead[subjectLand][before={\PushPaperSize\page},style=bold]
\setuptyping[Dim][bodyfont=small,style
do I make ctx accept also Czech letters with diacritics like "ŽŠČ"?
- I also looked to wiki to \setuptyping, but it doesn't seem to there would be
a command which could change this.
Lukas
--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o. [mailto:pon...@pontex.cz] [
][alg:myalgorithm]{Very neat algorithm.}{
\starttyping
some source code
\stoptyping
}
then the numbering I set up with
\setuptyping[numbering=line]
\setuplinenumbering[location=text]
is gone. Is there a way to get around this? I try to not use itemize for
this (although it seems to work with itemize
.}{
\starttyping
some source code
\stoptyping
}
then the numbering I set up with
\setuptyping[numbering=line]
\setuplinenumbering[location=text]
is gone. Is there a way to get around this? I try to not use itemize for
this (although it seems to work with itemize), because I'd rather use
the
.}{
\starttyping
some source code
\stoptyping
}
then the numbering I set up with
\setuptyping[numbering=line]
\setuplinenumbering[location=text]
is gone. Is there a way to get around this? I try to not use itemize for
this (although it seems to work with itemize), because I'd rather use
the
\stoptyping
}
then the numbering I set up with
\setuptyping[numbering=line]
\setuplinenumbering[location=text]
is gone. Is there a way to get around this? I try to not use itemize for
this (although it seems to work with itemize), because I'd rather use
the more semantically correct app
e several bidi models available; maybe Idris can send you the draft on bidi)
>
> anyhow, here's some more: in addition to align options we also will have
> locations reflecting the direction:
>
> \definefont[MyMono][file:dejavusansmono sa 1]
>
> \setuptyping
reflecting the direction:
\definefont[MyMono][file:dejavusansmono sa 1]
\setuptyping [style=\MyMono,numbering=line,start=1,step=1]
\definetyping [RLtyping] [align=r2l]
\definetyping [LRtyping] [align=l2r]
\starttext
\startbuffer[sample]
\startLRtyping
At the left!
أهلا
\st
But I still don't get
everything I'd need. There's a sample attached.
---
\definetyping[xFn]
\setuptyping[xFn][style={\tfxx\tt},space=off,blank=halfline,numbering=line] %
Trials - what each parameter actually does
\starttext
AAA
\bgroup
\setuplinenumbering[style
Am 2010-10-01 um 11:06 schrieb Henning Hraban Ramm:
Moreover, I'd need to have the following options:
- To alter the font used for numbering lines, so that it would be
smaller than the normal text.
\definetyping[MyStyle]
\setuptyping[MyStyle][style={\tfx\tt}]
see
tarttyping)
Moreover, I'd need to have the following options:
- To alter the font used for numbering lines, so that it would be
smaller than the normal text.
\definetyping[MyStyle]
\setuptyping[MyStyle][style={\tfx\tt}]
see http://wiki.contextgarden.net/Reference/en/setuptyping
Doesn't
Am 30.09.2010 um 15:29 schrieb R. Bastian:
> Hello,
>
> for a title page I would use a page of code as background.
> How can I get the text
>
> \starttyping
>
> code
>
> \stoptyping
>
> in gray or lightgray ?
\startstandardmakeup
\setuptyping[color
" is typeset as if pret-pas.lua wouldn't
exist. If I change "option=PAS" to "option=LUA" it works as intended ("end" is
green). What is going on here? Any help is appreciated.
\installprettytype[PAS][PAS]
\setupcolors[state=start]
\setuptyping[option=colo
".
My testfile is added below. The "end" is typeset as if pret-pas.lua wouldn't
exist. If I change "option=PAS" to "option=LUA" it works as intended ("end" is
green). What is going on here? Any help is appreciated.
\installprettytype[PAS][PAS]
\s
On Wed, Aug 25 2010, Hans Hagen wrote:
> \definetyping[LUA]
> \setuptyping[LUA][option=LUA,escape={/btex,/etex}]
>
> Hopefully you wikify this
Hello Hans,
I don't know what to wikify, because I don't understand what is supposed to
work and what is not. Here anothe
On 25-8-2010 3:04, Peter Münster wrote:
The "escape=//" option is ignored here:
\setuptyping[option=LUA, escape=//]
\starttext
\starttyping
bla // \em sometex
\stoptyping
\stoptext
What could be done, to make it work?
\definetyping[LUA]
\setuptyping[LUA][option=LUA,escape={/
Hello,
The "escape=//" option is ignored here:
\setuptyping[option=LUA, escape=//]
\starttext
\starttyping
bla // \em sometex
\stoptyping
\stoptext
What could be done, to make it work?
TIA for any help!
Peter
--
Contact information: http://pmrb.free.
2010/8/11 Hongwen Qiu :
> On 08/11/2010 08:23 PM, Li Yanrui (李延瑞) wrote:
>>
>> Hi all,
>>
>> this is an example.
>>
>> \setuptyping[numbering=line]
>> \setuplinenumbering[location=intext]
>> \showframe
>> \starttext
>> \starttyp
On 08/11/2010 08:23 PM, Li Yanrui (李延瑞) wrote:
Hi all,
this is an example.
\setuptyping[numbering=line]
\setuplinenumbering[location=intext]
\showframe
\starttext
\starttyping
This is the first line.
Last line after an empty line.
\stoptyping
\stoptext
the linenumbering setup of "loc
Hi all,
this is an example.
\setuptyping[numbering=line]
\setuplinenumbering[location=intext]
\showframe
\starttext
\starttyping
This is the first line.
Last line after an empty line.
\stoptyping
\stoptext
the linenumbering setup of "location=intext" can not work. the line
number
most of my environments:
\setuptype[style={\setcharacterspacing[reset]\tt}]
\setuptyping[style={\setcharacterspacing[reset]\tt}]
\setupinteraction[style={\setcharacterspacing[reset]\tt}]
\appendtoks
\setcharacterspacing[reset]%
\to \everyinitializeverbatim
but maybe all such features shou
Hi Peter,
Many thanks for your hint: indeed you had the solution!
Best regards: OK
On 22 juin 2010, at 19:18, Peter Münster wrote:
>
> Hello,
>
> I don't know, but I have these line in most of my environments:
>
> \setuptype[style={\setcharacterspacing[reset]\tt
ents:
\setuptype[style={\setcharacterspacing[reset]\tt}]
\setuptyping[style={\setcharacterspacing[reset]\tt}]
\setupinteraction[style={\setcharacterspacing[reset]\tt}]
Cheers, Peter
--
Contact information: http://pmr
Dear ConTeXt list,
I encountered a weird behaviour while using typefile. Here is a
minimal example, to illustrate what I am saying. We have two files,
test.txt and test.tex, respectively (between the -).
-
1
2
3
4
5
---
\setuptyping
[before
leavehmode
\strut
\the\everyline
\par}
\starttext
\setuptyping[numbering=line]
\starttyping
one
two
four
five
\stoptyping
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an en
On 10-5-2010 12:04, Peter Münster wrote:
Hello,
The length of the tab is always 7:
% one tab before each "bla":
\setuptyping[tab=2]
\starttext
\starttyping
12345678901234567890
bla bla
\stoptyping
\setuptyping[tab=4]
\starttyping
12345678901234567890
bla bla
\
Hello,
The length of the tab is always 7:
% one tab before each "bla":
\setuptyping[tab=2]
\starttext
\starttyping
12345678901234567890
bla bla
\stoptyping
\setuptyping[tab=4]
\starttyping
12345678901234567890
bla bla
\stoptyping
\stoptext
Cheers, Peter
-
$ context --version
MTXrun | current version: 2010.04.16 21:08
$ luatex --version
This is LuaTeX, Version beta-0.60.0-2010040422
I found that \setuptyping[numbering=line] no longer produces line
numbers any more. So are there something changed, or just it's ought to
kages do. You'll
usually get a faster response by describing the desired functionality
rather than option name from LaTeX.
It would seem like the option you need is there, but it doesn't seem
to work. There are some examples is ConTeXt source:
\setuptyping[file][numbering=file]
\st
ther than option name from LaTeX.
It would seem like the option you need is there, but it doesn't seem
to work. There are some examples is ConTeXt source:
\setuptyping[file][numbering=file]
\starttext
\typefile[start=2,nlines=3]{zapf}
\typefile[start=3,step=2]{zapf}
\stoptext
But they neit
On Fri, Mar 26 2010, John Culleton wrote:
>
> I want to import the text of several programs in my latest book.
> My requirements are:
> 1. Monospaced font.
\setuptyping[style=\tt]
> 2. Courier or similar typeface
I don't know.
> 3. Smaller than normal typefa
Hans Hagen wrote:
> On 9-1-2010 0:52, Tad Ashlock wrote:
>
> > ...
>
> you can try the beta with
>
> \enabletrackers[buffers.visualize]
>
> \starttext
>
> \definetyping[C] % [option=C]
> \setuptyping[C][escape=yes]
>
> \startC
> #include
> int
Hi all,
Here's a little sample named test.tex,
\starttext
\setuptyping[file][numbering=line]
\typefile[start=1,step=1]{test.tex}
\stoptext
But, it does not shows the line number, any questions about the code snippet,
thanks.
On 9-1-2010 0:52, Tad Ashlock wrote:
> ...
you can try the beta with
\enabletrackers[buffers.visualize]
\starttext
\definetyping[C] % [option=C]
\setuptyping[C][escape=yes]
\startC
#include
int main(){
return 0;
/BTEX{\em unreachedCode;}/ETEX
}
\stopC
\setuptyping[escape=
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\
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
wo,
prettythree=colorprettythree,
prettyfour=colorprettyfour,
prettyfive=colorprettyfive]
% Python listings
\definepalet [PYcolorpretty] [colorpretty]
\setuptyping [PYTHON][bodyfont=10pt,option=color]
\installprettytype[PYTHON] [PY]
\definetyp
test
\stoptyping
\item bla
\starttyping
test
test
test
\stoptyping
\stopitemize
test
\title{Test with margin}
Works also very good!
\setuptyping[margin=3em]
\starttyping
test
test
test
\stoptyping
test
\starttyping
test
test
test
\stoptyping
test
\startitemize
\item bla
\item
=line,bodyfont=9pt]
\setuppapersize[A4,landscape][a4,landscape]
\setuptyping[IfSQ][palet=colorpretty]
\setuplayout
[leftmargin=20mm,
leftmargindistance=5mm,
footer=0mm,
header=0mm,
rightmargin=0mm]
\definelayer[header][width=\paperwidth,height=\paperheight]
\defineoverlay[ifsqoverlay
ers
\BREAKsethandlers
\BREAKsetspecials}
\installprettytype [BREAK] [BREAK]
\starttext
\framed
[width=8cm,
align=flushleft,
strut=no]{%
\setuptyping[option=BREAK]
\starttyping
Hottentottenstottertrottelmutterlattengitterkotterbeutelratenattentater
\stoptyping
}
\stoptext
sample.
On Tue, 8 Sep 2009, joshua lee wrote:
Hi All,
Attached is the simple test file for the simpleslides which can not output
'--', any idea? Thanks.
There is a bug somewhere (see later). As a workaround, you can use
\setuptyping[style={\definedfont[LMTypewriter10-Regular]}]
Here is
Hi all,
according to the wiki, and the current code, the arguments to
\installprettytype should be uppercased. E.g.:
\installprettytype [PHP][PHP]
Referring to them should be uppercased as well:
\definetyping[PHP] [option=PHP]
\setuptyping[option=PHP]
However, the filename
On Sat, 22 Aug 2009, Hans Hagen wrote:
Aditya Mahajan wrote:
Hi,
If I set option to empty in setuptyping, the output of \starttyping
stoptyping is colored.
\setuptyping[option=]
\starttext
\starttyping
% This is a test
\stoptyping
\stoptext
This works fine in MKII, but in MKIV the % is
Aditya Mahajan wrote:
Hi,
If I set option to empty in setuptyping, the output of \starttyping
stoptyping is colored.
\setuptyping[option=]
\starttext
\starttyping
% This is a test
\stoptyping
\stoptext
This works fine in MKII, but in MKIV the % is colored. The color goes
away if I set
Hi,
If I set option to empty in setuptyping, the output of \starttyping
stoptyping is colored.
\setuptyping[option=]
\starttext
\starttyping
% This is a test
\stoptyping
\stoptext
This works fine in MKII, but in MKIV the % is colored. The color goes away
if I set option=none. I think this
ph,
leftoffset=0em,
rulethickness=1pt]
\definetyping [C]
[option=commands]
\setuptyping [C]
[bodyfont=8pt,
margin=1em,
before=%
{\blank[big]
\setupinterlinespace[line=1.6ex]
\starttextbackground[listingbackground]},
after=%
{\stoptextbackground
\blank
]
\setuptyping[typing][margin=1cm,bodyfont=8.0pt,before={\starttextbackground[verbatim]},after={\stoptextbackground}]
\starttext
\starttyping
This is the first line.
This is the second line.
\stoptyping
\stoptext
test.tex%%%
I use contextminimals
Matthijs Kooijman wrote:
Hi Peter & Khaled,
I think there is a way to use ConTeXt commands inside verbatim
environments, but I don't recall it.
I think this is the "option=commands" option for setuptyping & friends. AFAIK
this means you need to use /TEX /ETEX around you
Hi Peter & Khaled,
> I think there is a way to use ConTeXt commands inside verbatim
> environments, but I don't recall it.
I think this is the "option=commands" option for setuptyping & friends. AFAIK
this means you need to use /TEX /ETEX around your commands or some
dern-base][texnansi] \setupbodyfont[modern]
%M \setuptyping[option=color]
%M \setupcolors[state=start]
%D \section {User Manual}
%D
%D \CONTEXT\ has an excellent pretty printing capabilities for many languages.
%D The code for pretty printing is written in \TEX, and due to catcode
%D jugglery verb
I get
[fileLibrary-procedures/hlx\$requery.pls does not exist]
G
Solution so far:
\def\IfSQprojectname{Foo}
\definetyping[SQL][option=color,numbering=line,bodyfont=9pt]
\setuppapersize[A4,landscape][a4,landscape]
\setuptyping[SQL][palet=colorpretty]
\setuplayout
[leftmargin=20mm,
leftmargindistanc
ptext
Thanks. Almost there. I now have:
\definetyping[SQL][option=color,numbering=line,bodyfont=9pt]
\defineoverlay[ifsqoverlay][\overlayfigure{IfSQ-overlay.pdf}]
\setuppapersize[A4,landscape][a4,landscape]
\setupbackgrounds[page][background=ifsqoverlay]
\setuptyping[SQL][palet=colorpretty]
> \setuppapersize[A4,landscape][a4,landscape]
>> \setupbackgrounds[page][background=ifsqoverlay]
>> \setuptyping[SQL][palet=colorpretty]
>> \setuppagenumbering[location=inleft]
>> \def\typeSQLfile{\typefile[SQL]}
>> \starttext
>>
>> w
etuplayout[leftmargin=10mm,rightmargin=0mm,footer=0mm,header=5mm]
\setuppapersize[A4,landscape][a4,landscape]
\setupbackgrounds[page][background=ifsqoverlay]
\setuptyping[SQL][palet=colorpretty]
\setuppagenumbering[location=inleft]
\def\typeSQLfile{\typefile[SQL]}
\starttext
why do I not see page nu
t=9pt]
\defineoverlay[ifsqoverlay][\overlayfigure{IfSQ-overlay.pdf}]
\setuplayout[leftmargin=10mm,rightmargin=0mm,footer=0mm,header=5mm]
\setuppapersize[A4,landscape][a4,landscape]
\setupbackgrounds[page][background=ifsqoverlay]
\setuptyping[SQL][palet=colorpretty]
\setuppagenumbering[location=inleft]
ter=0mm,header=5mm]
> \setuppapersize[A4,landscape][a4,landscape]
> \setupbackgrounds[page][background=ifsqoverlay]
> \setuptyping[SQL][palet=colorpretty]
> \setuppagenumbering[location=inleft]
> \def\typeSQLfile{\typefile[SQL]}
> \starttext
>
> why do I not see page numbers? Has this to d
]
\setuptyping[SQL][palet=colorpretty]
\setuppagenumbering[location=inleft]
\def\typeSQLfile{\typefile[SQL]}
\starttext
why do I not see page numbers? Has this to do with my margins (I need
to use as much space on the page as possible)?
Thanks,
G
201 - 300 of 471 matches
Mail list logo