Hi,

Sphinx assigns footnote numbers for latex_show_urls on generating LaTeX source.
So I suppose this is an issue of Sphinx, not LaTeX.

For example, the following example is converted to next one.

```
footnote example
================

`Sphinx <http://www.sphinx-doc.org/>`_ [1]_ [2]_ [#]_

.. [1] footnote
.. [2] footnote
.. [#] footnote
```

```
\sphinxhref{http://www.sphinx-doc.org/}{Sphinx}%
\begin{footnote}[3]\sphinxAtStartFootnote
\sphinxnolinkurl{http://www.sphinx-doc.org/}
%
\end{footnote} %
\begin{footnote}[1]\sphinxAtStartFootnote
footnote
%
\end{footnote} %
\begin{footnote}[2]\sphinxAtStartFootnote
footnote
%
\end{footnote} %
\begin{footnote}[4]\sphinxAtStartFootnote
footnote
%
\end{footnote}
```

2018-03-08 1:34 GMT+09:00 'Erin Kelly' via sphinx-users
<[email protected]>:
> Thanks.
>
> I did not use any other footnotes, but maybe LaTeX is using a footnote
> counter for something else during the build. (The numbers sometimes vary
> slightly from build to build.)
>
> I will look at the log and see if I can tell what's incrementing the count.
>
> On Friday, March 2, 2018 at 11:07:12 AM UTC-5, Komiya Takeshi wrote:
>>
>> Hi,
>>
>> At present, latex_show_urls creates auto-numbered footnotes (ex.
>> [#]_). So their number starts after explicitly numbered footnotes (ex.
>> [1]_).
>> I guess your document already has 42 explicitly numbered footnotes.
>>
>> Agreed. I also feel this is ugly. Please file a proposal.
>>
>> Thanks,
>> Takeshi KOMIYA
>>
>> 2018-03-01 2:33 GMT+09:00 'Erin Kelly' via sphinx-users
>> <[email protected]>:
>> > I have a document with intersphinx cross-references. I just switched
>> > from
>> > inline URL references to footnote URL references for PDF. Everything
>> > works
>> > fine, but for some reason the first footnote is number 43!
>> >
>> > The numbering increases from there, so my document contains footnotes
>> > numbered 43 through 118.
>> >
>> > I would prefer to start at 1!
>> >
>> > Is there some way to change that? What could be causing it? I didn't
>> > find
>> > anything online about this problem.
>> >
>> > I'm running Sphinx 1.6.6 and using make latexpdf to build.
>> >
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "sphinx-users" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> > an
>> > email to [email protected].
>> > To post to this group, send email to [email protected].
>> > Visit this group at https://groups.google.com/group/sphinx-users.
>> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/sphinx-users.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to