diff options
author | Karl Berry <karl@freefriends.org> | 2021-06-19 20:45:20 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-06-19 20:45:20 +0000 |
commit | d5034bea880dd37b6d05f21e8f7ae6a68592040f (patch) | |
tree | 0caf1143b229f8044fa07f39d795deaa6edc654f | |
parent | 769261120c460ce6cefe45da29898d75c81c4d08 (diff) |
bilingualpages (19jun21)
git-svn-id: svn://tug.org/texlive/trunk@59643 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/bilingualpages/README.md | 23 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/bilingualpages/bilingualpages.sty | 15 | ||||
-rwxr-xr-x | Master/tlpkg/bin/tlpkg-ctan-check | 2 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/bilingualpages.tlpsrc | 0 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc | 1 |
5 files changed, 40 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/bilingualpages/README.md b/Master/texmf-dist/doc/latex/bilingualpages/README.md new file mode 100644 index 00000000000..405d4d177c3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/bilingualpages/README.md @@ -0,0 +1,23 @@ +bilingualpages (v1.0.0): Parallel facing pages for bilingual texts. +=== +Copyright (C) 2021 Arlie Coles +This package can be redistributed and/or modified under the terms +of the LaTeX Project Public License 1.3c. +=== + +This package is a convenience package to facilitate parallel facing pages for bilingual texts. It wraps the paracol package such that aligned content can be presented on left and right facing pages via readable macros. + +Example: + +``` +\begin{bilingualpages} + \leftpage + Hello world! + \rightpage + Bonjour tout le monde! +\end{bilingualpages} +``` + +This will put "Hello world!" on the left page and "Bonjour tout le monde" on the right facing page in parallel. + +This material is subject to the LaTeX Project Public License 1.3c. diff --git a/Master/texmf-dist/tex/latex/bilingualpages/bilingualpages.sty b/Master/texmf-dist/tex/latex/bilingualpages/bilingualpages.sty new file mode 100644 index 00000000000..6defd32feaa --- /dev/null +++ b/Master/texmf-dist/tex/latex/bilingualpages/bilingualpages.sty @@ -0,0 +1,15 @@ +% Author: Arlie Coles +% License: LaTeX Project Public License 1.3c + +\NeedsTeXFormat{LaTeX2e} +\RequirePackage{paracol} +\ProvidesPackage{bilingual}[2021/06/19 Bilingual facing pages.] + +% Facing pages +\newenvironment{bilingualpages} +{\begin{paracol}[1]{2}} +{\end{paracol}} + +% Left and right pages +\newcommand{\leftpage}{\switchcolumn[0]} +\newcommand{\rightpage}{\switchcolumn[1]} diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index b8b24bfd34f..a82874a407e 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -131,7 +131,7 @@ my @TLP_working = qw( bibtopicprefix bibexport bibunits bidi bidi-atbegshi bidicontour bidihl bidipagegrid bidipresentation bidishadowtext - bigfoot bigintcalc bigints binarytree binomexp + bigfoot bigintcalc bigints bilingualpages binarytree binomexp biochemistry-colors biocon biolett-bst bitelist bithesis bitpattern bitset bitter bizcard bjfuthesis blacklettert1 blindtext blkarray diff --git a/Master/tlpkg/tlpsrc/bilingualpages.tlpsrc b/Master/tlpkg/tlpsrc/bilingualpages.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/Master/tlpkg/tlpsrc/bilingualpages.tlpsrc diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc index 7f12ca79862..766cc816fad 100644 --- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc @@ -103,6 +103,7 @@ depend bhcexam depend bibletext depend bigfoot depend bigints +depend bilingualpages depend biochemistry-colors depend bithesis depend bizcard |