projects
/
musique
/
hvguitartex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2530f4c
)
Ajout directive size
author
Hugo Villeneuve
<hugo@hugovil.com>
Sat, 4 Dec 2021 19:45:30 +0000
(14:45 -0500)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Wed, 9 Mar 2022 22:14:43 +0000
(17:14 -0500)
gtx2tex.pl
patch
|
blob
|
history
diff --git
a/gtx2tex.pl
b/gtx2tex.pl
index
c59bb27
..
de59c7f
100644
(file)
--- a/
gtx2tex.pl
+++ b/
gtx2tex.pl
@@
-398,8
+398,10
@@
sub directive{
}elsif ( /{basstab:/ ) {
print TEX "\\basstab\n" unless ( $lyrics );
newtab() unless ( $lyrics );
+ }elsif ( /{size:/ ) {
+ s/(\{.*:)(.+)(\})/\2/;
+ print TEX "\\$_\n";
}
-
}