← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 3614: sphinx '..only::' directive removing some parts that break in latex

 

------------------------------------------------------------
revno: 3614
committer: Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx>
timestamp: Thu 2015-03-05 21:44:30 +0100
message:
  sphinx '..only::' directive removing some parts that break in latex
modified:
  doc/sphinx/publications.rst.in
  doc/sphinx/references.rst.in


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'doc/sphinx/publications.rst.in'
--- doc/sphinx/publications.rst.in	2015-02-10 08:47:44 +0000
+++ doc/sphinx/publications.rst.in	2015-03-05 20:44:30 +0000
@@ -1,27 +1,34 @@
-Publications on Yade
-=====================
-This page should be a relatively complete list of publications on Yade itself or done with Yade. If you publish something, do not hesitate to add it on the list. If you don't have direct access to the source code, please send the reference (as a bibtex item) to the `editorial board <mailto:yadedemboard@xxxxxxxxx>`_. If PDF is freely available, add url for direct fulltext downlad. If not, consider uploading fulltext in PDF, either to `Yade wiki <https://www.yade-dem.org/wiki/>`_ or to other website, if legally permitted.
-
-The first section gives the references that we kindly ask you to use for citing Yade in publications, as explained in the `"Acknowledging Yade" <citing.html>`_ section.
-
-.. note:: This file is generated from :ysrc:`doc/yade-articles.bib`, :ysrc:`doc/yade-conferences.bib`, :ysrc:`doc/yade-theses.bib` and :ysrc:`doc/yade-docref.bib`.
-
-Citing Yade
----------------------
-Corresponding bibtex entries `here <https://github.com/yade/trunk/blob/master/doc/citing_yade.bib>`_. Pdf versions are available for each of them. See also `"Acknowledging Yade" <citing.html>`_.
+.. only:: html and epub
+	Publications on Yade
+	=====================
+	This page should be a relatively complete list of publications on Yade itself or done with Yade. If you publish something, do not hesitate to add it on the list. If you don't have direct access to the source code, please send the reference (as a bibtex item) to the `editorial board <mailto:yadedemboard@xxxxxxxxx>`_. If PDF is freely available, add url for direct fulltext downlad. If not, consider uploading fulltext in PDF, either to `Yade wiki <https://www.yade-dem.org/wiki/>`_ or to other website, if legally permitted.
+
+.. only:: html and epub
+	The first section gives the references that we kindly ask you to use for citing Yade in publications, as explained in the `"Acknowledging Yade" <citing.html>`_ section.
+
+.. only:: html and epub
+	.. note:: This file is generated from :ysrc:`doc/yade-articles.bib`, :ysrc:`doc/yade-conferences.bib`, :ysrc:`doc/yade-theses.bib` and :ysrc:`doc/yade-docref.bib`.
+
+.. only:: html and epub
+	Citing Yade
+	---------------------
+	Corresponding bibtex entries `here <https://github.com/yade/trunk/blob/master/doc/citing_yade.bib>`_. Pdf versions are available for each of them. See also `"Acknowledging Yade" <citing.html>`_.
 
 @bib2rst.bib2rst('../yade-docref.bib')@
 
-Journal articles
------------------
+.. only:: html and epub
+	Journal articles
+	-----------------
 @bib2rst.bib2rst('../yade-articles.bib')@
 
-Conference materials and book chapters
----------------------
+.. only:: html and epub
+	Conference materials and book chapters
+	--------------------------------------
 @bib2rst.bib2rst('../yade-conferences.bib')@
 
-Master and PhD theses
------------------------
+.. only:: html and epub
+	Master and PhD theses
+	-----------------------
 @bib2rst.bib2rst('../yade-theses.bib')@
 
 

=== modified file 'doc/sphinx/references.rst.in'
--- doc/sphinx/references.rst.in	2010-07-05 08:16:58 +0000
+++ doc/sphinx/references.rst.in	2015-03-05 20:44:30 +0000
@@ -1,8 +1,9 @@
-References
-============
-
-All external articles referenced in Yade documentation.
-
-.. note:: This file is generated from :ysrc:`doc/references.bib`.
+.. only:: html and epub
+	References
+	============
+
+	All external articles referenced in Yade documentation.
+
+	.. note:: This file is generated from :ysrc:`doc/references.bib`.
 
 @bib2rst.bib2rst('../references.bib')@