Commit 6d71da30 authored by PRUVOST Florent's avatar PRUVOST Florent

start an orgmode version of the texinfo users guide doc

parent e9dc21e8
......@@ -3,7 +3,7 @@
# @copyright (c) 2009-2014 The University of Tennessee and The University
# of Tennessee Research Foundation.
# All rights reserved.
# @copyright (c) 2012-2014 Inria. All rights reserved.
# @copyright (c) 2012-2017 Inria. All rights reserved.
# @copyright (c) 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
#
###
......@@ -22,6 +22,7 @@
# @author Cedric Castagnede
# @author Emmanuel Agullo
# @author Mathieu Faverge
# @author Florent Pruvost
# @date 13-07-2012
#
###
......@@ -34,8 +35,8 @@ cmake_minimum_required(VERSION 2.8)
# #
#############################################
add_subdirectory(doxygen)
add_subdirectory(texinfo)
add_subdirectory(orgmode)
#add_subdirectory(texinfo)
###
### END CMakeLists.txt
###
###
#
# @copyright (c) 2017 Inria. All rights reserved.
#
###
#
# @file CMakeLists.txt
#
# @project MORSE
# MORSE is a software package provided by:
# Inria Bordeaux - Sud-Ouest,
# Univ. of Tennessee,
# King Abdullah Univesity of Science and Technology
# Univ. of California Berkeley,
# Univ. of Colorado Denver.
#
# @version 1.0.0
# @author Florent Pruvost
# @date 25-08-2017
#
###
cmake_minimum_required(VERSION 2.8)
# Create file version.org
# -----------------------
configure_file("version.org.in"
"version.org"
@ONLY)
configure_file("users_guide.org.in"
"users_guide.org"
@ONLY)
set(FIGURES
tile_lu.pdf
tile_lu.jpg
tile_layout.pdf
tile_layout.jpg
trace_qr.pdf
trace_qr.jpg
potri_async.png
morse_header.png
)
set(FIGURES_HTML
tile_lu.jpg
tile_layout.jpg
trace_qr.jpg
potri_async.png
morse_header.png
)
foreach(_fig ${FIGURES})
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/figures/${_fig}
${CMAKE_CURRENT_BINARY_DIR}/${_fig}
COPYONLY)
endforeach()
# Looking for emacs
# -----------------
FIND_PROGRAM(EMACS_COMPILER emacs)
if(EMACS_COMPILER)
# Add target
# ----------
add_custom_command(OUTPUT users_guide.html
COMMAND ${EMACS_COMPILER}
ARGS ${CMAKE_CURRENT_BINARY_DIR}/users_guide.org
--batch
-f
org-html-export-to-html
--kill
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/users_guide.org
)
add_custom_command(OUTPUT users_guide.pdf
COMMAND ${EMACS_COMPILER}
ARGS ${CMAKE_CURRENT_BINARY_DIR}/users_guide.org
--batch
-f
org-latex-export-to-pdf
--kill
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/users_guide.org
)
add_custom_target(doc-html-users_guide ALL DEPENDS users_guide.html)
add_custom_target(doc-pdf-users_guide ALL DEPENDS users_guide.pdf)
# Installation
# ------------
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/users_guide.html
DESTINATION share/chameleon/html)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/users_guide.pdf
DESTINATION share/chameleon/pdf)
foreach(_fig ${FIGURES_HTML})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${_fig}
DESTINATION share/chameleon/html)
endforeach()
else(EMACS_COMPILER)
message(STATUS "Looking for emacs - not found")
endif(EMACS_COMPILER)
###
### END CMakeLists.txt
###
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
body {
padding: 2em 1em 2em 70px;
margin: 0;
font-family: sans-serif;
color: black;
background: white;
background-position: top left;
background-attachment: fixed;
background-repeat: no-repeat;
}
:link { color: #00C; background: transparent }
:visited { color: #609; background: transparent }
a:active { color: #C00; background: transparent }
a:link img, a:visited img { border-style: none }
a img { color: white; }
@media all {
a img { color: inherit; }
}
th, td {
font-family: sans-serif;
}
h1, h2, h3, h4, h5, h6 { text-align: left }
h1, h2, h3 { color: #005A9C; background: white }
h1 { font: 170% sans-serif }
h2 { font: 140% sans-serif }
h3 { font: 120% sans-serif }
h4 { font: bold 100% sans-serif }
h5 { font: italic 100% sans-serif }
h6 { font: small-caps 100% sans-serif }
.hide { display: none }
div.head { margin-bottom: 1em }
div.head h1 { margin-top: 2em; clear: both }
div.head table { margin-left: 2em; margin-top: 2em }
p.copyright { font-size: small }
p.copyright small { font-size: small }
@media screen {
a[href]:hover { background: #ffa }
}
pre { margin-left: 2em }
dt, dd { margin-top: 0; margin-bottom: 0 }
dt { font-weight: bold }
pre, code { font-family: monospace }
ul.toc, ol.toc {
list-style: disc;
list-style: none;
}
@media aural {
h1, h2, h3 { stress: 20; richness: 90 }
.hide { speak: none }
p.copyright { volume: x-soft; speech-rate: x-fast }
dt { pause-before: 20% }
pre { speak-punctuation: code }
}
/*
body {
background-image: url();
}
*/
#+TITLE: CHAMELEON User's Guide
#+SUBTITLE: A dense linear algebra software for heterogeneous architectures
#+LANGUAGE: en
#+OPTIONS: H:3 num:t \n:nil @:t ::t |:t _:nil ^:nil -:t f:t *:t <:t
#+OPTIONS: TeX:t LaTeX:t skip:nil d:nil pri:nil tags:not-in-toc html-style:nil
#+INCLUDE: "./version.org"
#+AUTHOR: version {{{VERSION}}}
* Version
This manual documents the usage of CHAMELEON *version {{{VERSION}}}*.
It was last updated on {{{UPDATED}}}.
* Authors
* Inria,
* University of Tennessee,
* University of Colorado Denver,
* King Abdullah University of Science and Technology
* Copying
Copyright \copy 2017 Inria
Copyright \copy 2014 The University of Tennessee
Copyright \copy 2014 King Abdullah University of Science and Technology
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer listed
in this license in the documentation and/or other materials provided
with the distribution.
- Neither the name of the copyright holders nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
This software is provided by the copyright holders and contributors
"as is" and any express or implied warranties, including, but not
limited to, the implied warranties of merchantability and fitness for
a particular purpose are disclaimed. In no event shall the copyright
owner or contributors be liable for any direct, indirect, incidental,
special, exemplary, or consequential damages (including, but not
limited to, procurement of substitute goods or services; loss of use,
data, or profits; or business interruption) however caused and on any
theory of liability, whether in contract, strict liability, or tort
(including negligence or otherwise) arising in any way out of the use
of this software, even if advised of the possibility of such damage.
* Introduction to Chameleon
#+INCLUDE: @CMAKE_CURRENT_SOURCE_DIR@/chapters/introduction.org
* Installing Chameleon
#+INCLUDE: @CMAKE_CURRENT_SOURCE_DIR@/chapters/installing.org
# #+INCLUDE: @CMAKE_CURRENT_SOURCE_DIR@/chapters/configuration.org
# #+INCLUDE: @CMAKE_CURRENT_SOURCE_DIR@/chapters/using.org
#+MACRO: UPDATED 25 August 2017
#+MACRO: UPDATED-MONTH August 2017
#+MACRO: EDITION @CHAMELEON_VERSION_MAJOR@.@CHAMELEON_VERSION_MINOR@.@CHAMELEON_VERSION_MICRO@
#+MACRO: VERSION @CHAMELEON_VERSION_MAJOR@.@CHAMELEON_VERSION_MINOR@.@CHAMELEON_VERSION_MICRO@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment