Am 12.02.2015 15:44, schrieb Hans Hagen:
so then you have to wikify it (or add it to the t-vim module docu)
You are right ofcourse :-)
Done: http://wiki.contextgarden.net/Verbatim_XML
___
If your question is of
On Thu, 12 Feb 2015, Hans Hagen wrote:
On 2/11/2015 12:15 PM, Andreas Schneider wrote:
Am 10.02.2015 22:45, schrieb Hans Hagen:
\startluacode
function xml.functions.processJSON(t)
buffers.assign(foo,\\startJSON\n .. tostring(xml.text(t))
.. \n\\stopJSON)
context.getbuffer
On 2/11/2015 12:15 PM, Andreas Schneider wrote:
Am 10.02.2015 22:45, schrieb Hans Hagen:
\startluacode
function xml.functions.processJSON(t)
buffers.assign(foo,\\startJSON\n .. tostring(xml.text(t))
.. \n\\stopJSON)
context.getbuffer { foo }
end
\stopluacode
Am 10.02.2015 22:45, schrieb Hans Hagen:
\startluacode
function xml.functions.processJSON(t)
buffers.assign(foo,\\startJSON\n .. tostring(xml.text(t))
.. \n\\stopJSON)
context.getbuffer { foo }
end
\stopluacode
\startxmlsetups xml:json
\pushcatcodetable
Hello,
as a few other topics on this Mailing List already discussed, it's not
(easily?) possible to use \starttyping\stoptyping within XML setups. If
it was simple verbatim, there would be a few workarounds.
However, I want to provide formatted verbatim (i.e. \startJSON
\stopJSON, after
On 2/10/2015 5:59 PM, Andreas Schneider wrote:
Hello,
as a few other topics on this Mailing List already discussed, it's not
(easily?) possible to use \starttyping\stoptyping within XML setups. If
it was simple verbatim, there would be a few workarounds.
However, I want to provide formatted
Hello Hans,
thank you for contributing to solve my problem.
I've tried your proposition : how can I get the content of the buffer afterward
?
I've tried \getbuffer[Slide] with no success on MKIV beta that I've just
updated.
Does a buffer work only for verbatim content ?
best regards,
Pierre
\definebuffer[Slide]
foo
\startSlide
bla bla bla
\starttyping
language C code
\stoptyping
bla bla bla
\stopSlide
bar
\getbuffer[\thedefinedbuffer{Slide}]
\getSlide
\stoptext
Does a buffer work only for verbatim content ?
no, for everything
best regards,
Pierre-François.
On 07 Nov 2014
\starttyping
language C code
\stoptyping
bla bla bla
\stopSlide
bar
\getbuffer[\thedefinedbuffer{Slide}]
\getSlide
\stoptext
Does a buffer work only for verbatim content ?
no, for everything
best regards,
Pierre-François.
On 07 Nov 2014, at 12:38, Hans Hagen pra...@wxs.nl
for
U+00A0 (no-break space), as well as U+25CC (dotted circle).
9. Arabic-Latin Modern Mono will be a boon to scholars, academics, coder
editors, and anyone who wants to manage the entry of the wide array of
Unicode Arabic text for editing, verbatim, or other purposes
Hello,
which is the best way to typeset text (aka file names) containing tilde so that
the tilde be visible?
I guess there is a something like (inline) verbatim mode which makes ~ (and
maybe % $ etc.) visible...
I need to typeset e.g.
d:/Lukas/~/abc.def
and I'd like avoid translating
be visible?
#
# I guess there is a something like (inline) verbatim mode which makes ~ (and
maybe % $ etc.) visible...
#
# I need to typeset e.g.
#
# d:/Lukas/~/abc.def
#
# and I'd like avoid translating ~ into e.g. \textasciitilde.
#
# Best regards,
#
# Lukas
#
#
# --
# Ing. Lukáš Procházka
in verbatim is defined differently because otherwise it can
get lost in the export; you can experiment with:
\appendtoks
\unexpanded\def\obeyedspace{\hskip\zeropoint\char32\hskip\zeropoint}%
\to \everyenableelements
Many thanks for your reply, Hans.
I’m afraid I cannot make it work even
I doing something wrong or have I hit a bug?
The space in verbatim is defined differently because otherwise it can
get lost in the export; you can experiment with:
\appendtoks
\unexpanded\def\obeyedspace{\hskip\zeropoint\char32\hskip\zeropoint}%
\to \everyenableelements
Many thanks
is wrong defined in \arg that inserts an extra space
after \em?
You can’t do this form a definition for a verbatim command because TeX has its
own rules
for such a situation (search for a description about catcodes), when you want a
copy of
\TeXcode add
\definetype[arg][TeXcode]
to your
On 05/26/2014 06:08 PM, Wolfgang Schuster wrote:
Am 26.05.2014 um 18:00 schrieb Pablo Rodriguez:
\def\arg#1{\TeXcode{{#1}}}
[...]
I don’t know what is wrong defined in \arg that inserts an extra space
after \em?
You can’t do this form a definition for a verbatim command because TeX has
Dear list,
how do I place a verbatim environment in the text such that the
following paragraph is not indented? I expect the environment to
behave the same as the formula-environment. How can I achieve this?
--- minimal example ---
\starttext
\setupindenting[1.3em]
\setupindenting[yes
Am 07.05.2014 um 12:46 schrieb Thomas Möbius kont...@thomasmoebius.de:
Dear list,
how do I place a verbatim environment in the text such that the
following paragraph is not indented? I expect the environment to
behave the same as the formula-environment. How can I achieve this?
Add
or not. If either the verbatim or the buffer mechanisms work,
then the filter module should work. If not, it might be possible to create
something like
\xmlflushfilter[...options...]{...body...}
but I will need to look into the xml mechnaism in detail to see how to
code that.
Aditya
Am 12.03.2014 um 15:51 schrieb Lars Huttar lars_hut...@sil.org:
This gets rid of the error, but it seems to prevent any expansion of the
content of \CurrentUser, because the page head now literally looks like
this:
You can try to print the string in verbatim mode:
\def\CurrentUser
this:
You can try to print the string in verbatim mode:
\def\CurrentUser{\cldcommand{sprint(tex.vrbcatcodes,os.resultofwhoami)}}
\def\Markname{Compiled \date by \CurrentUser\ \LUATEX +\ConTeXt\
\contextversion.}
That did it. Thank you!
Lars
before it is typeset.
Type is for verbatim material. If you want monospaced fonts, use
\mono{\author}.
Aditya
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg
On 9/17/2013 6:33 PM, Wolfgang Schuster wrote:
Hi,
the Consolas font produces proportional spaces even with “features=none”.
\starttypescript [mono] [consolas]
\setups[font:fallback:mono]
\definefontsynonym [Mono] [file:consolas]
[features=none]
Am 18.09.2013 um 09:50 schrieb Hans Hagen pra...@wxs.nl:
On 9/17/2013 6:33 PM, Wolfgang Schuster wrote:
Hi,
the Consolas font produces proportional spaces even with “features=none”.
\starttypescript [mono] [consolas]
\setups[font:fallback:mono]
\definefontsynonym [Mono]
On 9/18/2013 4:11 PM, Wolfgang Schuster wrote:
Am 18.09.2013 um 09:50 schrieb Hans Hagen pra...@wxs.nl:
On 9/17/2013 6:33 PM, Wolfgang Schuster wrote:
Hi,
the Consolas font produces proportional spaces even with “features=none”.
\starttypescript [mono] [consolas]
Hi,
the Consolas font produces proportional spaces even with “features=none”.
\starttypescript [mono] [consolas]
\setups[font:fallback:mono]
\definefontsynonym [Mono] [file:consolas]
[features=none]
\definefontsynonym [MonoBold] [file:consolasbold]
On Thu, 5 Sep 2013, Hans Hagen wrote:
On 9/4/2013 11:20 AM, Hans Hagen wrote:
you get a representation in xml indeed, but not verbatim, but as close
as possible to the genaric (parent) structure elements in context
probably the most straightforward xhtml export is file with only
div class
On 9/4/2013 11:20 AM, Hans Hagen wrote:
you get a representation in xml indeed, but not verbatim, but as close
as possible to the genaric (parent) structure elements in context
probably the most straightforward xhtml export is file with only
div class=section ...
div class
On 9/5/2013 7:22 PM, Aditya Mahajan wrote:
On Thu, 5 Sep 2013, Hans Hagen wrote:
On 9/4/2013 11:20 AM, Hans Hagen wrote:
you get a representation in xml indeed, but not verbatim, but as close
as possible to the genaric (parent) structure elements in context
probably the most
* http://en.wikipedia.org/wiki/DTBook
* http://www.idpf.org/epub/20/spec/OPS_2.0.1_draft.htm
* http://www.w3.org/TR/xhtml11/doctype.html
* http://www.w3.org/TR/html5/sections.html
It seems that the macros in t.tex are being written out as XML elements,
verbatim. It is my understanding
.org/TR/xhtml11/doctype.html
- http://www.w3.org/TR/html5/sections.html
It seems that the macros in t.tex are being written out as XML elements,
verbatim. It is my understanding that these XML elements, however, do not
conform to the minimal content models associated with XHTML 1.1.
What needs
[mainface] [tt] [mono] [modern] [default] [rscale=0.95]
\starttext
Serif text and {\tt monospaced text.}
\stoptext
The font (and also the font size) for the verbatim block could be changed with
the \setuptyping command, e.g.
\setuptyping[bodyfont=11pt]
or
\setuptyping[style=small
On Tue, 30 Jul 2013 23:03:32 +0200
Wolfgang Schuster schuster.wolfg...@gmail.com wrote:
Am 30.07.2013 um 21:30 schrieb Peter Münster pmli...@free.fr:
On Tue, Jul 30 2013, john Culleton wrote:
Here is my code so far. I want to show a file in verbatim form. It
compiles but here
the content to the given width.
You can get the same effect with the \scale command, another way is to
change the font size for the verbatim block with
\typefile[bodyfont=small]{filename}
or \typefile[bodyfont=8pt]{filename}.
Wolfgang
Here is my code so far. I want to show a file in verbatim form. It
compiles but here is no frame around the text and there is no caption.
\startbuffer[ex1]
\typefile[]{example1.tex}
\stopbuffer
\placefigure[here][fig:ex1]
{Example 1}
{\externalfigure[ex1.buffer][width
On Tue, Jul 30 2013, john Culleton wrote:
Here is my code so far. I want to show a file in verbatim form. It
compiles but here is no frame around the text and there is no caption.
Hi,
this works here:
--8---cut here---start-8---
\starttext
\startbuffer[ex1
Am 30.07.2013 um 21:30 schrieb Peter Münster pmli...@free.fr:
On Tue, Jul 30 2013, john Culleton wrote:
Here is my code so far. I want to show a file in verbatim form. It
compiles but here is no frame around the text and there is no caption.
Hi,
this works here:
--8
On Tue, Jul 30 2013, Wolfgang Schuster wrote:
Am 30.07.2013 um 21:30 schrieb Peter Münster pmli...@free.fr:
\startbuffer[ex1]
\typefile[]{test.tex}
\stopbuffer
Why do you use a buffer?
Copy + paste ... ;) (brain was somewhere else... ;)
--
Peter
Dear list,
using the latest beta (it also happens with ConTeXt from TL 2013), I
don’t get the space in \type{\em #1}.
Here you have a minimal sample that shows the difference with other
verbatim commands:
\starttext
\type{\em #1}
\arg{\em #1}
\starttyping\em #1\stoptyping
objects like
verbatim
text indentation has to be part of the object and in your case you should use a
environment which has a option for this.
Wolfgang
___
If your question is of interest to others as well, please add
verbatim
text indentation has to be part of the object and in your case you should use
a
environment which has a option for this.
I use the algorithmic environment. Using
\setupalgorithmic [before=\noindenting]
works. Maybe you can consider adding this as default, since I don't
think it ever
Dear All,
For presenting codes, verbatim environment is suitable. But different with
documents, it is better to present the code in one slide when making
presentation.Is it possible to make a scroll window like in many websites?
Thanks
Am 11.05.2013 um 16:22 schrieb seasoul bioseas...@gmail.com:
I was trying the example of writing a parse/formatter under Verbatim text.
The python formatter runs successfully. But when I compile the text file with
all the definitions included, an error occurs.
inserted text
Yes, it is solved.
On Sun, May 12, 2013 at 12:48 AM, Wolfgang Schuster
schuster.wolfg...@gmail.com wrote:
Am 11.05.2013 um 16:22 schrieb seasoul bioseas...@gmail.com:
I was trying the example of writing a parse/formatter under Verbatim
text.
The python formatter runs successfully
I copied verbatim the example found here:
http://wiki.contextgarden.net/Simple_Typescript_Example
This line caused an error:
\setupencoding[default=uc]
When I commented it out the doc ran fine.
--
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net
Hi John!
···date: 2013-02-26, Tuesday···from: john Culleton···
I copied verbatim the example found here:
http://wiki.contextgarden.net/Simple_Typescript_Example
This line caused an error:
\setupencoding[default=uc]
These are instructions for MkII (and PostScript Type 1 fonts).
You
On Tue, 26 Feb 2013 19:33:03 +0100
Philipp Gesang philipp.ges...@alumni.uni-heidelberg.de wrote:
Hi John!
···date: 2013-02-26, Tuesday···from: john Culleton···
I copied verbatim the example found here:
http://wiki.contextgarden.net/Simple_Typescript_Example
This line caused
whitespace etc. Isn;t there a true verbatim that I can use on
a macro like \currentcomponent? Something along the lines of
\verbatimexpand{\currentcomponent}?
Untested: \filename{\currentcomponent}
Works. When outside a component (e.g. index) it defaults to the string 'text'.
Thanks,
G
.
Is that limited to a {}-scope? And more importantly, that catches ^ and _, but
what about whitespace etc. Isn;t there a true verbatim that I can use on a
macro like \currentcomponent? Something along the lines of
\verbatimexpand{\currentcomponent}?
G
Wolfgang
On Sun, 20 Jan 2013, Gerben Wierda wrote:
You can add the \nonknuthmode to your document which makes _ and ^ normal
characters for text mode.
Is that limited to a {}-scope? And more importantly, that catches ^ and
_, but what about whitespace etc. Isn;t there a true verbatim that I can
use
Am 26.11.2012 um 21:42 schrieb Erik Margraf erik.marg...@gmail.com:
Dear List,
is there a Context function/macro which enables me to set
a box with verbatim file input. I.e. something
similar to :
\setbox\scratchbox\hbox{\verbatimfileinput{FileName}}
You have to use a \vbox because
Am 26.11.2012 um 23:06 schrieb Erik Margraf erik.marg...@gmail.com:
I thought a box would be the best to use it in connection with the
FunnyFrame of the Metafun manual page 137. In particular
I wanted to set the the Frametitle with the contents of a file.
(The actual contents of the file
Dear List,
a question about \typefile{}.
I tried to use \typefile{ /with/an/absolute/path/to/some_file } and failed
Message in the log: Verbatim some_file not found. Also tried with
no path at all, assuming it will take the file from the current directory.
Same result.
Do I miss something
Dear List,
a question about \typefile{}.
I tried to use \typefile{ /with/an/absolute/path/to/some_file } and failed
Message in the log: Verbatim some_file not found. Also tried with
no path at all, assuming it will take the file from the current directory.
Same result.
Do I miss something
in the log: Verbatim some_file not found. Also tried with
no path at all, assuming it will take the file from the current directory.
Same result.
Do I miss something? Should this work? Or, if not, how can I achieve
this effect (typefile
with absolute path to a file. btw. on a Linux system
with %)
are printed as normal verbatim code.
When you want examples and text to explain it just add “%D” at the
begin of each line. When you need a module (even the module you’re
documenting) or other definitions add “%M” at the begin of the line.
For comments and other texts (e.g. the license text) which
On 27-9-2012 22:49, Alan Braslau wrote:
Hello,
Can someone indicate how to typeset
$L_{α+β}$
as verbatim text?
(\arg{} doesn't help here...)
Furthermore, I suppose that typesetting Greek characters verbatim
depends also upon which \tt font is being used.
\setupbodyfont[dejavu]
\starttext
On Fri, 28 Sep 2012 10:43:48 +0200
Hans Hagen pra...@wxs.nl wrote:
On 27-9-2012 22:49, Alan Braslau wrote:
Hello,
Can someone indicate how to typeset
$L_{α+β}$
as verbatim text?
(\arg{} doesn't help here...)
Furthermore, I suppose that typesetting Greek characters verbatim
Hello,
Can someone indicate how to typeset
$L_{α+β}$
as verbatim text?
(\arg{} doesn't help here...)
Furthermore, I suppose that typesetting Greek characters verbatim
depends also upon which \tt font is being used.
Alan
Can someone indicate how to typeset
$L_{α+β}$
as verbatim text?
(\arg{} doesn't help here...)
Untested:
\type{...} should work. (Definitely did work a couple of months ago).
Furthermore, I suppose that typesetting Greek characters verbatim
depends also upon which \tt font is being used.
CM
And an answer came directed in a manner unexpected, and I
think the same was written with a thumbnail dipped in tar;
't was his shearing-mate who wrote it, and verbatim I will quote it:
\quotation{Clancy's gone to Queensland droving, and we don't know where he
are.}
\stopmydt
\stoptext
{}-{}-{}-{}-{}-{}- which works in latex, but in
context I'm still getting the long dashes. How can I prevent this conversion,
please?
\definehighlight[filepermission][style=\setff{none}]
\starttext
Verbatim: \type{rwx--}
Highlight: \filepermission{rwx--}
\stoptext
Wolfgang
Hi,
are ligatures etc. supposed to be active in verbatim commands? In the default
\type command they are only disabled because \tt has “features=none” in the
typescripts but since this isn’t the case for serif and sans you get ligatures.
\definetype[test][style=\rm]
\starttext
\type{fi
On 31-5-2012 11:41, Wolfgang Schuster wrote:
Hi,
are ligatures etc. supposed to be active in verbatim commands? In the default
\type command they are only disabled because \tt has “features=none” in the
typescripts but since this isn’t the case for serif and sans you get ligatures
Am 31.05.2012 um 12:38 schrieb Hans Hagen:
On 31-5-2012 11:41, Wolfgang Schuster wrote:
Hi,
are ligatures etc. supposed to be active in verbatim commands? In the
default \type command they are only disabled because \tt has “features=none”
in the typescripts but since this isn’t the case
is that the \xmlflush typesets verbatim the contents of the
node called up:
math version=2.0 xmlns=http://www.w3c.org/mathml; apply eq/ ci f(x)
/ci apply plus/ ci 1 /ci apply power/ ci x /ci ci 4 /ci
/apply apply power/ ci x /ci ci 7 /ci /apply /apply /apply
/math
but, to my surprise the \xmlcontext{#1
contents through a setup:
\startxmlsetups xam:define:get
% The definition is the one with content.
\xmldoiftext{#1}{.}{
\foundtrue
\xmlflush{#1}
\xmlcontext{#1}{.}
}
\stopxmlsetups
The strange thing is that the \xmlflush typesets verbatim the contents of the
node called up:
math version
}{.}
}
\stopxmlsetups
The strange thing is that the \xmlflush typesets verbatim the contents of the
node called up:
math version=2.0 xmlns=http://www.w3c.org/mathml; apply eq/ ci f(x)/ci apply plus/ ci 1/ci apply power/ ci x/ci
ci 4/ci /apply apply power/ ci x/ci ci 7/ci /apply
On 18-4-2012 11:48, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
Hello,
a question - I'm just curious:
What is advantage (or maybe intension) of using buffers over \def?
better test with
\startlines
test
test
\stoplines
also, bufferes can be flushed verbatim, as tex, as ... while macros
Wolfgang,
Interesting. I was able to reproduce the problem with your verbatim minimal
example:
\starttext
\input knuth
\placefigure[left]{Cow}{\externalfigure[cow][frame=on, scale=500,
orientation=90]} \input knuth
\input knuth
\stoptext
I have uploaded the result here:
http
On 29-3-2012 12:31, Malte Stien wrote:
Wolfgang,
Interesting. I was able to reproduce the problem with your verbatim minimal
example:
\starttext
\input knuth
\placefigure[left]{Cow}{\externalfigure[cow][frame=on, scale=500,
orientation=90]} \input knuth
\input knuth
\stoptext
I found something that might be an error in the current xml-processing.
In the following minimal example een Undefined control sequence error occurs
for the \xmldisplayverbatim and \xmlinlineverbatims. The \xmlverbatim doesn't.
\startxmldisplayverbatim ...\doinitializeverbatim
:
·
\definetextbackground[verbatim] [
background=color,
backgroundcolor=green,
location=paragraph,
]
\starttext
\placefigure[2*hang,left]{}{test} %%% comment me
\input knuth
\starttextbackground[verbatim]
foo bar
\stoptextbackground
\placefigure[here]{}{test} %%% comment me
\stoptext
Am 13.01.2012 um 12:00 schrieb Richard Weickelt:
Hi,
I've tried to include some C-code into my document, but failed to enable
syntax highlighting.
Tested on: linux-64, context-2011.05.18 (same with the beta) stand-alone mkIV
1) \starttyping[option=C] just prints verbatim text
Hi,
I've tried to include some C-code into my document, but failed to enable
syntax highlighting.
Tested on: linux-64, context-2011.05.18 (same with the beta) stand-alone mkIV
1) \starttyping[option=C] just prints verbatim text. There seems to be no
formatter for C out of the box.
2) t
On 21-10-2011 22:18, Mojca Miklavec wrote:
Hello,
Is there any simple way to typeset the following example properly in ConTeXt?
I have an example of text that has to obey lines and spaces, but I
would like to apply some color to make it more readable. The
attachment contains an example of HTML
Hello,
Is there any simple way to typeset the following example properly in ConTeXt?
I have an example of text that has to obey lines and spaces, but I
would like to apply some color to make it more readable. The
attachment contains an example of HTML which displays fine in my
browser, and it
On 15-10-2011 05:29, Aditya Mahajan wrote:
Hi,
In the vim module, I use vim to generate TeX code that looks roughly as
~~~
\SYN[Type]{public} \SYN[Type]{static} \SYN[Type]{void}
main\SYN[javaParen]{(}String args\SYN[javaParen]{)} \{
System.out.println\SYN[javaParen]{(}\SYN[Constant]{Hello
On Sat, 15 Oct 2011, Hans Hagen wrote:
On 15-10-2011 05:29, Aditya Mahajan wrote:
Hi,
In the vim module, I use vim to generate TeX code that looks roughly as
~~~
\SYN[Type]{public} \SYN[Type]{static} \SYN[Type]{void}
main\SYN[javaParen]{(}String args\SYN[javaParen]{)} \{
Hi,
In the vim module, I use vim to generate TeX code that looks roughly as
~~~
\SYN[Type]{public} \SYN[Type]{static} \SYN[Type]{void}
main\SYN[javaParen]{(}String args\SYN[javaParen]{)} \{
System.out.println\SYN[javaParen]{(}\SYN[Constant]{Hello
World}\SYN[javaParen]{)} ;
\}
~~~
Hello ConTEXist.
I know that this probably is no reason, but can be in an environment
\starttyping ... \stoptyping turn on, which will each blank line in the
statement reflect? I want put in the presentation in this environment, a
direct numbers of blank lines. The larger number of empty
in general or my own
setup in particular. In both cases I will be pleased with a remedy.
Hans van der Meer
\setuppapersize [A6][A6]
\starttext
\start
\setupbodyfont[lmodern]
Using: \verbatim{\setupbodyfont[lmodern]}\par
$K\colon\quad A\cdots Z$\par
\stop
\start
\setupbodyfont[lucida]
Using: \verbatim
-- Forwarded message --
From: Wolfgang Schuster schuster.wolfg...@googlemail.com
To: mailing list for ConTeXt users ntg-context@ntg.nl
Date: Wed, 21 Sep 2011 13:09:42 +0200
Subject: Re: [NTG-context] Verbatim in framed text
Am 20.09.2011 um 17:50 schrieb Felix Ingram:
Some
Am 22.09.2011 um 12:54 schrieb Felix Ingram:
-- Forwarded message --
From: Wolfgang Schuster schuster.wolfg...@googlemail.com
To: mailing list for ConTeXt users ntg-context@ntg.nl
Date: Wed, 21 Sep 2011 13:09:42 +0200
Subject: Re: [NTG-context] Verbatim in framed text
Am
Am 20.09.2011 um 17:50 schrieb Felix Ingram:
Some of my verbatim lines are overflowing the framed text box I'm
putting them in. I see that I could define a pretty printer to handle
this but I came up with the following:
\starttext
\startframedtext[middle][width=.8\textwidth
Some of my verbatim lines are overflowing the framed text box I'm
putting them in. I see that I could define a pretty printer to handle
this but I came up with the following:
\starttext
\startframedtext[middle][width=.8\textwidth]
\startframedtext[left][frame=off, width=.6\textwidth
Hi,
I am having problems typing when typesetting code within a
\definetyping environment.
I hope someone might be able to give me a hint. My code looks as
follows:
\definetyping
[Haskell]
[ option=commands,
before={\startframedtext[width=\makeupwidth,
On Wed, 7 Sep 2011, Thomas Friedrich wrote:
Hi,
I am having problems typing when typesetting code within a
\definetyping environment.
I hope someone might be able to give me a hint. My code looks as
follows:
\definetyping
[Haskell]
[ option=commands,
Am 08.09.2011 um 09:55 schrieb Aditya Mahajan:
On Wed, 7 Sep 2011, Thomas Friedrich wrote:
Hi,
I am having problems typing when typesetting code within a
\definetyping environment.
I hope someone might be able to give me a hint. My code looks as
follows:
\definetyping
Am Donnerstag, den 08.09.2011, 09:59 +0200 schrieb Wolfgang Schuster:
Am 08.09.2011 um 09:55 schrieb Aditya Mahajan:
On Wed, 7 Sep 2011, Thomas Friedrich wrote:
Hi,
I am having problems typing when typesetting code within a
\definetyping environment.
I hope someone might be
On Thu, Sep 8, 2011 at 10:39 AM, Thomas Friedrich i...@suud.de wrote:
Question: Is there a way to replace the and strings in
the typesetting environment by something else? Or another work around?
maybe
\startHaskell
foo = bar =/BTEX/ETEX print
foo = bar =/BTEX$$/ETEX print
\stopHaskell
--
Am Donnerstag, den 08.09.2011, 10:57 +0200 schrieb luigi scarso:
On Thu, Sep 8, 2011 at 10:39 AM, Thomas Friedrich i...@suud.de wrote:
Question: Is there a way to replace the and strings in
the typesetting environment by something else? Or another work around?
maybe
\startHaskell
On 8-9-2011 10:39, Thomas Friedrich wrote:
won't even compile. It doesn't like .
Question: Is there a way to replace the and strings in
the typesetting environment by something else? Or another work around?
this is because is considered grouping
just use mkiv
Hans
Am 30.08.2011 um 16:29 schrieb Peter Münster:
Hello,
When the current font-switch is bold, I would like the verbatim text
inside \type{} to respect the bold mode. What is the right way to teach
\type{} to automatically use bold or not?
\setuptype[style=mono] % default: “style=\tt\tf
Hello,
When the current font-switch is bold, I would like the verbatim text
inside \type{} to respect the bold mode. What is the right way to teach
\type{} to automatically use bold or not?
Example:
\starttext
\section{Problem:}
{not bold, \type{not bold, ok} // \bf bold, \type{should be bold
] ... \getbuffer[mybuffer], but
the result is that the TeX code is typeset verbatim, not processed
(problem of catcodes?). Any takers before I pull myself together and try
to come up with an example?
Thanks!
Thomas
Hi.
Please consider the following two examples:
file name=exa-feat1.tex
\setupbackend[export=yes]
\definetyping[EXAMPLE][escape=yes]
\starttext
This is an example with \quotation{long} verbatim text.
Why context fails to compile the file? Is there a method to process this file?
\startEXAMPLE
Hi.
Consider the following two example files:
- 8
file name=exa-feat1.tex
\setupbackend[export=yes]
\definetyping[EXAMPLE][escape=yes]
\starttext
This is an example with \quotation{long} verbatim text.
Why context complians
Am 16.08.2011 um 14:05 schrieb Vladimir Lomov:
Hi.
Consider the following two example files:
[…]
\definetyping[EXAMPLE][escape=yes]
\definestartstop[important][style=bold]
\starttext
This is an example with \quotation{long} verbatim text.
Why context fail to compile
Hi,
As it happened that I needed to print a readme.markdown file, the new
beta now has a new extra:
context --extra=markdown readme.markdown
For some options see:
context --extra=markdown --help
It will never look real good, but it's better than printing verbatim.
Hans
201 - 300 of 768 matches
Mail list logo