Latex/Bibtex - Error of no match for citations?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Latex/Bibtex - Error of no match for citations?
# 1  
Old 11-30-2012
Latex/Bibtex - Error of no match for citations?

I'm trying to add citations to this latex formatted paper. I know the bibtex file is causing the issue. I will try to use this document as a reference once I have a working version. If anyone has an idea what these errors could mean that would help immensely. Any ideas how to fix would also be great.

paper.tex:
Code:
\documentclass[11pt]{article}
\usepackage{graphics}
\usepackage{graphicx}

\begin{document}

\title {Five Likable Features in Unix}

\author{Daniel E. Kowalski\\
        Florida State University}

\date{November 2012}
\maketitle

\begin{abstract}
This paper describes the five features: "grep", "sed", "latex", "gnuplot", and Perl's "push/pop" function.
\end{abstract}

\section{Grep}
\label{grep_intro}
 The \textit{grep}~\cite{grepA} command searches one or more input files for lines containing a match to a specified pattern. By default, grep prints the matching lines.~\cite{grepB}
\subsection{Common Grep Options}
\label{invoking}
\begin{verbatim}
       grep [options] PATTERN [FILE...]
       grep [options] [-e PATTERN | -f FILE] [FILE...]
       -----------------------------------------------
       -A NUM, --after-context=NUM
       -a, --text
       --colour[=WHEN], --color[=WHEN]
       -c, --count
       -E, --extended-regexp
       -e PATTERN, --regexp=PATTERN
       -F, --fixed-strings
       --perl-regexp Interpret PATTERN as a Perl regular expression.
       -f FILE, --file=FILE
       -G, --basic-regexp
       -H, --with-filename
       --help
       -n, --line-number
       -V, --version


\end{verbatim} 



\subsection{Grep Regular Expression Functionality}
\begin{verbatim}
    ?    -  The preceding item is optional and matched at most once.
    *    -  The preceding item will be matched zero or more times.
    +    -  The preceding item will be matched one or more times.
   {n}   -  The preceding item is matched exactly n times.
   {n,}  -  The preceding item is matched n or more times.
   {n,m} -  The preceding item is matched at least n times, but 
               not more than m times.

   [:alnum:], [:alpha:], [:cntrl:], [:digit:], [:graph:], [:lower:], 
   [:print:], [:punct:], [:space:], [:upper:], and [:xdigit:]. 

   For example, [[:alnum:]] means [0-9A-Za-z].
   In basic regular expressions the metacharacters ?, +, {, |, (, and ) 
   lose their special meaning; instead use the backslashed versions \?, 
   \+, \{, \|, \(, and \).

\end{verbatim}
\label{example-grep}
\Large
\textbf{Example:}
    \textit{grep "cat" animals.txt}\\
\normalsize
        \textbf{animals.txt} file.
        \begin{verbatim}
        Horses nay.
        Ducks quack.
        The cat meows.
        Dogs bark.
        \end{verbatim}
\textbf{Result:}
\begin{verbatim}
    The cat meows.
\end{verbatim}
---------------------------------------------------------------------------------------------------
\section{Sed}
\label{sed_intro}
\textit{Sed}~\cite{sedA} is a stream editor. A stream editor is used to perform basic text transformations on an input stream (a file or input from a pipeline). While in some ways similar to an editor which permits scripted edits (such as ed), sed works by making only one pass over the input(s), and is consequently more efficient. But it is sed's ability to filter text in a pipeline which particularly distinguishes it from other types of editors.
\subsection{Sed Commands}
\begin{table}[htb]
\begin{tabular}{|c|c|c|}
\hline
Label&Comment&Block\\
\hline\hline
= - print line number&a \ - Append&b label - Branch\\
\hline
c \ - change&d and D - Delete&g and G - Get\\
\hline
h and H - Hole&i\ - Insert&l - Look\\
\hline
n and N - Next&p and P - Print&q - Quit\\
\hline
r filename - Read File&s/..../..../ - Substitute&t label - Test\\
\hline
w filename - Write Filename&x - eXchange&y/..../..../ - Transform\\
\hline

\end{tabular}
\caption{Advanced Sed Usage}
\label{tab:commands}
\end{table}

\textbf{A Step-by-Step Sed Substitution:}~\cite{sedB}\\
\begin{enumerate}
   \item Read from standard input or redirection (ex: "\textless alphabet.txt").
   \item Check string for regular expression match (ex: 's/abc/ABC').
   \item Substitute first occurrence 'abc' with 'ABC'.
   \item Pipe output to file or standard output (ex: " \textbar cat").\\
\end{enumerate}

\label{example-sed}
\Large
\textbf{Example:}
    \textit{sed 's/abc/ABC/'  \textless alphabet.txt \textbar cat}\\
\normalsize
        \textbf{alphabet.txt} file.
        \begin{verbatim}
        abcdefghijklmnopqrstuvwxyz
        \end{verbatim}
\textbf{Result:}
\begin{verbatim}
    ABCdefghijklmnopqrstuvwxyz
\end{verbatim}
---------------------------------------------------------------------------------------------------


\section{Latex}
\label{latex_intro}
 LaTeX~\cite{latexA} is a high-quality typesetting system; it includes features designed for the production of technical and scientific documentation. LaTeX is the de facto standard for the communication and publication of scientific documents.
 \begin{itemize}
 \item Article: for articles, the most commonly used class 
 \item Report: variant of article for a report 
 \item Letter: for letters 
 \item Book: for chapters of a book 
 \item Proc: for proceedings, based on article 
 \item Slides: to produce transparencies 
 \end{itemize}


\subsection{Sample LaTeX Code}
Here is a subset of code that was used to create this document:~\cite{latexB}
\begin{figure}
\begin{center}
\includegraphics[width=1.0\textwidth]{latexsshot}
\end{center}
\caption{XV Image of Latex Example}
\end{figure}
\begin{verbatim}
\documentclass[11pt]{article}
\usepackage{graphics}
\usepackage{graphicx}

\begin{document}

\title {Five Likable Features in Unix}

\author{Daniel E. Kowalski\\
        Florida State University}

\date{November 2012}
\maketitle
\end{verbatim}

\section{Perl - Push/Pop Functionality}
Perl~\cite{perlA} is a general-purpose programming language originally developed for text manipulation and now used for a wide range of tasks including system administration, web development, network programming, GUI development, and more.

The language is intended to be practical (easy to use, efficient, complete) rather than beautiful (tiny, elegant, minimal). Its major features are that it's easy to use, supports both procedural and object-oriented (OO) programming, has powerful built-in support for text processing.
\subsection{Push/Pop Functions}
\begin{itemize}
    \item  \textbf{push}: Treats ARRAY as a stack by appending the values of LIST to the end of ARRAY. The length of ARRAY increases by the length of LIST. 
           \begin{verbatim}
           $value (LIST) {
           $ARRAY[++$#ARRAY] = $value;
           }
           \end{verbatim}
   \item   \textbf{pop}: Pops and returns the last value of the array, shortening the array by one element.
           \begin{verbatim}
           @myNames = ('Larry', 'Curly', 'Moe');
           $oneName = pop(@myNames); 
           \end{verbatim}
\end{itemize}

\section{Gnuplot}
Gnuplot~\cite{gnuplotA} is a portable command-line driven graphing utility for Linux, OS/2, MS Windows, OSX, VMS, and many other platforms. The source code is copyrighted but freely distributed (i.e., you don't have to pay for it). It was originally created to allow scientists and students to visualize mathematical functions and data interactively, but has grown to support many non-interactive uses such as web scripting. It is also used as a plotting engine by third-party applications like Octave. Gnuplot has been supported and under active development since 1986.
\begin{figure}
\begin{center}
\includegraphics[width=1.0\textwidth]{gnugraph}
\end{center}
\caption{XV Image of Gnuplot Graph}
\end{figure}
\begin{figure}
\begin{center}
\includegraphics[width=1.0\textwidth]{xfig}
\end{center}
\caption{Xfig Drawing}
\end{figure}



\bibliographystyle{abbrv}
\bibliography{refs}


\end{document}

refs.bib code:
Code:
@unpublished{grepA,
    author = "R. Anklam",
    title = "Introduction to grep",
    note = "Web Blog"
}

@article{grepB,
    author = "J. Haas",
    title = "Linux Guide",
    publisher = "About.com",
    year = "2011"
}

@article{sedA,
    author = "Open Contribution",
    title = "sed, a stream edit",
    publisher = "Free Software Foundation",
    year = "1998"
}

@unpublished{sedB,
    author = "B. Barnett",
    title = "Sed - An Introduction and Tutorial by Bruce Barnett",
    note = "Personal Webpage"
}

@manual{latexA,
    title = "Latex - A Document Preparation System",
    publisher = "Latex Project",
    month = "January",
    year = "2010",
}

@techreport{latexB,
    author = "L. Armstrong and L. Dupriss",
    title = "LaTeX General Help",
    Institution = "Central European University",
    Year = "2012"
}

@article{gnuplotA,
    author = "Unknown",
    title = "Gnuplot Version 4 released!",
    publisher = "Manning Publications",
    year = "2012"
}

@manual{perlA,
    title = "push/pop = Perdocs",
    publisher = "Perldoc",
    month = "Unknown",
    year = "2010"
}

Subset of the error messages:
Code:
expression.[] 
[1{/usr/local/texlive/2012/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
Overfull \hbox (30.91077pt too wide) in paragraph at lines 66--66
[]    \OT1/cmtt/m/n/10.95 ?    -  The preceding item is optional and matched at
 most once.[] 

Overfull \hbox (19.41339pt too wide) in paragraph at lines 66--66
[]    \OT1/cmtt/m/n/10.95 *    -  The preceding item will be matched zero or mo
re times.[] 

Overfull \hbox (13.6647pt too wide) in paragraph at lines 66--66
[]    \OT1/cmtt/m/n/10.95 +    -  The preceding item will be matched one or mor
e times.[] 

Overfull \hbox (2.16733pt too wide) in paragraph at lines 66--66
[]   \OT1/cmtt/m/n/10.95 {n,m} -  The preceding item is matched at least n time
s, but[] 

Overfull \hbox (30.91077pt too wide) in paragraph at lines 66--66
[]   \OT1/cmtt/m/n/10.95 [:alnum:], [:alpha:], [:cntrl:], [:digit:], [:graph:],
 [:lower:],[] 

Overfull \hbox (48.15683pt too wide) in paragraph at lines 66--66
[]   \OT1/cmtt/m/n/10.95 In basic regular expressions the metacharacters ?, +, 
{, |, (, and )[] 

Overfull \hbox (48.15683pt too wide) in paragraph at lines 66--66
[]   \OT1/cmtt/m/n/10.95 lose their special meaning; instead use the backslashe
d versions \?,[] 

Overfull \hbox (1.3509pt too wide) in paragraph at lines 83--84
\OT1/cmr/m/n/10.95 ------------------------------------------------------------
---------------------------------------

Underfull \hbox (badness 10000) in paragraph at lines 83--84

[2]
Overfull \hbox (24.39285pt too wide) in paragraph at lines 89--107
[][] 

Underfull \hbox (badness 10000) in paragraph at lines 111--112

(/usr/local/texlive/2012/texmf-dist/tex/latex/base/omlcmr.fd)
(/usr/local/texlive/2012/texmf-dist/tex/latex/base/omscmr.fd)
Underfull \hbox (badness 10000) in paragraph at lines 116--117


Overfull \hbox (1.3509pt too wide) in paragraph at lines 132--133
\OT1/cmr/m/n/10.95 ------------------------------------------------------------
---------------------------------------

Underfull \hbox (badness 10000) in paragraph at lines 132--133

---------- Post updated 11-30-12 at 03:36 PM ---------- Previous update was 11-29-12 at 09:43 PM ----------

Alright, fixed my problem (I think). It produces the correct citations within the PDF. I modified the Bibtex file by adding the Author's name to the '@manual' entries.
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Dynamically parse BibTeX and create hash of hash

Hello gurus, Iam trying to parse following BibTex file (bibliography.bib): @book{Lee2000a, abstract = {Abstract goes here}, author = {Lee, Wenke and Stolfo, Salvatore J}, title = {{Data mining approaches for intrusion detection}}, year = {2000} } @article{Forrest1996, abstract =... (0 Replies)
Discussion started by: wakatana
0 Replies

2. Shell Programming and Scripting

Greping summaries of academic citations

Hello friends, I'm trying to grep out sentences. The sentences are previous to an academic citations in a pdf. The goal is to get summaries of citable work. Her is what I tried reading the MAN page. pdftotext foo.pdf | grep -A 5 ***chose reg expression below*** pdftotext... (12 Replies)
Discussion started by: danbroz
12 Replies

3. Shell Programming and Scripting

Simple Makefile for LaTeX

I create figures using Gnuplot, but I use terminal epslatex, which produces a .tex file as output. I then latex this .tex file which creates are .dvi file, which I then convert to .ps and finally to an .eps file. Anyway here's what I'm doing in steps gnuplot plot.gplt (this writes out... (2 Replies)
Discussion started by: lost.identity
2 Replies

4. Slackware

latex-ucs

Hi! I am using Slackware 12.1 and I have a question regarding LaTeX. I am trying to use the package ucs, so that I can write in greek, but with no success. In Debian there is a package latex-ucs.deb that does the trick. Is there something similar in Slackware? Thanks in advance (1 Reply)
Discussion started by: kerb41
1 Replies

5. Debian

vi 7.0 and latex

Hi, In the new version of VIM that I am using, the sections, subsections are collapsed as shown below: +-- 36 lines: \subsection*{Aim}------------------------- If I press space on the above line, the subsection will be expanded, but I have to do it every time I open the file. Is there... (0 Replies)
Discussion started by: superuser84
0 Replies

6. UNIX for Dummies Questions & Answers

Printing documents using LaTeX

Hi I want to know how to give a file for printing using Latex formatting also where can I get the latex s/w . Thanks in advance (1 Reply)
Discussion started by: gosavi_ganesh
1 Replies
Login or Register to Ask a Question