Compare commits
No commits in common. "0b4930574b249176b4ec00e852fa5bea23de99e2" and "5f77b5c7555ec879b2deeaeedb8ca78591a25d5b" have entirely different histories.
0b4930574b
...
5f77b5c755
6 changed files with 24 additions and 70 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -318,9 +318,5 @@ TSWLatexianTemp*
|
||||||
# End of https://www.toptal.com/developers/gitignore/api/direnv,latex
|
# End of https://www.toptal.com/developers/gitignore/api/direnv,latex
|
||||||
|
|
||||||
|
|
||||||
### lualatex ###
|
# LuaTex
|
||||||
luatex.*/
|
luatex.*/
|
||||||
|
|
||||||
### Nix ###
|
|
||||||
result
|
|
||||||
result/
|
|
12
flake.lock
generated
12
flake.lock
generated
|
@ -20,16 +20,16 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1757020766,
|
"lastModified": 1757034884,
|
||||||
"narHash": "sha256-PLoSjHRa2bUbi1x9HoXgTx2AiuzNXs54c8omhadyvp0=",
|
"narHash": "sha256-PgLSZDBEWUHpfTRfFyklmiiLBE1i1aGCtz4eRA3POao=",
|
||||||
"owner": "NixOS",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "fe83bbdde2ccdc2cb9573aa846abe8363f79a97a",
|
"rev": "ca77296380960cd497a765102eeb1356eb80fed0",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "nixos",
|
||||||
"ref": "nixos-25.05",
|
"ref": "nixpkgs-unstable",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|
62
flake.nix
62
flake.nix
|
@ -1,60 +1,18 @@
|
||||||
{
|
{
|
||||||
description = "LaTeX Beamer Presentation for GPUL Schools: Software Libre";
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = github:NixOS/nixpkgs/nixos-25.05;
|
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||||
flake-utils.url = github:numtide/flake-utils;
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = { self, nixpkgs, flake-utils }:
|
||||||
self,
|
flake-utils.lib.eachDefaultSystem (system:
|
||||||
nixpkgs,
|
let pkgs = nixpkgs.legacyPackages.${system}; in
|
||||||
flake-utils,
|
{
|
||||||
}:
|
|
||||||
flake-utils.lib.eachDefaultSystem (
|
|
||||||
system: let
|
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
|
||||||
tex = pkgs.texlive.combine {
|
|
||||||
inherit
|
|
||||||
(pkgs.texlive)
|
|
||||||
scheme-basic
|
|
||||||
latex-bin
|
|
||||||
latexmk
|
|
||||||
collection-langspanish
|
|
||||||
beamer
|
|
||||||
biblatex
|
|
||||||
biber
|
|
||||||
csquotes
|
|
||||||
emoji
|
|
||||||
fontspec
|
|
||||||
noto-emoji
|
|
||||||
;
|
|
||||||
};
|
|
||||||
# tex = pkgs.texliveFull;
|
|
||||||
in rec {
|
|
||||||
packages = {
|
|
||||||
document = pkgs.stdenvNoCC.mkDerivation rec {
|
|
||||||
name = "latex-beamer-gpul-schools-software-libre";
|
|
||||||
src = self;
|
|
||||||
buildInputs = [pkgs.coreutils tex];
|
|
||||||
phases = ["unpackPhase" "buildPhase" "installPhase"];
|
|
||||||
buildPhase = ''
|
|
||||||
export PATH="${pkgs.lib.makeBinPath buildInputs}";
|
|
||||||
env TEXMFVAR=$(mktemp -d) \
|
|
||||||
SOURCE_DATE_EPOCH=${toString self.lastModified} \
|
|
||||||
latexmk -interaction=nonstopmode -pdf -lualatex \
|
|
||||||
-pretex="\pdfvariable suppressoptionalinfo 512\relax" \
|
|
||||||
-usepretex main.tex
|
|
||||||
'';
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out
|
|
||||||
cp main.pdf $out/
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
defaultPackage = packages.document;
|
|
||||||
|
|
||||||
devShells.default = pkgs.mkShell {
|
devShells.default = pkgs.mkShell {
|
||||||
buildInputs = packages.document.buildInputs;
|
buildInputs = with pkgs; [
|
||||||
|
texstudio
|
||||||
|
texlive.combined.scheme-full
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
BIN
main.pdf
Normal file
BIN
main.pdf
Normal file
Binary file not shown.
12
main.tex
12
main.tex
|
@ -2,7 +2,7 @@
|
||||||
\usepackage[spanish]{babel}
|
\usepackage[spanish]{babel}
|
||||||
\usetheme{Madrid}
|
\usetheme{Madrid}
|
||||||
|
|
||||||
\usepackage[backend=biber, language=auto]{biblatex}
|
\usepackage[backend=biber]{biblatex}
|
||||||
\usepackage{csquotes}
|
\usepackage{csquotes}
|
||||||
\addbibresource{references.bib}
|
\addbibresource{references.bib}
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
\institute[GPUL]{Grupo de Programadores e Usuarios de Linux}
|
\institute[GPUL]{Grupo de Programadores e Usuarios de Linux}
|
||||||
|
|
||||||
\date{\today}
|
\date{GPUL Schools 25/26}
|
||||||
|
|
||||||
\logo{\includegraphics[height=1cm]{logo-gpul.png}}
|
\logo{\includegraphics[height=1cm]{logo-gpul.png}}
|
||||||
|
|
||||||
|
@ -117,10 +117,10 @@
|
||||||
\begin{frame}
|
\begin{frame}
|
||||||
\frametitle{Que facer despois desta charla?}
|
\frametitle{Que facer despois desta charla?}
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item<1-> A
|
\item<1-> Comprar manzanas
|
||||||
\item<2-> B
|
\item<2-> Ver Telecinco
|
||||||
\item<3-> C
|
\item<3-> Por el culo te la hinco
|
||||||
\item<4-> D
|
\item<4-> Jeje
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@online{gnu_free_sw,
|
@@online{gnu_free_sw,
|
||||||
author = {GNU \& FSF},
|
author = {GNU \& FSF},
|
||||||
title = {The Free Software Definition},
|
title = {The Free Software Definition},
|
||||||
url = {https://www.gnu.org/philosophy/free-sw.en.html},
|
url = {https://www.gnu.org/philosophy/free-sw.en.html},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue