Re: [NTG-context] Verbatim text in a frame

2021-07-31 Thread Wolfgang Schuster via ntg-context
Hans Hagen via ntg-context schrieb am 31.07.2021 um 00:18: On 7/30/2021 9:12 PM, Jeroen via ntg-context wrote: I am using the following preamble to put a frame around verbatim text. How can I have all the text start some 5pt from the frame and how can I get rounded corners, corner=0 does not

Re: [NTG-context] Verbatim text in a frame

2021-07-30 Thread Hans Hagen via ntg-context
On 7/30/2021 9:12 PM, Jeroen via ntg-context wrote: I am using the following preamble to put a frame around verbatim text. How can I have all the text start some 5pt from the frame and how can I get rounded corners, corner=0 does not seem to work \setupcolors[state=start] \setupcolor[xwi]

[NTG-context] Verbatim text in a frame

2021-07-30 Thread Jeroen via ntg-context
I am using the following preamble to put a frame around verbatim text. How can I have all the text start some 5pt from the frame and how can I get rounded corners, corner=0 does not seem to work \setupcolors[state=start] \setupcolor[xwi] \definetextbackground [Code] [frame=on,

[NTG-context] Verbatim text.

2015-05-12 Thread John Culleton
The inline string quoted below produces a correct result but also generates an error message: \type{8 1/2 x 11} Is there a better way to handle this situation? -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/shortlist.html Updated PDF e-book:

Re: [NTG-context] Verbatim text.

2015-05-12 Thread Hans Hagen
On 5/12/2015 9:11 PM, John Culleton wrote: The inline string quoted below produces a correct result but also generates an error message: \type{8 1/2 x 11} Is there a better way to handle this situation? what error -

Re: [NTG-context] verbatim text: \type, \tex and co.

2012-09-28 Thread Hans Hagen
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

Re: [NTG-context] verbatim text: \type, \tex and co.

2012-09-28 Thread Alan BRASLAU
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

[NTG-context] verbatim text: \type, \tex and co.

2012-09-27 Thread Alan Braslau
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

Re: [NTG-context] verbatim text: \type, \tex and co.

2012-09-27 Thread Aditya Mahajan
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

[NTG-context] verbatim text in MkIV and \installprettytype...

2011-06-12 Thread Julian Becker
Recently, I tried to typeset some verbatim MATLAB source codes in MkIV, but I can't seem to be able to grasp the concept of pretty printers. All the sample codes I found on the net/wiki/mailing list don't compile, complaining that \installprettytype is an unknown command...?! Is there any module

Re: [NTG-context] verbatim text in MkIV and \installprettytype...

2011-06-12 Thread Marco
On 2011-06-12 Julian Becker becker.jul...@gmail.com wrote: Recently, I tried to typeset some verbatim MATLAB source codes in MkIV, but I can't seem to be able to grasp the concept of pretty printers. All the sample codes I found on the net/wiki/mailing list don't compile, complaining

Re: [NTG-context] Verbatim text: intext colors (mkiv)

2011-03-12 Thread Wolfgang Schuster
Am 11.03.2011 um 20:46 schrieb Reviczky, Adam: Line numbers in the text as well as Works here with the last beta. I'm using the latest beta too. Attached is my PDF, do you get something different? I want to have intext numbers (inside the frame), not outside. As I said, works with mkii

Re: [NTG-context] Verbatim text: intext colors (mkiv)

2011-03-12 Thread Reviczky, Adam
I’m Sorry, I missed the intext part. For MkIV you need “location=text” to move the numbers in the text. Yeah, I just figured it out, though there's still a % todo: text in page-lin.mkiv, but it works. Wolfgang Thanks again. Adam

Re: [NTG-context] Verbatim text: intext colors (mkiv)

2011-03-11 Thread Wolfgang Schuster
Am 11.03.2011 um 01:33 schrieb Reviczky, Adam: Hi, When using verbatim text (for source code) in mkiv: Line numbers in the text as well as Works here with the last beta. /BTEX … /ETEX (for colors) don't work. “option=commands” is now “escape=yes” Wolfgang

Re: [NTG-context] Verbatim text: intext colors (mkiv)

2011-03-11 Thread Reviczky, Adam
Line numbers in the text as well as Works here with the last beta. I'm using the latest beta too. Attached is my PDF, do you get something different? I want to have intext numbers (inside the frame), not outside. As I said, works with mkii though. /BTEX … /ETEX (for colors) don't work.

[NTG-context] Verbatim text: intext colors (mkiv)

2011-03-10 Thread Reviczky, Adam
Hi, When using verbatim text (for source code) in mkiv: Line numbers in the text as well as /BTEX … /ETEX (for colors) don't work. It is fine using mkii. Attached the two minimal examples. Adam \setupcolors[state=start] \starttext %% SC colors %% \definecolor [SCwhite] [r=1.0, g=1.0, b=1.0]

Re: [NTG-context] Verbatim text loaded from a file? (reduced attachments)

2010-10-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
(I doubled this message to reduce size of attachments. Although the t.pdf.png is not very good, I believe it's enough to imagine proportions of letter height vs. line height and line number vs. letter [used for typing] height.) ... I keep on trying. I applied all your previous advice. But I

[NTG-context] Verbatim text loaded from a file?

2010-10-01 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I'd need to show contents of a (text) file like verbatim text (with a monospace font). So to do something being described at http://wiki.contextgarden.net/Verbatim_text using \startcode SOME TEXT \stop code, but the difference is that I don't need to write SOME TEXT manually but I

Re: [NTG-context] Verbatim text loaded from a file?

2010-10-01 Thread Henning Hraban Ramm
Am 2010-10-01 um 09:51 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: I'd need to show contents of a (text) file like verbatim text (with a monospace font). So to do something being described at http://wiki.contextgarden.net/Verbatim_text using \startcode SOME TEXT \stop code, but the

Re: [NTG-context] Verbatim text loaded from a file?

2010-10-01 Thread Henning Hraban Ramm
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

Re: [NTG-context] Verbatim text loaded from a file?

2010-10-01 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, Sorry, I guess I misunderstood you: You mean the font of the numbers? I mean font (or or its size) used for printing for line numbers - see http://ftp.cstug.cz/pub/CTAN/macros/latex/contrib/fancyvrb/fancyvrb.pdf, pg. 11: line numbers which are turned on by numbers=left are printed

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

2010-01-29 Thread Tad Ashlock
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 stdio.h int main(){ return 0; /BTEX{\em unreachedCode;}/ETEX }

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

2010-01-11 Thread Hans Hagen
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 stdio.h int main(){ return 0; /BTEX{\em unreachedCode;}/ETEX } \stopC \setuptyping[escape=yes]

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

2010-01-08 Thread Tad Ashlock
Hans Hagen wrote: On 13-12-2009 12:26, Tad Ashlock wrote: As noted at http://wiki.contextgarden.net/Verbatim_text#Embedded_formatting_commands, the embedded formatting commands in verbatim text don't work in MkIV. Are there any plans to fix this capability soon? I'm planning on working on a

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

2009-12-30 Thread Hans Hagen
On 13-12-2009 12:26, Tad Ashlock wrote: As noted at http://wiki.contextgarden.net/Verbatim_text#Embedded_formatting_commands, the embedded formatting commands in verbatim text don't work in MkIV. Are there any plans to fix this capability soon? I'm planning on working on a project on over the

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

2009-12-13 Thread Tad Ashlock
As noted at http://wiki.contextgarden.net/Verbatim_text#Embedded_formatting_commands, the embedded formatting commands in verbatim text don't work in MkIV. Are there any plans to fix this capability soon? I'm planning on working on a project on over the holiday break that will need it. I'm

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

2009-12-13 Thread Wolfgang Schuster
Am 13.12.2009 um 12:26 schrieb Tad Ashlock: As noted at http://wiki.contextgarden.net/Verbatim_text#Embedded_formatting_commands, the embedded formatting commands in verbatim text don't work in MkIV. Are there any plans to fix this capability soon? I'm planning on working on a project

Re: [NTG-context] Verbatim Text (esp. XML/XSL + opportunity of a brand new support for the RelaxNG Compact syntax)

2008-10-20 Thread Taco Hoekwater
Hi Renaud, Renaud Aubin wrote: Hi Folks ! I'm currently writting a technical report in which I need to type some XML an non-XML text. Sample file (xml_test.tex): I have some custom XML text (trivial) + a not-so-complicated xsl transformation (a part is included within the test file).

Re: [NTG-context] Verbatim Text (esp. XML/XSL + opportunity of a brand new support for the RelaxNG Compact syntax)

2008-10-20 Thread Renaud Aubin
Taco, Aditya, Thanks, t-vim will do the job for the end of october... Even if I will surely give a try to MarkIV on this particular point. Regards, Renaud Taco Hoekwater a écrit : Hi Renaud, Renaud Aubin wrote: Hi Folks ! I'm currently writting a technical report in which I need to type

[NTG-context] Verbatim Text (esp. XML/XSL + opportunity of a brand new support for the RelaxNG Compact syntax)

2008-10-17 Thread Renaud Aubin
Hi Folks ! I'm currently writting a technical report in which I need to type some XML an non-XML text. Sample file (xml_test.tex): I have some custom XML text (trivial) + a not-so-complicated xsl transformation (a part is included within the test file). I know there is verb-xml but... I need

Re: [NTG-context] Verbatim Text (esp. XML/XSL + opportunity of a brand new support for the RelaxNG Compact syntax)

2008-10-17 Thread Aditya Mahajan
On Fri, 17 Oct 2008, Renaud Aubin wrote: Hi Folks ! I'm currently writting a technical report in which I need to type some XML an non-XML text. Sample file (xml_test.tex): I have some custom XML text (trivial) + a not-so-complicated xsl transformation (a part is included within the test