unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Expanding texlive-iftex to include all sty files
@ 2020-04-19 18:11 LaFreniere, Joseph
  2020-10-27  8:56 ` Pierre Neidhardt
  0 siblings, 1 reply; 3+ messages in thread
From: LaFreniere, Joseph @ 2020-04-19 18:11 UTC (permalink / raw)
  To: help-guix

The current texlive-iftex recipe only includes iftex.sty, despite 
the upstream https://ctan.org/pkg/iftex also including 
if{e,lua,v,xe}tex.sty files.  Is there a way to expand the recipe 
to include those additional files?

I think this should be accomplished just by including the files' 
paths in the third argument to `simple-texlive-package' in the 
recipe's definition, but the recipe's version would also need to 
be bumped and I don't see any examples of how to do so for TeX 
recipes.

--
Joseph LaFreniere

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Expanding texlive-iftex to include all sty files
  2020-04-19 18:11 Expanding texlive-iftex to include all sty files LaFreniere, Joseph
@ 2020-10-27  8:56 ` Pierre Neidhardt
  2020-10-27 10:36   ` Ricardo Wurmus
  0 siblings, 1 reply; 3+ messages in thread
From: Pierre Neidhardt @ 2020-10-27  8:56 UTC (permalink / raw)
  To: LaFreniere, Joseph, help-guix

[-- Attachment #1: Type: text/plain, Size: 701 bytes --]

Hi!

> The current texlive-iftex recipe only includes iftex.sty, despite 
> the upstream https://ctan.org/pkg/iftex also including 
> if{e,lua,v,xe}tex.sty files.  Is there a way to expand the recipe 
> to include those additional files?
> 
> I think this should be accomplished just by including the files' 
> paths in the third argument to `simple-texlive-package' in the 
> recipe's definition, but the recipe's version would also need to 
> be bumped and I don't see any examples of how to do so for TeX 
> recipes.

Recently Ricardo was fixing a few texlive packages I believe.

Ricardo, do you know if this has been fixed somehow?

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 511 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Expanding texlive-iftex to include all sty files
  2020-10-27  8:56 ` Pierre Neidhardt
@ 2020-10-27 10:36   ` Ricardo Wurmus
  0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2020-10-27 10:36 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: help-guix


Pierre Neidhardt <mail@ambrevar.xyz> writes:

> Hi!
>
>> The current texlive-iftex recipe only includes iftex.sty, despite 
>> the upstream https://ctan.org/pkg/iftex also including 
>> if{e,lua,v,xe}tex.sty files.  Is there a way to expand the recipe 
>> to include those additional files?
>> 
>> I think this should be accomplished just by including the files' 
>> paths in the third argument to `simple-texlive-package' in the 
>> recipe's definition, but the recipe's version would also need to 
>> be bumped and I don't see any examples of how to do so for TeX 
>> recipes.
>
> Recently Ricardo was fixing a few texlive packages I believe.
>
> Ricardo, do you know if this has been fixed somehow?

It doesn’t seem to be a problem according to texlive.tlpd:

--8<---------------cut here---------------start------------->8---
name iftex
category Package
revision 29654
shortdesc Am I running under pdfTeX, XeTeX or LuaTeX?
longdesc The package, which works both for Plain TeX and for LaTeX,
longdesc defines the \ifPDFTeX, \ifXeTeX, and \ifLuaTeX conditionals for
longdesc testing which engine is being used for typesetting. The package
longdesc also provides the \RequirePDFTeX, \RequireXeTeX, and
longdesc \RequireLuaTeX commands which throw an error if pdfTeX, XeTeX
longdesc or LuaTeX (respectively) is not the engine in use.
docfiles size=10
 texmf-dist/doc/generic/iftex/README details="Readme"
 texmf-dist/doc/generic/iftex/iftex.pdf details="Package documentation"
 texmf-dist/doc/generic/iftex/iftex.tex
runfiles size=1
 texmf-dist/tex/generic/iftex/iftex.sty
catalogue-also ifpdf ifluatex
catalogue-contact-bugs https://github.com/bidi-tex/iftex/issues
catalogue-contact-repository https://github.com/bidi-tex/iftex
catalogue-ctan /macros/latex/contrib/iftex
catalogue-date 2018-11-28 19:50:39 +0100
catalogue-license lppl1.3
catalogue-topics env-query
catalogue-version 0.2
--8<---------------cut here---------------end--------------->8---

According to texlive.tlpdb we should add a separate package for
ifluatex…

--8<---------------cut here---------------start------------->8---
name ifluatex
category Package
revision 49285
shortdesc Provides the \ifluatex switch
longdesc The package looks for LuaTeX regardless of its mode and
longdesc provides the switch \ifluatex; it works with Plain TeX or
longdesc LaTeX. The package is part of the oberdiek bundle.
docfiles size=33
 texmf-dist/doc/latex/oberdiek/ifluatex.pdf details="Package documentation"
 texmf-dist/doc/latex/oberdiek/test/ifluatex-test1.tex
 texmf-dist/doc/latex/oberdiek/test/ifluatex-test2.tex
 texmf-dist/doc/latex/oberdiek/test/ifluatex-test3.tex
srcfiles size=7
 texmf-dist/source/latex/oberdiek/ifluatex.dtx
runfiles size=2
 texmf-dist/tex/generic/oberdiek/ifluatex.sty
catalogue-ctan /macros/latex/contrib/oberdiek/ifluatex.dtx
catalogue-date 2018-01-06 12:14:59 +0100
catalogue-license lppl1.3
catalogue-topics env-query
catalogue-version 1.4
--8<---------------cut here---------------end--------------->8---

…and ifetex:

--8<---------------cut here---------------start------------->8---
name ifetex
category Package
revision 47231
shortdesc Provides \ifetex switch
longdesc The package provides the switch \ifetex which indicates whether
longdesc e-TeX is available or not. The package can be loaded as LaTeX
longdesc package using \usepackage{ifetex} or in plain TeX using \input
longdesc ifetex. In either case it aborts silently if the \ifetex macro
longdesc is already defined. The package's test is whether \eTeXversion
longdesc is defined as a primitive; if it is, the package assumes e-TeX
longdesc features are available.
docfiles size=37
 texmf-dist/doc/latex/ifetex/README details="Readme"
 texmf-dist/doc/latex/ifetex/ifetex.pdf details="Package documentation"
srcfiles size=3
 texmf-dist/source/latex/ifetex/ifetex.dtx
 texmf-dist/source/latex/ifetex/ifetex.ins
runfiles size=2
 texmf-dist/tex/latex/ifetex/ifetex.sty
 texmf-dist/tex/plain/ifetex/ifetex.tex
catalogue-contact-bugs https://bitbucket.org/martin_scharrer/ifetex/issues
catalogue-contact-home https://bitbucket.org/martin_scharrer/ifetex/
catalogue-contact-repository https://bitbucket.org/martin_scharrer/ifetex/src
catalogue-ctan /macros/latex/contrib/ifetex
catalogue-date 2018-03-31 21:11:18 +0200
catalogue-license lppl1.3
catalogue-topics env-query
catalogue-version 1.2a
--8<---------------cut here---------------end--------------->8---


-- 
Ricardo


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-10-27 10:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-19 18:11 Expanding texlive-iftex to include all sty files LaFreniere, Joseph
2020-10-27  8:56 ` Pierre Neidhardt
2020-10-27 10:36   ` Ricardo Wurmus

unofficial mirror of help-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-user/0 guix-user/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-user guix-user/ https://yhetil.org/guix-user \
		help-guix@gnu.org
	public-inbox-index guix-user

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.user
	nntp://news.gmane.io/gmane.comp.gnu.guix.user


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git