Risposte nei forum create
-
AutoreRisposte
-
::
posto il file principale del progetto, se può aiutare.`
\documentclass[a4paper,11pt]{report}\usepackage{palatino}
\usepackage[italian] {babel}
\usepackage[T1] {fontenc}
\usepackage[latin1] {inputenc}
\usepackage{graphicx}
\usepackage{fancyhdr}\textwidth = 15 cm
\textheight = 24 cm
\oddsidemargin = 0.5 cm
\headheight = 18 pt
\topmargin = -1 cm\begin{document}
\title{\Huge{\textbf{IPI\\ \textit{Istruzioni Permanenti Interne}}}}
\author{\LARGE{UAAV Grottaglie}}\date{}\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}\begin{figure}[t!]
\centering
\includegraphics[width=7cm]{figure/Logo_Enav.pdf}
\end{figure}\begin{figure}
\centering
\includegraphics[width=13cm]{figure/blocco-tecnico.jpg}
\end{figure}\maketitle
\pagenumbering{Roman}
\pagestyle{fancy}
\lhead{ENAV S.p.A.}
\chead{\textit{Istruzioni Permanenti Interne}}
\rhead{UAAV \textbf{LIBG}}\lfoot{SGQ-D-APT-S.2-05}
\cfoot{\thepage}
\rfoot{30-10-2009 – AMD 5}\include{Prefazione}
\include{Registrazione_modifiche}
% inserire qui l'elenco pagine in vigore
\include{Introduzione}
\include{Definizioni_Abbreviazioni}
\tableofcontents
\newpage
\lfoot{PARTE {\thepart}\\SGQ-D-APT-S.2-05}{}
% ———
% PARTE GEN
% ———\setcounter{page}{1}
\renewcommand{\thepage}{GEN}
\renewcommand{\thepart}{I}
\part{GENERALITA'}
\setcounter{chapter}{0}\setcounter{page}{1}
\renewcommand{\thepage}{GEN 1-\arabic{page}}
\renewcommand{\thefigure}{GEN 1-\arabic{figure}}
\renewcommand{\thetable}{GEN 1-\arabic{table}}
\include{Gen1}\setcounter{page}{1}
\renewcommand{\thepage}{GEN 2-\arabic{page}}
\renewcommand{\thefigure}{GEN 2-\arabic{figure}}
\renewcommand{\thetable}{GEN 2-\arabic{table}}
\include{Gen2}\setcounter{page}{1}
\renewcommand{\thepage}{GEN 3-\arabic{page}}
\renewcommand{\thefigure}{GEN 3-\arabic{figure}}
\renewcommand{\thetable}{GEN 3-\arabic{table}}
\include{Gen3}\setcounter{page}{1}
\renewcommand{\thepage}{GEN 4-\arabic{page}}
\renewcommand{\thefigure}{GEN 4-\arabic{figure}}
\renewcommand{\thetable}{GEN 4-\arabic{table}}
\include{Gen4}\setcounter{page}{1}
\renewcommand{\thepage}{GEN 5-\arabic{page}}
\renewcommand{\thefigure}{GEN 5-\arabic{figure}}
\renewcommand{\thetable}{GEN 5-\arabic{table}}
\include{Gen5}\setcounter{page}{1}
\renewcommand{\thepage}{GEN 6-\arabic{page}}
\renewcommand{\thefigure}{GEN 6-\arabic{figure}}
\renewcommand{\thetable}{GEN 6-\arabic{table}}
\include{Gen6}\setcounter{page}{1}
\renewcommand{\thepage}{GEN 7-\arabic{page}}
\renewcommand{\thefigure}{GEN 7-\arabic{figure}}
\renewcommand{\thetable}{GEN 7-\arabic{table}}
\include{Gen7}\setcounter{page}{1}
\renewcommand{\thepage}{GEN 8-\arabic{page}}
\renewcommand{\thefigure}{GEN 8-\arabic{figure}}
\renewcommand{\thetable}{GEN 8-\arabic{table}}
\include{Gen8}\setcounter{page}{1}
\renewcommand{\thepage}{GEN 9-\arabic{page}}
\renewcommand{\thefigure}{GEN 9-\arabic{figure}}
\renewcommand{\thetable}{GEN 9-\arabic{table}}
\include{Gen9}% ———
% PARTE PRO
% ———\setcounter{page}{1}
\renewcommand{\thepage}{PRO}
\renewcommand{\thepart}{II}
\part{PROCEDURE}
\setcounter{chapter}{0}\setcounter{page}{1}
\renewcommand{\thepage}{PRO 1-\arabic{page}}
\renewcommand{\thefigure}{PRO 1-\arabic{figure}}
\renewcommand{\thetable}{PRO 1-\arabic{table}}
\include{Pro1}\setcounter{page}{1}
\renewcommand{\thepage}{PRO 2-\arabic{page}}
\renewcommand{\thefigure}{PRO 2-\arabic{figure}}
\renewcommand{\thetable}{PRO 2-\arabic{table}}
\include{Pro2}\setcounter{page}{1}
\renewcommand{\thepage}{PRO 3-\arabic{page}}
\renewcommand{\thefigure}{PRO 3-\arabic{figure}}
\renewcommand{\thetable}{PRO 3-\arabic{table}}
\include{Pro3}\setcounter{page}{1}
\renewcommand{\thepage}{PRO 4-\arabic{page}}
\renewcommand{\thefigure}{PRO 4-\arabic{figure}}
\renewcommand{\thetable}{PRO 4-\arabic{table}}
\include{Pro4}\setcounter{page}{1}
\renewcommand{\thepage}{PRO 5-\arabic{page}}
\renewcommand{\thefigure}{PRO 5-\arabic{figure}}
\renewcommand{\thetable}{PRO 5-\arabic{table}}
\include{Pro5}\setcounter{page}{1}
\renewcommand{\thepage}{PRO 6-\arabic{page}}
\renewcommand{\thefigure}{PRO 6-\arabic{figure}}
\renewcommand{\thetable}{PRO 6-\arabic{table}}
\include{Pro6}% ———
% APPENDICE
% ———\appendix
\setcounter{page}{1}
\renewcommand{\thepage}{A-\arabic{page}}
\renewcommand{\thefigure}{A-\arabic{figure}}
\renewcommand{\thetable}{A-\arabic{table}}
\include{Appendix_mil}\end{document}
`
::
Grazie per la risposta egreg9.Sto pensando a qualcosa di questo tipo: ogni volta che applichi qualche emendamento al documento modifichi un numero globale e inserisci il testo emendato in un ambiente opportunamente definito che possa generare un riferimento. Alla compilazione puoi raccogliere i dati e produrre la tabella che chiedi. Il registro delle versioni potrebbe servire a decidere quali emendamenti elencare (le ultime dieci versioni, per dire).
Sarebbe interessante, se avessi una vaga idea di come implementare il tutto! 😉
Provo a spiegare meglio di che si tratta.
Dalla tabella si potrà risalire ad un eventuale emendamento dalla data di ogni pagina.
La tabella avrà le colonne PAGINA – DATA – N° EMENDAMENTO.
Inizialmente mi basterebbe che la compilazione generasse semplicemente un elenco delle pagine, che nel documento ha la forma SEZ. – CAP. – PAG. (ad esempio GEN 5-12, PRO 2-9).Quindi dall’inizio avrei:
GEN 1-1
GEN 1-2
GEN 1-3
GEN 1-4
GEN 1-5
…
e dall’altro cap.
GEN 2-1
GEN 2-2
GEN 2-3
ecc.Poichè la lunghezza dei capitoli (ma non il numero) cambia in ogni emendamento, vorrei che l’elenco si autogenerasse ad ogni compilazione.
Poi, potrei anche, manualmente, modificare la data e il num. progressivo dell’emendamento (magari mettere sempre gli stessi per tutte le pagine, ed avere così una soluzione parziale).
-
AutoreRisposte