From c02c5aaa4b4085797a76ba835ac0dac8ba6d9ddc Mon Sep 17 00:00:00 2001 From: "Dobbertin, Niclas" Date: Sun, 1 Dec 2024 16:07:33 +0100 Subject: add literate org --- docs/model.bbl | 367 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ docs/model.org | 31 +++++ docs/model.pdf | Bin 0 -> 141639 bytes docs/model.tex | 58 +++++++++ docs/model2.bbl | 20 +++ docs/model2.org | 34 ++++++ docs/model2.pdf | Bin 0 -> 102450 bytes docs/model2.tex | 55 +++++++++ 8 files changed, 565 insertions(+) create mode 100644 docs/model.bbl create mode 100644 docs/model.org create mode 100644 docs/model.pdf create mode 100644 docs/model.tex create mode 100644 docs/model2.bbl create mode 100644 docs/model2.org create mode 100644 docs/model2.pdf create mode 100644 docs/model2.tex diff --git a/docs/model.bbl b/docs/model.bbl new file mode 100644 index 0000000..b28d848 --- /dev/null +++ b/docs/model.bbl @@ -0,0 +1,367 @@ +% $ biblatex auxiliary file $ +% $ biblatex bbl format version 3.2 $ +% Do not modify the above lines! +% +% This is an auxiliary file used by the 'biblatex' package. +% This file may safely be deleted. It will be recreated by +% biber as required. +% +\begingroup +\makeatletter +\@ifundefined{ver@biblatex.sty} + {\@latex@error + {Missing 'biblatex' package} + {The bibliography requires the 'biblatex' package.} + \aftergroup\endinput} + {} +\endgroup + + +\refsection{0} + \datalist[entry]{nyt/apasortcite//global/global} + \entry{Elio1986}{article}{} + \name{author}{1}{}{% + {{un=0,uniquepart=base,hash=4d89f166dbc1199695e64990f08be06e}{% + family={Elio}, + familyi={E\bibinitperiod}, + given={Renée}, + giveni={R\bibinitperiod}, + givenun=0}}% + } + \list{publisher}{1}{% + {Wiley}% + } + \strng{namehash}{4d89f166dbc1199695e64990f08be06e} + \strng{fullhash}{4d89f166dbc1199695e64990f08be06e} + \strng{bibnamehash}{4d89f166dbc1199695e64990f08be06e} + \strng{authorbibnamehash}{4d89f166dbc1199695e64990f08be06e} + \strng{authornamehash}{4d89f166dbc1199695e64990f08be06e} + \strng{authorfullhash}{4d89f166dbc1199695e64990f08be06e} + \field{sortinit}{E} + \field{sortinithash}{8da8a182d344d5b9047633dfc0cc9131} + \field{extradatescope}{labelyear} + \field{labeldatesource}{} + \true{uniqueprimaryauthor} + \field{labelnamesource}{author} + \field{labeltitlesource}{title} + \field{journaltitle}{Cognitive Science} + \field{month}{1} + \field{number}{1} + \field{title}{Representation of Similar Well-Learned Cognitive Procedures} + \field{volume}{10} + \field{year}{1986} + \field{pages}{41\bibrangedash 73} + \range{pages}{33} + \verb{doi} + \verb 10.1207/s15516709cog1001_2 + \endverb + \verb{urlraw} + \verb https://doi.org/10.1207%2Fs15516709cog1001_2 + \endverb + \verb{url} + \verb https://doi.org/10.1207%2Fs15516709cog1001_2 + \endverb + \endentry + \entry{fleming2017}{article}{} + \name{author}{1}{}{% + {{un=0,uniquepart=base,hash=84b19b08bb5e99176a7ad21c5dcc8d76}{% + family={Fleming}, + familyi={F\bibinitperiod}, + given={Stephen\bibnamedelima M}, + giveni={S\bibinitperiod\bibinitdelim M\bibinitperiod}, + givenun=0}}% + } + \list{publisher}{1}{% + {Oxford University Press (OUP)}% + } + \strng{namehash}{84b19b08bb5e99176a7ad21c5dcc8d76} + \strng{fullhash}{84b19b08bb5e99176a7ad21c5dcc8d76} + \strng{bibnamehash}{84b19b08bb5e99176a7ad21c5dcc8d76} + \strng{authorbibnamehash}{84b19b08bb5e99176a7ad21c5dcc8d76} + \strng{authornamehash}{84b19b08bb5e99176a7ad21c5dcc8d76} + \strng{authorfullhash}{84b19b08bb5e99176a7ad21c5dcc8d76} + \field{sortinit}{F} + \field{sortinithash}{2638baaa20439f1b5a8f80c6c08a13b4} + \field{extradatescope}{labelyear} + \field{labeldatesource}{} + \true{uniqueprimaryauthor} + \field{labelnamesource}{author} + \field{labeltitlesource}{title} + \field{issn}{2057-2107} + \field{journaltitle}{Neuroscience of Consciousness} + \field{month}{1} + \field{number}{1} + \field{title}{HMeta-d: hierarchical Bayesian estimation of metacognitive efficiency from confidence ratings} + \field{volume}{2017} + \field{year}{2017} + \verb{doi} + \verb 10.1093/nc/nix007 + \endverb + \verb{urlraw} + \verb http://dx.doi.org/10.1093/nc/nix007 + \endverb + \verb{url} + \verb http://dx.doi.org/10.1093/nc/nix007 + \endverb + \endentry + \entry{Frensch1991}{article}{} + \name{author}{1}{}{% + {{un=0,uniquepart=base,hash=5a745c091e5059e58ef0ea156860b6a9}{% + family={Frensch}, + familyi={F\bibinitperiod}, + given={Peter\bibnamedelima A.}, + giveni={P\bibinitperiod\bibinitdelim A\bibinitperiod}, + givenun=0}}% + } + \list{publisher}{1}{% + {American Psychological Association ({APA})}% + } + \strng{namehash}{5a745c091e5059e58ef0ea156860b6a9} + \strng{fullhash}{5a745c091e5059e58ef0ea156860b6a9} + \strng{bibnamehash}{5a745c091e5059e58ef0ea156860b6a9} + \strng{authorbibnamehash}{5a745c091e5059e58ef0ea156860b6a9} + \strng{authornamehash}{5a745c091e5059e58ef0ea156860b6a9} + \strng{authorfullhash}{5a745c091e5059e58ef0ea156860b6a9} + \field{sortinit}{F} + \field{sortinithash}{2638baaa20439f1b5a8f80c6c08a13b4} + \field{extradatescope}{labelyear} + \field{labeldatesource}{} + \true{uniqueprimaryauthor} + \field{labelnamesource}{author} + \field{labeltitlesource}{title} + \field{journaltitle}{Journal of Experimental Psychology: Learning, Memory, and Cognition} + \field{number}{5} + \field{title}{Transfer of composed knowledge in a multistep serial task.} + \field{volume}{17} + \field{year}{1991} + \field{pages}{997\bibrangedash 1016} + \range{pages}{20} + \verb{doi} + \verb 10.1037/0278-7393.17.5.997 + \endverb + \verb{urlraw} + \verb https://doi.org/10.1037%2F0278-7393.17.5.997 + \endverb + \verb{url} + \verb https://doi.org/10.1037%2F0278-7393.17.5.997 + \endverb + \endentry + \entry{Taatgen2013}{article}{} + \name{author}{1}{}{% + {{un=0,uniquepart=base,hash=444eae1f48c3f1cb0bd6b612c0dc6f17}{% + family={Taatgen}, + familyi={T\bibinitperiod}, + given={Niels\bibnamedelima A.}, + giveni={N\bibinitperiod\bibinitdelim A\bibinitperiod}, + givenun=0}}% + } + \list{publisher}{1}{% + {American Psychological Association ({APA})}% + } + \strng{namehash}{444eae1f48c3f1cb0bd6b612c0dc6f17} + \strng{fullhash}{444eae1f48c3f1cb0bd6b612c0dc6f17} + \strng{bibnamehash}{444eae1f48c3f1cb0bd6b612c0dc6f17} + \strng{authorbibnamehash}{444eae1f48c3f1cb0bd6b612c0dc6f17} + \strng{authornamehash}{444eae1f48c3f1cb0bd6b612c0dc6f17} + \strng{authorfullhash}{444eae1f48c3f1cb0bd6b612c0dc6f17} + \field{sortinit}{T} + \field{sortinithash}{9af77f0292593c26bde9a56e688eaee9} + \field{extradatescope}{labelyear} + \field{labeldatesource}{} + \true{uniqueprimaryauthor} + \field{labelnamesource}{author} + \field{labeltitlesource}{title} + \field{journaltitle}{Psychological Review} + \field{month}{7} + \field{number}{3} + \field{title}{The nature and transfer of cognitive skills.} + \field{volume}{120} + \field{year}{2013} + \field{pages}{439\bibrangedash 471} + \range{pages}{33} + \verb{doi} + \verb 10.1037/a0033138 + \endverb + \verb{urlraw} + \verb https://doi.org/10.1037%2Fa0033138 + \endverb + \verb{url} + \verb https://doi.org/10.1037%2Fa0033138 + \endverb + \endentry + \enddatalist + \datalist[entry]{nyt/global//global/global} + \entry{Elio1986}{article}{} + \name{author}{1}{}{% + {{un=0,uniquepart=base,hash=4d89f166dbc1199695e64990f08be06e}{% + family={Elio}, + familyi={E\bibinitperiod}, + given={Renée}, + giveni={R\bibinitperiod}, + givenun=0}}% + } + \list{publisher}{1}{% + {Wiley}% + } + \strng{namehash}{4d89f166dbc1199695e64990f08be06e} + \strng{fullhash}{4d89f166dbc1199695e64990f08be06e} + \strng{bibnamehash}{4d89f166dbc1199695e64990f08be06e} + \strng{authorbibnamehash}{4d89f166dbc1199695e64990f08be06e} + \strng{authornamehash}{4d89f166dbc1199695e64990f08be06e} + \strng{authorfullhash}{4d89f166dbc1199695e64990f08be06e} + \field{sortinit}{E} + \field{sortinithash}{8da8a182d344d5b9047633dfc0cc9131} + \field{extradatescope}{labelyear} + \field{labeldatesource}{} + \true{uniqueprimaryauthor} + \field{labelnamesource}{author} + \field{labeltitlesource}{title} + \field{journaltitle}{Cognitive Science} + \field{month}{1} + \field{number}{1} + \field{title}{Representation of Similar Well-Learned Cognitive Procedures} + \field{volume}{10} + \field{year}{1986} + \field{pages}{41\bibrangedash 73} + \range{pages}{33} + \verb{doi} + \verb 10.1207/s15516709cog1001_2 + \endverb + \verb{urlraw} + \verb https://doi.org/10.1207%2Fs15516709cog1001_2 + \endverb + \verb{url} + \verb https://doi.org/10.1207%2Fs15516709cog1001_2 + \endverb + \endentry + \entry{fleming2017}{article}{} + \name{author}{1}{}{% + {{un=0,uniquepart=base,hash=84b19b08bb5e99176a7ad21c5dcc8d76}{% + family={Fleming}, + familyi={F\bibinitperiod}, + given={Stephen\bibnamedelima M}, + giveni={S\bibinitperiod\bibinitdelim M\bibinitperiod}, + givenun=0}}% + } + \list{publisher}{1}{% + {Oxford University Press (OUP)}% + } + \strng{namehash}{84b19b08bb5e99176a7ad21c5dcc8d76} + \strng{fullhash}{84b19b08bb5e99176a7ad21c5dcc8d76} + \strng{bibnamehash}{84b19b08bb5e99176a7ad21c5dcc8d76} + \strng{authorbibnamehash}{84b19b08bb5e99176a7ad21c5dcc8d76} + \strng{authornamehash}{84b19b08bb5e99176a7ad21c5dcc8d76} + \strng{authorfullhash}{84b19b08bb5e99176a7ad21c5dcc8d76} + \field{sortinit}{F} + \field{sortinithash}{2638baaa20439f1b5a8f80c6c08a13b4} + \field{extradatescope}{labelyear} + \field{labeldatesource}{} + \true{uniqueprimaryauthor} + \field{labelnamesource}{author} + \field{labeltitlesource}{title} + \field{issn}{2057-2107} + \field{journaltitle}{Neuroscience of Consciousness} + \field{month}{1} + \field{number}{1} + \field{title}{HMeta-d: hierarchical Bayesian estimation of metacognitive efficiency from confidence ratings} + \field{volume}{2017} + \field{year}{2017} + \verb{doi} + \verb 10.1093/nc/nix007 + \endverb + \verb{urlraw} + \verb http://dx.doi.org/10.1093/nc/nix007 + \endverb + \verb{url} + \verb http://dx.doi.org/10.1093/nc/nix007 + \endverb + \endentry + \entry{Frensch1991}{article}{} + \name{author}{1}{}{% + {{un=0,uniquepart=base,hash=5a745c091e5059e58ef0ea156860b6a9}{% + family={Frensch}, + familyi={F\bibinitperiod}, + given={Peter\bibnamedelima A.}, + giveni={P\bibinitperiod\bibinitdelim A\bibinitperiod}, + givenun=0}}% + } + \list{publisher}{1}{% + {American Psychological Association ({APA})}% + } + \strng{namehash}{5a745c091e5059e58ef0ea156860b6a9} + \strng{fullhash}{5a745c091e5059e58ef0ea156860b6a9} + \strng{bibnamehash}{5a745c091e5059e58ef0ea156860b6a9} + \strng{authorbibnamehash}{5a745c091e5059e58ef0ea156860b6a9} + \strng{authornamehash}{5a745c091e5059e58ef0ea156860b6a9} + \strng{authorfullhash}{5a745c091e5059e58ef0ea156860b6a9} + \field{sortinit}{F} + \field{sortinithash}{2638baaa20439f1b5a8f80c6c08a13b4} + \field{extradatescope}{labelyear} + \field{labeldatesource}{} + \true{uniqueprimaryauthor} + \field{labelnamesource}{author} + \field{labeltitlesource}{title} + \field{journaltitle}{Journal of Experimental Psychology: Learning, Memory, and Cognition} + \field{number}{5} + \field{title}{Transfer of composed knowledge in a multistep serial task.} + \field{volume}{17} + \field{year}{1991} + \field{pages}{997\bibrangedash 1016} + \range{pages}{20} + \verb{doi} + \verb 10.1037/0278-7393.17.5.997 + \endverb + \verb{urlraw} + \verb https://doi.org/10.1037%2F0278-7393.17.5.997 + \endverb + \verb{url} + \verb https://doi.org/10.1037%2F0278-7393.17.5.997 + \endverb + \endentry + \entry{Taatgen2013}{article}{} + \name{author}{1}{}{% + {{un=0,uniquepart=base,hash=444eae1f48c3f1cb0bd6b612c0dc6f17}{% + family={Taatgen}, + familyi={T\bibinitperiod}, + given={Niels\bibnamedelima A.}, + giveni={N\bibinitperiod\bibinitdelim A\bibinitperiod}, + givenun=0}}% + } + \list{publisher}{1}{% + {American Psychological Association ({APA})}% + } + \strng{namehash}{444eae1f48c3f1cb0bd6b612c0dc6f17} + \strng{fullhash}{444eae1f48c3f1cb0bd6b612c0dc6f17} + \strng{bibnamehash}{444eae1f48c3f1cb0bd6b612c0dc6f17} + \strng{authorbibnamehash}{444eae1f48c3f1cb0bd6b612c0dc6f17} + \strng{authornamehash}{444eae1f48c3f1cb0bd6b612c0dc6f17} + \strng{authorfullhash}{444eae1f48c3f1cb0bd6b612c0dc6f17} + \field{sortinit}{T} + \field{sortinithash}{9af77f0292593c26bde9a56e688eaee9} + \field{extradatescope}{labelyear} + \field{labeldatesource}{} + \true{uniqueprimaryauthor} + \field{labelnamesource}{author} + \field{labeltitlesource}{title} + \field{journaltitle}{Psychological Review} + \field{month}{7} + \field{number}{3} + \field{title}{The nature and transfer of cognitive skills.} + \field{volume}{120} + \field{year}{2013} + \field{pages}{439\bibrangedash 471} + \range{pages}{33} + \verb{doi} + \verb 10.1037/a0033138 + \endverb + \verb{urlraw} + \verb https://doi.org/10.1037%2Fa0033138 + \endverb + \verb{url} + \verb https://doi.org/10.1037%2Fa0033138 + \endverb + \endentry + \enddatalist +\endrefsection +\endinput + diff --git a/docs/model.org b/docs/model.org new file mode 100644 index 0000000..329e202 --- /dev/null +++ b/docs/model.org @@ -0,0 +1,31 @@ +#+title: Model +#+PROPERTY: header-args:python :session *pyactr-python* +#+cite_export: biblatex apa,backend=biber,sortcites=true,sorting=nyt + +* Model +** Environment +#+begin_src emacs-lisp :results none +(conda-env-activate "pyactr") +#+end_src + +** Imports +#+begin_src python +import pyactr as actr + +env = actr.Environment() +"test" +#+end_src + +#+RESULTS: +: + +[cite:@Taatgen2013] + + +[cite:@Frensch1991; @Elio1986; @fleming2017] + + + + + +#+print_bibliography: diff --git a/docs/model.pdf b/docs/model.pdf new file mode 100644 index 0000000..31fdc5e Binary files /dev/null and b/docs/model.pdf differ diff --git a/docs/model.tex b/docs/model.tex new file mode 100644 index 0000000..aa5ac5c --- /dev/null +++ b/docs/model.tex @@ -0,0 +1,58 @@ +% Created 2024-11-12 Tue 15:23 +% Intended LaTeX compiler: pdflatex +\documentclass[11pt]{article} +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{graphicx} +\usepackage{longtable} +\usepackage{wrapfig} +\usepackage{rotating} +\usepackage[normalem]{ulem} +\usepackage{amsmath} +\usepackage{amssymb} +\usepackage{capt-of} +\usepackage{hyperref} +\author{Niclas Dobbertin} +\date{\today} +\title{Model} +\hypersetup{ + pdfauthor={Niclas Dobbertin}, + pdftitle={Model}, + pdfkeywords={}, + pdfsubject={}, + pdfcreator={Emacs 29.4 (Org mode 9.7.11)}, + pdflang={English}} +\usepackage[style=apa,backend=biber,sortcites=true,sorting=nyt]{biblatex} +\addbibresource{/home/niclas/bib/references.bib} +\begin{document} + +\maketitle +\tableofcontents + +\section{Model} +\label{sec:org74e582b} +\subsection{Environment} +\label{sec:orgc424358} +\begin{verbatim} +(conda-env-activate "pyactr") +\end{verbatim} +\subsection{Imports} +\label{sec:org5aa4f49} +\begin{verbatim} +import pyactr as actr + +env = actr.Environment() +"test" +\end{verbatim} + +\autocite{Taatgen2013} + + +\autocites{Frensch1991}[][]{Elio1986}[][]{fleming2017} + + + + + +\printbibliography +\end{document} diff --git a/docs/model2.bbl b/docs/model2.bbl new file mode 100644 index 0000000..005f385 --- /dev/null +++ b/docs/model2.bbl @@ -0,0 +1,20 @@ +% $ biblatex auxiliary file $ +% $ biblatex bbl format version 3.2 $ +% Do not modify the above lines! +% +% This is an auxiliary file used by the 'biblatex' package. +% This file may safely be deleted. It will be recreated by +% biber as required. +% +\begingroup +\makeatletter +\@ifundefined{ver@biblatex.sty} + {\@latex@error + {Missing 'biblatex' package} + {The bibliography requires the 'biblatex' package.} + \aftergroup\endinput} + {} +\endgroup + +\endinput + diff --git a/docs/model2.org b/docs/model2.org new file mode 100644 index 0000000..291e335 --- /dev/null +++ b/docs/model2.org @@ -0,0 +1,34 @@ +#+TITLE: Your title goes here +#+OPTIONS: toc:nil author:nil +#+LaTeX_CLASS: apa7 +#+LaTeX_CLASS_OPTIONS: [man,a4paper,oneside,12pt,floatsintext] +#+LaTeX_HEADER: \author{Niclas Dobbertin} +#+LaTeX_HEADER: \affiliation{author affiliation} +#+LaTeX_HEADER: \leftheader{With the apa6 class, it is good idea to customize the left header here} +#+LaTeX_HEADER: \shorttitle{Your short title goes here} + +#+LaTeX_HEADER: \DeclareLanguageMapping{english}{english-apa} +#+LaTeX_HEADER: \usepackage[english]{babel} +#+LaTeX_HEADER: \usepackage{csquotes} +#+cite_export: biblatex apa,backend=biber,sortcites=true,sorting=nyt +# some stuff for further formatting beyond the apa7 package +#+LaTeX_HEADER: \usepackage{setspace} +#+LaTeX_HEADER: \renewcommand{\baselinestretch}{1.1} +#+LaTeX_HEADER: \usepackage{subcaption} + +#+LaTeX_HEADER: \abstract{Your abstract goes here} +#+LaTeX_HEADER: \keywords{Your keywords go here} + +#+PROPERTY: header-args:python :session *pyactr-python* + +* Introduction +And now just type away! +# Everything with a "# " (don't forget the space) before it is a comment and is ignored when exporting to pdf. + +** This is a sub-heading! +Remember our lists? +- Here is a list entry +- Here is another one + + +#+print_bibliography: diff --git a/docs/model2.pdf b/docs/model2.pdf new file mode 100644 index 0000000..83b840f Binary files /dev/null and b/docs/model2.pdf differ diff --git a/docs/model2.tex b/docs/model2.tex new file mode 100644 index 0000000..2dbbca6 --- /dev/null +++ b/docs/model2.tex @@ -0,0 +1,55 @@ +% Created 2024-11-12 Tue 15:58 +% Intended LaTeX compiler: pdflatex +\documentclass[11pt]{article} +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{graphicx} +\usepackage{longtable} +\usepackage{wrapfig} +\usepackage{rotating} +\usepackage[normalem]{ulem} +\usepackage{amsmath} +\usepackage{amssymb} +\usepackage{capt-of} +\usepackage{hyperref} +\documentclass[man,a4paper,oneside,12pt,floatsintext]{apa7} +\author{Niclas Dobbertin} +\affiliation{author affiliation} +\leftheader{left header} +\shorttitle{Your short title goes here} +\DeclareLanguageMapping{english}{english-apa} +\usepackage[english]{babel} +\usepackage{csquotes} +\usepackage{setspace} +\renewcommand{\baselinestretch}{1.1} +\usepackage{subcaption} +\abstract{Hello, this is my abstract} +\keywords{keyword1, keyword2, keyword3} +\date{\today} +\title{Your title goes here} +\hypersetup{ + pdfauthor={Niclas Dobbertin}, + pdftitle={Your title goes here}, + pdfkeywords={}, + pdfsubject={}, + pdfcreator={Emacs 29.4 (Org mode 9.7.11)}, + pdflang={English}} +\usepackage[style=apa,backend=biber,sortcites=true,sorting=nyt]{biblatex} +\addbibresource{/home/niclas/bib/references.bib} +\begin{document} + +\maketitle +\section{Introduction} +\label{sec:orgc117dd5} +And now just type away! +\subsection{This is a sub-heading!} +\label{sec:orge8de941} +Remember our lists? +\begin{itemize} +\item Here is a list entry +\item Here is another one +\end{itemize} + + +\printbibliography +\end{document} -- cgit v1.2.3