Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tese
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Harbor Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carlos Maziero
tese
Commits
369f0ed6
Commit
369f0ed6
authored
5 years ago
by
Carlos Maziero
Browse files
Options
Downloads
Patches
Plain Diff
controle dos metadados do PDF
parent
35be95e5
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
changelog
+8
-0
8 additions, 0 deletions
changelog
main.tex
+9
-8
9 additions, 8 deletions
main.tex
main_maziero.pdf
+0
-0
0 additions, 0 deletions
main_maziero.pdf
ppginf.cls
+29
-12
29 additions, 12 deletions
ppginf.cls
with
46 additions
and
20 deletions
changelog
+
8
−
0
View file @
369f0ed6
Changelog:
30/03/20
- opção "metadados" para incluir metadados (título, author, etc) no PDF;
por default não os inclui, pois a Bib/UFPR parece não gostar deles...
05/08/19
- bugfix: trocado \iflanguage por \IfLanguageName
- ajustes na bibliografia
25/03/19
- corrigido erro no formato dos títulos de capítulos, seções, etc
- numera subsubseções
...
...
This diff is collapsed.
Click to expand it.
main.tex
+
9
−
8
View file @
369f0ed6
% Versão 0.9.1
4
,
25
/03/20
19
% Versão 0.9.1
5
,
30
/03/20
20
% Este documento destina-se a servir como modelo para a produção de documentos
% de pesquisa do PPGINF/UFPR, como projetos, dissertações e teses. A classe de
...
...
@@ -19,6 +19,7 @@
% tem espaçamento simples e todas as páginas iniciais.
% - oneside : somente frente; use quando for gerar somente o PDF.
% - twoside : frente/verso; use se precisar de uma versão impressa.
% - metadados : inclui metadados no PDF (por default não inclui)
% - ... : demais opções aceitas pela classe "book"
% ATENÇÂO: este modelo tem suporte para português e inglês.
...
...
This diff is collapsed.
Click to expand it.
main_maziero.pdf
deleted
100644 → 0
+
0
−
0
View file @
35be95e5
File deleted
This diff is collapsed.
Click to expand it.
ppginf.cls
+
29
−
12
View file @
369f0ed6
...
...
@@ -37,15 +37,17 @@
%------------------------------------------------------------------------------
% definição da classe e versão
\ProvidesClass
{
ppginf
}
[20
19
/03/
25
Manuscript class for PPGInf/UFPR]
\def\@
classversion
{
0.9.1
4
}
\ProvidesClass
{
ppginf
}
[20
20
/03/
30
Manuscript class for PPGInf/UFPR]
\def\@
classversion
{
0.9.1
5
}
%------------------------------------------------------------------------------
% OPÇÕES DESTA CLASSE
% define flag de versão final do documento
\newif\iffinalmode
% flags de controle
\newif\iffinalmode
% flag de versão final do documento
\newif\ifmetadata
% gera metadados no PDF? default false
\metadatafalse
% defesa: só frente, espaçamento 1,5 e menos páginas iniciais
\DeclareOption
{
defesa
}{
\finalmodefalse
}
...
...
@@ -53,6 +55,9 @@
% aprovada: frente/verso, espaçamento 1 e mais páginas iniciais
\DeclareOption
{
final
}{
\finalmodetrue
}
% metadados: inclui metadados no PDF
\DeclareOption
{
metadados
}{
\metadatatrue
}
% demais opções devem ser encaminhadas à classe de base (book)
\DeclareOption*
{
\PassOptionsToClass
{
\CurrentOption
}{
book
}}
...
...
@@ -616,6 +621,7 @@
\renewcommand
{
\titlepage
}
{
% ajustar tags do PDF final (só funciona bem se estiver aqui)
\ifmetadata
\hypersetup
{
pdftitle =
{
\@
title
}
,
pdfauthor =
{
\@
author
}
,
...
...
@@ -624,6 +630,17 @@
pdfcreator =
{
LaTeX, using PPGInf class V.
\@
classversion
}
,
pdfkeywords =
{
\@
pcs,
\@
kws
}
}
\else
\hypersetup
{
pdftitle =
{}
,
pdfauthor =
{}
,
pdfsubject =
{}
,
pdfproducer =
{}
,
pdfcreator =
{}
,
pdfkeywords =
{}
}
\pdfinfoomitdate
1
\fi
% PRIMEIRA CAPA (SÓ NA VERSÃO APROVADA)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment