Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Laurell, Pontus Bengt Johan
dmrgpp
Commits
6827b0cd
Commit
6827b0cd
authored
Aug 29, 2019
by
Alvarez, Gonzalo
Browse files
OmegaUtils: deal with repeated keys (again)
parent
c2535ae3
Changes
2
Hide whitespace changes
Inline
Side-by-side
scripts/OmegaUtils.pm
View file @
6827b0cd
...
...
@@ -19,7 +19,7 @@ sub getLabels
if
(
/$key[= ]([^ ]+)/
)
{
my
$newVal
=
$
1
;
my
$prev
=
$
{
$hptr
->
{
$key
}};
if
(
$prev
)
{
if
(
$prev
&&
$prev
!=
$newVal
)
{
print
STDERR
"
Already a previous value for
$key
of
$prev
\n
";
print
"
New value is
$newVal
\n
";
print
"
To take new value press ENTER. Or enter value
";
...
...
scripts/sample.tex
View file @
6827b0cd
...
...
@@ -2,7 +2,7 @@
\documentclass
{
standalone
}
\usepackage
{
tikz
}
\usepackage
{
pgfplots
}
\pgfplotsset
{
compat=1.1
3
}
\pgfplotsset
{
compat=1.1
6
}
\input
{
palette.tex
}
\usepgfplotslibrary
{
colormaps
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment