How to add a copy of the source code in a latex pdf document

88 views
Skip to first unread message

Hoaphumanoid

unread,
Feb 22, 2019, 6:06:10 PM2/22/19
to sphinx-users
I'm using sphinx.ext.viewcode to link the source code when I generate the html. However, when generating the latex, I can't add the source code in the pdf. How can this be achieved?

Komiya Takeshi

unread,
Feb 24, 2019, 2:03:03 AM2/24/19
to sphinx...@googlegroups.com
Hi,

Unfortunately, viewcode extension does not support PDF output. If
you'd like to use it, please file a proposal to our issues list.

Thanks,
Takeshi KOMIYA

2019年2月23日(土) 8:06 Hoaphumanoid <miguel...@gmail.com>:
>
> I'm using sphinx.ext.viewcode to link the source code when I generate the html. However, when generating the latex, I can't add the source code in the pdf. How can this be achieved?
>
> --
> 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 sphinx-users...@googlegroups.com.
> To post to this group, send email to sphinx...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sphinx-users.
> For more options, visit https://groups.google.com/d/optout.

Komiya Takeshi

unread,
Feb 24, 2019, 2:04:52 AM2/24/19
to sphinx...@googlegroups.com
Oh, sorry.
The proposal has been already posted:
https://github.com/sphinx-doc/sphinx/issues/6094

Thanks,

2019年2月24日(日) 16:02 Komiya Takeshi <i.tk...@gmail.com>:
Message has been deleted
Message has been deleted

ashish kumar pathak

unread,
Feb 26, 2019, 12:06:03 AM2/26/19
to sphinx...@googlegroups.com
Dear All,

Unable to generate latex pdf via sphinx.

Tried Rhino and rst2pdf. Attached is my conf.py file, can anyone guide me on how to generate a basic pdf. Also Tried making argument changes and still not able to get desired results.
Please advise!!!

nOTE: mAKE. bat file IN THE PATH : Query\latex IS NOW MAKE.TXT FOR SENDING REASONS
Thanks and regards, 
Ashish

On Tue, 26 Feb 2019 at 08:10, joao jose <joaona...@gmail.com> wrote:
Está bem  

Livre de vírus. www.avast.com.

Em seg, 25 de fev de 2019 às 16:41, Aleš Kočevar <alesko....@gmail.com> escreveu:
nice to have such a good network.


V V ned., 24. feb. 2019 ob 08:04 je oseba Komiya Takeshi <i.tk...@gmail.com> napisala:


--
Thanks and regards,
Ashish Kumar Pathak

CONTACT NO.+919701160335.

Query.7z
Reply all
Reply to author
Forward
Message has been deleted
0 new messages