Text Formatting"Webliography"

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
ffarr
Posts: 28
Joined: Sat Apr 23, 2011 6:00 pm

"Webliography"

Post by ffarr »

Hello, how can I insert a "Webliography" in LaTeX?

For the bibliography I decided to use

Code: Select all

\begin{thebibliography}{100}
% content
\end{thebibliography}
and it works just fine. I need a simple way to create my webliography too without any file.bib

Thank you

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

"Webliography"

Post by localghost »

I suggest to take look at the biblatex package. It allows to create several bibliographies in one document. You may also migrate your bibliography to that package. This would be preferable to doing a bibliography manually.


Thorsten
ffarr
Posts: 28
Joined: Sat Apr 23, 2011 6:00 pm

"Webliography"

Post by ffarr »

I had a look to BibTeX it. I understood how it works and I tested it on my frined's dissertation (already written in LaTeX), on my pc and my Winedt - the program I use.
My friend's file works, mine doesn't.
I tried with his file.bib, in my folder. The program doesn't give me any error but it just doesn't print the bibliography.

I post my header:

Code: Select all

\documentclass[12pt,a4paper,twoside,italian]{book}
\usepackage[T1]{fontenc}
%\usepackage[urw-garamond]{mathdesign}
\usepackage{fourier} %changes font
\usepackage[italian]{babel}
\usepackage[latin1]{inputenc}
\usepackage[%
      %papersize={120mm,195mm},
      left=30mm,
      right=30mm,
      bottom=20mm,
      top=18mm,
      headheight=14pt,
      includehead,
      nofoot,
    ]{geometry}
\usepackage{babel}
\usepackage[raggedright,pagestyles]{titlesec}% Add “clearempty” option if you need to get rid of headers/footers on empty pages
\usepackage{blindtext}
\usepackage{color}

%\titleformat{\chapter}{\normalfont\large\bfseries}{}{0pt}{\Large}[]
%\titleformat{\section}{\normalfont\large\bfseries}{}{0pt}{\Large}
%%% Page styles

\makeatletter

\newpagestyle{toc}{% Create a page style for TOC
   \let\ps@plain\ps@empty% Redefine plain style which is automatically applied to the first page of TOC; put “empty”, or “main”, or any other page style you like
   \sethead[][][]{}{}{}
}

\newpagestyle{chapter}{% Create a page style for the first page of a chapter
   \setfoot[][\thepage][]{}{\thepage}{}
}

\newpagestyle{main}{%
   \let\ps@plain\ps@chapter% Activate page style for the first page of a chapter
   \sethead[\small{\thepage}][][\small{\sc{Titolo Tesi}}]{\small{{\sc{\chaptertitle}} - \sectiontitle}}{}{\small{\thepage}}
   \headrule
}

\makeatother


\usepackage{microtype}

\setlength{\topskip}{15mm} %skip dalla riga superiore
\linespread{1.2} % interlinea - funzionante

\usepackage{graphicx} %per usare le immagini

\usepackage{appendix}
\usepackage{biblatex} %per bibliografia
\usepackage{url}
% Dati del documento
\title{TITOLO}
\author{Author}
\date{}
\bibliography{file}

\begin{document}
To print it I use:

Code: Select all

\newpage 
\printbibliography
My friend's file is just an "article". Could it be that the reason?

Thank you all
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

"Webliography"

Post by localghost »

Your code snippets are useless. Build a minimal example that is compilable out of the box and shows the problem(s) clearly.
Post Reply