Skip to content

Commit

Permalink
book structure
Browse files Browse the repository at this point in the history
  • Loading branch information
jciturras committed Jun 29, 2021
1 parent 1ab0b7d commit a5f23d8
Show file tree
Hide file tree
Showing 89 changed files with 7,149 additions and 0 deletions.
6 changes: 6 additions & 0 deletions 01-intro.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Introducción


Este trabajo se trata de...


5 changes: 5 additions & 0 deletions 02-datosabiertos.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Datos abiertos

## Problema

## Solución
12 changes: 12 additions & 0 deletions 03-transparencia.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Transparencia

## Problema

## Solución


# Reproducibilidad

## Problema

## Solución
5 changes: 5 additions & 0 deletions 04-publibres.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Publicaciones libres

## Problema

## Solución
4 changes: 4 additions & 0 deletions 05-conclusiones.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Conclusiones


Palabras finales...
3 changes: 3 additions & 0 deletions 99-referencias.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
`r if (knitr::is_html_output()) '
# Referencias {-}
'`
22 changes: 22 additions & 0 deletions _bookdown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
book_filename: "lisa-book"
delete_merged_file: true
new_session: yes
language:
label:
fig: 'Figura '
tab: 'Tabla '
eq: 'Ecuación '
thm: 'Teorema '
lem: 'Lema '
cor: 'Corolario '
prp: 'Proposición '
cnj: 'Conjectura '
def: 'Definición '
exm: 'Ejemplo '
exr: 'Ejercicio '
solution: 'Solución. '
ui:
edit: Edit
chapter_name: 'Capítulo '
appendix_name: 'Apéndice '
output_dir: "docs"
28 changes: 28 additions & 0 deletions _output.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
bookdown::gitbook:
highlight: tango
css: assets/lisa.css
pandoc_args: [
"-M", "lang:es"]
includes:
before_body: assets/big-image.html
after_body: assets/footer.html
config:
toc:
collapse: section
before: |
<li class="toc-logo"><a href="./"><img src="images/favicon.jpg"></a></li>
after: |
<li><a href="https://github.com/lisa-coes" target="blank">LISA-COES <i class="fa fa-github"></i></a></li>
download: ["pdf", "epub"]
sharing:
github: yes
facebook: no
twitter: yes
all: no
bookdown::pdf_book:
includes:
in_header: preamble.tex
latex_engine: xelatex
citation_package: natbib
keep_tex: yes
bookdown::epub_book: default
11 changes: 11 additions & 0 deletions assets/big-image-cookbook.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<head>
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=10.0,initial-scale=1.0">
</head>

<link href="lisa.css" rel="stylesheet">

<script src="hideOutput.js"></script>

<div class="hero-image-container">
<img class= "hero-image" src="images/lisa-complete.png">
</div>
12 changes: 12 additions & 0 deletions assets/big-image.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<head>
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=10.0,initial-scale=1.0">
<!--script src="https://kit.fontawesome.com/6a26f47516.js"></script-->
<script src="assets/hideOutput.js"></script>
<link href="assets/lisa.css" rel="stylesheet">
</head>



<div class="hero-image-container">
<img class= "hero-image" src="images/lisa-complete.png">
</div>
9 changes: 9 additions & 0 deletions assets/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<hr>
<center>
<div class="footer">
Laboratorio de Ciencia Social Abierta <a href="https://lisa-coes.netlify.app/"> (LISA) </a> del Centro de Estudios de Conflicto y Cohesión Social (COES) <a href="https://coes.cl/"></a>
<br>
Para más información puedes contactárnos <a href= "[email protected]"> en nuestro correo </a>
</div>
</center>

29 changes: 29 additions & 0 deletions assets/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!--
Header
- included at the top (head) of every page
- EDAV logo back to index.html
- smiles on hover :)
-->

<!-- Free Font Awesome Stylesheet -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css" integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt" crossorigin="anonymous">

<!-- JS -->
<script>
function hover(element) {
element.setAttribute('src', 'images/favicon.jpg');
}

function unhover(element) {
element.setAttribute('src', 'images/favicon.jpg');
}
</script>

<!-- Anchor point for scroll-top button -->
<a id="top"></a>

<!-- URL Logo -->
<center>
<br><br>
<a href="index.html"><img src="images/favicon.jpg" onmouseover="hover(this);" onmouseout="unhover(this);" /></a>
</center>
63 changes: 63 additions & 0 deletions assets/hideOutput.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
$(document).ready(function() {


// Copy Button
$chunks = $('pre.sourceCode > code.sourceCode');
$chunks.each(function(i, val) {
$(this).prepend("<button class=\"button copy\"><i class=\"fa fa-copy fa-2x\"></i></button>").click(function() {
var $temp = $("<textarea>");
$("body").append($temp);
var content = $(this).clone().children("button").remove().end().text();
$temp.val(content).select();
document.execCommand("copy");
$temp.remove();
});
});


// Section anchors
$('.section h1, .section h2, .section h3, .section h4, .section h5').each(function() {
anchor = '#' + $(this).parent().attr('id');
$(this).addClass("hasAnchor").prepend('<a href="' + anchor + '" class="anchor"></a>');
});
});



/* New Clipboard copy
function changeTooltipMessage(element, msg) {
var tooltipOriginalTitle=element.getAttribute('data-original-title');
element.setAttribute('data-original-title', msg);
$(element).tooltip('show');
element.setAttribute('data-original-title', tooltipOriginalTitle);
}
if(ClipboardJS.isSupported()) {
$(document).ready(function() {
var copyButton = "<button type='button' class='btn btn-primary btn-copy-ex' type = 'submit' title='Copy to clipboard' aria-label='Copy to clipboard' data-toggle='tooltip' data-placement='left auto' data-trigger='hover' data-clipboard-copy><i class='fa fa-copy'></i></button>";
$("div.sourceCode").addClass("hasCopyButton");
// Insert copy buttons:
$(copyButton).prependTo(".hasCopyButton");
// Initialize tooltips:
$('.btn-copy-ex').tooltip({container: 'body'});
// Initialize clipboard:
var clipboardBtnCopies = new ClipboardJS('[data-clipboard-copy]', {
text: function(trigger) {
return trigger.parentNode.textContent;
}
});
clipboardBtnCopies.on('success', function(e) {
changeTooltipMessage(e.trigger, 'Copied!');
e.clearSelection();
});
clipboardBtnCopies.on('error', function() {
changeTooltipMessage(e.trigger,'Press Ctrl+C or Command+C to copy');
});
});
}
*/
1 change: 1 addition & 0 deletions assets/lisa-complete.html

Large diffs are not rendered by default.

Loading

0 comments on commit a5f23d8

Please sign in to comment.