ze would be compounded: 'tfxx' remaining in effect after
% 'switchtobodyfont'. I've also tried stop...starthiding, but that prevents
% all processing of contents.
\setbox\scratchbox\hbox{%
#1%
% Use a global lua variable rather than globally setting a scratch
% reg
hidden until you press space, and so on.
>> In beamer, you would make it this way
>>
>> \begin{frame}
>>\begin{itemize}
>> \item 1
>> \pause
>> \item 2
>> \pause
>> \item 3
>> \end{frame}
>>
>>
gt;> In beamer, you would make it this way
>>>
>>> \begin{frame}
>>>\begin{itemize}
>>> \item 1
>>> \pause
>>> \item 2
>>> \pause
>>> \item 3
>>> \end{frame}
>>>
>>
e, and so on.
> In beamer, you would make it this way
>
> \begin{frame}
>\begin{itemize}
> \item 1
> \pause
> \item 2
> \pause
> \item 3
> \end{frame}
>
> Or even better,
>
> \begin{frame}
>\begin{itemize}[<+->
em 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
\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 postponing
{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 be welcome
spawn better suggestions and
>better understanding 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 commenti
l, Fortran, and so
on ;-)
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
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
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
\stoptext
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,
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á
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 get them. The below is
shamelessly
16:42:27 +0100, Sietse Brouwer sbbrou...@gmail.com 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
:
\definestartstop[Hidden][before=\starthiding,after=\stophiding]
Just define any buffer, and don't call \getbuffer[mybuffer]. Buffers
are not typeset, by default, until you get them. The below is
shamelessly adapted from Hans's \starthiding (which already exists):
\definebuffer[Hidden]
% uncomment
Am 22.03.2013 um 16:18 schrieb Procházka Lukáš Ing. - Pontex s. r. o.
l...@pontex.cz:
Hello,
is it possible to define a start-stop command to hide text within?
Something like:
\definestartstop[Hidden][before=\starthiding,after=\stophiding]
\usemodule[annotation]
\defineannotation
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 example:
\starttext
\starthiding
CRY
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 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
…
\stophiding
Wolfgang
]
\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
if I can
map this entirely on a complex book project...
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.
Any known
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 just give a
dollar.
* You need
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.
But there is now
on a complex book project...
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.
Any known side-effects?
* You need to use
In 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
out, you might use
\startmode[comment] % name is random
...
\stopmode
Or \starthiding \stophiding
Aditya
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg
to to?
If you want to 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
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
}
...
\end{comment}
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
With MkII,
\starthiding \stophiding
works.
Thanks,
--
René Bastian
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] % name is random
...
\stopmode
Or \starthiding \stophiding
ot \startcomment .. \stopcomment (which if all
\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=mychapterpagebreak
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
]
\unprotect
\def\starthiding
{\dostartbuffer[hiddencontent][starthiding][stophiding]}
\def\stophiding
{\bgroup
\setbox\scratchbox\vbox{\getbuffer[hiddencontent]}%
\getnoflines{\dimexpr\ht\scratchbox+\dp\scratchbox\relax}%
\dorecurse{\number\noflines}{\blank[\v!force,\v!line]}%
\egroup
}
\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 knuth
\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'm an assurer
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 at once, instead
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
...
\stophiding
Regards
Wolfgang
# \startFLOWcell \stopFLOWcell
# \startFLOWchart \stopFLOWchart
\startformula \stopformula
# \startframedcontent \stopframedcontent
\startframedtext[left|right|middle|none][settings] \stopframedtext
# \startfrontmatter \stopfrontmatter
# \starthanging \stophanging
\starthiding \stophiding
%\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: why?) was a hack in order to not
typeset the stile tags
these are in fact
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 [style] \starthiding \stophiding
token as mathord and allow it to break
%but that will not give any 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
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}
\startmycomment
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 support nesting in the way buffers do (simply
]
bla
\startbuffer
bla \iftrue \startbuffer bla bla
bla \stopbuffer bla bla
\stopbuffer
bla
bla
\stopbuffer
\starthiding
\stophiding
does not support nesting in the way buffers do (simply because it was
not enabled); i added a few lines to the buffer handler, so
45 matches
Mail list logo