I am trying to compile this Springer paper template in a portable Xepersian.

%%%%%%%%%%%%%%%%%%%%%%% ‎file template.tex‎ %%%%%%%%%%%%%%%%%%%%%%%%%
% ‎This is a general template file for the LaTeX package SVJour3‎
% ‎for Springer journals‎.          ‎Springer Heidelberg 2010/09/16‎
% ‎Copy it to a new file with a new name and use it as the basis‎
% ‎for your article‎. ‎Delete % signs as needed‎.
% ‎This template includes a few options for different layouts and‎
% ‎content for various journals‎. ‎Please consult a previous issue of‎
% ‎your journal as needed‎.
% ‎First comes an example EPS file‎ -- ‎just ignore it and‎
% ‎proceed on the \documentclass line‎
% ‎your LaTeX will extract the file if required‎
‎%!PS-Adobe-3.0 EPSF-3.0‎
%%BoundingBox: ‎19 19 221 221‎
%%CreationDate: ‎Mon Sep 29 1997‎
%%Creator: ‎programmed by hand (JK)‎
  ‎20 20 moveto‎
  ‎20 220 lineto‎
  ‎220 220 lineto‎
  ‎220 20 lineto‎
‎2 setlinewidth‎
  .‎4 setgray fill‎
‎%\documentclass{svjour3}                     % onecolumn (standard format)‎
‎%\documentclass[smallcondensed]{svjour3}     % onecolumn (ditto)‎
‎\documentclass[smallextended]{svjour3}       % onecolumn (second format)‎
‎%\documentclass[twocolumn]{svjour3}          % twocolumn‎
‎\smartqed  % flush right qed marks‎, ‎e.g‎. ‎at end of proof‎
‎%‎\usepackage{mathptmx}      % use Times fonts if available on your TeX system‎
% ‎insert here the call for the packages your document requires‎
% ‎etc‎.
% ‎please place your own definitions here and don't use \def but‎
% ‎\newcommand{}{}‎
% ‎Insert the name of‎ "‎your journal‎" ‎with‎
% ‎\journalname{myjournal}‎

‎\title{Insert your title here%\thanks{Grants or other notes‎
‎%about the article that should go on the front page should be‎
‎%placed here‎. ‎General acknowledgments should be placed at the end of the article.}‎
‎\subtitle{Do you have a subtitle?\\ If so‎, ‎write it here}‎

‎%\titlerunning{Short form of title}        % if too long for running head‎

‎\author{First Author         \and‎
        ‎Second Author‎ %etc.

‎%\authorrunning{Short form of author list} % if too long for running head‎

‎\institute{F‎. ‎Author \at‎
              ‎first address \\‎
              ‎Tel.‎: +‎123-45-678910\\‎
              ‎Fax‎: +‎123-45-678910\\‎
              ‎\email{fauthor@example.com}           %  \\‎
%             ‎\emph{Present address:} of F‎. ‎Author  %  if needed‎
           ‎S‎. ‎Author \at‎
              ‎second address‎

‎\date{Received‎: ‎date‎ / ‎Accepted‎: ‎date}‎
% ‎The correct dates will be entered by the editor‎


‎Insert your abstract here‎. ‎Include keywords‎, ‎PACS and mathematical‎
‎subject classification numbers as needed‎.
‎\keywords{First keyword \and Second keyword \and More}‎
% ‎\PACS{PACS code1 \and PACS code2 \and more}‎
% ‎\subclass{MSC code1 \and MSC code2 \and more}‎

‎Your text comes here‎. ‎Separate text sections with‎
‎\section{Section title}‎
‎Text with citations \cite{RefB} and \cite{RefJ}‎.
‎\subsection{Subsection title}‎
‎as required‎. ‎Don't forget to give each section‎
‎and subsection a unique label (see Sect.~\ref{sec:1})‎.
‎\paragraph{Paragraph headings} Use paragraph headings as needed‎.

% ‎For one-column wide figures use‎
% ‎Use the relevant command to insert your figure file‎.
% ‎For example‎, ‎with the graphicx package use‎
% ‎figure caption is below the figure‎
‎\caption{Please write your figure caption here}‎
‎\label{fig:1}       % Give a unique label‎
% ‎For two-column wide figures use‎
% ‎Use the relevant command to insert your figure file‎.
% ‎For example‎, ‎with the graphicx package use‎
% ‎figure caption is below the figure‎
‎\caption{Please write your figure caption here}‎
‎\label{fig:2}       % Give a unique label‎
% ‎For tables use‎
% ‎table caption is above the table‎
‎\caption{Please write your table caption here}‎
‎\label{tab:1}       % Give a unique label‎
% ‎For LaTeX tables use‎
‎first & second & third  \\‎
‎number & number & number \\‎
‎number & number & number \\‎

‎%If you'd like to thank anyone‎, ‎place your comments here‎
‎%and remove the percent signs‎.

% ‎BibTeX users please use one of‎
‎%\bibliographystyle{spbasic}      % basic style‎, ‎author-year citations‎
‎%\bibliographystyle{spmpsci}      % mathematics and physical sciences‎
‎%\bibliographystyle{spphys}       % APS-like style for physics‎
‎%\bibliography{}   % name your BibTeX data base‎

% ‎Non-BibTeX users please use‎
% ‎and use \bibitem to create references‎. ‎Consult the Instructions‎
% ‎for authors for reference list style‎.
% ‎Format for Journal Reference‎
‎Author‎, ‎Article title‎, ‎Journal‎, ‎Volume‎, ‎page numbers (year)‎
% ‎Format for books‎
‎Author‎, ‎Book title‎, ‎page numbers‎. ‎Publisher‎, ‎place (year)‎
% ‎etc‎

% ‎end of file template.tex‎

But After doing so it gives me the following error which I really dont understand what to do with:

+mupdf\fitz\stm_open.c:112: fz_openrfile(): syserr: open 'C:\Users\A\Desktop\Test\Springer.pdf': No0êf3Ðò7 | mupdf\mupdf\pdf_open.c:699: pdf_loadxref(): cannot open file: 'C:\Users\A\Desktop\Test\Springer.pdPêf3ðò7 + mupdf\fitz\stm_open.c:112: fz_openrfile(): syserr: open 'C:\Users\A\Desktop\Test\Springer.pdf': Noàéf3ò7 | mupdf\mupdf\pdf_repair.c:165: pdf_repairxref(): cannot open file 'C:\Users\A\Desktop\Test\Springer

Please help me.

  • 1
    Your code is plenty of the invisible character U+200E. Delete them with the help of your editor. – karlkoeller Feb 1 '14 at 11:02
  • What text editor are you using? My impression is that it's one tailored for right-to-left writing systems and so it inserts an invisible LEFT-TO-RIGHT MARK (U+200E) when you insert a Latin letter. This is the most probable cause of your problems. – egreg Feb 1 '14 at 11:32
  • @egreg Close or answer? – Johannes_B Jul 4 '15 at 21:05
  • @Johannes_B Done. – egreg Jul 4 '15 at 21:16

Your editor inserts many invisible LEFT-TO-RIGHT MARK (U+200E) characters in the input, that confuse LaTeX.

Probably the editor is tailored for right-to-left writing.

You can solve the issue by adding the line

\catcode"E2=9 \catcode"80=9 \catcode"8E=9

at the very start of the file, but ensuring no U+200E is inserted at the beginning.

However, the best is to remove all those characters from the input file.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.