[NTG-context] Re: ConTeXt source from XML

2024-06-05 Thread Pablo Rodriguez via ntg-context
Text > could be corrected directly from the proofreader in this file2.tex file, > but won't do that in the xml file. I don’t mean the proofreader personally, but TeX code may not be inherenlty more readable that XML code. Compile the following: \starttext \startXML St.&nn

[NTG-context] indent in \setuptyping

2022-06-29 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \showframe \setuppapersize[A8] \setuptyping [align={right,broad}, strip=yes, lines=yes, blank=halfline] \starttext \startXML content content content content content content content content

Re: [NTG-context] \sciteinlinebuffer inherits margin properties

2022-06-04 Thread Otared Kavian via ntg-context
Hi Pablo, The example you gave in your first message about the Scite module, that is: \usemodule[scite] \starttext \startXML ñ\stopXML \stoptext gives an error on my machine (MacOS 11.6.5 and Context version 2022.05.11 11:36), with Context saying: « The file ended when scanning an

[NTG-context] issue with scite module

2022-06-04 Thread Pablo Rodriguez via ntg-context
Dear list, I have this minimal sample (with current latest from 2022.05.11 11:36 on Linux64): \usemodule[scite] \starttext \startXML ñ\stopXML \stoptext Commenting out the first line avoids compilation error. Replacing ñ with n also allows compilation. I think there may be an error in

Re: [NTG-context] \startXML vs \startPARSEDXML

2022-05-12 Thread Denis Maier via ntg-context
lo Rodriguez > Betreff: Re: [NTG-context] \startXML vs \startPARSEDXML > > On 5/11/22 11:47, Denis Maier via ntg-context wrote: > > Hi everyone, > > > > the wikipage on \starttyping > > (https://wiki.contextgarden.net/Command/_starttyping > > <https://wiki

Re: [NTG-context] \startXML vs \startPARSEDXML

2022-05-11 Thread Pablo Rodriguez via ntg-context
On 5/11/22 11:47, Denis Maier via ntg-context wrote: > Hi everyone, > > the wikipage on \starttyping > (https://wiki.contextgarden.net/Command/_starttyping > <https://wiki.contextgarden.net/Command/_starttyping>) says there are > some dedicated commands, e.g. \startXML and

[NTG-context] \startXML vs \startPARSEDXML

2022-05-11 Thread Denis Maier via ntg-context
Hi everyone, the wikipage on \starttyping (https://wiki.contextgarden.net/Command/_starttyping) says there are some dedicated commands, e.g. \startXML and \startPARSEDXML. How do they differ? Best, Denis ___ If

Re: [NTG-context] UTF8 chars in attribute values (XML)

2019-05-21 Thread Hans Hagen
On 5/19/2019 7:38 PM, Pablo Rodriguez wrote: Hi Hans, I’m afraid I found another issue with UTF8 chars in attribute values when printing them. \starttext \startTEXpage[offset=1em] \startXML \stopXML \stopTEXpage \stoptext Inspecting buff-imp-xml.lua, I

[NTG-context] UTF8 chars in attribute values (XML)

2019-05-19 Thread Pablo Rodriguez
Hi Hans, I’m afraid I found another issue with UTF8 chars in attribute values when printing them. \starttext \startTEXpage[offset=1em] \startXML \stopXML \stopTEXpage \stoptext Inspecting buff-imp-xml.lua, I understand that "alsoname" should be added to &q

Re: [NTG-context] setuptyping

2018-09-11 Thread Wolfgang Schuster
To limit the smaller font to \starttyping it should be     \setuptyping [typing] [style=\ttxx] or     \setuptyping [typing] [style=smalltype] because \starttyping is a generated command like \startXML. Wolfgang Taco Hoekwater schrieb am 10.09.18 um 11:32: Hi Hans, Replace y

Re: [NTG-context] setuptyping

2018-09-10 Thread Wolfgang Schuster
To limit the smaller font to \starttyping it should be     \setuptyping [typing] [style=\ttxx] or     \setuptyping [typing] [style=smalltype] because \starttyping is a generated command like \startXML. Wolfgang Taco Hoekwater schrieb am 10.09.18 um 11:32: Hi Hans, Replace your two

[NTG-context] setuptyping

2018-09-10 Thread Hans van der Meer
I want to differentiate the typing of XML-code with \startXML and other text with \starttyping.That doesn’t work as I expect or I misinterpret something.The minimal example shows that in the following code there is no difference between using  \startXML or \starttyping typingsetup.pdf Description

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
\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 Lua, XML and TeX) would have the same formatting for

[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

[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] 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

[NTG-context] xml verbatim in xml...

2017-08-08 Thread Schmitz Thomas A.
} \startluacode function xml.functions.processXML(t) buffers.assign("MyXml", "\\startXML\n" .. tostring(xml.text(t)) .. "\n\\stopXML") context.getbuffer { "MyXml" } end \stopluacode \startxmlsetups xml:a \xmlflush{#1} \st

[NTG-context] inline code in XML

2017-07-28 Thread Pablo Rodriguez
Hans, many thanks for having added \xmlprettyprinttext to ConTeXt. I have now another problem with inline code: \definetype[TeX][option=TEX, lines=hyphenated] \starttext \startTEXpage[offset=1em] This is inline code: \TeX{\command[option=value]{final text}} \startXML Inline code: \TeX[option

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

2014-08-18 Thread Christoph Reller
ailing interline space \hrule \startXML \stopXML \hrule \medskip \setuptyping[before=,after=] % <- works as expected \hrule \starttyping \TeX \stoptyping \hrule \stoptext Thank you for any advice! Christoph __

Re: [NTG-context] custom colors for verbatim in mkiv

2010-12-02 Thread Hans Hagen
\setupstartstop[XmlSnippetName][color=magenta,style=\bfa] \starttext \startXML hello world \stopXML \stoptext Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt

[NTG-context] custom colors for verbatim in mkiv

2010-12-02 Thread Thomas A. Schmitz
, backgroundscreen=.9]}, after={\stopframedtext}] \definepalet[MYcolors] [prettyone=paleblue, prettytwo=palecyan, prettythree=palered, prettyfour=darkgreen] \definepalet[XMLcolorpretty][MYcolors] \starttext \startXML hello world \stopXML

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

2008-10-17 Thread Renaud Aubin
het.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ \setupcolors[state=start] \start

Re: [NTG-context] :: in xml?

2007-07-11 Thread Christopher Creutzig
Christopher Creutzig wrote: > \starttext > \startXML > a::b > \stopXML > \stoptext The problem is the \setpretty`\:=10 in \XMLsetspecials in verb-xml.tex. This should only be done inside <...>. Suggested patch (I hope it survives being sent by mail): --- verb-xml.tex

[NTG-context] :: in xml?

2007-07-10 Thread Christopher Creutzig
Salvete, trying to typeset an unchanged old file with a more recent ConTeXt version, I keep running into problems. I have reduced the first of these (others may or may not be symptoms of the same, I'll see that later) to this input: \starttext \startXML a::b \stopXML \stoptext It seem

Re: [NTG-context] How to customize the default verbatim colors

2005-08-27 Thread Taco Hoekwater
ts colored with tag-color, the "tag" with attr-color. I think the whole "ns:tag" should be of tag-color. How about this? %% allows XML tag names to continue after colons (namespaces) \input verb-xml % TRICK \appended\gdef\XMLsetspecials{\setpretty`\:=10 } \startte

Re: [NTG-context] How to customize the default verbatim colors

2005-08-25 Thread Taco Hoekwater
[state=start] \setuptyping[option=color] \starttext \startXML ... \stopXML \stoptext Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context