-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
a new functionality: generating TeX from LDF
git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@489 ab42f6e0-554d-0410-b580-99e487e6eeb2
- Loading branch information
1 parent
6e072e6
commit a0bc05d
Showing
5 changed files
with
487 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/sh | ||
|
||
LOCAL=${PWD} | ||
cd `dirname $0` | ||
cd ../.. | ||
SLPS=${PWD} | ||
cd ${LOCAL} | ||
|
||
if [ $# -ne 2 ]; then | ||
echo "This tool transforms Language Document Format to LaTeX" | ||
echo "Usage: ldf2tex <input-language-document> <output-tex-document>" | ||
exit 1 | ||
elif [ ! -r $1 ]; then | ||
echo "Oops: $1 not found or not readable." | ||
exit 1 | ||
else | ||
xsltproc ${SLPS}/shared/xsl/ldf2tex.xslt $1 > $2 | ||
fi |
Oops, something went wrong.