mybin

my ~/bin
git clone https://a3nm.net/git/mybin/
Log | Files | Refs | README

commit 50486a684f8ea6ad1cb3148318cb5ae87892a617
parent 17fbd63c6952159d31f0a83316e5ce7edb4390b2
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Wed, 20 Nov 2013 10:17:42 +0100

option for section*

Diffstat:
shorthand.pl | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/shorthand.pl b/shorthand.pl @@ -124,7 +124,7 @@ while (<>) { $in_frame = 1; next; } - if ($l =~ /^(=+) (.*) (=+)(!?)$/) { + if ($l =~ /^(=+) (.*) (=+)(!?)(\*?)$/) { print "\\end{frame}\n\n" if ($in_frame == 1); $in_frame = 0; my $nest = length($1); @@ -137,6 +137,7 @@ while (<>) { $level = "subsection"; $subsecneeded = 0; } + $level = "$level*" if $5 eq "*"; print "\\$level\{$2\}\n"; next; }