> 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
\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
>>
>> \begin{frame}
>>\begin{itemize}
>> \item 1
>> \pause
>> \item 2
>> \pause
>> \item 3
>> \end{frame}
>>
>> Or even better,
>>
>> \begin{frame}
>>\begin{itemize}[<+->]
&g
t; \begin{frame}
>>>\begin{itemize}
>>> \item 1
>>> \pause
>>> \item 2
>>> \pause
>>> \item 3
>>> \end{frame}
>>>
>>> Or even better,
>>>
>>> \begin{frame}
>>>
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
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
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
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
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
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
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
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
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
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
: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
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,
> 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
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á
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
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
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
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
]
\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
} = 2
>>>> % \catcode`\% = 14
>>>> \stopcatcodetable
>>>> \starttext
>>>> \asciimode
>>>> text\footnote{test \hyphenatedurl{www.test%it.com} test.} text.
>>>> \stoptext
>>>
>>>
>>>
>>>
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
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
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
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
t;>>
> >>> 1.
> >>> is there the same in Context than the Latexian
> >>>
> >>> \begin{comment}
> >>> ...
> >>> \end{comment}
> >>>
> >>
> >> What is that supposed to to?
> >>
> &g
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
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
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
> 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
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
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
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+
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
>
> \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&
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
...
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
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
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
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
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
t;>
>>\startbuffer[comment]
>>bla
>>\startbuffer
>>bla \iftrue \startbuffer bla bla
>>bla \stopbuffer bla bla
>>\stopbuffer
>>bla
>>bla
>>\stopbuffer
>>
>>
>\starthiding
>\stophiding
>
>does n
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
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
{\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
48 matches
Mail list logo