Skip to content

Commit e6b137b

Browse files
Merge pull request #14 from julianrendell/adding_bibtex
Adding bibtex
2 parents 3b41db3 + 4b84d1e commit e6b137b

File tree

13 files changed

+134
-52
lines changed

13 files changed

+134
-52
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ python:
66
- 3.5
77

88
install:
9-
- pip install sphinx sphinx_rtd_theme
9+
- pip install -r requirements.txt
1010
- source ./ci/texlive/texlive_install.sh
1111

1212
cache:

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,19 @@ We could use some help with:
2424
- checking grammar and spelling, fixing typos
2525
- anything listed here https://github.com/alicevision/meshroom-manual/projects
2626

27-
# How to build on windows
27+
# How to Build
2828

29+
- install Python 3
30+
- install a latex package
2931
- install pip and the rtd theme
3032
```bash
31-
pip install sphinx sphinx_rtd_theme
33+
pip install -r requirements.txt
3234
```
3335

34-
- in your cli, navigate to the `meshroom_doc directory`
36+
- in your cli, navigate to the `meshroom-manual` directory
3537
- type `make html` (this will re-/build the html doc)
3638

37-
For other build methods read the sphinx documentation
39+
For other build methods read the sphinx documentation.
3840

3941
# FAQ
4042

@@ -45,6 +47,8 @@ For other build methods read the sphinx documentation
4547
**How to edit and preview Restructured Text?**
4648

4749
- You can use [Atom](https://atom.io/) with the [RestructuredText Preview Pandoc](https://atom.io/packages/rst-preview-pandoc) Plugin
50+
- [Typora](https://www.typora.io) is a friendly editor
51+
- [Visual Studio Code](https://code.visualstudio.com) with the [reStructuredText](https://marketplace.visualstudio.com/items?itemName=lextudio.restructuredtext) extension
4852

4953
**Release versions**
5054

requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
sphinx>=1.9.0
2+
sphinx_rtd_theme
3+
sphinxcontrib-bibtex
4+

source/conf.py

Lines changed: 50 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
master_doc = 'index'
2727

2828
project = 'Meshroom'
29-
copyright = '2019, Meshroom Contributors'
29+
copyright = '2020. This work is licensed under a CC-BY-SA 4.0 International license.'
3030
author = 'Meshroom Contributors'
3131

3232
# The full version, including alpha/beta/rc tags
@@ -38,7 +38,7 @@
3838
# Add any Sphinx extension module names here, as strings. They can be
3939
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
4040
# ones.
41-
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.autosectionlabel', 'sphinx_rtd_theme']
41+
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.autosectionlabel', 'sphinx_rtd_theme', 'sphinxcontrib.bibtex']
4242
sphinxVersion = sphinx.version_info
4343
if(sphinxVersion[0] <= 1 and sphinxVersion[1] <= 8) :
4444
extensions.append('sphinx.ext.pngmath')
@@ -66,8 +66,55 @@
6666
# Add any paths that contain custom static files (such as style sheets) here,
6767
# relative to this directory. They are copied after the builtin static files,
6868
# so a file named "default.css" will overwrite the builtin "default.css".
69-
html_static_path = ['_static']
69+
#html_static_path = ['_static']
70+
html_static_path = []
7071

7172
# The name of an image file (relative to this directory) to place at the top
7273
# of the sidebar.
7374
# html_logo = "mr_logo.png"
75+
76+
# Latex/PDF generation Config
77+
# Based on hints from:
78+
# - https://stackoverflow.com/questions/54147210/how-to-add-copyright-notice-to-sphinx-generated-latex-documentation
79+
# - https://www.sphinx-doc.org/en/master/latex.html
80+
# - https://stackoverflow.com/questions/9745854/sphinx-pdf-themes
81+
# - https://digitalsuperpowers.com/blog/2019-02-16-publishing-ebook.html
82+
# - https://github.com/sphinx-doc/sphinx/pull/5850
83+
84+
latex_contents = r'''
85+
\setupHeadFootForFrontMatter
86+
\formattoc
87+
\maketitle
88+
\signaturepage
89+
\revisionhistory
90+
\tableofcontents
91+
\clearpage
92+
\listoffigures
93+
\clearpage
94+
\listoftables
95+
\clearpage
96+
\setupHeadFootForText
97+
\pagenumbering{arabic}
98+
\pagestyle{plain}
99+
'''
100+
101+
102+
latex_elements = {
103+
'fontpkg': r'''
104+
\usepackage{lmodern}
105+
''',
106+
'preamble': r'''
107+
\newcommand\sphinxbackoftitlepage{%
108+
\vspace*{\fill}
109+
\begin{center}
110+
''' + u"\u00A9 " + copyright + r''' \\
111+
Revision: ''' + release + r''' \\
112+
\url{https://alicevision.org}
113+
\end{center}
114+
\vspace*{\fill}
115+
}
116+
'''
117+
}
118+
119+
120+
latex_show_urls = 'footnote'

source/copyright.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Copyright
2+
=========
3+
4+
Copyright 2020 Meshroom Contributors.
5+
6+
Licensed under the Attribution-ShareAlike 4.0 International `CC BY-SA 4.0 <https://creativecommons.org/licenses/by-sa/4.0/>`_.

source/index.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ AliceVision is a Photogrammetric Computer Vision Framework which provides 3D Rec
5757
:hidden:
5858
:caption: References
5959

60-
references/references
60+
references/zreferences
6161

6262
glossary/glossary
6363

@@ -67,3 +67,5 @@ AliceVision is a Photogrammetric Computer Vision Framework which provides 3D Rec
6767
:caption: About
6868

6969
about/about
70+
copyright
71+
12 KB
Binary file not shown.

source/node-reference/nodes/CameraRigCalibration.rst

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ https://www.researchgate.net/publication/327513182\ *Camera*\ Rig\ *Extrinsic*\
3636

3737
https://alicevision.github.io/#photogrammetry/localization
3838

39-
[Kneip2011] A Novel Parametrization of the Perspective-Three-Point
40-
Problem for a Direct Computation of Absolute Camera Position and
41-
Orientation. L. Kneip, D. Scaramuzza, R. Siegwart. June 2011
39+
40+
**References**
41+
42+
:cite:`Kneip2011`
4243

4344
[Kneip2013] Using Multi-Camera Systems in Robotics: Efficient Solutions
4445
to the NPnP ProblemL. Kneip, P. Furgale, R. Siegwart. May 2013
@@ -49,7 +50,7 @@ calibrated geometric vision, L. Kneip, P. Furgale. May 2014.
4950
[Kneip2014] Efficient Computation of Relative Pose for Multi-Camera
5051
Systems. L. Kneip, H. Li. June 2014
5152

52-
settings
53+
**Settings**
5354

5455
===================== ======================================================================================================================================================================================
5556
Name Description
@@ -83,3 +84,5 @@ Output File The name of the file where to store the calibration data (
8384
matching performances. It can be downloaded here.
8485
https://github.com/fragofer/voctree You need to specify the path to
8586
vlfeat_K80L3.SIFT.tree in **Voctree**.
87+
88+

source/node-reference/nodes/FeatureExtraction.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ This step extracts features from the images, as well as descriptors for those fe
1010
======================== ===========================================================================================================================================================================
1111
Name Description
1212
======================== ===========================================================================================================================================================================
13-
Input SfMData file.
14-
Describer Types Describer types used to describe an image. **'sift'**, 'sift*float', 'sift*\ upright', 'akaze', 'akaze*liop', 'akaze*\ mldb', 'cctag3', 'cctag4', 'sift*ocv', 'akaze*\ ocv'
15-
Describer Preset Control the ImageDescriber configuration (low, medium, **normal**, high, ultra). Configuration "ultra" can take long time !
16-
Force CPU Extraction Use only CPU feature extraction.
17-
Max Nb Threads Specifies the maximum number of threads to run simultaneously (0 for automatic mode). (0-24) **0**
18-
Verbose Level verbosity level (fatal, error, warning, info, debug, trace).
19-
Output Folder Output path for the features and descriptors files (*.feat, \*.desc).
13+
Input SfMData file.
14+
Describer Types Describer types used to describe an image. **'sift'**, 'sift*float', 'sift*\ upright', 'akaze', 'akaze*liop', 'akaze*\ mldb', 'cctag3', 'cctag4', 'sift*ocv', 'akaze*\ ocv'
15+
Describer Preset Control the ImageDescriber configuration (low, medium, **normal**, high, ultra). Configuration "ultra" can take long time !
16+
Force CPU Extraction Use only CPU feature extraction.
17+
Max Nb Threads Specifies the maximum number of threads to run simultaneously (0 for automatic mode). (0-24) **0**
18+
Verbose Level verbosity level (fatal, error, warning, info, debug, trace).
19+
Output Folder Output path for the features and descriptors files (\*.feat, \*.desc).
2020
======================== ===========================================================================================================================================================================
2121

2222

source/node-reference/nodes/MeshDenoising.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ Wang et al.
3434
``https://dl.acm.org/citation.cfm?id=2818068``
3535

3636
.. |image0| image:: mesh-denoising.jpg
37-
:target: mesh-denoising.jpg
37+
:target: mesh-denoising.jpg
3838

39-
**Detailed Description**
39+
**Detailed Description**
4040

41-
A larger value of Lambda or Eta leads to a smoother filtering result.
41+
A larger value of Lambda or Eta leads to a smoother filtering result.
4242

43-
From: "Static/Dynamic Filtering for Mesh Geometry" by Zhang Et al. https://arxiv.org/pdf/1712.03574.pdf
43+
From: "Static/Dynamic Filtering for Mesh Geometry" by Zhang Et al. https://arxiv.org/pdf/1712.03574.pdf

0 commit comments

Comments
 (0)