代码拉取完成,页面将自动刷新
同步操作将从 个人项目学习/GeographicLib 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#! /bin/sh
# Convert geodesic-biblio.txt to an html page
cat <<'EOF'
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>
Geodesic bibliography
</title>
<link rel="stylesheet" type="text/css" href="../default.css">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
</head>
<body topmargin=10 leftmargin=10>
<h3>A geodesic bibliography</h3>
<p>
Here is a list of the older mathematical treatments of the
geodesic problem for an ellipsoid, together with links to online
copies. This includes some more recent works which are available
online (chiefly works funded by the US Government). Where
available, links to translations, especially into English, have
been added. Unfortunately, the fold-out pages of figures in some
books are usually not scanned properly by Google; in some cases I
have been able to scan the missing pages. In addition, readers
may not have access to the full text of some Google Books; in
those cases, I have provided a "pdf" link. See the files in <a
href=".">geodesic-papers</a>. Please let me, Charles Karney
<a href="mailto:charles@karney.com"><charles@karney.com></a>,
know of errors, omissions, etc. In particular, I'm interested to
learn of any cases where I have mis-translated the title of a
paper. In addition, the links to Google Books occasionally get
out of date; let me know if this happens.
</p>
<p>This bibliography was started on 2009-06-06 (at
<a href=" http://trac.osgeo.org/proj/wiki/GeodesicCalculations">
http://trac.osgeo.org/proj/wiki/GeodesicCalculations</a>) and
moved to this site on 2011-02-01. The last update was on
EOF
git log --date=short $1 | head -3 | tail -1 | tr -s ' ' ' ' |
cut -f2 | sed 's/$/./'
cat <<EOF
</p>
<ul>
EOF
cat $1 |
sed -e 's/\*/<li>/' -e 's/ *\[\[BR\]\]/ <br>/' -e 's/\[\[BR\]\]/<br>/' \
-e "s%'''\([0-9][0-9]*\)'''%<b>\1</b>%g" \
-e "s% ''% <i>%g" -e "s%\([^ ]\)''%\1</i>%g" \
-e 's%\(https\?\)://\([a-zA-Z][^ ]*\)%<a href="\1://\2">\1://\2</a>%' \
-e 's%(PDF \([^)]*\))%(<a href="https://geographiclib.sourceforge.io/geodesic-papers/\1">pdf</a>)%' \
-e 's/&/\&/g' \
-e 's/\([0-9]\)--\([0-9]\)/\1\–\2/g' \
-e 's/É/\É/g' \
-e 's/é/\é/g' \
-e 's/á/\á/g' \
-e 's/à/\à/g' \
-e 's/è/\è/g' \
-e 's/ê/\ê/g' \
-e 's/ù/\ù/g' \
-e 's/ç/\ç/g' \
-e 's/ä/\ä/g' \
-e 's/Ü/\Ü/g' \
-e 's/ï/\ï/g' \
-e 's/í/\í/g' \
-e 's/ö/\ö/g' \
-e 's/ü/\ü/g' \
-e 's/ß/\ß/g' | awk '
BEGIN {
quote=0;
}
{
if ($0 ~ /^ /) {
if (!quote) {
printf "<blockquote>";
quote = 1;
}
} else {
if (quote) {
printf "</blockquote>";
quote = 0;
}
}
print $0;
}
END {
if (quote)
printf "</p></blockquote>/n";
}'
cat <<'EOF'
</ul>
<hr>
<a href="..">GeographicLib home</a>
</body>
</html>
EOF
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。