Skip to content

Commit eaf6891

Browse files
committed
feat: modernización completa de la plantilla TFG/TFM v2.0.0
## Cambios principales ### Nueva arquitectura - Nueva clase eps-tfg.cls con configuración simplificada via \EPSsetup{} - Estilos modulares en sty/: eps-codigo.sty, eps-portadas.sty - Estructura de carpetas reorganizada: contenido/, recursos/, docs/ ### Documentación completa - 11 guías de documentación en docs/ con ejemplos visuales - Archivos de contexto para IA: AGENTS.md, CLAUDE.md, copilot-instructions.md - CHANGELOG.md, CONTRIBUTING.md ### CI/CD - GitHub Actions para compilación automática - Workflow de releases con PDF adjunto - Dependabot para actualizaciones ### Mejoras técnicas - Logos convertidos de EPS a PDF (mejor rendimiento) - Soporte para género neutro en autor/tutor - Previews visuales en documentación BREAKING CHANGE: Nueva estructura incompatible con v1.x
1 parent ca3f76c commit eaf6891

433 files changed

Lines changed: 19468 additions & 23385 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
# EditorConfig - Configuración de estilo de código entre editores
2+
# https://editorconfig.org
3+
4+
# Este es el archivo raíz de configuración
5+
root = true
6+
7+
# =============================================================================
8+
# CONFIGURACIÓN GLOBAL (todos los archivos)
9+
# =============================================================================
10+
[*]
11+
# Codificación UTF-8 (necesario para LaTeX moderno)
12+
charset = utf-8
13+
14+
# Fin de línea Unix (LF) - mejor para Git y compatibilidad
15+
end_of_line = lf
16+
17+
# Añadir nueva línea al final del archivo
18+
insert_final_newline = true
19+
20+
# Eliminar espacios en blanco al final de las líneas
21+
trim_trailing_whitespace = true
22+
23+
# Indentación por defecto: espacios
24+
indent_style = space
25+
indent_size = 4
26+
27+
# =============================================================================
28+
# ARCHIVOS LATEX (.tex, .sty, .cls)
29+
# =============================================================================
30+
[*.{tex,sty,cls}]
31+
indent_style = space
32+
indent_size = 2
33+
34+
# Máximo ancho de línea recomendado (no forzado)
35+
max_line_length = 100
36+
37+
# =============================================================================
38+
# ARCHIVOS BIBTEX
39+
# =============================================================================
40+
[*.bib]
41+
indent_style = space
42+
indent_size = 2
43+
44+
# =============================================================================
45+
# ARCHIVOS DE CONFIGURACIÓN
46+
# =============================================================================
47+
# Makefile requiere tabs (no espacios)
48+
[Makefile]
49+
indent_style = tab
50+
indent_size = 4
51+
52+
# YAML (GitHub Actions, etc.)
53+
[*.{yml,yaml}]
54+
indent_style = space
55+
indent_size = 2
56+
57+
# JSON
58+
[*.json]
59+
indent_style = space
60+
indent_size = 2
61+
62+
# JSONC (JSON con comentarios, como settings.json de VS Code)
63+
[*.jsonc]
64+
indent_style = space
65+
indent_size = 4
66+
67+
# =============================================================================
68+
# SCRIPTS
69+
# =============================================================================
70+
# Perl (latexmkrc)
71+
[.latexmkrc]
72+
indent_style = space
73+
indent_size = 4
74+
75+
[latexmkrc]
76+
indent_style = space
77+
indent_size = 4
78+
79+
# Shell scripts
80+
[*.sh]
81+
indent_style = space
82+
indent_size = 4
83+
end_of_line = lf
84+
85+
# =============================================================================
86+
# MARKDOWN
87+
# =============================================================================
88+
[*.md]
89+
indent_style = space
90+
indent_size = 2
91+
# No eliminar espacios finales en Markdown (pueden ser saltos de línea)
92+
trim_trailing_whitespace = false
93+
max_line_length = off
94+
95+
# =============================================================================
96+
# ARCHIVOS DE TEXTO PLANO
97+
# =============================================================================
98+
[*.txt]
99+
indent_style = space
100+
indent_size = 4
101+
102+
# Archivos de licencia
103+
[LICENSE]
104+
insert_final_newline = false
105+
106+
# =============================================================================
107+
# ARCHIVOS GENERADOS (no modificar)
108+
# =============================================================================
109+
# No aplicar reglas a archivos auxiliares de LaTeX
110+
[*.{aux,log,toc,lof,lot,bbl,bcf,blg,out,fls,fdb_latexmk,synctex.gz}]
111+
charset = unset
112+
end_of_line = unset
113+
insert_final_newline = unset
114+
trim_trailing_whitespace = unset
115+
indent_style = unset
116+
indent_size = unset

.github/FUNDING.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,2 @@
1-
# These are supported funding model platforms
2-
3-
github: jmrplens # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4-
patreon: # Replace with a single Patreon username
5-
open_collective: # Replace with a single Open Collective username
6-
ko_fi: jmrplens # Replace with a single Ko-fi username
7-
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8-
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9-
liberapay: # Replace with a single Liberapay username
10-
issuehunt: # Replace with a single IssueHunt username
11-
otechie: # Replace with a single Otechie username
12-
custom: 'https://www.paypal.com/donate?hosted_button_id=BLP3R6VGYJB4Q' # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
1+
# GitHub Sponsors - Única plataforma de financiación
2+
github: jmrplens
Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
1+
name: 🐛 Reporte de Bug
2+
description: Reporta un error o problema con la plantilla
3+
title: "[Bug]: "
4+
labels: ["bug", "triage"]
5+
assignees: []
6+
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: |
11+
¡Gracias por tomarte el tiempo de reportar este bug! 🙏
12+
Por favor, completa la siguiente información para ayudarnos a resolver el problema.
13+
14+
- type: checkboxes
15+
id: existing-issue
16+
attributes:
17+
label: ¿Has buscado issues existentes?
18+
description: Por favor, verifica que no exista ya un issue similar
19+
options:
20+
- label: He buscado en los issues existentes y no he encontrado uno similar
21+
required: true
22+
23+
- type: textarea
24+
id: description
25+
attributes:
26+
label: Descripción del bug
27+
description: Describe de forma clara y concisa cuál es el problema
28+
placeholder: "Cuando intento compilar el documento con la titulación X, aparece un error..."
29+
validations:
30+
required: true
31+
32+
- type: textarea
33+
id: steps
34+
attributes:
35+
label: Pasos para reproducir
36+
description: Lista los pasos necesarios para reproducir el error
37+
placeholder: |
38+
1. Abrir el archivo 'main.tex'
39+
2. Cambiar la titulación a '...'
40+
3. Compilar con 'make'
41+
4. Ver el error
42+
validations:
43+
required: true
44+
45+
- type: textarea
46+
id: expected
47+
attributes:
48+
label: Comportamiento esperado
49+
description: ¿Qué esperabas que ocurriera?
50+
placeholder: "El documento debería compilar correctamente y generar el PDF..."
51+
validations:
52+
required: true
53+
54+
- type: textarea
55+
id: actual
56+
attributes:
57+
label: Comportamiento actual
58+
description: ¿Qué ocurre realmente?
59+
placeholder: "En lugar de eso, aparece el siguiente error..."
60+
validations:
61+
required: true
62+
63+
- type: dropdown
64+
id: os
65+
attributes:
66+
label: Sistema Operativo
67+
description: ¿En qué sistema operativo estás trabajando?
68+
options:
69+
- Windows 11
70+
- Windows 10
71+
- macOS Sonoma (14.x)
72+
- macOS Ventura (13.x)
73+
- macOS (otra versión)
74+
- Ubuntu 24.04
75+
- Ubuntu 22.04
76+
- Debian
77+
- Fedora
78+
- Arch Linux
79+
- Otra distribución Linux
80+
- Overleaf
81+
- Otro
82+
validations:
83+
required: true
84+
85+
- type: dropdown
86+
id: tex-distribution
87+
attributes:
88+
label: Distribución TeX
89+
description: ¿Qué distribución de TeX estás usando?
90+
options:
91+
- TeX Live 2025
92+
- TeX Live 2024
93+
- TeX Live 2023
94+
- TeX Live (otra versión)
95+
- MiKTeX
96+
- MacTeX
97+
- Overleaf
98+
- Otro
99+
validations:
100+
required: true
101+
102+
- type: dropdown
103+
id: editor
104+
attributes:
105+
label: Editor
106+
description: ¿Qué editor o IDE estás usando?
107+
options:
108+
- VS Code + LaTeX Workshop
109+
- TeXstudio
110+
- Texmaker
111+
- Overleaf
112+
- TeXShop
113+
- Kile
114+
- Emacs + AUCTeX
115+
- Vim + VimTeX
116+
- Otro
117+
validations:
118+
required: true
119+
120+
- type: textarea
121+
id: log
122+
attributes:
123+
label: Log de errores
124+
description: |
125+
Si hay errores de compilación, pega aquí el contenido relevante del archivo .log
126+
Puedes encontrarlo en la raíz del proyecto con el nombre 'main.log'
127+
render: text
128+
placeholder: |
129+
! LaTeX Error: ...
130+
131+
l.42 ...
132+
133+
- type: textarea
134+
id: mwe
135+
attributes:
136+
label: Ejemplo mínimo (MWE)
137+
description: |
138+
Si es posible, proporciona un ejemplo mínimo que reproduzca el error.
139+
Esto nos ayuda enormemente a encontrar y solucionar el problema.
140+
render: latex
141+
placeholder: |
142+
\documentclass{eps-tfg}
143+
\EPSsetup{
144+
titulo = {Test},
145+
autor = {Test},
146+
titulacion = informatica,
147+
}
148+
\begin{document}
149+
% Código que causa el error
150+
\end{document}
151+
152+
- type: textarea
153+
id: screenshots
154+
attributes:
155+
label: Capturas de pantalla
156+
description: Si es relevante, añade capturas de pantalla del error o del PDF mal generado
157+
placeholder: Arrastra aquí las imágenes o pega los enlaces
158+
159+
- type: textarea
160+
id: additional
161+
attributes:
162+
label: Información adicional
163+
description: Cualquier otro contexto que pueda ser útil para resolver el problema
164+
placeholder: "He probado también con... / Esto empezó a pasar después de..."

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: 📚 Documentación de LaTeX
4+
url: https://www.overleaf.com/learn
5+
about: Aprende LaTeX con los tutoriales de Overleaf (incluye español)
6+
- name: 💬 Stack Exchange (TeX)
7+
url: https://tex.stackexchange.com/
8+
about: Comunidad de preguntas y respuestas sobre LaTeX
9+
- name: 💖 Apoya el proyecto
10+
url: https://github.com/sponsors/jmrplens
11+
about: Si la plantilla te ha sido útil, considera apoyar al desarrollador

0 commit comments

Comments
 (0)