Subject: mailing-list for TeXmacs Users
List archive
From : Joris van der Hoeven <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] Fusion of environments
- Date: Tue, 9 Nov 2010 10:59:55 +0100
On Mon, Nov 08, 2010 at 10:58:18AM +0100, Alvaro Tejero Cantero wrote:
> It could be that this behavior is new, in any case I noticed it just now.
>
> Let's assume you want to type two words, each enclosed by a \verbatim
> environment and separated by a comma (not in verbatim).
>
> You start by writing at the beginning of the line
>
> word1 (in verbatim)
>
> then move to the beginning of the line, and again open a verbatim
> environment (A-v) and type
>
> word2word1
>
> The problem is that a verbatim environment is /not/ created for word2,
> but the cursor just enters the existing verbatim environment of word1.
> If you want both words to be in separate environments, you have to
> first type a space
>
> word1
>
> and then
>
> word2 word1
>
> will be in separate environments, and you can insert your non-verbatim
> comma.
>
> Bug? feature?
This is a feature, because it corresponds to a common mistake of authors
to incorrectly position the cursor at invisible borders of environments.
In 99% of the cases putting two verbatim environments next to each other is
useless.
> PS. I thought more about Enter and S-Enter to exit environments; it'd
> be really cool that they can also exit one-line environments such as
> verbatim, emphasize, strong, etc..
If your verbatim environment is alone on a line,
then this behaviour conflicts with the natural behaviour of
inserting a new line.
Maybe 'return' is a bit too simple a shortcut for exiting.
Best wishes, --Joris
- [TeXmacs] Fusion of environments, Alvaro Tejero Cantero, 11/08/2010
- Re: [TeXmacs] Fusion of environments, Joris van der Hoeven, 11/09/2010
- Re: [TeXmacs] Fusion of environments, Alvaro Tejero Cantero, 11/09/2010
- Re: [TeXmacs] Fusion of environments, Kostas Oikonomou, 11/09/2010
- Re: [TeXmacs] Fusion of environments, Alvaro Tejero Cantero, 11/09/2010
- Re: [TeXmacs] Fusion of environments, Sam Liddicott, 11/09/2010
- Re: [TeXmacs] Fusion of environments, Alvaro Tejero Cantero, 11/09/2010
- Re: [TeXmacs] Fusion of environments, Kostas Oikonomou, 11/09/2010
- Re: [TeXmacs] Fusion of environments, Alvaro Tejero Cantero, 11/09/2010
- Re: [TeXmacs] Fusion of environments, Joris van der Hoeven, 11/09/2010
Archive powered by MHonArc 2.6.19.