编辑

编辑

这是我的文档:

% !BIB TS-program = biber
\documentclass{llncs}

\usepackage[ngerman,british]{babel} 
\usepackage[british]{babel}
\usepackage{microtype}
\usepackage[pdftex]{graphicx}    
\usepackage{hyperref} 
\usepackage{xcolor}
\usepackage[export]{adjustbox}
\usepackage{csquotes}

% Citation styles
%\usepackage{apacite}
\usepackage[style=apa,backend=biber]{biblatex}
\DeclareLanguageMapping{british}{british-apa}
\addbibresource{Bibliography-Linked_Media.bib}

\definecolor{light-gray}{gray}{0.95}
\setlength{\skip\footins}{10mm}

%Modifying the table settings
\usepackage{tabularx}
\usepackage{array}
\newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}}
\setlength{\tabcolsep}{10pt}
\renewcommand{\arraystretch}{1.6}
\let\oldtabular\tabular
\renewcommand{\tabular}{\scriptsize\oldtabular}

%Modifying the table caption
\usepackage{caption} 
\captionsetup[table]{skip=7pt}

\begin{document}
\title{Title}

%For a single author
\author{Author Name}

%For a single institute
\institute{Institution\\ \email{[email protected]}}

\maketitle

\begin{abstract}
The main goal of this project is to offer a perspective on the economic growth of nations and how this can be linked to religion and education. Crossing data for recent years, this study will open the door to discussion on topics such as capitalism, governmental policies on education, and spirituality. Hopefully, we will offer foundations to answer the following questions: have educated people abandoned their beliefs? Are religious countries wealthier than secular ones? Are rich countries promoting atheism or is it the opposite way?
\end{abstract}

\section{Introduction}

%\subsection{First Subsection}
Religion, which can be understood as ``\textit{a set of rituals, rationalized by myths, which mobilizes supernatural powers for the purpose of achieving or preventing transformations of state in man and nature} \parencite{wallace}'', has changed the lives of generations, moulding economic and political aspects of history in the process. Take for instance the Knights Templar that, fuelled by the desire to propagate Christian faith (and incited by politicians, of course), embarked on a bloodthirsty journey against heretics \parencite{knights}. Or perhaps, to mention an opposite example, we should think of the Renaissance era, a period of time where religion occupied a secondary place against human intellect, something that allowed arts and science to flourish, reaching heights never seen before. All in all, the impact of religion on humanity is undeniable. 

This study will help people evaluate if that influence continues on present times. Nations that in the days of yore were eminent religion bastions (e.g. Italy) are now secular states \parencite{secular}. It would be interesting to know if economical growth, often times associated with neoliberalism, has contributed to that fact. There is another component on this equation: education. For example, in the Medieval Period religion dominated all the aspects of society \parencite{middle}, making it complicated to tag religion as trickery because there was no substantial knowledge to debate against the established notion of the existence of a god. 

\section{Methods}
\subsection{Sources}
A great amount of information could be found on Internet. Most of these studies have been published by prestigious organisations such as the World Bank or the United Nations. Nonetheless, in spite of the quality of those documents, not all the required parameters for this project could be found in one single site. Therefore, it was necessary to plan ahead to collect the pertinent data so as to come up with a customised data base for the project.

Some of the aforementioned pages allowed users to apply some filters to narrow the data before exporting the information. That feature came in handy because in no few cases there were too many parameters that were of no use for this project. When this feature was not available, the data was sorted directly on Microsoft Excel. Fortunately enough, the downloaded files came in formats that this program could handle.

\subsection{Rules}
In order to have the right content on the visualisation, it was required to filter the corpus of information and establish some rules to connect one parameter to the other. I will briefly explain the methods employed to do that:
\subsubsection{Anchor}
The word anchor refers to a pivot, a central point. Analogous to a black body that is surrounded by planets, this primary information will play the central role in the study. In our case, we started obtaining a world statistic about countries and religion.
\subsubsection{Satellites}
The other parameters \textit{orbited} around our anchor. For instance, since we had a list of countries, our second data base file contained a relation between countries and GDP Per Capita. One can see this method as an assemblage, where pieces began to connect with each other. 
\subsubsection{Single versus multiple files}
All the parameters were collected on a single document. This approach had its positive and negative sides. On the one hand, it proved easy to maintain and alter figures on a single file. On the other hand, having all the information in one place increased the overall size of the file. Weighing the pros and cons, the single-file method was chosen. 

\subsection{Content of the data base}

The final data base comprises of six columns: ``Country,'' ``Religion,'' ``GDP Per Capita,'' ``Importance of Religion (\%),'' ``Years of Compulsory Education,'' and  ``Average of  Years of Schooling of Adults (25+).'' An excerpt of the final result can be seen in Table~\ref{tab:excel}. In the following sections the sources from which the data was gathered will be detailed.

\subsubsection{First and second parameters: Country and Religion}
We required to know which was the major religion in each country. This information was obtained from the ARDA website\footnote{ARDA: http://www.thearda.com}, which allows user to access statistics on religion. In the document ``Cross-National Socio-Economic and Religion Data, 2011'' \parencite{arda-religions} the amount of data was rather dense. Information for each nation included not only the major religion, but also many other variants. Therefore, a filter was applied to gather only what was relevant; in this case, the column ``I-RELIGION (Largest religion by proportion).'' Each country was assigned a number code from 1 to 5, which corresponded to the following values: ``Catholic,'' ``Orthodox Christian,'' ``Other Christian,'' ``Muslim,'' ``Buddhist,'' and ``Other.'' It was not a problem to find and replace those numeric values with the name of the religion. Both ``Country'' and ``Religion'' parameters became the \textit{anchor} of this project. 

\subsubsection{Third parameter: GDP Per Capita}
Here it was necessary to a list of countries and their respective GDP Per Capita. As stated in The World Bank website\footnote{The World Bank: http://www.worldbank.org/}, this measurement is ``\textit{the gross domestic product (GDP) converted to international dollars using purchase power parity rates.}'' This is a commonly used indicator, for it shows the relative performances of the nations. The study ``Countries Compared by Economics GDP Per Capita \parencite{nationmaster-gdpppp}'' was obtained from the Nation Master\footnote{Nation Master: http://www.nationmaster.com/} website. 

\begin{table}[!htb]
\caption{Lowest and highest entries ordered according to their GDP}\label{tab:excel}
\begin{center}
    \begin{tabular}{ | p{1.5cm} | C{1,6cm} | C{0.9cm} | C{1.2cm} | C{1.5cm} | C{1.2cm} | }
    \hline
    Country & Religion & GDP Per Capita & Importance of Religion (\%)& Years of Compulsory Education & Average of  Years of Schooling of Adults (25+) \\ \hline
    Burundi & Catholic & 251 & 98 & 6 & 3 \\ 
    \hline
    \end{tabular}
    \end{center}
\end{table}   

\subsubsection{Fourth parameter: Importance of Religion (\%)}
One crucial aspect we wanted to take into consideration was the importance people gave to religion on their lives. The hypothesis was that poorest nations were more religious than their richer ones. This could be corroborated thanks to he study ``Gallup Global Reports \parencite{gallup-importance}'' done by the American consulting company Gallup\footnote{Gallup: http://www.gallup.com}. Since the results we found were sorted by countries, it was an straightforward process to link the information to our main table which, at this point, already contained the following columns: ``Country,'' ``Religion,'' and ``GDP Per Capita.'' For those countries whose figures were absent, a median response percentage was assigned; a simple conditional formula evaluated the GDP Per Capita  and assigned a value according to another study produced by Gallup: ``Religiosity Highest in World's Poorest Nations \parencite{gallup-religiosity}.'' 

\subsubsection{Fifth parameter: Years of Compulsory Education}
On this matter the Nation Master website also offered a whole lot of valuable information. In the study ``Duration of compulsory education \parencite{nationmaster-compulsory},'' a list of nations along the number of years a child must be enrolled in elementary school was depicted. To complement missing gaps, another data base (``Duration of Compulsory Education around the World  \parencite{chartsbin-compulsory}'') was used from the ChartsBin\footnote{Chartsbin: http://chartsbin.com} website.

\subsubsection{Sixth parameter: Average of Years of Schooling of Adults (25+)}
Whereas the last study focused on elementary education, ``Mean years of schooling (of adults) (years)  \parencite{undp-adult_schooling}'' was oriented toward adults that continue their education (college and postgraduate studies.) This documentation was extracted from the United nations Development Program (UNDP) page\footnote{UNDP: https://data.undp.org}.

\subsection{Technology}
After some research, the Highcharts\footnote{Highcharts: http://www.highcharts.com} website offered a chart library written in JavaScript. It does not need any client side plug-ins like Flash or Java. The customisation of the information was performed using JSFiddle\footnote{JS Fiddle: http://jsfiddle.net}, an online tool to test and share JavaScript, CSS, HTML or CoffeeScript. Once the data was completed, the page was saved and stored locally for the final adjustments.

\section{Results}
\subsection{Visualisation}
The final outcome  can be seen in Figure \ref{Fig:finalchart}. On the vertical axis, the chart shows the list of countries. These entries are sorted according to their GDP value. Therefore, nations do not appear in alphabetical order.

\begin{figure*}[ht!]   
    \includegraphics[width=1.0 \textwidth, cfbox=light-gray]{./images/final_chart}
    \caption{Final visualisation}
    \label{Fig:finalchart}
\end{figure*}

On the matter of interaction, the legend also functions as a basic filter. By clicking on the labels, user can hid or show one or all the parameters. This option was useful to perform a more specific comparison of data. An additional feature of this chart is that it incorporated a function to print or download the chart in different formats.

\subsubsection{Written survey} All participants completed the survey without problems. Concerning the grading, using a values that went from 1 (poor) to 5 (very good) was not a good choice, for students were accustomed to the German grading system that work in the inverse order: 1 (very good) to 5 (poor). This will be taken into consideration for future studies. The complete results of the surveys could be found in Table~\ref{tab:results}.

\begin{table}[!htb]
\caption{Project visualisation sheet results}\label{tab:results}
\begin{center}
    \begin{tabular}{ | p{2cm} | C{0.8cm} | C{0.8cm} | C{0.5cm} | C{0.5cm} | C{0.5cm} | C{0.5cm} | }
    \hline
    Name & Gender & Age & Q1 & Q2 & Q3 & Q4 \\ \hline
    Ana & F & 28 & 4 & 3 & 5 & 4 \\ 
    Canny & F & 29 & 3 & 1 & 1 & 1 \\ 
    \hline
    \end{tabular}
    \end{center}
\end{table}   

\section{Discussion}
On a second version of this project information will be divided into pieces to facilitate comprehension. 

A suggestion done by a participant of the study was to use the ``Human Development Index indicator\footnote{UNDP: http://data.un.org/DocumentData.aspx?id=324},'' which ranges from 0.304 to 0.955. Prior to the delivery of this paper, a new version was uploaded to the server which shows some improvements\footnote{Visualisation (v.002): http://tinyurl.com/mhol697}.

\section{Acknowledgements}
I would like to thank you.

\printbibliography

\end{document}

这是 .bib 文件

@misc{nationmaster-gdpppp,
    Howpublished = {Countries Compared by Economy GDP Per capita. International Statistics at NationMaster.com},
    Keywords = {gdp},
    Note = {[Online; accessed June 05, 2014] \url{http://www.nationmaster.com/country-info/stats/Economy/GDP/Per-capita/PPP}},
    Title = {Countries Compared by Economy GDP Per capita. International Statistics at NationMaster.com},
    Url = {http://www.nationmaster.com/country-info/stats/Economy/GDP/Per-capita/PPP},
    Year = {n.d.},
    Bdsk-Url-1 = {http://www.nationmaster.com/country-info/stats/Economy/GDP/Per-capita/PPP}}

@misc{nationmaster-compulsory,
    Howpublished = {Countries Compared by Education Duration of compulsory education. International Statistics at NationMaster.com},
    Keywords = {compulsory,education},
    Note = {[Online; accessed June 04, 2014] \url{http://www.nationmaster.com/country-info/stats/Education/Duration-of-compulsory-education}},
    Title = {Countries Compared by Education Duration of compulsory education. International Statistics at NationMaster.com},
    Url = {http://www.nationmaster.com/country-info/stats/Education/Duration-of-compulsory-education},
    Year = {n.d.},
    Bdsk-Url-1 = {http://www.nationmaster.com/country-info/stats/Education/Duration-of-compulsory-education}}

@misc{nationmaster-religion,
    Howpublished = {Countries Compared by Religion > Major religion(s). International Statistics at NationMaster.com},
    Keywords = {countries,religion},
    Note = {[Online; accessed June 08, 2014] \url{http://www.nationmaster.com/country-info/stats/Religion/Major-religion(s)}},
    Title = {Countries Compared by Religion > Major religion(s). International Statistics at NationMaster.com},
    Url = {http://www.nationmaster.com/country-info/stats/Religion/Major-religion(s)},
    Year = {n.d.},
    Bdsk-Url-1 = {http://www.nationmaster.com/country-info/stats/Religion/Major-religion(s)}}

@misc{chartsbin-compulsory,
    Howpublished = {Duration of Compulsory Education around the World},
    Keywords = {compulsory,education},
    Note = {[Online; accessed June 04, 2014] \url{http://chartsbin.com/view/xo6}},
    Title = {Duration of Compulsory Education around the World},
    Url = {http://chartsbin.com/view/xo6},
    Year = {n.d.},
    Bdsk-Url-1 = {http://chartsbin.com/view/xo6}}

@misc{gallup-importance,
    Howpublished = {Gallup Global Reports},
    Keywords = {countries,importance,religion},
    Note = {[Online; accessed June 09, 2014] \url{http://www.gallup.com/poll/128210/gallup-global-reports.aspx}},
    Title = {Gallup Global Reports},
    Url = {http://www.gallup.com/poll/128210/gallup-global-reports.aspx},
    Year = {n.d.},
    Bdsk-Url-1 = {http://www.gallup.com/poll/128210/gallup-global-reports.aspx}}

@webpage{undp-adult_schooling,
    Date-Modified = {2014-07-14 13:57:34 +0000},
    Howpublished = {UNDP},
    Keywords = {education, adults},
    Lastchecked = {June 10 2014},
    Title = {Mean years of schooling (of adults) (years) | Data | United Nations Development Programme},
    Url = {https://data.undp.org/dataset/Mean-years-of-schooling-of-adults-years-/m67k-vi5c},
    Year = {n.d.},
    Bdsk-Url-1 = {https://data.undp.org/dataset/Mean-years-of-schooling-of-adults-years-/m67k-vi5c}}

@misc{arda-religions,
    Howpublished = {Cross-National Socio-Economic and Religion Data, 2011},
    Keywords = {countries,religions},
    Note = {[Online; accessed June 13, 2014] \url{http://www.thearda.com/Archive/Files/Downloads/ECON11_DL2.asp}},
    Title = {Cross-National Socio-Economic and Religion Data, 2011},
    Url = {http://www.thearda.com/Archive/Files/Downloads/ECON11_DL2.asp},
    Year = {n.d.},
    Bdsk-Url-1 = {http://www.thearda.com/Archive/Files/Downloads/ECON11_DL2.asp}}

@misc{gallup-religiosity,
    Howpublished = {Religiosity Highest in World's Poorest Nations},
    Keywords = {religiosity,poorest,countries},
    Note = {[Online; accessed June 11, 2014] \url{http://www.gallup.com/poll/142727/Religiosity-Highest-World-Poorest-Nations.aspx}},
    Title = {Religiosity Highest in World's Poorest Nations},
    Url = {http://www.gallup.com/poll/142727/Religiosity-Highest-World-Poorest-Nations.aspx},
    Year = {n.d.},
    Bdsk-Url-1 = {http://www.gallup.com/poll/142727/Religiosity-Highest-World-Poorest-Nations.aspx}}

@webpage{middle,
    Author = {Simon Newman},
    Date-Modified = {2014-07-14 14:00:12 +0000},
    Howpublished = {The Finer Times: War, Crime and History Resource},
    Keywords = {religion,middle age},
    Lastchecked = {July 4, 2014},
    Title = {Religion in the Middle Ages},
    Url = {http://www.thefinertimes.com/Middle-Ages/religion-in-the-middle-ages.html},
    Year = {n.d.},
    Bdsk-Url-1 = {http://www.thefinertimes.com/Middle-Ages/religion-in-the-middle-ages.html}}

@book{knights,
    Author = {Norman Housley & Malcom Barber},
    Keywords = {knights,templar},
    Publisher = {Aldershot, England: Ashgate},
    Title = {Knighthoods of Christ: essays on the history of the Crusades and the Knights Templar, presented to Malcolm Barber},
    Year = {2007}}

@book{wallace,
    Author = {Anthony Wallace},
    Keywords = {history,religion},
    Publisher = {New York: Random House},
    Title = {Religion: an anthropological view},
    Year = {1966}}

@misc{hdi,
    Howpublished = {Human Development Index and its components},
    Keywords = {development,countries},
    Note = {[Online; accessed July 11, 2014] \url{http://data.un.org/DocumentData.aspx?id=324}},
    Title = {Human Development Index and its components},
    Url = {http://data.un.org/DocumentData.aspx?id=324},
    Year = {n.d.},
    Bdsk-Url-1 = {http://data.un.org/DocumentData.aspx?id=324}}

@webpage{secular,
    Date-Modified = {2014-07-14 13:57:23 +0000},
    Howpublished = {Answers.com},
    Keywords = {secular},
    Lastchecked = {July 11 2014},
    Title = {10 Countries That Have Secular Governments},
    Url = {http://religion.answers.com/secularism/10-countries-that-have-secular-governments},
    Year = {n.d.},
    Bdsk-Url-1 = {http://religion.answers.com/secularism/10-countries-that-have-secular-governments}}

这是有限责任公司班级: http://www.wisdom.weizmann.ac.il/~tcc/tcc04/llncs.cls

我推测问题在于我正在运行 Biber 进行编译,但同时需要 BibTeX 来编译表格和图表参考。

知道如何解决这个问题吗?

以下是我收到的错误消息:

LaTeX 警告:第 3 页上的引用“tab:excel”在输入行 74 上未定义。

段落第 87-87 行的 \hbox 过满(太宽 5.69725pt) []|\OT1/cmr/m/n/7 重要性

段落第 97-97 行的 \hbox 过满(太宽了 0.93912pt) []|\OT1/cmr/m/n/7 Luxembourg|

段落第 98-98 行处 \hbox 超载(3.25302pt 太宽) []|\OT1/cmr/m/n/7 Liechtenstein| [3] \output 处于活动状态时,发生 \vbox 未满(不良 2150) [4] 段落第 111-112 行处 \hbox 超载(5.75783pt 太宽) []\OT1/cmr/bx/n/10 第六个参数:成年人受教育年限平均值(25 岁以上)[] \OT1/cmr/m/n/10(-20)而 [5]

LaTeX 警告:参考第 6 页上的“Fig:finalchart”在输入行 134 上未定义。

<./images/final_chart.jpg, id=92, 943.525pt x 551.05875pt> 段落第 137-138 行出现 \hbox 过满(6.79999pt 太宽)的情况 [][] [6] \output 处于活动状态时,出现 \vbox 未满(错误 1931)的情况 [7 <./image s/final_chart.jpg>]

LaTeX 警告:第 8 页的参考“tab:results”在输入行 159 上未定义。

段落第 166--166 行的 \hbox 过满 (太宽 2.49478pt) []|\OT1/cmr/m/n/7 Gender| [8] ! 对齐制表符 & 位置错误。...elim H\bibinitperiod \bibinitdelim & \bibinitperiod \bibinitdel... l.192 ?

答案1

这是根据您的代码创建的最小(非)工作示例:

\documentclass{article}

\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{knights,
    Author = {Norman Housley & Malcom Barber},
    Keywords = {knights,templar},
    Publisher = {Aldershot, England: Ashgate},
    Title = {Knighthoods of Christ: essays on the history of the Crusades and the Knights Templar, presented to Malcolm Barber},
    Year = {2007}}
\end{filecontents}

\usepackage[backend=biber]{biblatex}
\addbibresource{\jobname.bib}

\begin{document}

  \autocite{knights}

\printbibliography

\end{document}

pdflatex这里对这个问题的描述相当清楚:

! Misplaced alignment tab character &.
<argument> ...ibnamedelimb Housley\bibnamedelimb &
                                                  \bibnamedelima Malcom
l.21 

? 

h但是我们可以通过在提示符下输入以下内容来获得更多帮助:

? h
I can't figure out why you would want to use a tab mark
here. If you just want an ampersand, the remedy is
simple: Just type `I\&' now. But if some right brace
up above has ended a previous alignment prematurely,
you're probably due for more error messages, and you
might try typing `S' now just to see what is salvageable.

好的。那么,为什么当我们删除了所有制表符时,TeX 会认为我们使用了制表符?请注意,上下文看起来好像涉及参考书目,因此值得在文件中搜索bib杂散&字符。

果然:

    Author = {Norman Housley & Malcom Barber},

是问题的根源。语法应该是:

    Author = {Norman Housley and Malcom Barber},

或者,总体来说更好(尽管在这里这并不重要):

    Author = {Housley, Norman and Barber, Malcom},

这是一种可以适用于更广泛名称的模式。

纠正这一点,一切就正常了。

编辑

这与表格和数字毫无关系。仅有的问题是文件中的错误bib。如果我纠正了,我就可以编译整个文件。(我已经替换了article,注释掉了,\institute并切换到演示图形,因为我没有你的文件。但所有的表格和图表都在这里。)

结果

相关内容