A couple requests about beamer support.
First, highlight and smart typing pairs should include the ones supported in LaTeX. So Miscellaneous (Beamer) should be:
{ highlightPairs = ( ( '<', '>' ), ( '"', '"' ), ( '(', ')' ), ( '{', '}' ), ( '[', ']' ), ( '“', '”' ), ( '$', '$' ), ( '`', "'" ), ); smartTypingPairs = ( ( '<', '>' ), ( '"', '"' ), ( '(', ')' ), ( '{', '}' ), ( '[', ']' ), ( '“', '”' ), ( '$', '$' ), ( '`', "'" ), ); }
Second, it would be nice to support the overprint environment in which \onslide functions similarly to \item. Specifically, it would be useful to hit enter and to create another \onslide. \onslide takes a number between angle brackets (e.g., \onslide<3>, *without* a plus or minus sign since overprints may not overlap). Another difference from \item is that the text begins indented on a new line as in the following example:
\begin{overprint} \onslide<1> lorem \onslide<2> ipsum \end{overprint}
Thanks in advance.
All the best, Mark
On Aug 24, 2007, at 5:11 PM, Mark Eli Kalderon wrote:
A couple requests about beamer support.
First, highlight and smart typing pairs should include the ones supported in LaTeX. So Miscellaneous (Beamer) should be:
{ highlightPairs = ( ( '<', '>' ), ( '"', '"' ), ( '(', ')' ), ( '{', '}' ), ( '[', ']' ), ( '“', '”' ), ( '$', '$' ), ( '`', "'" ), ); smartTypingPairs = ( ( '<', '>' ), ( '"', '"' ), ( '(', ')' ), ( '{', '}' ), ( '[', ']' ), ( '“', '”' ), ( '$', '$' ), ( '`', "'" ), ); }
Sorry I lost you here a bit. There is no "Miscellaneous (Beamer)" file. Are you asking that one be added? Is the only difference the smart treatment of < and > ? As it is, all the others are treated smartly in beamer currently.
Second, it would be nice to support the overprint environment in which \onslide functions similarly to \item. Specifically, it would be useful to hit enter and to create another \onslide. \onslide takes a number between angle brackets (e.g., \onslide<3>, *without* a plus or minus sign since overprints may not overlap). Another difference from \item is that the text begins indented on a new line as in the following example:
\begin{overprint} \onslide<1> lorem \onslide<2> ipsum \end{overprint}
I'll look into it. Shouldn't be too hard to add.
Thanks in advance.
All the best, Mark
Haris Skiadas Department of Mathematics and Computer Science Hanover College
Aug 25 2007, at 05:12, Charilaos Skiadas wrote:
Sorry I lost you here a bit. There is no "Miscellaneous (Beamer)" file. Are you asking that one be added? Is the only difference the smart treatment of < and > ? As it is, all the others are treated smartly in beamer currently.
When I noticed that some expected smart pairs weren't working in Beamer documents I inspected the bundle and found "Miscellaneous (Beamer)" which only contained the instructions for the angle brackets. (I have no idea where "Miscellaneous (Beamer)" came from.) So I was asking for the rest to be added. However, trashing that file has the result that the everything works as expected *except* for angle brackets. So an ammended request: Can angle brackets be treated as smart pairs in Beamer. Thanks and sorry for the confusion. Best, Mark
Wouldn't it create some troubles with inequalities?
Le 25 août 07 à 14:17, Mark Eli Kalderon a écrit :
Aug 25 2007, at 05:12, Charilaos Skiadas wrote:
Sorry I lost you here a bit. There is no "Miscellaneous (Beamer)" file. Are you asking that one be added? Is the only difference the smart treatment of < and > ? As it is, all the others are treated smartly in beamer currently.
When I noticed that some expected smart pairs weren't working in Beamer documents I inspected the bundle and found "Miscellaneous (Beamer)" which only contained the instructions for the angle brackets. (I have no idea where "Miscellaneous (Beamer)" came from.) So I was asking for the rest to be added. However, trashing that file has the result that the everything works as expected *except* for angle brackets. So an ammended request: Can angle brackets be treated as smart pairs in Beamer. Thanks and sorry for the confusion. Best, Mark
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On Aug 25, 2007, at 8:27 AM, Édouard Gilbert wrote:
Le 25 août 07 à 14:17, Mark Eli Kalderon a écrit :
Aug 25 2007, at 05:12, Charilaos Skiadas wrote:
Sorry I lost you here a bit. There is no "Miscellaneous (Beamer)" file. Are you asking that one be added? Is the only difference the smart treatment of < and > ? As it is, all the others are treated smartly in beamer currently.
Wouldn't it create some troubles with inequalities?
True, though < is much more often used for overlay specifications in beamer than for inequalities, at least in my experience. The other option is to have a snippet bound on ctrl-shift-<, that would simply insert a "<$1>". So we are losing automatic deletion of pairs (though undo would do the trick in most cases) and the ability to surround selected text with <,>. I find that, because of the typically short text in the overlay specification, it might not be worth it considering the angle brackets as a smart pair in beamer. Would the above snippet be a reasonable solution?
Also, if you use the "Insert Environment/Command" mechanism, it should be inserting the overlay specifications for you. Is that not the case? If you use custom commands, then you can add them to the mechanism as local preferences.
Haris Skiadas Department of Mathematics and Computer Science Hanover College
On 8/25/2007, "Charilaos Skiadas" cskiadas@gmail.com wrote:
The other option is to have a snippet bound on ctrl-shift-<, that would simply insert a "<$1>". So we are losing automatic deletion of pairs (though undo would do the trick in most cases) and the ability to surround selected text with <,>. I find that, because of the typically short text in the overlay specification, it might not be worth it considering the angle brackets as a smart pair in beamer. Would the above snippet be a reasonable solution?
For what it's worth, I think the snippet would be a good compromise.
Best, Mark
On Aug 25, 2007, at 10:25 AM, Mark Eli Kalderon wrote:
On 8/25/2007, "Charilaos Skiadas" cskiadas@gmail.com wrote:
The other option is to have a snippet bound on ctrl-shift-<, that would simply insert a "<$1>". So we are losing automatic deletion of pairs (though undo would do the trick in most cases) and the ability to surround selected text with <,>. I find that, because of the typically short text in the overlay specification, it might not be worth it considering the angle brackets as a smart pair in beamer. Would the above snippet be a reasonable solution?
For what it's worth, I think the snippet would be a good compromise.
Updating should make both this and the overprint/overlayarea stuff work. I added some shortcuts for them and other beamer commands in the "Insert Environment/ Insert Command" dictionary.
Best, Mark
Haris Skiadas Department of Mathematics and Computer Science Hanover College