{"id":15089343,"url":"https://github.com/hpardo79/makefile_adoc_to_pdf","last_synced_at":"2026-01-04T12:45:43.943Z","repository":{"id":176990972,"uuid":"659828357","full_name":"hpardo79/makefile_adoc_to_pdf","owner":"hpardo79","description":"Utilizar MAKE para generar PDF a partir del documento ADOC","archived":false,"fork":false,"pushed_at":"2023-07-24T01:07:14.000Z","size":1447,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T10:08:34.608Z","etag":null,"topics":["adoc","asciidoc","linux","makefile","pdf","shell","terminal","yml"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hpardo79.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-28T16:41:02.000Z","updated_at":"2023-06-29T12:19:48.000Z","dependencies_parsed_at":"2024-11-27T20:40:06.204Z","dependency_job_id":null,"html_url":"https://github.com/hpardo79/makefile_adoc_to_pdf","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"c80a4be772d33258dbfdae9945527e144325ddac"},"previous_names":["hpardo79/makefile_adoc_to_pdf"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpardo79%2Fmakefile_adoc_to_pdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpardo79%2Fmakefile_adoc_to_pdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpardo79%2Fmakefile_adoc_to_pdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpardo79%2Fmakefile_adoc_to_pdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hpardo79","download_url":"https://codeload.github.com/hpardo79/makefile_adoc_to_pdf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244814756,"owners_count":20514816,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adoc","asciidoc","linux","makefile","pdf","shell","terminal","yml"],"created_at":"2024-09-25T08:45:01.755Z","updated_at":"2026-01-04T12:45:43.892Z","avatar_url":"https://github.com/hpardo79.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Utilizar MAKE para generar PDF a partir del documento ADOC\nPrimero instalar el asciidoctor-pdf que requerimos para la conversión del archivo .adoc.\n\nEjemplo para Debian y sus Derivadas:\n```shell:\n$ apt install ruby-asciidoctor-pdf\n```\n\nO por `gem install`\n```shell:\n$ gem install asciidoctor-pdf\n```\n\nGenera tu documento con lenguaje de marcado ligero **Asciidoc** este archivo tendrá la extensión `.adoc`.\n\nIncluir la carpeta de los **Tipo de letras** a utilizar en el documento, la carpeta de **Imágenes** a incrustar y el archivo de **Estilo** para el documento que tiene como extensión `.yml`.\n\nAhora crear `makefile` con el siguiente contenido:\n```shell:\nADP = asciidoctor-pdf\nTHM = theme.yml\nFNT = ./fonts\n\n%.pdf: %.adoc\n\t-rm *.pdf\n\t@$(ADP) -a pdf-theme=$(THM) -a pdf-fontsdir=$(FNT) $\u003c -o $@\n\t@echo \"Documento PDF generado\"\n```\n\nEjecutar desde la terminal para generar el documento `PDF`:\n```shell:\n$ make documento.pdf\n```\n\n**Nota:** El nombre del archivo `.adoc` y el `.pdf` es el mismo.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhpardo79%2Fmakefile_adoc_to_pdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhpardo79%2Fmakefile_adoc_to_pdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhpardo79%2Fmakefile_adoc_to_pdf/lists"}