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
ionen-angewandte-physik
AG-Wester
bibtools
Commits
1c33ad80
Commit
1c33ad80
authored
Mar 15, 2020
by
User expired
Browse files
newbib: Print a note about non ascii characters
parent
4842d90f
Pipeline
#28516
passed with stage
in 1 minute and 31 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
bin/newbib
bin/newbib
+7
-0
bin/newbibpdf
bin/newbibpdf
+7
-0
No files found.
bin/newbib
View file @
1c33ad80
...
...
@@ -108,4 +108,11 @@ do
# Print file path and citation key.
test
-z
"
$DRYRUN
"
&&
grep
-H
^@
"
${
targetdir
}
/
${
newbibfile
}
"
# Print non ascii characters.
if
bib-format
-p
"
${
targetdir
}
/
${
newbibfile
}
"
|
grep
-q
.
then
echo
"The following non ascii characters should be replaced."
bib-format
-p
"
${
targetdir
}
/
${
newbibfile
}
"
fi
done
bin/newbibpdf
View file @
1c33ad80
...
...
@@ -216,3 +216,10 @@ test "./${PDFFILE}" == "${TARGETDIR}/${NEWPDFFILE}" \
# Print file path and citation key.
test
-z
"
$DRYRUN
"
&&
grep
-H
@
"
${
TARGETDIR
}
/
${
NEWBIBFILE
}
"
# Print non ascii characters.
if
bib-format
-p
"
${
TARGETDIR
}
/
${
NEWBIBFILE
}
"
|
grep
-q
.
then
echo
"The following non ascii characters should be replaced."
bib-format
-p
"
${
TARGETDIR
}
/
${
NEWBIBFILE
}
"
fi
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