diff options
author | rbuj <[email protected]> | 2019-08-21 23:07:52 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-08-29 12:00:35 +0200 |
commit | 6061cf30d7a351d7214ee074e4530fb8b9d4e94c (patch) | |
tree | 017eb17cf1f61084b9162a52834ac06a83dcc088 /cut-n-paste/synctex/update-synctex-from-TL.sh | |
parent | 7dc6ac4dde817633a82f35cfb4f19102ea94b272 (diff) | |
download | atril-6061cf30d7a351d7214ee074e4530fb8b9d4e94c.tar.bz2 atril-6061cf30d7a351d7214ee074e4530fb8b9d4e94c.tar.xz |
Bump synctex to 1.21
$ cd cut-n-paste/synctex
$ rm synctex_*
$ ./update-synctex-from-TL.sh
Test on Fedora:
1. Install required packages
$ sudo dnf install texlive-scheme-basic texlive-lipsum -y
2. Build a pdf with synctex enabled
$ cat <<EOF >> file.tex
\documentclass[12pt]{report}
\usepackage{lipsum}
\begin{document}
\chapter{Introduction}
\lipsum[2-4]
\end{document}
EOF
$ pdflatex -synctex=1 file.tex
3. Open file.pdf using atril
4. Search any text string
Diffstat (limited to 'cut-n-paste/synctex/update-synctex-from-TL.sh')
-rwxr-xr-x | cut-n-paste/synctex/update-synctex-from-TL.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cut-n-paste/synctex/update-synctex-from-TL.sh b/cut-n-paste/synctex/update-synctex-from-TL.sh index ca0e10bf..4d8af0e3 100755 --- a/cut-n-paste/synctex/update-synctex-from-TL.sh +++ b/cut-n-paste/synctex/update-synctex-from-TL.sh @@ -4,10 +4,10 @@ # Get latest synctex parser from TexLive SVN repository. SVN_URI=svn://tug.org/texlive/trunk/Build/source/texk/web2c/synctexdir SCRIPT_NAME=update-synctex-from-TL.sh -FILES="synctex_parser_version.txt synctex_parser.c synctex_parser.h synctex_parser_local.h synctex_parser_utils.c synctex_parser_utils.h" +FILES="synctex_parser.c synctex_parser.h synctex_parser_advanced.h synctex_parser_local.h synctex_parser_readme.md synctex_parser_readme.txt synctex_parser_utils.c synctex_parser_utils.h synctex_parser_version.txt synctex_version.h" echo "Obtaining latest version of the sources" - for FILE in $FILES + for FILE in $FILES do svn export $SVN_URI/$FILE done |