- Questo topic ha 17 risposte, 4 partecipanti ed è stato aggiornato l'ultima volta 19 anni, 1 mese fa da
Henryss.
-
CreatoreTopic
-
11 Luglio 2007 alle 23:25 #16002::
Ecco qua una domanda un po strana, che non so se ha una risposta.Sto scrivendo la tesi, e vorrei fare in modo che le revisioni o alcune annotazioni e modifiche che apporto fossero ben visibili nel pdf finale (magari scritte in rosso, o evidenziate o non so che altro) perchè possano subito risaltare quando il relatore la riguarda. Vorrei anche però che poi fosse semplice farle sparire aggiungendo un semplice comando nel preambolo (tipo il draft per le figure insomma). Sarebbe tutto più semplice se il relatore potesse vedere il file tex con le annotazioni, ma purtroppo devo fare in modo che si possa creare qualcosa di simile alle annotazioni direttamente sul pdf…
E’ possibile?
-
CreatoreTopic
-
AutoreRisposte
-
-
12 Luglio 2007 alle 6:38 #16003::
http://skim-app.sourceforge.net/Su Mac esiste Skim, che permette di inserire delle note “tipo post-it” nel pdf finale. Le note risaltano e, al bisogno, è immediato eliminarle. Su PC esisterà sicuramente qualcosa di analogo.
Ciao,
L.
-
12 Luglio 2007 alle 6:55 #16004::
http://skim-app.sourceforge.net/
Su Mac esiste Skim, che permette di inserire delle note “tipo post-it” nel pdf finale. Le note risaltano e, al bisogno, è immediato eliminarle. Su PC esisterà sicuramente qualcosa di analogo.
Ciao,
L.Su pc si possono inserire delle note direttamente dal adobe acrobat che occorre anche per vedere il file pdf. Il problema è che io le volevo inserire da latex mentre scrivevo il testo, altrimenti se le devo inserire direttamente nel pdf finale quando ricompilo spariscono!
-
12 Luglio 2007 alle 7:11 #16005::
`\documentclass{article}\usepackage{xcolor,framed}
\usepackage{lipsum}
\usepackage{verbatim}
\definecolor{shadecolor}{gray}{0.9}
\renewenvironment{comment}{\begin{shaded}}{\end{shaded}}\begin{document}
\lipsum[1]
\begin{comment}
\lipsum[2]
\end{comment}\lipsum[3]
\end{document} `
Per far sparire tutte le note dal pdf finale, ti basta commentare
`\renewenvironment{comment}{\begin{shaded}}{\end{shaded}}
`
e ricompilare.Ciao,
L.
-
12 Luglio 2007 alle 9:05 #16006
-
12 Luglio 2007 alle 9:45 #16007::
Ciao.Forse è tardi per cambiare la classe del documento ma, per informazione, la classe memoir contiene alcuni comandi che danno indicazioni relativamente a frasi aggiunte, eliminate o modificate.
A pagina 215 del manuale c’è la sezione “draft” che utilizza comandi come
`
\added{}
\deleted{}
\changed{}
`Ciao,
Rob.
-
14 Luglio 2007 alle 17:59 #16008::
`\documentclass{article}
\usepackage{xcolor,framed}
\usepackage{lipsum}
\usepackage{verbatim}
\definecolor{shadecolor}{gray}{0.9}
\renewenvironment{comment}{\begin{shaded}}{\end{shaded}}\begin{document}
\lipsum[1]
\begin{comment}
\lipsum[2]
\end{comment}\lipsum[3]
\end{document} `
Per far sparire tutte le note dal pdf finale, ti basta commentare
`\renewenvironment{comment}{\begin{shaded}}{\end{shaded}}
`
e ricompilare.Ciao,
L.Niente da fare, non funziona…
Un esempio minimale è:`
\documentclass[12pt,a4paper,draft]{toptesi}
\usepackage[ansinew]{inputenc}
\usepackage{graphicx}
\usepackage[italian]{babel}
\usepackage{amsmath}
\usepackage{syntonly}
\usepackage{verbatim}
\usepackage{longtable}
\usepackage[font=normalsize]{caption}
\usepackage{float}
\usepackage[colorlinks=true, linkcolor=black, citecolor=black, urlcolor=black]{hyperref}
\usepackage{xcolor,framed}
\definecolor{shadecolor}{gray}{0.9}
\renewenvironment{comment}{\begin{shaded}}{\end{shaded}}
\raggedbottom\italiano
\begin{document}
Questo non è commentato
\begin{comment}
Questo dovrebbe esserlo
\end{comment}E questo nuovamente no.
\end{document}
`e gli errori sono:
`
! Undefined control sequence.
\set@color ->\special {color push \current@color
}\aftergroup \reset@color
l.20 \begin{document}The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.! Undefined control sequence.
\Hy@colorlink l.20 \begin{document}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.! Undefined control sequence.
\set@color ->\special {color push \current@color
}\aftergroup \reset@color
l.20 \begin{document}The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.! Undefined control sequence.
\pdfmark@ …type \space pdfmark}\Hy@endcolorlink
\fi \fi \fi
l.20 \begin{document}The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.! Undefined control sequence.
\set@color ->\special {color push \current@color
}\aftergroup \reset@color
l.20 \begin{document}The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
`P.s:Mi scuso se non ho risposto prima ma non avevo il computer a disposizione…
-
14 Luglio 2007 alle 22:11 #16009::
Niente da fare, non funziona…
Un esempio minimale è:
`\documentclass[12pt,a4paper,draft]{toptesi}
\usepackage[ansinew]{inputenc}
\usepackage{graphicx}
\usepackage[italian]{babel}
\usepackage{amsmath}
\usepackage{syntonly}
\usepackage{verbatim}
\usepackage{longtable}
\usepackage[font=normalsize]{caption}
\usepackage{float}
\usepackage[colorlinks=true, linkcolor=black, citecolor=black, urlcolor=black]{hyperref}
\usepackage{xcolor,framed}
\definecolor{shadecolor}{gray}{0.9}
\renewenvironment{comment}{\begin{shaded}}{\end{shaded}}
\raggedbottom\italiano
\begin{document}
Questo non è commentato
\begin{comment}
Questo dovrebbe esserlo
\end{comment}E questo nuovamente no.
\end{document}`
e gli errori sono:…
In realtà hai omesso l’errore più importante e fatale:
`! LaTeX Error: Missing \begin{document}.See the LaTeX manual or LaTeX Companion for explanation.
Type Hfor immediate help.
…l.44
\def\x{\def\@vobeyspaces{\catcode`\ \active\let \@xobeysp}}`
Temo che abbiamo trovato un bug in toptesi, precisamente in topcoman.sty.Se infatti aggiungi, subito prima di \usepackage{verbatim}, il seguente incantesimo
`{\obeyspaces\global\let =\space}`
l’errore sparisce. Riporterò a chi di dovere.Ciao
Enrico
-
15 Luglio 2007 alle 14:41 #16010::
In realtà hai omesso l’errore più importante e fatale:
`! LaTeX Error: Missing \begin{document}.See the LaTeX manual or LaTeX Companion for explanation.
Type Hfor immediate help.
…l.44
\def\x{\def\@vobeyspaces{\catcode`\ \active\let \@xobeysp}}`
Temo che abbiamo trovato un bug in toptesi, precisamente in topcoman.sty.Se infatti aggiungi, subito prima di \usepackage{verbatim}, il seguente incantesimo
`{\obeyspaces\global\let =\space}`
l’errore sparisce. Riporterò a chi di dovere.Ciao
EnricoAggiungendo all’esempio minimale la stringa indicata, qualcosa si ottiene. Restano però i seguenti errori e warnings:
`! Undefined control sequence.
\sf@size l.31 \end{document}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.! Missing number, treated as zero.
p
l.31 \end{document}A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)LaTeX Font Warning: Font shape `OT1/cmr/m/n' in size <0> not available
(Font) size <5> substituted on input line 31.[1
] (tesi.aux)
LaTeX Font Warning: Size substitutions with differences
(Font) up to 5.0pt have occurred.`P.s:in effetti mi sono dimenticato quell’errore fondamentale, che compariva molto prima nel file .log…scusate…
-
15 Luglio 2007 alle 16:30 #16011::
Aggiungendo all’esempio minimale la stringa indicata, qualcosa si ottiene. Restano però i seguenti errori e warnings:
`! Undefined control sequence.
\sf@size l.31 \end{document}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.! Missing number, treated as zero.
p
l.31 \end{document}A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)LaTeX Font Warning: Font shape `OT1/cmr/m/n' in size <0> not available
(Font) size <5> substituted on input line 31.[1
] (tesi.aux)
LaTeX Font Warning: Size substitutions with differences
(Font) up to 5.0pt have occurred.`P.s:in effetti mi sono dimenticato quell’errore fondamentale, che compariva molto prima nel file .log…scusate…
A me non capita. Aggiungi \listfiles prima di \documentclass e riporta il risultato: capirai subito quale. Così si possono controllare le versioni dei vari pacchetti.
Ciao
-
15 Luglio 2007 alle 18:14 #16012::
A me non capita. Aggiungi \listfiles prima di \documentclass e riporta il risultato: capirai subito quale. Così si possono controllare le versioni dei vari pacchetti.
Ciao
Ecco qua:
`*File List*
toptesi.cls 2006/04/04 v.4.00.02 Class for typesetting university theses
report.cls 2005/09/16 v1.4f Standard LaTeX document class
size12.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
babel.sty 2005/05/21 v3.8g The Babel package
bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration
english.ldf 2005/03/30 v3.3o English support from the babel system
italian.ldf 2005/02/05 v1.2q Italian support from the babel system
toptesi.sty 2006/08/22 v.4.00.03 Extension for toptesi.cls
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
graphics.sty 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2005/12/29 v1.2 MiKTeX 'graphics' configuration
dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
topfront.sty 2006/09/04 v.4.00.04 Title page for TOPtesi
toptesi.cfg
topcoman.sty 2006/12/15 v.4.01 Additional commands for the TOPtesi bundle
inputenc.sty 2006/05/05 v1.1b Input encoding file
ansinew.def 2006/05/05 v1.1b Input encoding file
amsmath.sty 2000/07/18 v2.13 AMS math features
amstext.sty 2000/06/29 v2.01
amsgen.sty 1999/11/30 v2.0
amsbsy.sty 1999/11/29 v1.2d
amsopn.sty 1999/12/14 v2.01 operator names
syntonly.sty 1999/09/17 v2.1e Standard LaTeX2e package
verbatim.sty 2003/08/22 v1.5q LaTeX2e package for verbatim enhancements
longtable.sty 2004/02/01 v4.11 Multi-page Table package (DPC)
caption.sty 2007/04/16 v3.0q Customising captions (AR)
caption3.sty 2007/04/11 v3.0q caption3 kernel (AR)
float.sty 2001/11/08 v1.3d Float enhancements (AL)
xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)
color.cfg 2005/12/29 v1.1 MiKTeX 'color' configuration
framed.sty 2003/07/21 v 0.8a: framed or shaded text with page breaks
lgrcmr.fd 2001/01/30 v2.2e Greek Computer Modern
***********`Grazie per l’aiuto…
-
15 Luglio 2007 alle 18:41 #16013::
A me non capita. Aggiungi \listfiles prima di \documentclass e riporta il risultato: capirai subito quale. Così si possono controllare le versioni dei vari pacchetti.
Ciao
Ecco qua:
`*File List*
toptesi.cls 2006/04/04 v.4.00.02 Class for typesetting university theses
report.cls 2005/09/16 v1.4f Standard LaTeX document class
size12.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
babel.sty 2005/05/21 v3.8g The Babel package
bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration
english.ldf 2005/03/30 v3.3o English support from the babel system
italian.ldf 2005/02/05 v1.2q Italian support from the babel system
toptesi.sty 2006/08/22 v.4.00.03 Extension for toptesi.cls
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
graphics.sty 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2005/12/29 v1.2 MiKTeX 'graphics' configuration
dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
topfront.sty 2006/09/04 v.4.00.04 Title page for TOPtesi
toptesi.cfg
topcoman.sty 2006/12/15 v.4.01 Additional commands for the TOPtesi bundle
inputenc.sty 2006/05/05 v1.1b Input encoding file
ansinew.def 2006/05/05 v1.1b Input encoding file
amsmath.sty 2000/07/18 v2.13 AMS math features
amstext.sty 2000/06/29 v2.01
amsgen.sty 1999/11/30 v2.0
amsbsy.sty 1999/11/29 v1.2d
amsopn.sty 1999/12/14 v2.01 operator names
syntonly.sty 1999/09/17 v2.1e Standard LaTeX2e package
verbatim.sty 2003/08/22 v1.5q LaTeX2e package for verbatim enhancements
longtable.sty 2004/02/01 v4.11 Multi-page Table package (DPC)
caption.sty 2007/04/16 v3.0q Customising captions (AR)
caption3.sty 2007/04/11 v3.0q caption3 kernel (AR)
float.sty 2001/11/08 v1.3d Float enhancements (AL)
xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)
color.cfg 2005/12/29 v1.1 MiKTeX 'color' configuration
framed.sty 2003/07/21 v 0.8a: framed or shaded text with page breaks
lgrcmr.fd 2001/01/30 v2.2e Greek Computer Modern
***********`Grazie per l’aiuto…
A me non dà errori. Controlla il file:
`\listfiles
\documentclass[12pt,a4paper,draft]{toptesi}
\usepackage[ansinew]{inputenc}
\usepackage{graphicx}
\usepackage[italian]{babel}
\usepackage{amsmath}
\usepackage{syntonly}
{\obeyspaces\global\let =\space}
\usepackage{verbatim}
\usepackage{longtable}
\usepackage[font=normalsize]{caption}
\usepackage{float}
%\usepackage[colorlinks=true, linkcolor=black, citecolor=black, urlcolor=black]{hyperref}
\usepackage{xcolor,framed}
\definecolor{shadecolor}{gray}{0.9}
\renewenvironment{comment}{\begin{shaded}}{\end{shaded}}
\raggedbottom\italiano
\begin{document}
Questo non è commentato
\begin{comment}
Questo dovrebbe esserlo
\end{comment}E questo nuovamente no.
\end{document}`
Di più non so dirti.Ciao
Enrico
-
16 Luglio 2007 alle 18:18 #16014
-
16 Luglio 2007 alle 18:56 #16015
-
16 Luglio 2007 alle 20:52 #16016
-
17 Luglio 2007 alle 10:05 #16017::
Ho provato a compilare il codice: funziona perfettamente. Fossi in Henryss, coglierei l’occasione per aggiorne la sua distribuzione LaTeX.
Ciao,
L.Ho aggiornato la mia distribuzione qualche giorno fa con l’update wizard di miktex (uso windows). Però evidentemente non tutto è aggiornato (ad esempio anche topcoman non si era aggiornato).
Ma allora disinstallo miktex e lo reinstallo nuovamente?
-
17 Luglio 2007 alle 15:18 #16018::
Ho aggiornato la mia distribuzione qualche giorno fa con l’update wizard di miktex (uso windows). Però evidentemente non tutto è aggiornato (ad esempio anche topcoman non si era aggiornato).
Ma allora disinstallo miktex e lo reinstallo nuovamente?Io proverei a fare una bella installazione ex-novo di MikTeX (installazione “full”, ovviamenente). Poi scaricherei toptesi da CTAN.
Ciao,
L.
-
17 Luglio 2007 alle 15:38 #16019::
Io proverei a fare una bella installazione ex-novo di MikTeX (installazione “full”, ovviamenente). Poi scaricherei toptesi da CTAN.
Ciao,
L.Ok, allora lo farò. Magari non proprio adesso che sono nel bel mezzo della scrittura della tesi, ma appena più avanti …
Grazie per l’aiuto,
ciao,
Enrico
-
-
AutoreRisposte
- Devi essere connesso per rispondere a questo topic.