Am 29.07.23 um 23:16 schrieb Hans Hagen:
On 7/29/2023 10:35 PM, Henning Hraban Ramm wrote:
The setup for MyCode is not applied to \typeMyBuffer, and I don’t know
how it could; something like \typeMyBuffer[MyCode] doesn’t work.
These commands inherit from buffer, so \setupbuffer will work.
[#3]%
\orelse\ifempty{#3}\else
\cdef\currenttyping{#3}
\fi
\buff_verbatim_type_buffer_indeed{\currenttyping}{#2}%
\useindentnextparameter\typingparameter
\endgroup
\dorechecknextindentation}
\popoverloadmode \protect
\usemodule[visual]
\definetyping[MyCode]
\setuptyping
Am 29.07.23 um 22:49 schrieb Max Chernoff:
I'm on mobile now so I can't type out a complete solution, but I think that
what you're looking for is in this file:
https://github.com/gucci-on-fleek/unnamed-emoji/blob/master/documentation/unemoji-manual.mkxl
It doesn't exactly do what you
I'm on mobile now so I can't type out a complete solution, but I think that
what you're looking for is in this file:
https://github.com/gucci-on-fleek/unnamed-emoji/blob/master/documentation/unemoji-manual.mkxl
It doesn't exactly do what you specifically asked for, but I think that it's
Am 29.07.23 um 22:06 schrieb Bruce Horrocks:
Your example seems to work: I see the \getbuffer[MyBuffer] command typed (not
executed) with colour coding on the keyword and line numbered; then the block
text fakewords from the visual module; then the \fakewords macro shown (again
not executed)
Am 29.07.23 um 22:06 schrieb Bruce Horrocks:
Your example seems to work: I see the \getbuffer[MyBuffer] command typed (not
executed) with colour coding on the keyword and line numbered; then the block
text fakewords from the visual module; then the \fakewords macro shown (again
not executed)
exepcting if not this?
(onTeXt ver: 2023.07.18 22:07 LMTX)
> On 29 Jul 2023, at 20:09, Henning Hraban Ramm wrote:
>
> Hi,
> I’d like to use a custom buffer ("MyBuffer") to use a custom typing style
> ("MyCode"). How does that work?
>
>
> "
Hi,
I’d like to use a custom buffer ("MyBuffer") to use a custom typing
style ("MyCode"). How does that work?
"""
\usemodule[visual]
\definetyping[MyCode]
\setuptyping[MyCode][
option=tex,
numbering=file,
]
\definebuffer[MyBuffer]
\startMyBuff
Am 14.02.2011 um 01:37 schrieb David Arnold:
All,
I have the following in a Context file:
\definetyping[XXX]
\startXXX
If int(N/2) \ne N/2
Then
Disp N MUST BE EVEN
Stop
End
\stopXXX
Is there an easy way to replace the \ne with code that will produce the
normal not equals
Hello,
is there a way how to disable wrapping (breaking) very long lines being
processed by \typefile?
E.g. with a \definetyping option?
Kind regards,
Lukas
--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147
On 18-1-2011 5:26, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
Hello,
is there a way how to disable wrapping (breaking) very long lines being
processed by \typefile?
E.g. with a \definetyping option?
you have some control over spaces
space=on|stretch|normal
Hans
Hello,
thanks for the answer. But actually space= option doesn't affect what I need.
See the attached example.
The right thing is how the first abcdefABCDEF... line (u.txt) is typeset.
In the second case, one A is replaced by , so we get abcdef BCDEF
And Ctx breaks the line when
]
\definecolor [colorprettythree] [codecolor]
\definecolor [colorprettyfour] [codecolor]
\setuptyping [color=codecolor,palet=colorpretty]
% XML typesetting inside framebox with background.
\definetyping[XMLBOX][option=XML,style=\ttxx,
before={\bgroup\setupinterlinespace[line=2ex]\startframedcode
[colorprettythree] [codecolor]
\definecolor [colorprettyfour] [codecolor]
\setuptyping [color=codecolor,palet=colorpretty]
% XML typesetting inside framebox with background.
\definetyping[XMLBOX][option=XML,style=\ttxx,
before={\bgroup\setupinterlinespace[line=2ex]\startframedcode
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
On Tue, 31 May 2005, Hans Hagen wrote:
\definetyping[C][option=commands,tab=8]
(just a few lines patch); i'll send you the files.
Thanks again for your efforts!
Just one last problem with vertical spacing in a frame:
\starttext
\framed[align=lohi]{%
\starttyping
test
\stoptyping
Hello,
here is a typing-problem:
\definetyping[C][option=commands]
\starttext
With option=commands the tabulator is reduced to one space:
\startC
#include stdiostream.h
int main(){
return 0;
/BTEX{\em unreachedCode;}/ETEX
}
\stopC
\stoptext
TIA for any help, Peter
--
http
Peter Münster wrote:
Hello,
here is a typing-problem:
\definetyping[C][option=commands]
\starttext
With option=commands the tabulator is reduced to one space:
\startC
#include stdiostream.h
int main(){
return 0;
/BTEX{\em unreachedCode;}/ETEX
}
\stopC
\stoptext
it has to do
18 matches
Mail list logo