Re: [sphinx-users] make latexpdf

2020-09-12 Thread Komiya Takeshi
Hi, You need to run pdflatex command multiple times to build complete PDF file. For more detail, please read the following article. https://www.systutorials.com/why-do-i-need-to-run-latex-bibtex-three-times-to-make-everything-look-good/ Instead of pdflatex command, you can use `make` command unde

[sphinx-users] Re: get list of C functions/structs/etc...

2020-09-12 Thread Matias v01d
Thank you for your reply! I tried the code and I get output like this: ('pthread_attr_init', 'pthread_attr_init', 'function', 'reference/user/08_pthread', 'c.pthread_attr_init', 1) I'm interested in obtaining the full declaration for this function passed in the rst, so I can compare the functio

[sphinx-users] make latexpdf

2020-09-12 Thread bradley...@gmail.com
I am trying to figure out how to reproduce make latexpdf with separate calls to first build the latex and then run pdflatex. I want to do this so I can directly modify the latex between the sphinx-build and pdflatex (to accomplish things that are not supported by sphinx). I am using s

Re: [sphinx-users] get list of C functions/structs/etc...

2020-09-12 Thread Komiya Takeshi
Hi, There is no such feature. You need to write a code to extract data from Sphinx. This is an example code to get the list of C objects. Please append this into your conf.py. ``` def on_env_check_consistency(app, env): domain = env.get_domain('c') for c_object in domain.get_objects():

Re: [sphinx-users] Sphinx not highlighting code it should

2020-09-12 Thread Komiya Takeshi
Hi, I think your code block contains a syntax error. Could you check the text is valid using `pygmentize -l powershell -F raiseonerror` command? If it contains syntax error, you need to pass `:force:` option to the code-block directive. Thanks, Takeshi KOMIYA 2020年9月12日(土) 7:31 Joshua J. Kugler

Re: [sphinx-users] Trying to exclude files not working

2020-09-12 Thread Komiya Takeshi
Now the patterns are considered as relative paths from the current directory and converted to absolute paths before matching. 2020年9月12日(土) 7:17 Joshua J. Kugler : > > I could try that, but the directory isn't at ../test_files. sphinx uses > fnmatch, so should match *any*path that matches that pat

Re: [sphinx-users] Trying to exclude files not working

2020-09-12 Thread Matt from Documatt
I think we can safely consider it a bug. Thank you for filing an issue, Joshua. Matt https://techwriter.documatt.com On Sat, Sep 12, 2020 at 12:17 AM Joshua J. Kugler wrote: > I could try that, but the directory isn't at ../test_files. sphinx uses > fnmatch, so should match *any*path that match