Re: [sage-devel] building pdf docs fails

2017-04-29 Thread Volker Braun
In fact I do have iftex.sty installed, my locatedb wasn't updated...


On Saturday, April 29, 2017 at 5:33:20 PM UTC+2, John H Palmieri wrote:
>
> 'iftex' is required directly because of line 311 in src/doc/common/conf.py:
>
> \usepackage{iftex}
>
> This was added in https://trac.sagemath.org/ticket/22252, to compensate 
> for the fact that Sphinx no longer included it by default. The 'iftex' 
> package is part of TeXLive; I don't know about other TeX distributions.
>
>   John
>
>
> On Saturday, April 29, 2017 at 3:52:49 AM UTC-7, Volker Braun wrote:
>>
>> I don't have iftex.sty installed (Fedora 25), so its not required 
>> directly. Your tex installation might (erroneously) have it as a transitive 
>> dependency, though. I'd try with a clean build first. Otherwise install the 
>> iftex package:
>>
>>
>> $ tlmgr search --file iftex.sty
>> iftex:
>> texmf-dist/tex/generic/iftex/iftex.sty
>>
>>
>>
>>
>> On Saturday, April 29, 2017 at 11:30:36 AM UTC+2, Daniel Krenn wrote:
>>>
>>> On 2017-04-29 11:27, Daniel Krenn wrote: 
>>> > Building the pdf version of the documentation e.g. for 
>>> > reference/asymptotic fails in the current beta (8.0.beta4). It also 
>>> > fails in 8.0.beta2, but works in 7.6. 
>>> > 
>>> > What can cause this? 
>>>
>>> FYI, from the log: 
>>>
>>> ! LaTeX Error: File `iftex.sty' not found. 
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] building pdf docs fails

2017-04-29 Thread Daniel Krenn
On 2017-04-29 17:33, John H Palmieri wrote:
> 'iftex' is required directly because of line 311 in src/doc/common/conf.py:
> 
> \usepackage{iftex}
> 
> This was added in https://trac.sagemath.org/ticket/22252, to compensate
> for the fact that Sphinx no longer included it by default. The 'iftex'
> package is part of TeXLive; I don't know about other TeX distributions.

FYI, on Debian/Ubuntu/Mint you need to install the package
texlive-generic-extra

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] building pdf docs fails

2017-04-29 Thread John H Palmieri


On Saturday, April 29, 2017 at 8:34:50 AM UTC-7, John H Palmieri wrote:
>
>
>
> On Saturday, April 29, 2017 at 8:33:20 AM UTC-7, John H Palmieri wrote:
>>
>> 'iftex' is required directly because of line 311 in 
>> src/doc/common/conf.py:
>>
>> \usepackage{iftex}
>>
>> This was added in https://trac.sagemath.org/ticket/22252, to compensate 
>> for the fact that Sphinx no longer included it by default. The 'iftex' 
>> package is part of TeXLive; I don't know about other TeX distributions.
>>
>
> By "Sphinx no longer included it" I really mean "Sphinx no longer added 
> \usepackage{iftex} by default". Sphinx never included the actual package.
>

By "Sphinx never included the actual package" I really mean "Sphinx 
actually included the actual package for a few releases".

  John

 

>
>   John
>
>  
>
>>
>>   John
>>
>>
>> On Saturday, April 29, 2017 at 3:52:49 AM UTC-7, Volker Braun wrote:
>>>
>>> I don't have iftex.sty installed (Fedora 25), so its not required 
>>> directly. Your tex installation might (erroneously) have it as a transitive 
>>> dependency, though. I'd try with a clean build first. Otherwise install the 
>>> iftex package:
>>>
>>>
>>> $ tlmgr search --file iftex.sty
>>> iftex:
>>> texmf-dist/tex/generic/iftex/iftex.sty
>>>
>>>
>>>
>>>
>>> On Saturday, April 29, 2017 at 11:30:36 AM UTC+2, Daniel Krenn wrote:

 On 2017-04-29 11:27, Daniel Krenn wrote: 
 > Building the pdf version of the documentation e.g. for 
 > reference/asymptotic fails in the current beta (8.0.beta4). It also 
 > fails in 8.0.beta2, but works in 7.6. 
 > 
 > What can cause this? 

 FYI, from the log: 

 ! LaTeX Error: File `iftex.sty' not found. 



-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] building pdf docs fails

2017-04-29 Thread John H Palmieri


On Saturday, April 29, 2017 at 8:33:20 AM UTC-7, John H Palmieri wrote:
>
> 'iftex' is required directly because of line 311 in src/doc/common/conf.py:
>
> \usepackage{iftex}
>
> This was added in https://trac.sagemath.org/ticket/22252, to compensate 
> for the fact that Sphinx no longer included it by default. The 'iftex' 
> package is part of TeXLive; I don't know about other TeX distributions.
>

By "Sphinx no longer included it" I really mean "Sphinx no longer added 
\usepackage{iftex} by default". Sphinx never included the actual package.

  John

 

>
>   John
>
>
> On Saturday, April 29, 2017 at 3:52:49 AM UTC-7, Volker Braun wrote:
>>
>> I don't have iftex.sty installed (Fedora 25), so its not required 
>> directly. Your tex installation might (erroneously) have it as a transitive 
>> dependency, though. I'd try with a clean build first. Otherwise install the 
>> iftex package:
>>
>>
>> $ tlmgr search --file iftex.sty
>> iftex:
>> texmf-dist/tex/generic/iftex/iftex.sty
>>
>>
>>
>>
>> On Saturday, April 29, 2017 at 11:30:36 AM UTC+2, Daniel Krenn wrote:
>>>
>>> On 2017-04-29 11:27, Daniel Krenn wrote: 
>>> > Building the pdf version of the documentation e.g. for 
>>> > reference/asymptotic fails in the current beta (8.0.beta4). It also 
>>> > fails in 8.0.beta2, but works in 7.6. 
>>> > 
>>> > What can cause this? 
>>>
>>> FYI, from the log: 
>>>
>>> ! LaTeX Error: File `iftex.sty' not found. 
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] building pdf docs fails

2017-04-29 Thread John H Palmieri
'iftex' is required directly because of line 311 in src/doc/common/conf.py:

\usepackage{iftex}

This was added in https://trac.sagemath.org/ticket/22252, to compensate for 
the fact that Sphinx no longer included it by default. The 'iftex' package 
is part of TeXLive; I don't know about other TeX distributions.

  John


On Saturday, April 29, 2017 at 3:52:49 AM UTC-7, Volker Braun wrote:
>
> I don't have iftex.sty installed (Fedora 25), so its not required 
> directly. Your tex installation might (erroneously) have it as a transitive 
> dependency, though. I'd try with a clean build first. Otherwise install the 
> iftex package:
>
>
> $ tlmgr search --file iftex.sty
> iftex:
> texmf-dist/tex/generic/iftex/iftex.sty
>
>
>
>
> On Saturday, April 29, 2017 at 11:30:36 AM UTC+2, Daniel Krenn wrote:
>>
>> On 2017-04-29 11:27, Daniel Krenn wrote: 
>> > Building the pdf version of the documentation e.g. for 
>> > reference/asymptotic fails in the current beta (8.0.beta4). It also 
>> > fails in 8.0.beta2, but works in 7.6. 
>> > 
>> > What can cause this? 
>>
>> FYI, from the log: 
>>
>> ! LaTeX Error: File `iftex.sty' not found. 
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] building pdf docs fails

2017-04-29 Thread Daniel Krenn
On 2017-04-29 12:52, Volker Braun wrote:
> I don't have iftex.sty installed (Fedora 25), so its not required
> directly. Your tex installation might (erroneously) have it as a
> transitive dependency, though. I'd try with a clean build first.

A clean build of SageMath...tried this, no change.

> Otherwise install the iftex package:

Yes, installing the package solved this problem. (So apperently it is
needed..)

Thanks everyone,

Daniel

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] building pdf docs fails

2017-04-29 Thread Volker Braun
I don't have iftex.sty installed (Fedora 25), so its not required directly. 
Your tex installation might (erroneously) have it as a transitive 
dependency, though. I'd try with a clean build first. Otherwise install the 
iftex package:


$ tlmgr search --file iftex.sty
iftex:
texmf-dist/tex/generic/iftex/iftex.sty




On Saturday, April 29, 2017 at 11:30:36 AM UTC+2, Daniel Krenn wrote:
>
> On 2017-04-29 11:27, Daniel Krenn wrote: 
> > Building the pdf version of the documentation e.g. for 
> > reference/asymptotic fails in the current beta (8.0.beta4). It also 
> > fails in 8.0.beta2, but works in 7.6. 
> > 
> > What can cause this? 
>
> FYI, from the log: 
>
> ! LaTeX Error: File `iftex.sty' not found. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] building pdf docs fails

2017-04-29 Thread Francois Bissey

> On 29/04/2017, at 22:14, Francois Bissey  
> wrote:
> 
> We could check whether its use has been re-introduced somewhere else after 
> that

A scan on a sphinx 1.5.3 install says that iftex is not used by sphinx.
I’d say you are somehow still on sphinx 1.4.4 or something stranger.

François

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] building pdf docs fails

2017-04-29 Thread Francois Bissey
Well it looks like in 1.4.4 they shipped iftex but then in 
https://github.com/sphinx-doc/sphinx/commit/ead753eaad7e0f73f106c4bda918f916b6d3638c
they removed it again. Because they stopped using it.
We could check whether its use has been re-introduced somewhere else after 
that, I guess.

François

> On 29/04/2017, at 22:07, Dima Pasechnik  wrote:
> 
> sphinx 1.4.3 had this problem as an issue, see 
> https://github.com/sphinx-doc/sphinx/issues/2639
> 
> closed as "fixed" by 1.4.4. Not sure what happened then.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] building pdf docs fails

2017-04-29 Thread Dima Pasechnik
sphinx 1.4.3 had this problem as an issue, see 
https://github.com/sphinx-doc/sphinx/issues/2639

closed as "fixed" by 1.4.4. Not sure what happened then.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] building pdf docs fails

2017-04-29 Thread Francois Bissey

> On 29/04/2017, at 21:30, Daniel Krenn  wrote:
> 
> On 2017-04-29 11:27, Daniel Krenn wrote:
>> Building the pdf version of the documentation e.g. for
>> reference/asymptotic fails in the current beta (8.0.beta4). It also
>> fails in 8.0.beta2, but works in 7.6.
>> 
>> What can cause this?
> 
> FYI, from the log:
> 
> ! LaTeX Error: File `iftex.sty' not found.
> 

We moved to sphinx from 1.4.4 to 1.5.3 but I must say I don’t think anything
fails here. I have used sphinx 1.5.3 to build pdf documentation for sage 7.6
in sage-on-gentoo, so there may be something more to it. May be you are missing
a texlive package?

François

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] building pdf docs fails

2017-04-29 Thread Daniel Krenn
On 2017-04-29 11:27, Daniel Krenn wrote:
> Building the pdf version of the documentation e.g. for
> reference/asymptotic fails in the current beta (8.0.beta4). It also
> fails in 8.0.beta2, but works in 7.6.
> 
> What can cause this?

FYI, from the log:

! LaTeX Error: File `iftex.sty' not found.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.