Add an example of link to figure

pull/11/head
Fabrice Niessen 2015-04-04 00:21:02 +02:00
parent fe641ca8c0
commit c2883d9a82
1 changed files with 21 additions and 5 deletions

View File

@ -9,12 +9,18 @@
#+HTML_LINK_HOME: http://www.google.com
#+HTML_LINK_UP: http://www.bing.com
# #+HTML_HEAD: <link rel="stylesheet" type="text/css" href="d:/Users/fni/src/org-html-themes/styles/readtheorg/rtd.css"/>
# #+HTML_HEAD: <script type="text/javascript" src="http://www.pirilampo.org/styles/bigblow/js/jquery-1.11.0.min.js"></script>
# #+HTML_HEAD: <script type="text/javascript" src="d:/Users/fni/src/org-html-themes/styles/readtheorg/rtd.js"></script>
# # #+HTML_HEAD: <link rel="stylesheet" type="text/css" href="http://www.pirilampo.org/styles/readtheorg/css/rtd.css"/>
# # #+HTML_HEAD: <script type="text/javascript" src="http://www.pirilampo.org/styles/readtheorg/js/rtd.js"></script>
# #+HTML_HEAD: <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
# #+HTML_HEAD: <script type="text/javascript">$( document ).ready(function() { $('body').scrollspy({target: '#text-table-of-contents'});});</script>
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="d:/Users/fni/src/org-html-themes/styles/readtheorg/rtd.css"/>
#+HTML_HEAD: <script type="text/javascript" src="http://www.pirilampo.org/styles/bigblow/js/jquery-1.11.0.min.js"></script>
#+HTML_HEAD: <script type="text/javascript" src="d:/Users/fni/src/org-html-themes/styles/readtheorg/rtd.js"></script>
# #+HTML_HEAD: <link rel="stylesheet" type="text/css" href="http://www.pirilampo.org/styles/readtheorg/css/rtd.css"/>
# #+HTML_HEAD: <script type="text/javascript" src="http://www.pirilampo.org/styles/readtheorg/js/rtd.js"></script>
#+HTML_HEAD: <script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-scrollspy.js"></script>
#+HTML_HEAD: <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
#+HTML_HEAD: <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
#+HTML_HEAD: <script type="text/javascript"> $(document).ready(function(){$('body').scrollspy({'target':'#text-table-of-contents'});}); </script>
#+PROPERTY: eval yes
#+PROPERTY: exports both
@ -500,6 +506,16 @@ Links generally point to an headline.
See chapter [[#links][Links]].
#+end_src
To add a link to a figure (e.g., "See Figure 1"), just do:
#+begin_src org
,#+name: fig
,#+caption: caption
[[file:fig.png]]
See figure [[fig]].
#+end_src
You can also create a hypertext link to a document anchor in the current
document /or in another document/.