<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div style="font-family: Menlo;" class=""></div><div style="font-family: Menlo;" class=""><br class=""></div></div><div class=""><blockquote type="cite" class=""><font face="Menlo" class="">Le 18 nov. 2016 à 10:49, Johann Spies <<a href="mailto:johann.spies@alterit.co.za" class="">johann.spies@alterit.co.za</a>> a écrit :<br class=""><br class="">I am working on a document in which I keep notes of my readings. It is a<br class="">long standing document on which I have been working for the past 20<br class="">years.<br class=""></font></blockquote><div class=""><font face="Menlo" class=""><br class=""></font></div><div class=""><font face="Menlo" class=""><br class=""></font></div><div class=""><font face="Menlo" color="#0433ff" class="">========================================================================</font></div><div class=""><span style="font-family: Menlo;" class=""><font color="#0433ff" class="">%!TEX encoding = UTF-8 Unicode</font></span></div><div class=""><font face="Menlo" color="#0433ff" class="">% Ch.Boitet (Grenoble)<br class="">% Some trials to debug Johann Spies file <br class="">% This file is: [XeTeX] bibi-problem.tex<br class="">% I had to download hevea.sty.<br class="">% <br class=""><br class=""><br class="">%De: Johann Spies <<a href="mailto:johann.spies@alterit.co.za" class="">johann.spies@alterit.co.za</a>><br class="">%Objet: [XeTeX] bidi-problem<br class="">%Date: 18 novembre 2016 à 10:49:08 UTC+1<br class="">%À: <<a href="mailto:xetex@tug.org" class="">xetex@tug.org</a>><br class="">%Répondre à: <a href="mailto:johann.spies@alterit.co.za" class="">johann.spies@alterit.co.za</a>, "XeTeX \(Unicode-based TeX\) discussion." <<a href="mailto:xetex@tug.org" class="">xetex@tug.org</a>><br class="">%<br class="">%I am working on a document in which I keep notes of my readings. It is a<br class="">%long standing document on which I have been working for the past 20<br class="">%years.<br class="">%<br class="">%Some recent update caused this problem:<br class="">%<br class="">%<br class="">%Location on CTAN: /macros/xetex/latex/bidi<br class="">%* <br class="">%* Issue tracker: <a href="https://github.com/vafa/bidi/issues" class="">https://github.com/vafa/bidi/issues</a><br class="">%* <br class="">%* Support: <a href="mailto:persian-tex@tug.org" class="">persian-tex@tug.org</a><br class="">%****************************************************<br class="">%(/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty)<br class="">%(/usr/share/texlive/texmf-dist/tex/xelatex/bidi/biditools.sty)<br class="">%(/usr/share/texlive/texmf-dist/tex/xelatex/bidi/latex-xetex-bidi.def<br class="">%<br class="">%! LaTeX Error: Command \XeTeX already defined.<br class="">%              Or name \end... illegal, see p.192 of the manual.<br class="">%<br class="">%See the LaTeX manual or LaTeX Companion for explanation.<br class="">%Type  H <return>  for immediate help.<br class="">%<br class="">%<br class="">%I have removed all the includes and some other stuff to be able to show<br class="">%the file to you.<br class="">%<br class="">%When I remove the useage of the bidi package, the compilation ends with:<br class="">%--------------------------------<br class="">%(/usr/share/texmf/tex/latex/tipa/t3cmr.fd)<br class="">%! Missing number, treated as zero.<br class="">%<to be read again> <br class="">%                  \protect <br class="">%l.104 \begin{document}<br class="">%-------------------------<br class="">%<br class="">%Last time (a few weeks ago) it compiled the more than 500 pages without<br class="">%a problem.<br class="">%<br class="">%I need the bidi package because the document include some Hebrew texts<br class="">%also.<br class="">%<br class="">%What is going on here?<br class="">%<br class="">%Is there a new problem with /usr/share/texmf/tex/latex/tipa/t3cmr.fd<br class="">%also?<br class="">%<br class="">%<br class="">%<br class="">%The file:<br class=""><br class="">\documentclass[12pt,a4paper]{book}<br class="">\usepackage{fontspec} % Gebruik met xelatex<br class="">\usepackage{xltxtra,graphicx} % Gebruik met xelatex<br class="">\usepackage[hyperindex=true,colorlinks=true,bookmarks]{hyperref}<br class="">\usepackage{version}<br class="">\usepackage{amsmath}<br class="">\usepackage{paralist}<br class="">\usepackage{wrapfig}<br class="">\usepackage{caption}<br class=""><br class="">%\setmainfont[Ligatures=TeX]{Linux Libertine O}<span class="Apple-tab-span" style="white-space:pre">             </span>% TeX complains about white spaces (font not available under Mac OS)<br class="">%\setmainfont[Ligatures=TeX]{"Linux Libertine O"}<span class="Apple-tab-span" style="white-space:pre">                </span>% TeX said here "Missing \begin{document}"<br class="">\setmainfont[Ligatures=TeX]{Times Roman}<span class="Apple-tab-span" style="white-space:pre">                   </span>% TeX did not complain here with this font<br class=""><br class="">\usepackage[afrikaans,polutonikogreek,german,dutch,english]{babel}<br class="">\usepackage{setspace}<br class="">\usepackage{enumitem}<br class="">\usepackage{graphicx}<br class="">\usepackage{pst-node}<br class="">\usepackage{booktabs}<br class="">\usepackage{natbib}<br class="">\usepackage{imakeidx}<br class="">\usepackage{tikz}<br class="">\usepackage{float}<br class="">\usepackage[framemethod=tikz]{mdframed}<br class="">%<br class="">%\begin{document}<span class="Apple-tab-span" style="white-space:pre">                             </span>% tried here because TeX said here "Missing \begin{document} -- failed"<br class="">%<br class="">\mdfdefinestyle{myFigureBoxStyle}{backgroundcolor=yellow!10,, roundcorner=25pt,tikzsetting={draw=blue, line width=1pt}}%<br class="">\makeatletter<br class="">\newcommand\fs@myRoundBox{\def\@fs@cfont{\bfseries}\let\@fs@capt\floatc@plain<br class=""> \def\@fs@pre{\begin{mdframed}[style=myFigureBoxStyle]}%<br class=""> \def\@fs@mid{\vspace{\abovecaptionskip}}%<br class=""> \def\@fs@post{\end{mdframed}}\let\@fs@iftopcapt\iffalse}<br class="">\makeatother<br class="">%<br class="">\floatstyle{myRoundBox} <br class="">\restylefloat{figure}<br class="">%<br class="">\makeindex[intoc] %<br class="">\bibpunct[:]{(}{)}{;}{a}{}{,}<br class="">\usepackage{multicol}<br class="">\usepackage{longtable,tabularx}<br class="">\usepackage{hevea}<br class="">\renewcommand{\contentsname}{Inhoudsopgawe}<br class="">\renewcommand{\indexname}{Indeks}<br class="">\newcommand{\se}{\selectlanguage{english}}<br class="">\newcommand{\sg}{\selectlanguage{greek}}<br class="">\newcommand{\sa}{\selectlanguage{afrikaans}}<br class="">\newcommand{\sd}{\selectlanguage{german}}<br class="">\newcommand{\sh}{\selectlanguage{dutch}}<br class="">%<br class="">\newcommand{\eng}{\selectlanguage{english}}<br class="">\newcommand{\grieks}{\selectlanguage{greek}}<br class="">\newcommand{\afr}{\selectlanguage{afrikaans}}<br class="">\newcommand{\duits}{\selectlanguage{german}}<br class="">\newcommand{\ned}{\selectlanguage{dutch}}<br class="">\newcommand{\en}{\selectlanguage{english}}<br class="">\newcommand{\gr}{\selectlanguage{greek}}<br class="">\newcommand{\af}{\selectlanguage{afrikaans}}<br class="">\newcommand{\de}{\selectlanguage{german}}<br class="">\newcommand{\nl}{\selectlanguage{dutch}}<br class="">\setlength{\parindent}{0pt} %Maak dat die paragrawe links begin<br class="">\setlength{\parskip}{1ex plus 0.5ex minus 0.2ex} %bepaal oop lyn tussen<br class="">%                                                %paragrawe<br class="">\setlength{\parfillskip}{30pt plus 1 fil}<br class="">\setlength{\columnsep}{1cm} <br class="">\setlength{\columnseprule}{.4pt} <br class="">\setlength{\headheight}{14pt} <br class="">%<br class="">\title{Aanhalings en verwysings}% Declares the document's title.<br class="">%<br class="">\author{J.H. Spies}% Declares the author's name.<br class="">%<br class="">\date{}% Deleting this command produces today's date.<br class="">\selectlanguage{afrikaans}<br class="">\listfiles % lys al die lêers wat gebruik word in die .log-ler.<br class="">\usepackage{fancyhdr}<br class="">\pagestyle{fancyplain}<br class="">\lfoot{\tiny \jobname}<br class="">\lhead{}<br class="">\rhead{}<br class="">\renewcommand{\headrulewidth} {0pt}<br class="">\makeatletter<br class="">\renewcommand{\theenumii}{\arabic{enumii}}<br class="">\renewcommand{\labelenumii}{\theenumi.\theenumii.}<br class="">\renewcommand{\theenumiii}{\arabic{enumiii}}<br class="">\renewcommand{\labelenumiii}{\theenumi.\theenumii.\theenumiii.}<br class="">\renewcommand{\theenumiv}{\arabic{enumiv}}<br class="">\renewcommand{\labelenumiv}{\theenumi.\theenumii.\theenumiii.\theenumiv.}<br class="">\renewcommand{\p@enumii}{\theenumi.} %Companion bladsy 56,57<br class="">\renewcommand{\p@enumiii}{\theenumi.\theenumii.}<br class="">\renewcommand{\p@enumiv}{\theenumi.\theenumii.\theenumiii.}<br class="">\makeatother<br class="">\usepackage{ifpdf}<br class="">\ifpdf<br class=""> %    \DeclareGraphicsExtensions{.png,.pdf,.jpeg,.jpg,.mps} <br class="">\DeclareGraphicsExtensions{.png,.pdf,.jpeg,.jpg,.mps} <br class="">\else<br class="">%     \DeclareGraphicsExtensions{.eps,.ps}<br class="">\DeclareGraphicsExtensions{.eps,.ps}<br class="">\fi<br class="">%\usepackage{bidi}<span class="Apple-tab-span" style="white-space:pre">                     </span>%% with XeLaTeX, <br class="">%<br class="">\newcommand{\lk}[3]{\hspace{0.#1\linewidth}\parbox{0.#2\linewidth}{\raggedright #3}}<br class="">\renewcommand{\blue}[1]{\textcolor{blue}{#1}}<br class="">\newcommand{\grn}[1]{\textcolor{green}{#1}}<br class="">\newcommand{\oranje}[1]{\textcolor{orange}{#1}}<br class="">\newcommand{\brwn}[1]{\textcolor{brown}{#1}}<br class="">\newcommand{\rd}[1]{\textcolor{red}{#1}}<br class="">\newcommand{\purp}[1]{\textcolor{purple}{#1}}<br class="">\newcommand{\yel}[1]{\textcolor{yellow}{#1}}<br class="">\renewcommand{\mag}[1]{\textcolor{magenta}{#1}}<br class="">%<br class="">%<br class="">%<br class="">\begin{document}<br class="">\af<br class="">\maketitle<br class="">\thispagestyle{fancyplain}<br class="">\tableofcontents<br class="">\lfoot{\tiny \jobname}<br class="">\chapter{Algemene wyshede}<br class=""><br class="">``Alleen 'n teologie wat uit die openbaring\index{openbaring} vertrek,<br class="">kan bevrydend wees.  Elke vorm van subjektivisme\index{subjektivisme}<br class="">voer terug na 'n vorm van bedompigheid, omdat dit die mens werp op<br class="">homself en sy eie ervaring, in plaas daarvan dat dit hom op Christus<br class="">werp'' \cite[167,168]{jonker_gees_1981}.<br class=""><br class="">\renewcommand{\labelenumi}{\theenumi.}<br class="">\selectlanguage{afrikaans}<br class="">\newpage<br class="">\end{document}<br class=""><br class="">%%% Local Variables:<br class="">%%% coding: utf-8<br class="">%%% mode: latex<br class="">%%% TeX-engine: xelatex<br class="">%%% TeX-master: t<br class="">%%% End:<br class=""><br class="">%Regards<br class="">%Johann<br class="">%-- <br class="">%J.H. Spies - Tel. 021-982 2694 / 082 782 0336 / 021-808 4699(w)  <br class="">%            Posbus 4668, Tygervallei 7536<br class="">%<br class="">%    "For by grace are ye saved through faith; and that not<br class="">%     of yourselves: it is the gift of God: Not of works, <br class="">%     lest any man should boast."    Ephesians 2:8,9 <br class="">%<br class="">%<br class="">%--------------------------------------------------<br class="">%Subscriptions, Archive, and List information, etc.:<br class="">% <a href="http://tug.org/mailman/listinfo/xetex" class="">http://tug.org/mailman/listinfo/xetex</a><br class="">========================================================================</font></div><div class=""><font face="Menlo" class=""><br class="webkit-block-placeholder"></font></div><div class=""><font face="Menlo" class=""><br class="webkit-block-placeholder"></font></div><div class=""><font face="Menlo" class=""><br class="webkit-block-placeholder"></font></div><div class=""><font face="Menlo" class=""><br class="webkit-block-placeholder"></font></div></div></body></html>