From patchwork Thu Sep 1 11:38:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Wiktor_=C5=BBelazny?= X-Patchwork-Id: 42115 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 28A3827BBEA; Thu, 1 Sep 2022 12:44:26 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CA48227BBE9 for ; Thu, 1 Sep 2022 12:44:25 +0100 (BST) Received: from localhost ([::1]:57460 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oTicS-0006nO-SX for patchwork@mira.cbaines.net; Thu, 01 Sep 2022 07:44:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTiXH-0004UY-H2 for guix-patches@gnu.org; Thu, 01 Sep 2022 07:39:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51674) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oTiXG-0007zn-Un for guix-patches@gnu.org; Thu, 01 Sep 2022 07:39:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oTiXG-0008UT-GR for guix-patches@gnu.org; Thu, 01 Sep 2022 07:39:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57519] [PATCH] gnu: Add texlive-latex-tabto-ltx. Resent-From: Wiktor =?utf-8?q?=C5=BBelazny?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 01 Sep 2022 11:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57519 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57519@debbugs.gnu.org Cc: Wiktor =?utf-8?q?=C5=BBelazny?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166203230732576 (code B ref -1); Thu, 01 Sep 2022 11:39:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Sep 2022 11:38:27 +0000 Received: from localhost ([127.0.0.1]:41419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTiWh-0008TM-B7 for submit@debbugs.gnu.org; Thu, 01 Sep 2022 07:38:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:51240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTiWf-0008TE-Aa for submit@debbugs.gnu.org; Thu, 01 Sep 2022 07:38:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51130) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTiWe-0004O3-6d for guix-patches@gnu.org; Thu, 01 Sep 2022 07:38:25 -0400 Received: from freeshell.de ([116.202.128.144]:52414) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTiWc-0007xC-Dk for guix-patches@gnu.org; Thu, 01 Sep 2022 07:38:23 -0400 Received: from localhost.localdomain (cst-prg-79-246.cust.vodafone.cz [46.135.79.246]) (Authenticated sender: wz) by freeshell.de (Postfix) with ESMTPSA id 3F348B390DF7; Thu, 1 Sep 2022 13:38:16 +0200 (CEST) From: Wiktor =?utf-8?q?=C5=BBelazny?= Date: Thu, 1 Sep 2022 13:38:06 +0200 Message-Id: <20220901113806.1408-1-wz@freeshell.de> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Received-SPF: pass client-ip=116.202.128.144; envelope-from=wz@freeshell.de; helo=freeshell.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From: Wiktor Żelazny * gnu/packages/tex.scm (texlive-latex-tabto-ltx): New variable. --- gnu/packages/tex.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) base-commit: 4a5fbadb88ff18bb7de87b351c6009aaa398a892 diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 1b3c086d54..6efb5478dc 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -11555,3 +11555,41 @@ (define-public texlive-sourcecodepro Adobe in both Adobe Type 1 and OpenType formats, plus macros supporting the use of the fonts in LaTeX (Type 1) and XeLaTeX/LuaLaTeX (OTF).") (license (list license:lppl1.3+ license:silofl1.1)))) + +(define-public texlive-latex-tabto-ltx + (package + (name "texlive-latex-tabto-ltx") + (version (number->string %texlive-revision)) + (source (origin + (method svn-fetch) + (uri (svn-reference (url (string-append + "svn://www.tug.org/texlive/tags/" + %texlive-tag "/Master/texmf-dist/" + "/tex/latex/tabto-ltx")) + (revision %texlive-revision))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "1vq9s3n0mdgx2w84bjdsqxp3vcasfb824agjy56713902li1g8vm")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder (begin + (use-modules (guix build utils)) + (let ((target (string-append (assoc-ref %outputs "out") + "/share/texmf-dist/tex/latex/tabto"))) + (mkdir-p target) + (copy-recursively (assoc-ref %build-inputs "source") + target) #t)))) + (home-page "https://ctan.org/pkg/tabto-ltx") + (synopsis "``Tab'' to a measured position in the line") + (description + "This package provides @code{\\tabto{}}, which moves the +typesetting position to @code{} from the left margin of the paragraph. +If the typesetting position is already further along, @code{\\tabto} starts a +new line; the command @code{\\tabto*} will move position backwards if +necessary, so that previous text may be overwritten. In addition, the command +@code{\\TabPositions} may be used to define a set of tabbing positions, after +which the command @code{\\tab} advances typesetting position to the next +defined ``tab stop''.") + (license license:lppl1.3+)))