I am debugging my tex file by eliminating all technical flaws in the systems. I cannot find anything wrong in my document with Tex community here and myself so I think there can be something non-ASCII characters complicating pdflatex
. Sample of LaTeX warnings which me and my friends do not understand, since we do not understand the origin
Underfull \hbox (badness 1019) in paragraph at lines 4--10
\T1/lmr/m/n/12 (+20) Avail-able from [][]$\T1/lmtt/m/n/12 http : / / www . dyna
med . com / login . aspx ? direct = true & site =
[50] [51] [52] [53]
Underfull \hbox (badness 1019) in paragraph at lines 332--338
\T1/lmr/m/n/12 (+20) Avail-able from [][]$\T1/lmtt/m/n/12 http : / / www . dyna
med . com / login . aspx ? direct = true & site =
) (./deliminated.figures.tex [54]
Things which I have done to try to eliminate all non-British non-ASCII characters in .tex and .bib files
Eliminate non-ASCII characters in .tex and .bib
# http://stackoverflow.com/a/9395552/54964 grep --color='auto' -P -n "[\x80-\xFF]" file.tex grep --color='auto' -P -n "[\x80-\xFF]" work.bib
...
I am interested in if the grep is sufficient for searching all non-ASCII characters.
Tools tested but no benefit after Gilles' answer
grep --color='auto' -P -n '[^\x00-\x7F]' file.tex
grep -P "[\x80-\xFF]" file.tex
perl -ane '{ if(m/[[:^ascii:]]/) { print } }' file.tex
grep --color='auto' -P -n "[^[:ascii:]]" file.txt
Things I am not sure
- Gilles' answer here
LC_ALL=C grep '[^ -~]' file.tex
but it finds LaTeX syntax characters as non-ASCII. Is this right?
TeXLive: 2016
OS: Debian 8.5
Locale: British
LC_ALL=C
, soLC_ALL=C grep --color='auto' -P -n "[\x80-\xFF]" file.tex