GuIT

  • Increase font size
  • Default font size
  • Decrease font size
Gli articoli del numero 18 di ArsTeXnica

Download dell'intero numero
Ottobre 2014 (10 Mb)

 

Editoriale

(Claudio Beccari)

Leggi l'articolo

 

Scrivere la tesi di laurea in LaTeX

(Agostino De Marco)

Sommario

Lo scopo del presente articolo è fornire gli strumenti per scrivere una tesi di laurea utilizzando LaTeX. Tale obiettivo è conseguito analizzando i problemi tipici incontrati durante la stesura della tesi e le possibili soluzioni, con una particolare attenzione ai pacchetti da usare nelle varie circostanze. I singoli argomenti non vengono approfonditi nei dettagli ma si rimanda, ove necessario, alla letteratura specifica o ai manuali dei pacchetti suggeriti.

Abstract

The goal of this article is to provide the tools to write a thesis with LaTeX. The article analyzes the problems that are usually encountered while writing a thesis and their solution, with a particular emphasis on the packages to use in each case. The topics are not examined in deep and, when necessary, the is referred to specific literature or to the manual of the suggested packages.

Leggi l'articolo

 

Scrivere report statistici con R e Sweave

(Michele Scandola, Nadia Baltieri)

Sommario

In questo articolo si cercherà di fornire alcune informazioni introduttive sull’uso di Sweave, uno strumento che permette di incorporare in documenti LaTeX porzioni di codice R, un linguaggio di programmazione per il calcolo statistico che negli ultimi anni sta guadagnando sempre più consensi, al punto tale da diventare il linguaggio di riferimento della comunità statistica.

Abstract

The purpose of this brief article is to give an introduction to Sweave, a tool that allows to embode, in LaTeX documents, R code. R is a statistical programming language that in the last years is becoming more and more popular, in so far as to become the referential programming language for the statistics community.

Leggi l'articolo

 

Typesetting and highlighting Unicode source code with LaTeX: a package comparison

(Roberto Giacomelli, Gianluca Pignalberi)

Sommario

LaTeX offre ai suoi utenti diversi pacchetti per comporre ed evidenziare del codice sorgente; questi pacchetti vanno dal più spartano (verbatim) a quello pressoché completo (listings). Come si comportano quando il loro input è un sorgente Unicode? L'articolo risponde a questa domanda con dei test specifici e cerca di condurre i lettori a una scelta, sia essa definitiva o da prendere di volta in volta.

Abstract

LaTeX offers its users several packages to typeset and highlight source code, ranging from the very basic one (verbatim) to the almost complete one (listings). How do they perform when their input is a Unicode source code? This paper answers this question with focused tests and tries to lead readers to a choice, be it either definitive or case-driven.


Leggi l'articolo

 

LaTeX per la stesura dei rapporti di prova

(Renato Battistin)

Sommario

Motivazioni, vantaggi e svantaggi dell’impiego di LaTeX nella stesura di rapporti tecnici relativi a prove di conformità a norme armonizzate vengono esaminati in un contesto di gestione strutturata dell’informazione. L’implementazione di contenuti ed aspetti stilistici del rapporto di prova è analizzata in un contesto volto al conseguimento di obiettivi di efficienza e di riduzione dei costi di stesura.

Abstract

Motivations, advantages and disadvantages of the use of LaTeX in the preparation of technical reports relating to tests of conformity to harmonized standards are examined in the context of a structured management of the information. The implementation of content and stylistic aspects of the test report is analyzed in a context aimed at achieving the objectives of efficiency and reducing the costs of writing.

Leggi l'articolo

 

Introduzione a Bibfilex. Un software libero per gestire dati bibliografici in formato Biblatex

(Massimo Nardello)

Sommario

L’articolo si propone di presentare Bibfilex, un software libero e mutipiattaforma utile a gestire archivi bibliografici in formato Biblatex pensato particolarmente per chi usa LaTeX nell’ambito umanistico. Dopo averne indicato la caratteristiche fondamentali e le principali funzionalità, ci si sofferma sul sistema di composizione delle citazioni. Questo consente di sostituire le chiavi presenti in un file in LaTeX con le relative citazioni complete, rendendo non più necessario l’impiego di BibTex o di Biber, e quindi agevolando enormemente la sua conversione in formato Word o Open Document.

Abstract

This paper describes Bibfilex, a free multiplatform software suitable to manage bibliographic databases to be processed with Biblatex; this software is intended mainly for use in the humanities.We first describe the main characteristics and the software functionalities, then we discuss in detail on the particular way of creating citations. This approach allows to replace the keys present in a LaTeX file with the complete citations, so that it is not necessary any more to use the bibliographic programs BibTex and Biber. By so doing it becomes very easy to convert source LaTeX documents to the Open Document format.

Leggi l'articolo

 

Funzionalità avanzate del sistema biblatex/Biber

(Ivan Valbusa)

Sommario

In questo articolo si descrivono alcune funzioni poco note messe a disposizione dal pacchetto biblatex usato assime al motore bibliografico Biber. È richiesta una conoscenza di base del funzionamento di questi programmi.

Abstract

This article describes some features available with the biblatex package when using Biber as bibliography engine. A basic knowledge of this programs is required.

Leggi l'articolo

 

Dealing with Ancient Works in Bibliographies

(Jean-Michel Hufflen)

Sommario

Le elaborazioni bibliografiche collegate con i word processor sono state pensate per gestire lavori recenti. In altre parole per questi lavori sono noti sia gli autori, sia le date di pubblicazione. Spesso queste informazioni sono usate per ordinare gli elenchi bibliografici, e perciò ci si aspetta che esse siano precise. Non è così quando ci si riferisce a lavori antichi. Qui mostriamo come una estensione al nostro programma MlBibTeX ci permette di gestire questi casi mediante pattern.

Abstract

Bibliography processors used in conjonction with word processors have been designed in order to deal with recent works. That is, authors and publishing dates are known. Often, these informations are used to sort bibliographies, so they are supposed to be precise. This is not the case if ancient works are cited. We show how an extension of our MlBibTEX bibliography processor can allow us to deal with such cases by means of patterns.

Leggi l'articolo

 

Greek and Latin hyphenation –Recent advances

(Claudio Beccari)

Sommario

Mediante un mio recente pacchetto è venuto alla luce un problema relativo alla sillabazione del greco, nelle sue tre varietà, quella del greco moderno monotonico, di quello moderno politonico e di quello antico politonico, che si manifesta quando si compone il testo con pdflatex, il quale riconosce solo i font con codifiche di otto bit. Di fatto da diversi anni i file di formato contengono i pattern di sillabazione delle tre varietà di greco, ma il file di descrizione di questa lingua usa solo quelli peril greco moderno politonico; inoltre questi pattern funzionano correttamente solo se il testo sorgente è scritto mediate la traslitterazione latina e i font con la codifica speciale LGR. Il problema è stato individuato; è stata trovata una soluzione; il lavoro è ancora in corso d’opera per mettere a punto i nuovi file. Nello stesso tempo i pattern di sillabazione per il latino corrente non erano adatti per comporre testi in latino classico; i latinisti non potevano lavorare bene con LaTeX e i pattern esistenti. È stato creato un nuovo set di pattern e si è creato un tipo nuovo di impostazione per cambiare i pattern da usare a seconda del tipo di testo latino che si sta componendo. Le soluzioni trovate per le due lingue sono simili e vengono raccolte in quest’unico articolo.

Abstract

A recent package of mine revealed some unacceptable inconveniences in the hyphenation of the Greek language: pdflatex, that can manage only 8-bit encoded fonts, could not differentiate between the actual three varieties of Greek (the modern monotonic, the modern polytonic, and the ancient polytonic ones) and could hyphenate more or less correctly provided that the source text was input with the special Latin transliteration connected with LGR encoded fonts. The hyphenation patterns for the three varieties had been part of any complete format file for years, but the Greek language description file used only the modern polytonic Greek patterns. The problem was detected; the solution was found; work is in progress in order to perform a fine tuning of the new facilities. At the same time the hyphenation patterns for standard Latin did not work well for classical Latin; the professional latinists did not work well with LaTeX and the existing hyphenation patterns. A new set of patterns was developed an a suitable set-up was created in order to switch pattern set according to the type of Latin that is being typeset. The solutions that have been found for Greek and Latin are similar, and for this reason we deal with them in a single article.

Leggi l'articolo

 

LilyPond: un music engraver integrabile con LaTeX

(Tommaso Gordini, Davide Liessi)

Sommario

L’incisione della musica su lastre di metallo ha rappresentato per almeno un secolo il vertice della scrittura musicale. Oggi quest’arte è praticamente scomparsa, soppiantata dai moderni programmi di notazione musicale che, tuttavia, non riescono nemmeno ad avvicinarsi alla bellezza di una calcografia. Perché l’incisione a mano è di tanto superiore? Perché i software attuali faticano a raggiungerne la qualità? L’incisione tradizionale è davvero scomparsa o è possibile recuperarne i princìpi? Nelle prossime pagine cercheremo di rispondere a queste domande presentando LilyPond, un music engraver open source capace di realizzare prodotti particolarmente raffinati, e alcune sue possibili integrazioni con LaTeX.

Abstract

Music engraving on metal plates has been the highest point in music writing for at least a century. Nowadays this art has almost disappeared in favour of modern music notation programs. However computers are far from achieving the beauty of calcography-engraved music. Why is hand engraving so much superior? Why are computer programs so inferior in quality? Has traditional engraving really disappeared or is it possible to recover its principles? In this paper we try to answer these questions. We will introduce LilyPond, an open source music engraver which can achieve very refined results. We will also present some possible ways of integrating LilyPond and LaTeX.

Leggi l'articolo

 

XML e tagged PDF

(Luigi Scarso)

Sommario

In questo articolo mostriamo come gestire in ConTeXt un documento in formato Xml per produrre una rappresentazione in formato PDF e come l’utilizzo dei tag permetta di strutturare il documento PDF in modo analogo al documento XML. Viene presentato un originale foglio di stile per il completo embedding del documento XML sorgente e come analizzare il PDF tramite LuaTeX per estrarre il documento.

Abstract

In this paper we show how to manage an XML document in ConTeXt to produce a PDF output and how the tags of the PDF can be used to give a structure to the PDF document. We also show a novel stylesheet for the complete embedding of the XML source into the PDF and how to analyze the final PDF with LuaTeX to extract the document.

Leggi l'articolo

 

Lo stile tipografico: teoria e pratica.

(Claudio Vincoletto)

Sommario

Alcuni processi vengono presi in esame per elaborare la sintesi di uno stile tipografico, attingendo da abitudini del passato ed esplorando limiti e possibilità di tecniche consolidate. Lo studio di antichi modelli, non solo per perfezionare il gusto nei confronti di una buona tipografia, ma come stimolo di riflessione e sviluppo di nuove ed originali soluzioni.

Abstract

Some processes are considered to develop the synthesis of a typographic style, drawing from past habits and exploring the limits and possibilities of established techniques. The study of ancient models, not only to improve the taste against a good typography, but as a stimulus for reflection and development of new and original solutions.

Leggi l'articolo

 

Espressioni regolari in LaTeX

(Enrico Gregorio)

Sommario

Con expl3, l’ambiente di programmazione per LaTeX3, e il pacchetto l3regex possiamo usare espressioni regolari come in Perl e altri linguaggi.

Abstract

With expl3, the programming environment for LaTeX3, and the l3regex package we can use regular expressions like in Perl e other languages.

Leggi l'articolo

 

MenùTeX: una piattaforma per realizzare menù

(Claudio Fiandrino)

Sommario

L’articolo presenta MenùTeX, una piattaforma che realizza semplici menù stampati su foglio a4 in formato 2 x 3. Per la redazione del documento, la piattaforma mette a disposizione un’interfaccia grafica attraverso cui gli utenti accedono ad informazioni presenti su un database.

Abstract

The article presents MenùTeX, an architecture which aims to print simple menus on a4 paper in a 2 x 3 format. To create the final document, the architecture provides a graphical interface that enables the users to access information stored in a database.

Leggi l'articolo

 

La produzione di una rivista: ArsTeXnica

(Massimiliano Dominici)

Sommario

Nell’ultimo anno è stata intrapresa la riorganizzazione della rivista ArsTeXnica. Dopo la ristrutturazione dei compiti della redazione, è la volta degli strumenti di produzione ad essere oggetto di revisione.

Abstract

During the past year ArsTeXnica has gone through a process of reorganization. After the structure of editorial board it’s now the turn of the build process to be revised.

Leggi l'articolo