[NTG-context] Re: your favourite ConTeXt debugging tools

2024-09-22 Thread Bruce Horrocks
> On 12 Sep 2024, at 13:57, Henning Hraban Ramm wrote: > > Which are your hidden gems or favourite tools? [snip] The most effective debugging tool for me is \starthiding ... \stophiding. (Not sure whether that says more about the feature or my Context writing skills!) Maybe out of

Re: [NTG-context] Scaling down symbols and emojis

2019-01-19 Thread User 19087
\tosize{% % Use a scratch box to prevent any typesetting. Otherwise changes to the % font size would be compounded: 'tfxx' remaining in effect after % 'switchtobodyfont'. I've also tried stop...starthiding, but that prevents % all processing of contents. \set

Re: [NTG-context] which command would give the same effect as \pause in beamer ?

2017-02-27 Thread Otared Kavian
>> >> \begin{frame} >>\begin{itemize} >> \item 1 >> \pause >> \item 2 >> \pause >> \item 3 >> \end{frame} >> >> Or even better, >> >> \begin{frame} >>\begin{itemize}[<+->] &g

Re: [NTG-context] which command would give the same effect as \pause in beamer ?

2017-02-27 Thread Mohammad Hossein Bateni
t; \begin{frame} >>>\begin{itemize} >>> \item 1 >>> \pause >>> \item 2 >>> \pause >>> \item 3 >>> \end{frame} >>> >>> Or even better, >>> >>> \begin{frame} >>>

Re: [NTG-context] which command would give the same effect as \pause in beamer ?

2017-02-27 Thread Otared Kavian
this way > > \begin{frame} >\begin{itemize} > \item 1 > \pause > \item 2 > \pause > \item 3 > \end{frame} > > Or even better, > > \begin{frame} >\begin{itemize}[<+->] > \item 1 > \item 2 > \i

Re: [NTG-context] which command would give the same effect as \pause in beamer ?

2017-02-27 Thread kaddour kardio
e >> \item 3 >> \end{frame} >> >> Or even better, >> >> \begin{frame} >>\begin{itemize}[<+->] >> \item 1 >> \item 2 >> \item 3 >> \end{frame} >> >> I read about \starthiding and \stophiding in

Re: [NTG-context] which command would give the same effect as \pause in beamer ?

2017-02-27 Thread Hans Hagen
tem 2 \pause \item 3 \end{frame} Or even better, \begin{frame} \begin{itemize}[<+->] \item 1 \item 2 \item 3 \end{frame} I read about \starthiding and \stophiding in the manual, but as far as I understand, this is not exactly what I am looking for. I don't think

[NTG-context] which command would give the same effect as \pause in beamer ?

2017-02-27 Thread damien
begin{frame} \begin{itemize}[<+->] \item 1 \item 2 \item 3 \end{frame} I read about \starthiding and \stophiding in the manual, but as far as I understand, this is not exactly what I am looking for. I don't think postponing would help either. Any suggestion will

Re: [NTG-context] xml input

2016-04-21 Thread Mica Semrick
erstanding of what happens, because I must confess I am >somewhat unsure with functional language behaviour, being raised with >Assembler, Algol, Pascal, Fortran, and so on ;-) > >Find below my examples. One can call each of them by commenting out the >\starthiding. >The last one can b

Re: [NTG-context] xml input

2016-04-21 Thread Meer, Hans van der
Find below my examples. One can call each of them by commenting out the \starthiding. The last one can be executed by removing the 's at the front of the offending statement. Again, I hope this post will be of some use. Hans van der Meer contents of file minimal-example.xml: Body of

Re: [NTG-context] \starthiding inside \doifmode?

2016-02-12 Thread Hans Hagen
On 2/12/2016 9:44 AM, Procházka Lukáš Ing. wrote: Hello, it seems that \starthiding ... \stophiding dislikes \doifmode scope. The following code fails: they are just ignored buffers and buffers are collected as-is i.e. no fancy macro usage with their start/stop

Re: [NTG-context] \starthiding inside \doifmode?

2016-02-12 Thread Pablo Rodriguez
On 02/12/2016 09:44 AM, Procházka Lukáš Ing. wrote: > Hello, > > it seems that \starthiding ... \stophiding dislikes \doifmode scope. > The following code fails: > [...] > So, should I deduce that \starthiding ... \stophiding block cannot > be used inside \doifmode (a

[NTG-context] \starthiding inside \doifmode?

2016-02-12 Thread Procházka Lukáš Ing .
Hello, it seems that \starthiding ... \stophiding dislikes \doifmode scope. The following code fails: \enablemode[A] \starttext Hello \starthiding Don't show me %\stophiding \doifmode{A} { Aaa \starthiding Don't show me %\stophiding } World

Re: [NTG-context] Hiding text

2013-03-22 Thread Wolfgang Schuster
Am 22.03.2013 um 16:18 schrieb Procházka Lukáš Ing. - Pontex s. r. o. : > Hello, > > is it possible to define a start-stop command to hide text within? > > Something like: > > \definestartstop[Hidden][before=\starthiding,after=\stophiding] \usemodule[annotation] \de

Re: [NTG-context] Hiding text

2013-03-22 Thread Sietse Brouwer
:27 +0100, Sietse Brouwer > wrote: > >>> is it possible to define a start-stop command to hide text within? >>> >>> Something like: >>> >>> \definestartstop[Hidden][before=\starthiding,after=\stophiding] >> >> >> Just def

Re: [NTG-context] Hiding text

2013-03-22 Thread Procházka Lukáš Ing . - Pontex s . r . o .
2013 16:42:27 +0100, Sietse Brouwer wrote: is it possible to define a start-stop command to hide text within? Something like: \definestartstop[Hidden][before=\starthiding,after=\stophiding] Just define any buffer, and don't call \getbuffer[mybuffer]. Buffers are not typeset, by default,

Re: [NTG-context] Hiding text

2013-03-22 Thread Sietse Brouwer
> is it possible to define a start-stop command to hide text within? > > Something like: > > \definestartstop[Hidden][before=\starthiding,after=\stophiding] Just define any buffer, and don't call \getbuffer[mybuffer]. Buffers are not typeset, by default, until you ge

[NTG-context] Hiding text

2013-03-22 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, is it possible to define a start-stop command to hide text within? Something like: \definestartstop[Hidden][before=\starthiding,after=\stophiding] TIA. Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová

Re: [NTG-context] current beta fails install

2012-01-10 Thread Hans Hagen
On 10-1-2012 16:07, Meer, H. van der wrote: It seems the problem was caused by older user-base files repeairing some problems I had with older versions. I find the following problems: (1) \starthiding-\stophiding is not functioning. Minimal example: \starttext \starthiding CRY: \stophiding

Re: [NTG-context] current beta fails install

2012-01-10 Thread Wolfgang Schuster
Am 10.01.2012 um 16:07 schrieb Meer, H. van der: > It seems the problem was caused by older user-base files repeairing some > problems I had with older versions. > > I find the following problems: > > (1) \starthiding-\stophiding is not functioning. Minimal exa

Re: [NTG-context] current beta fails install

2012-01-10 Thread Meer, H. van der
It seems the problem was caused by older user-base files repeairing some problems I had with older versions. I find the following problems: (1) \starthiding-\stophiding is not functioning. Minimal example: \starttext \starthiding CRY: \stophiding Hello world. \stoptext Error message: ! Too many

Re: [NTG-context] highlighting aligned formulas

2011-07-20 Thread Wolfgang Schuster
Am 20.07.2011 um 14:52 schrieb Andreas Richter: > ps Asking as a new user it may be naive, but I still > didn't figure out how to uncomment multiple lines (for debugging). You can comment whole paragraphs etc. with \starthiding … \stophidin

[NTG-context] Chapter Command causes ToC to not display correctly

2011-02-14 Thread Tom
] \definetypeface [mainface] [mm] [math] [palatino][default] \definetypeface [pagenumber] [ss] [sans] [iwona-light] [default] \definetypeface [dedication] [rm] [serif] [chancery] [default] \setupbodyfont[mainface] %\starthiding %Chapter number only - not appropriate for frontmatter \def

Re: [NTG-context] hyphenated url

2010-10-27 Thread Steffen Wolfrum
} = 2 >>>> % \catcode`\% = 14 >>>> \stopcatcodetable >>>> \starttext >>>> \asciimode >>>> text\footnote{test \hyphenatedurl{www.test%it.com} test.} text. >>>> \stoptext >>> >>> >>> >>>

Re: [NTG-context] hyphenated url

2010-10-25 Thread Philipp Gesang
hyphenatedurl{www.test%it.com} test.} text. > >>\stoptext > > > > > > > >As I don't have any experience with "\asciimode" "I am not sure if I can map > >this entirely on a complex book project... > > In addition to usual asciimode, I c

Re: [NTG-context] hyphenated url

2010-10-25 Thread Wolfgang Schuster
Am 25.10.2010 um 23:00 schrieb Aditya Mahajan: > In addition to usual asciimode, I changed the definition so that % does not > have its usual meaning. So, % is no longer a comment; it just typesets > percentage sign. You can get a comment using > > \starthiding ... \stophiding

Re: [NTG-context] hyphenated url

2010-10-25 Thread Aditya Mahajan
usual asciimode, I changed the definition so that % does not have its usual meaning. So, % is no longer a comment; it just typesets percentage sign. You can get a comment using \starthiding ... \stophiding. Any known side-effects? * You need to use \math{...} to go into math mode. $ will jus

[NTG-context] change affecting MPgraphic?

2010-09-24 Thread Marko Schütz Schmuck
the default mode, the solution evironment should gobble its contents. %D I copy the definition of \tex{starthiding} to {\em hide} the solutions. \definebuffer [solution] \setupbuffer [solution] [local=yes] %D In solution mode, I redefine solution environment as an %D enumeration without a

Re: [NTG-context] comments, font catalogue

2010-08-04 Thread R. Bastian
t;>> > >>> 1. > >>> is there the same in Context than the Latexian > >>> > >>> \begin{comment} > >>> ... > >>> \end{comment} > >>> > >> > >> What is that supposed to to? > >> > &g

Re: [NTG-context] comments

2010-08-04 Thread R. Bastian
ame in Context than the Latexian > >> > >> \begin{comment} > >> ... > >> \end{comment} > >> > > > > What is that supposed to to? > > > > If you want to comment some larger parts out, you might use > > > > \startmode[comment] % nam

Re: [NTG-context] comments, font catalogue

2010-08-04 Thread Henning Hraban Ramm
Am 2010-08-04 um 16:00 schrieb Hans Hagen: Or \starthiding \stophiding ot \startcomment .. \stopcomment (which if all is ok will put them in the document as comments when interaction is enabled) cool, I learn new thing about ConTeXt every day :) Greetlings, Hraban

Re: [NTG-context] comments, font catalogue

2010-08-04 Thread Hans Hagen
comment some larger parts out, you might use \startmode[comment] % name is random ... \stopmode Or \starthiding \stophiding ot \startcomment .. \stopcomment (which if all is ok will put them in the document as comments when interaction is enabled) Hans

Re: [NTG-context] comments, font catalogue

2010-08-04 Thread Aditya Mahajan
> What is that supposed to to? > > If you want to comment some larger parts out, you might use > > \startmode[comment] % name is random > ... > \stopmode > Or \starthiding \stophiding Aditya

[NTG-context] (no subject)

2010-04-18 Thread Tom
nput knuth \input knuth \input knuth \input knuth \input knuth \input knuth \input knuth \input knuth \input knuth \input knuth \input knuth \page[right] %\starthiding \setuphead[title] [command=\MyFrontMatterCommandM, number=no,textstyle=\ss\bf, header=empty,footer=pagenumber,page=mychapte

[NTG-context] centering & fit question

2009-02-13 Thread Alan Stone
Hello, In the underneath example, the only way I found to have everything horizontally and vertically centered in the text and margin header, as well as fit into the margin header, is as follows: \setuplayout[margin=3cm] \showframe \def\myText{% % \hfill some text \hfill} %\starthiding

Re: [NTG-context] hiding content

2008-07-25 Thread Wolfgang Schuster
e replacement are only the corresponding line-skips %\disablemode[hiding] \enablemode[hiding] \unprotect \def\starthiding {\dostartbuffer[hiddencontent][starthiding][stophiding]} \def\stophiding {\bgroup \setbox\scratchbox\vbox{\getbuffer[hiddencontent]}% \getnoflines{\dimexpr\ht\scratchbox+

Re: [NTG-context] startbodymatter question

2008-07-23 Thread Alan Stone
on 2.2} \input tufte \blank \input tufte \blank \input tufte \section{Section 2.3} \input zapf \blank \input zapf \blank \input zapf \starthiding \chapter{Chapter 3} \section{Section 3.1} \input

Re: [NTG-context] how to comment several lines at once ?

2008-07-03 Thread Henning Hraban Ramm
> > \starthiding > ... > \stophiding Ah, never seen that. Myself I normally use \startmode[obsolete] % or the like \stopmode Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I&

Re: [NTG-context] how to comment several lines at once ?

2008-07-02 Thread Wolfgang Schuster
On Wed, Jul 2, 2008 at 3:05 PM, Alan Stone <[EMAIL PROTECTED]> wrote: > Hi, > > Guess this is (Plain) TeX stuff - haven't found the answer... > > How do you comment several lines at once, instead of prefixing each line > with the % sign ? \starthiding ...

Re: [NTG-context] how to comment several lines at once ?

2008-07-02 Thread Hans van der Meer
In ConTeXt you should be able to say: \starthiding -- this stuff will not be processed -- \stophiding Hans van der Meer On 2 jul 2008, at 15:05, Alan Stone wrote: > Hi, > > Guess this is (Plain) TeX stuff - haven't found the answer... > > How do you comment several lines

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
figure \startfloattext[left|right|high|middle|low|offset|tall][reference]{text}{text} \stopfloattext # \startFLOWcell \stopFLOWcell # \startFLOWchart \stopFLOWchart \startformula \stopformula # \startframedcontent \stopframedcontent \startframedtext[left|right|middle|none][settings] \stop

Re: [NTG-context] xml misc

2007-11-01 Thread Hans Hagen
t [body] \starttext \stoptext > %\defineXMLenvironment [style] \starthiding \stophiding > \defineXMLcommand [p] \par > \defineXMLgrouped [b] \bf > \stopenvironment > > > But: > 1. how do I simply skip undesired tags? The \start-\stophiding trick > (which in any case does not work: wh

[NTG-context] xml misc

2007-10-31 Thread Andrea Valle
w=log The html is w3c compliant and being automatically generated seems to be consistent. I'm able to do easily stuff like this, which is a promising start: \startenvironment scEnv \enableregime[utf] \defineXMLenvironment [body] \starttext \stoptext %\defineXMLenvironment [sty

Re: [NTG-context] counting the words in a TeX document

2006-08-07 Thread Aditya Mahajan
y better results. \startbuffer This is a test \stopbuffer \ShowStats{\getbuffer} \ShowStats{\startformula a = b + c \stopformula} \ShowStats{\framed{This is a test}} \ShowStats{\starthiding Another test \stophiding Does this work?} % Buffers do not work and fail silently. \ShowStats{This is {\bf Bo

Re: [NTG-context] multiple line comments

2006-03-28 Thread [EMAIL PROTECTED]
t;> >>\startbuffer[comment] >>bla >>\startbuffer >>bla \iftrue \startbuffer bla bla >>bla \stopbuffer bla bla >>\stopbuffer >>bla >>bla >>\stopbuffer >> >> >\starthiding >\stophiding > >does n

Re: [NTG-context] multiple line comments

2006-03-28 Thread Hans Hagen
Hans Hagen wrote: > This one is pretty safe: > > \startbuffer[comment] > bla > \startbuffer > bla \iftrue \startbuffer bla bla > bla \stopbuffer bla bla > \stopbuffer > bla > bla > \stopbuffer \starthiding \stophiding does not supp

Re: [NTG-context] multiple line comments

2006-03-28 Thread Hans Hagen
andrea valle wrote: > Ah! I was pretty sure there was a way...Better, two. > (just to understand, in some way they're two hacks, aren't they?) > no, features there is also (slow): \starthiding \stophiding or \def\startmycomment{\gobbleuntil\stopmycomment

Re: [NTG-context] Re: Typesetting music in ConTeXt

2003-12-12 Thread Hans Hagen
{\startTEXapplication[#1] {\input musicnft\relax \input musictex\relax \hsize5cm}#2% \stopTEXapplication} \protect \starttext \starthiding \startMUSICTEX \def\nbinstruments{1}\relax % a single instrument \generalmeter{\meterfrac{4}{4}}\relax % 4/4 meter chosen \debutextrait % st