Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scott Snyder
coding-rules
Commits
7287a102
Commit
7287a102
authored
Aug 23, 2017
by
scott snyder
Browse files
Fixes to work with org-mode 8.2.10
parent
8557301f
Changes
1
Hide whitespace changes
Inline
Side-by-side
rules.org
View file @
7287a102
#+
MACRO
:
version
0.2
#+
TITLE
:
ATLAS
C
++
coding
guidelines
,
version
0.2
#+
AUTHOR
:
Shaun
Roe
,
Scott
Snyder
,
and
the
former
ATLAS
Quality
Control
group
#+
LaTeX_HEADER
:
\
def
\
rulesversion
{
0.2
}
#+
TITLE
:
ATLAS
C
++
coding
guidelines
,
version
{{{
version
}}}
#+
AUTHOR
:
Shaun
Roe
(
CERN
),
Scott
Snyder
(
BNL
),
and
the
former
ATLAS
Quality
Control
group
#+
EMAIL
:
Correspondence
to
snyder
@
bnl
.
gov
.
#
Checked
with
org
-
mode
8.2.10
(
as
bundled
with
emacs
25.2.1
)
#
Along
with
the
addition
to
org
-
export
-
language
-
setup
below
,
this
changes
#
Along
with
the
change
to
org
-
export
-
dictionary
below
,
this
changes
#
the
`
Footnotes
' section in HTML to `References'
#+
LANGUAGE
:
en
-
references
...
...
@@ -28,7 +31,9 @@
#+LaTeX_HEADER: \usepackage{fancyhdr}
#+LaTeX_HEADER: \pagestyle{fancy}
#+LaTeX_HEADER: \rfoot{Version {{{version}}}}
#+LaTeX_HEADER: \rfoot{Version \rulesversion}
#+LaTeX_HEADER: \def\mylabel#1{\label{#1}#1}
* Introduction
...
...
@@ -2627,7 +2632,12 @@ Doxygen also knows about //!< , I think?
# Local Variables:
# eval: (setq org-export-html-footnote-format "[%s]")
# eval: (setq org-entities-user (cons '
(
"nacute"
"
\\
'{n}"
nil
"ń"
"n"
"n"
"ń"
)
org
-
entities
-
user
))
#
eval
:
(
setq
org
-
export
-
language
-
setup
(
cons
'("en-references" "Author" "Date" "Table of Contents" "References") org-export-language-setup))
#
eval
:
(
require
'ox)
# eval: (nconc (assoc "Footnotes" org-export-dictionary) '
((
"en-references"
:
default
"References"
)))
#
eval
:
(
defun
my
-
target
-
filter
(
text
backend
info
)
(
when
(
org
-
export
-
derived
-
backend
-
p
backend
'latex) (replace-regexp-in-string "\\label" "\mylabel" text t t)))
# eval: (add-to-list '
org
-
export
-
filter
-
target
-
functions
'my-target-filter)
# eval: (defun org-html-target (target contents info) (let ((id (org-export-solidify-link-text (org-element-property :value target)))) (org-html--anchor id id)))
# eval: (setq org-export-with-email t)
# End:
# LocalWords: endnote makeenmark theenmark notesname enoteformat
# LocalWords: enoteformatsave makeatletter thefnmark makeatother
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment