Risposte nei forum create
-
AutoreRisposte
-
23 Aprile 2013 alle 15:14 in risposta a: [Risolto] Emulazione TesiClassica su documento generico #85224::
Grazie, Tommaso, dei consigli, ma adesso me ne serve uno specifico per aggiornare Biber.
In dettaglio ho trovato sul web la seguente sequenza di comandi, potresti dirmi se vanno bene?
I due file gzippati menzionati in 1.. e 2.. li ho già scaricati. Ciao
`
1.. From SourceForge download biber v.1.5 (http://sourceforge.net/projects/biblatex-biber/)
2.. From SourceForge download biblatex v.2.6. (http://sourceforge.net/projects/biblatex/)
3.. Create two temp dirs: mkdir tempbb && mkdir tempbl
4.. Uncompress biber-linux_x86_32.tar.gz to the temp directory: tar -zxvf biber-linux_x86_32.tar.gz -C tempbb/
5.. Uncompress biblatex-2.6.tds.tgz to the temp directory: tar -zxvf biblatex-2.6.tds.tgz -C tempbl/
6.. Move the contents of the files in the tempbb temp directory to /usr/local/texlive/2012/texmf-dist/ thus: sudo rsync -azvv tempbl/ /usr/local/texlive/2012/texmf-dist/
7.. Move the biber bin from your temp directory to /usr/local/texlive/2012/texmf-dist/ thus: sudo rsync -azvv tempbl/ /usr/local/texlive/2012/bin/i386-linux/
8.. Test that everything is working fine.
`
23 Aprile 2013 alle 8:20 in risposta a: [Risolto] Emulazione TesiClassica su documento generico #85222::
Grazie Tommaso! Il tuo suggerimento ha funzionato. Infatti ho ottenuto questo output:
`
~/Scrivania/zzz$ biber zoz
INFO – This is Biber 0.9.9
INFO – Logfile is 'zoz.blg'
INFO – Reading 'zoz.bcf'
INFO – Using all citekeys in bib section 0
INFO – Processing bib section 0
INFO – Looking for bibtex format file 'Bibliografia.bib' for section 0
INFO – Decoding LaTeX character macros into UTF-8
INFO – Finished Decoding LaTeX character macros into UTF-8
INFO – Found BibTeX data source 'Bibliografia.bib'
INFO – Sorting list 'MAIN' keys
INFO – No sort tailoring available for locale 'it_IT.UTF-8'
INFO – Sorting list 'SHORTHANDS' keys
INFO – No sort tailoring available for locale 'it_IT.UTF-8'
INFO – Writing 'zoz.bbl' with encoding 'UTF-8'
INFO – Output to zoz.bbl
`
Quindi ho ridato due volte il comando pdflatex zoz e quello spezzone di documento è stato stampato correttamente.
Ciao e … alla prossima
23 Aprile 2013 alle 6:09 in risposta a: [Risolto] Emulazione TesiClassica su documento generico #85220::
Ma cosa c’entra l’editor? Io uso sempre i comandi da terminale, così:
`
~$ cd Scr*/zzz
santino@santino2:~/Scrivania/zzz$ pdflatex zoz
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012)
restricted \write18 enabled.
entering extended mode
(./zoz.tex
LaTeX2e <2011/06/27>
Babeland hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2012-05-30, ngerman-x-2012-05-30, afrikaans, ancientgreek, ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis
h, french, friulan, galician, german, ngerman, swissgerman, monogreek, greek, h
ungarian, icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, ma
rathi, oriya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian,
kurmanji, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk,
polish, portuguese, romanian, romansh, russian, sanskrit, serbian, serbianc, s
lovak, slovenian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian,
welsh, loaded.
(/usr/local/texlive/2012/texmf-dist/tex/latex/koma-script/scrreprt.cls
Document Class: scrreprt 2012/05/15 v3.11 KOMA-Script document class (report)
(/usr/local/texlive/2012/texmf-dist/tex/latex/koma-script/scrkbase.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/koma-script/scrbase.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/koma-script/scrlfile.sty
Package scrlfile, 2011/03/09 v3.09 KOMA-Script package (loading files)
Copyright (C) Markus Kohm))) (/usr/local/texlive/2012/texmf-dist/tex/latex/koma-script/tocbasic.sty)
Class scrreprt Warning: You've used obsolete option `tablecaptionabove'.
(scrreprt) Usage of this option indicates an old document and
(scrreprt) changes compatibility level using
(scrreprt) `captions=tableheading,version=first'.
(scrreprt) If you don't want this, you should simply replace
(scrreprt) usage of option `tablecaptionabove' by `captions=tableh
eading'.(/usr/local/texlive/2012/texmf-dist/tex/latex/koma-script/scrsize10pt.clo)
(/usr/local/texlive/2012/texmf-dist/tex/latex/koma-script/typearea.sty
Package typearea, 2012/05/15 v3.11 KOMA-Script package (type area)
Copyright (C) Frank Neukam, 1992-1994
Copyright (C) Markus Kohm, 1994-)) (/usr/local/texlive/2012/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/base/t1enc.def))
(/usr/local/texlive/2012/texmf-dist/tex/latex/base/inputenc.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/base/utf8.def
(/usr/local/texlive/2012/texmf-dist/tex/latex/base/t1enc.dfu)
(/usr/local/texlive/2012/texmf-dist/tex/latex/base/ot1enc.dfu)
(/usr/local/texlive/2012/texmf-dist/tex/latex/base/omsenc.dfu)))
(/usr/local/texlive/2012/texmf-dist/tex/generic/babel/babel.sty
(/usr/local/texlive/2012/texmf-dist/tex/generic/babel/english.ldf
(/usr/local/texlive/2012/texmf-dist/tex/generic/babel/babel.def))
(/usr/local/texlive/2012/texmf-dist/tex/generic/babel/italian.ldf))
(/usr/local/texlive/2012/texmf-dist/tex/latex/frontespizio/frontespizio.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/tools/afterpage.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/local/texlive/2012/texmf-dist/tex/latex/pdftex-def/pdftex.def
(/usr/local/texlive/2012/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2012/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))))
(/usr/local/texlive/2012/texmf-dist/tex/generic/oberdiek/atbegshi.sty
(/usr/local/texlive/2012/texmf-dist/tex/generic/oberdiek/ifpdf.sty))
(/usr/local/texlive/2012/texmf-dist/tex/latex/environ/environ.sty)
(/usr/local/texlive/2012/texmf-dist/tex/generic/ifxetex/ifxetex.sty))
(/usr/local/texlive/2012/texmf-dist/tex/latex/tools/indentfirst.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/listings/listings.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/listings/lstmisc.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/listings/listings.cfg))
(/usr/local/texlive/2012/texmf-dist/tex/latex/quoting/quoting.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/etoolbox/etoolbox.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/etex-pkg/etex.sty))
(/usr/local/texlive/2012/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/usr/local/texlive/2012/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/usr/local/texlive/2012/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(/usr/local/texlive/2012/texmf-dist/tex/generic/oberdiek/ifluatex.sty)))))
(/usr/local/texlive/2012/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/local/texlive/2012/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/local/texlive/2012/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/local/texlive/2012/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/usr/local/texlive/2012/texmf-dist/tex/latex/amscls/amsthm.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/tools/varioref.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/mparhack/mparhack.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/base/fixltx2e.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/relsize/relsize.sty
Examine \normalsize starts \@setfontsize size may be \@xpt.
Examine \small starts \@setfontsize size may be \@ixpt.
Examine \footnotesize starts \@setfontsize size may be \@viiipt.
Examine \large starts \@setfontsize size may be \@xiipt.
Examine \Large starts \@setfontsize size may be \@xivpt.
Examine \LARGE starts \@setfontsize size may be \@xviipt.
Examine \scriptsize starts \@setfontsize size may be \@viipt.
Examine \tiny starts \@setfontsize size may be \@vpt.
Examine \huge starts \@setfontsize size may be \@xxpt.
Examine \Huge starts \@setfontsize size may be \@xxvpt. )
(/usr/local/texlive/2012/texmf-dist/tex/latex/tools/tabularx.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/tools/array.sty))
(/usr/local/texlive/2012/texmf-dist/tex/latex/biblatex/biblatex.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/logreq/logreq.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/logreq/logreq.def))
(/usr/local/texlive/2012/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/url/url.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/biblatex/blx-compat.def)
(/usr/local/texlive/2012/texmf-dist/tex/latex/biblatex/biblatex.def)
(/usr/local/texlive/2012/texmf-dist/tex/latex/biblatex/blx-natbib.def)
(/usr/local/texlive/2012/texmf-dist/tex/latex/biblatex-philosophy/philosophy-mo
dern.bbx
(/usr/local/texlive/2012/texmf-dist/tex/latex/biblatex-philosophy/philosophy-cl
assic.bbx
(/usr/local/texlive/2012/texmf-dist/tex/latex/biblatex/bbx/authoryear.bbx
(/usr/local/texlive/2012/texmf-dist/tex/latex/biblatex/bbx/standard.bbx))
(/usr/local/texlive/2012/texmf-dist/tex/latex/biblatex-philosophy/philosophy-st
andard.bbx)))
(/usr/local/texlive/2012/texmf-dist/tex/latex/biblatex-philosophy/philosophy-mo
dern.cbx
(/usr/local/texlive/2012/texmf-dist/tex/latex/biblatex-philosophy/philosophy-cl
assic.cbx
(/usr/local/texlive/2012/texmf-dist/tex/latex/biblatex/cbx/authoryear-comp.cbx)
)) (/usr/local/texlive/2012/texmf-dist/tex/latex/biblatex/biblatex.cfg))
(/usr/local/texlive/2012/texmf-dist/tex/latex/subfig/subfig.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/caption/caption.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/caption/caption3.sty)))
(/usr/local/texlive/2012/texmf-dist/tex/latex/lipsum/lipsum.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/eurosym/eurosym.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/classicthesis/classicthesis.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/local/texlive/2012/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
(/usr/local/texlive/2012/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty))
(/usr/local/texlive/2012/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/local/texlive/2012/texmf-dist/tex/latex/latexconfig/hyperref.cfg))Package hyperref Message: Driver (autodetected): hpdftex.
(/usr/local/texlive/2012/texmf-dist/tex/latex/hyperref/hpdftex.def
(/usr/local/texlive/2012/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty))
(/usr/local/texlive/2012/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/latexconfig/color.cfg)
(/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/dvipsnam.def))
(/usr/local/texlive/2012/texmf-dist/tex/latex/psnfss/mathpazo.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/bera/beramono.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/eulervm/eulervm.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/microtype/microtype.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/microtype/microtype.cfg))
(/usr/local/texlive/2012/texmf-dist/tex/latex/booktabs/booktabs.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/textcase/textcase.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/koma-script/scrpage2.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/titlesec/titlesec.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/tocloft/tocloft.sty)
Using KOMA-command “deffootnote” for footnote setup
(/usr/local/texlive/2012/texmf-dist/tex/latex/koma-script/scrtime.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/carlisle/remreset.sty))
(/usr/local/texlive/2012/texmf-dist/tex/latex/arsclassica/arsclassica.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/titlesec/block.tss)Package hyperref Warning: Option `hyperfootnotes' has already been used,
(hyperref) setting the option has no effect on input line 192.Package hyperref Warning: Option `pdfpagelabels' has already been used,
(hyperref) setting the option has no effect on input line 192.) (/usr/local/texlive/2012/texmf-dist/tex/latex/oberdiek/bookmark.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/oberdiek/auxhook.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/oberdiek/bkm-pdftex.def))
(./impostazioni-tesi.tex
(/usr/local/texlive/2012/texmf-dist/tex/latex/listings/lstlang1.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/listings/lstlang2.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/listings/lstlang3.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/listings/lstlang1.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/listings/lstlang2.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/listings/lstlang3.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/listings/lstlang1.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/listings/lstlang2.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/listings/lstlang3.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/listings/lstmisc.sty)Package hyperref Warning: Option `hyperfootnotes' has already been used,
(hyperref) setting the option has no effect on input line 105.Package hyperref Warning: Option `pdfpagelabels' has already been used,
(hyperref) setting the option has no effect on input line 105.)
(/usr/local/texlive/2012/texmf-dist/tex/latex/biblatex-philosophy/italian-philo
sophy.lbx
(/usr/local/texlive/2012/texmf-dist/tex/latex/biblatex/lbx/italian.lbx))Package biblatex Warning: 'babel' detected but 'csquotes' missing.
(biblatex) Loading 'csquotes' recommended.(./zoz.aux
(/usr/local/texlive/2012/texmf-dist/tex/latex/biblatex-philosophy/english-philo
sophy.lbx
(/usr/local/texlive/2012/texmf-dist/tex/latex/biblatex/lbx/english.lbx)))
(/usr/local/texlive/2012/texmf-dist/tex/latex/psnfss/t1pplj.fd)
(/usr/local/texlive/2012/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/local/texlive/2012/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/oberdiek/grfext.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
No file zoz.bbl.
(/usr/local/texlive/2012/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/local/texlive/2012/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))
(/usr/local/texlive/2012/texmf-dist/tex/latex/microtype/mt-ppl.cfg)
(./zapping/abstract-only.tex
(/usr/local/texlive/2012/texmf-dist/tex/latex/iwona/t1iwona.fd)
Overfull \hbox (2.1098pt too wide) in paragraph at lines 12–21
\T1/pplj/m/n/10 Since Jan.1,2009 any com-pu-ta-tion in-volv-ing Earth's grav-i-
ta-tional field should
) (/usr/local/texlive/2012/texmf-dist/tex/latex/eulervm/uzeur.fd)
(/usr/local/texlive/2012/texmf-dist/tex/latex/microtype/mt-eur.cfg)
(/usr/local/texlive/2012/texmf-dist/tex/latex/eulervm/uzeus.fd)
(/usr/local/texlive/2012/texmf-dist/tex/latex/microtype/mt-eus.cfg)
(/usr/local/texlive/2012/texmf-dist/tex/latex/eulervm/uzeuex.fd)
(/usr/local/texlive/2012/texmf-dist/tex/latex/microtype/mt-msa.cfg)
(/usr/local/texlive/2012/texmf-dist/tex/latex/microtype/mt-msb.cfg)
(/usr/local/texlive/2012/texmf-dist/tex/latex/psnfss/ot1zplm.fd) [1{/usr/local/
texlive/2012/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] [2]
(./zapping/Bibliografia.tex)LaTeX Warning: Empty bibliography on input line 11.
(./zoz.aux)
LaTeX Warning: There were undefined references.
Package biblatex Warning: Please (re)run Biber on the file:
(biblatex) zoz
(biblatex) and rerun LaTeX afterwards.)
(see the transcript file for additional information){/usr/local/texlive/2012/te
xmf-dist/fonts/enc/dvips/base/8r.enc}{/usr/local/texlive/2012/texmf-dist/fonts/
enc/dvips/iwona/ec-iwona.enc}
Output written on zoz.pdf (2 pages, 41059 bytes).
Transcript written on zoz.log.
`
Grazie, comunque, della risposta. Lo stesso comando, invece, applicato alla cartella di TesiClassica … funziona!
Non capisco cosa … non hai capito!
19 Aprile 2013 alle 14:14 in risposta a: [Risolto] Errore nella compilazione di Tesi Classica #85039::
Nessun progresso. Ecco script ed elenco file. Ciao
Edit. Link da cui ho scaricato il pacchetto
`
Script di compilazione
———————-
#!/bin/sh
pdflatex $1
pdflatex $1
pdflatex $1 # ripetuto tre volte per linkare referenze, indici e altro
echo ” Fine Compilazione … in attesa di visualizzare file .PDF”
evince $1.pdf
echo ” Fine ”Contenuto della cartella
————————
-rwxrwxrwx 1 451 2011-09-03 17:18 Bibliografia.bib
-rwxrwxrwx 1 5623 2013-04-14 15:40 impostazioni-tesi.tex
-rwxrwxrwx 1 323107 2007-05-30 21:01 Sigillo.pdf
-rw-r–r– 1 11727 2013-04-19 11:21 Tesi.aux
-rw-r–r– 1 11923 2013-04-19 11:21 Tesi.bcf
-rw-r–r– 1 1008 2013-04-19 11:20 Tesi-frn.tex
-rw-r–r– 1 1449 2013-04-19 11:21 Tesi.lof
-rw-r–r– 1 65564 2013-04-19 11:21 Tesi.log
-rw-r–r– 1 775 2013-04-19 11:21 Tesi.lot
-rw-r–r– 1 428977 2013-04-19 11:21 Tesi.pdf
-rw-r–r– 1 2646 2013-04-19 11:21 Tesi.run.xml
-rwxrwxrwx 1 5810 2013-04-14 15:39 Tesi.tex
-rw-r–r– 1 2274 2013-04-19 11:21 Tesi.toc
`
::
Chiedo scusa se riapro la discussione, ma mi sono accorto poco fa che il file compilato Tesi.pdf è “zoppo” della pagina di copertina, cioè la prima pagina è vuota, mentre le altre 22 sono stampate regolarmente. Spero di riuscire ad inserire nel post (“Aggiungi file”) il file zippato di Tesi.log, che è molto lungo (circa 1700 righe), altrimenti ditemi quale “pezzo” devo copiare tra i tag di code. Grazie.Edit. Niente da fare, il file .tar.gz preparato non è stato trasferito.
::
Il codice, tratto dal pacchetto che ho scaricato da un link di questo forum, è il seguente:
`
%******************************************%
% %
% Modello di tesi di laurea o di dottorato %
% di Lorenzo Pantieri © %
% %
% versione: 14 aprile 2013 %
% %
%******************************************%% I seguenti commenti speciali impostano:
% 1. utf8 come codifica di input,
% 2. PDFLaTeX come motore di composizione;
% 3. Tesi.tex come documento principale;
% 4. il controllo ortografico italiano per l'editor.% !TEX encoding = UTF-8 Unicode
% !TEX TS-program = pdflatex
% !TEX root = Tesi.tex
% !TEX spellcheck = it-IT\documentclass[10pt,% % corpo del font principale
a4paper,% % carta A4
twoside,openright,% % fronte-retro
% oneside,openany,% % solo fronte
titlepage,% % frontespizio
headinclude,,footinclude,% % testatina e piede di pagina
BCOR5mm,% % rilegatura di 5 mm
cleardoublepage=empty,% % pagine vuote senza testatina e piede di pagina
tablecaptionabove,% % didascalie in cima alle tabelle
]{scrreprt} % classe report di KOMA-Script;\usepackage[T1]{fontenc} % codifica dei font:
% NOTA BENE! richiede una distribuzione *completa* di LaTeX,
% per esempio TeXLive o MiKTeX *complete*\usepackage[utf8]{inputenc} % codifica di input; anche [latin1] va bene
% NOTA BENE! va accordata con le preferenze dell'editor\usepackage[english,italian]{babel} % per scrivere in italiano e in inglese;
% l'ultima lingua (l'italiano) risulta predefinita\usepackage[suftesi]{frontespizio} % frontespizo
% per includerlo nel documento bisogna:
% 1. compilare una prima volta Tesi.tex;
% 2. compilare a parte Tesi-frn.tex, generato dalla compilazione precedente;
% 3. compilare ancora Tesi.tex.\usepackage{indentfirst} % rientra il primo capoverso di ogni sezione
\usepackage{graphicx} % immagini
\usepackage{listings} % codici
\usepackage[font=small]{quoting} % citazioni
\usepackage{amsmath,amssymb,amsthm} % matematica
\usepackage[italian]{varioref} % riferimenti completi della pagina
\usepackage{mparhack,fixltx2e,relsize} % finezze tipografiche
\usepackage{tabularx} % tabelle di larghezza prefissata
\usepackage[style=philosophy-modern,hyperref,backref,square,natbib,backend=biber]{biblatex}
% eccellente pacchetto per la bibliografia;
% produce uno stile di citazione autore-anno;
% lo stile “numeric-comp” produce riferimenti numerici;
% NOTA BENE! bisogna che il proprio editor sia configurato per biber\addbibresource{Bibliografia.bib} % database di biblatex
\usepackage{subfig} % sottofigure, sottotabelle
\usepackage{lipsum} % testo fittizio
\usepackage{eurosym} % simbolo dell'euro
\usepackage[eulerchapternumbers,% % numeri dei capitoli nel font Euler
subfig,% % se si usa il pacchetto subfig
beramono,% % Bera Mono come font a spaziatura fissa
eulermath,% % AMS Euler come font per la matematica
pdfspacing,% % migliora il riempimento di riga
listings,% % codici
% parts,% % da decommentare in un documento diviso in parti
]{classicthesis} % stile ClassicThesis\usepackage{arsclassica} % modifica alcuni aspetti di ClassicThesis
\usepackage{bookmark} % segnalibri
\input{impostazioni-tesi} % file con le impostazioni personali
\begin{document}
\pagestyle{scrheadings}
\pagenumbering{roman}
%******************************************************************
% Materiale iniziale
%******************************************************************
\input{MaterialeInizialeFinale/Frontespizio}
\input{MaterialeInizialeFinale/Colophon}
\input{MaterialeInizialeFinale/Dedica}
\input{MaterialeInizialeFinale/Indici}
\input{MaterialeInizialeFinale/Sommario+Abstract}
\input{MaterialeInizialeFinale/Ringraziamenti}
\input{MaterialeInizialeFinale/Introduzione}
\cleardoublepage
%******************************************************************
% Materiale principale
%******************************************************************
\pagenumbering{arabic}
\input{Capitoli/Lorem}
\input{Capitoli/Ipsum}
\appendix
\input{Capitoli/Dolor}
% *****************************************************************
% Materiale finale
%******************************************************************
\input{MaterialeInizialeFinale/Bibliografia}
\input{MaterialeInizialeFinale/Dichiarazione}
\end{document}
`
Grazie delle risposteEdit: purtroppo non riesco a copiare nell’apposito form il file grafico che mostra il completo indirizzo del prelievo. comunque si tratta del file TesiClassica.zip
::
Ti ringrazio, OldClaudio.
Appena sento il mio amico, gli passo direttamente il link della tua esaurientissima risposta. Io, comunque, un’idea me la son fatta. Quel portale, e ce ne sono tanti altri simili in giro, non fa altro che creare in automatico un codice .tex che utilizza degli standard obsoleti, per cui di fatto il listato è incompilabile.
Qualcosa del genere viene sviluppato dal notissimo pacchetto opensource Geogebra; di recente hanno pure creato un codice .tex per figure in grafica vettoriale Asymptote, ma il risultato, in termini di rendering, è veramente penoso! Addirittura un diagramma cartesiano con 4 frecce, due per le ascisse e due per le ordinate.Tornando a Chess , i codici “moderni” funzionano, eccome! Ecco un esempio:
`
\documentclass{article}
\usepackage{skak}\begin{document}
\section*{Chess}\newgame
\mainline{1.e4 e5 2. Nf3 Nc6 3.Bb5}
\[ \showboard \]
\mainline{3…a6} Rarely used these days,
\variation{3…Nf6} is more in fashion since blah blah… \\
\mainline{4.Ba4}
\[ \showboard \]\end{document}
`Mille grazie e … alla prossima!
::OldClaudio” post=84197… suppongo che Make ti consenta di specificare un prefisso in modo che lo scaricamento avvenga nell’albero personale.
Eccolo … il makefile e la sua interpretazione mi sembra alquanto criptica. Sarebbe gradito che qualche utente del forum provasse a compilare il codice del precedente post per poter dire al mio amico “si può fare” oppure rinunciaci definitivamente. Parliamo di pacchetti del 1992! Grazie
`
# File: Makefile
# Purpose: automatic generation of documentation and installation
# of the fonts (at least on UNIX)
# Author: Piet Tutelaers (internet: rcpt@urc.tue.nl)
# Version: Febr. 1992
#SHELL = /bin/sh
#
# Next definitions should point to the place where the .sty files are
# stored (INPUTS) and where the .tfm files are (FONTS)
#
INPUTS = /usr/local/lib/tex30/inputs
FONTS = /usr/local/lib/tex30/fonts:/usr/local/lib/tex30/PSfonts:#
# Next definitions should point to the place where the .sty files are
# installed (DESTINPUTS), the .tfm files (DESTFONTS) and the 300pk
# files (DESTPK)
DESTTEX=/usr/local/lib/tex30
DESTINPUTS= $(DESTTEX)/inputs
DESTFONTS = $(DESTTEX)/fonts
DESTPK = $(DESTTEX)/pkfontsMFCHESSBASE= mf/chesspieces.mf mf/chessbase.mf
CHESSMACROS= chess20.300pk chessf10.300pk inputs/chess.sty.SUFFIXES: .dvi .ps .300gf .300pk
all: fonts doc
doc: TUGboat.ps Symbols.ps tal.ps Kasparov.ps
@echo “You can send the PostScript files to the printer”fonts: chess10.300pk chess20.300pk chess30.300pk chessf10.300pk
TUGboat.dvi: doc/TUGboat.ltx doc/TUGgame.ltx $(CHESSMACROS)
(TEXINPUTS=.:doc:inputs:$(INPUTS); export TEXINPUTS; \
TEXFONTS=fonts:$(FONTS); export TEXFONTS; \
latex “\batchmode\input TUGboat.ltx” \
latex “\batchmode\input TUGboat.ltx”)Symbols.dvi: doc/Symbols.ltx $(CHESSMACROS)
(TEXINPUTS=.:doc:inputs:$(INPUTS); export TEXINPUTS; \
TEXFONTS=fonts:$(FONTS); export TEXFONTS; \
latex “\batchmode\input Symbols.ltx”)tal.dvi: doc/tal.ltx $(CHESSMACROS)
(TEXINPUTS=.:doc:inputs:$(INPUTS); export TEXINPUTS; \
TEXFONTS=fonts:$(FONTS); export TEXFONTS; \
latex “\batchmode\input tal.ltx”)Kasparov.dvi: doc/Kasparov.ltx $(CHESSMACROS)
(TEXINPUTS=.:doc:inputs:$(INPUTS); export TEXINPUTS; \
TEXFONTS=fonts:$(FONTS); export TEXFONTS; \
latex “\batchmode\input Kasparov.ltx”).dvi.ps:
(TEXINPUTS=.:doc:inputs:$(INPUTS); export TEXINPUTS; \
dvips -o $*.ps $<) .300gf.300pk: gftopk $< chess10.tfm chess10.300gf: mf/chess10.mf $(MFCHESSBASE) (MFINPUTS=mf; export MFINPUTS; \ mf "\mode:=localfont; input chess10") chess20.tfm chess20.300gf: mf/chess20.mf $(MFCHESSBASE) (MFINPUTS=mf; export MFINPUTS; \ mf "\mode:=localfont; input chess20") chess30.tfm chess30.300gf: mf/chess30.mf $(MFCHESSBASE) (MFINPUTS=mf; export MFINPUTS; \ mf "\mode:=localfont; input chess30") chessf10.tfm chessf10.300gf: mf/chessf10.mf $(MFCHESSBASE) (MFINPUTS=mf; export MFINPUTS; \ mf "\mode:=localfont; input chessf10") install: fonts inputs/chess.sty install -m 644 chess20.300pk $(DESTPK) install -m 644 chessf10.300pk $(DESTPK) install -m 644 chess20.tfm $(DESTFONTS) install -m 644 chessf10.tfm $(DESTFONTS) (cd inputs; install -c -m 644 chess.sty $(DESTINPUTS)) clean: rm -f *gf *pk *.ps *.dvi *.aux *.log *.tfm SOURCES = README \ CHANGES12 \ CopyRight \ INSTALLATION \ Makefile \ doc/TUGboat.ltx \ doc/TUGgame.ltx \ doc/boards.ltx \ doc/tal.ltx \ doc/tal.tex \ doc/Kasparov.ltx \ doc/Symbols.ltx \ doc/Symbols.tex \ doc/dutch-tt.tex \ doc/dutch-tt.ltx \ doc/SchaakMaatje.ltx \ inputs/chess.sty \ mf/README \ mf/chessf10.mf \ mf/chessdiag.mf \ mf/chess20.mf \ mf/chessbase.mf \ mf/chesspieces.mf \ mf/chess30.mf \ mf/chessdiag.Xmf \ mf/chess10.mf printsources: enscript -pchess12.ps $(SOURCES) @echo "You can send the chess12.ps to the printer" # DO NOT DELETE THIS LINE -- make depend depends on it. TUGboat.dvi: chess10.300pk chess20.300pk chessf10.300pk `::
Questo nuovo schema mi sembra … migliore!
`
% ——– eucl3.tex (Set.12)———–
% Esempio minimale del pacchetto tikz
%————————————
\documentclass{minimal}
\usepackage{tikz}\begin{document}
\pagestyle{empty}\begin{tikzpicture}[set style={{help lines}+=[dashed]}]
\draw[style=help lines] (0,0) grid +(12,12);
\draw (4,11) grid +(1,1);
\draw (6,10) grid +(1,1);
\draw (4,10) grid +(1,1);
%—–
\draw (4,9) grid +(1,1);
\draw (6,9) grid +(1,1);
%—–
\draw (6,8) grid +(1,1);
\draw (4,8) grid +(1,1);
%
\draw (4,7) grid +(1,1);
\draw (6,7) grid +(1,1);
%
\draw (6,6) grid +(1,1);
\draw (4,6) grid +(1,1);
%
\draw (4,5) grid +(1,1);
\draw (6,5) grid +(1,1);
%
\draw (6,4) grid +(1,1);
\draw (4,4) grid +(1,1);
%
\draw (4,3) grid +(1,1);
\draw (6,3) grid +(1,1);%——————————————————
% red1
\draw [red,very thick,->] (5,11.2) — (6,10.8);
\draw [red,thick, ->] (5.25,10.5) — (5,10.5);
\draw [red,thick, ->] (6,10.5) — (5.75,10.5);
\draw (5.5,10.5) circle (0.2);
\draw [red,thick, ->] (4.5,10.2) — (4.5,9.8);
% blue1
\draw [blue,very thick,->] (6,10.2) — (5,9.8);
\draw [blue,thick,->] (5.75,9.5) — (6,9.5);
\draw [blue,thick,->] (5,9.5) — (5.25,9.5);
\draw (5.5,9.5) circle (0.2);
\draw [blue,thick, ->] (6.5,9.2) — (6.5,8.8);
%—————–
% red2
\draw [red,very thick,->] (5,9.2) — (6,8.8);
\draw [red,thick, ->] (5.25,8.5) — (5,8.5);
\draw [red,thick, ->] (6,8.5) — (5.75,8.5);
\draw (5.5,8.5) circle (0.2);
\draw [red,thick, ->] (4.5,8.2) — (4.5,7.8);
% blue2
\draw [blue,very thick,->] (6,8.2) — (5,7.8);
\draw [blue,thick,->] (5.75,7.5) — (6,7.5);
\draw [blue,thick,->] (5,7.5) — (5.25,7.5);
\draw (5.5,7.5) circle (0.2);
\draw [blue,thick, ->] (6.5,7.2) — (6.5,6.8);
%—————–
% red3
\draw [red,very thick,->] (5,7.2) — (6,6.8);
\draw [red,thick, ->] (5.25,6.5) — (5,6.5);
\draw [red,thick, ->] (6,6.5) — (5.75,6.5);
\draw (5.5,6.5) circle (0.2);
\draw [red,thick, ->] (4.5,6.2) — (4.5,5.8);% ——– Fill numbers ———–
\node at (4.5,11.5) {2993};
\node at (6.5,10.5) {1095};
\node at (5.5,10.5) {2};
\node at (4.5,10.5) {2190};
%—
\node at (6.5,9.5) {803};
\node at (5.5,9.5) {1};
\node at (4.5,9.5) {803};
%—
\node at (6.5,8.5) {292};
\node at (5.5,8.5) {2};
\node at (4.5,8.5) {584};
%
\node at (4.5,7.5) {219};
\node at (5.5,7.5) {1};
\node at (6.5,7.5) {219};
%—
\node at (6.5,6.5) {73};
\node at (5.5,6.5) {3};
\node at (4.5,6.5) {219};
%
\node at (4.5,5.5) {0};\end{tikzpicture}
\end{document}
`@ ciandra. Quel riferimento l’ho preso dal big-manual di Tantau. Non ricordo la pagina, ma appena la trovo ne posto il numero.
Ciao
Till Tantau: The TikZ and PGF manual, pagina 81 (su 405), Edizione June 2007
Attachments:
You must be logged in to view attached files.::
Ecco una soluzione “spartana” (ma tikz permette qualità grafiche di altissimo livello) del codice, con la figura catturata dal pdf.
`
% ——– eucl.tex (Set.12)———–
% Esempio minimale del pacchetto tikz
%————————————
\documentclass{minimal}
\usepackage{tikz}\begin{document}
\pagestyle{empty}\begin{tikzpicture}[set style={{help lines}+=[dashed]}]
\draw[style=help lines] (0,0) grid +(12,12);
\draw (4,11) grid +(1,1);
\draw (6,10) grid +(1,1);
\draw (10,10) grid +(1,1);
%—–
\draw (4,9) grid +(1,1);
\draw (0,9) grid +(1,1);
%—–
\draw (6,8) grid +(1,1);
\draw (4,7) grid +(1,1);
\draw (6,6) grid +(1,1);
\draw (4,5) grid +(1,1);
%——————————————————
% red1
\draw [red,very thick,->] (5,11) — (6,10.5);
\draw [red,thick, ->] (7,10.5) — (8,10.5);
\draw (8.5,10.5) circle (0.5);
\draw [red,thick, ->] (9,10.5) — (10,10.5);
% blue1
\draw [blue,very thick,->] (6,10) — (5,9.5);
\draw [blue,thick,->] (4,9.5) — (3,9.5);
\draw (2.5,9.5) circle (0.5);
\draw [blue,thick,->] (2,9.5) — (1,9.5);% ……… e così via
% ——– Fill numbers ———–
\node at (4.5,11.5) {2993};
\node at (6.5,10.5) {1095};
\node at (8.5,10.5) {2};
\node at (10.5,10.5) {2190};
%—
\node at (4.5,9.5) {803};
\node at (2.5,9.5) {1};
\node at (0.5,9.5) {803};
%—
\node at (3.5,8.5) {$da\; completare$};
\end{tikzpicture}\end{document}
`
[attachment=425]scr13.png[/attachment]
Attachments:
You must be logged in to view attached files. -
AutoreRisposte