<div dir="ltr"><pre class="" id="tw-target-text" dir="ltr" style="border:none;padding:0px 0.14em 0px 0px;margin-top:0px;margin-bottom:0px;font-family:inherit;overflow:hidden;width:237.5px;white-space:pre-wrap;word-wrap:break-word;color:rgb(33,33,33);height:192px;font-size:16px!important;line-height:24px!important">AFAIK ... XeLaTeX by default generates pdf files.  <span style="font-family:inherit">With -no-pdf option generates eXtended dvi  </span><span style="font-family:inherit">(file.xdv ) . So </span><span style="font-family:inherit">xdvipdfmx file.xdv filters</span><span style="font-family:inherit"> </span><span style="font-family:inherit">to file.pdf.</span></pre><pre class="" id="tw-target-text" style="border:none;padding:0px 0.14em 0px 0px;margin-top:0px;margin-bottom:0px;font-family:inherit;overflow:hidden;width:237.5px;white-space:pre-wrap;word-wrap:break-word;color:rgb(33,33,33);height:192px;font-size:16px!important;line-height:24px!important">Good luck,</pre><pre class="" id="tw-target-text" style="border:none;padding:0px 0.14em 0px 0px;margin-top:0px;margin-bottom:0px;font-family:inherit;overflow:hidden;width:237.5px;white-space:pre-wrap;word-wrap:break-word;color:rgb(33,33,33);height:192px;font-size:16px!important;line-height:24px!important">Luis</pre></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-07 11:50 GMT-05:00 Henri-Emile Pesch <span dir="ltr"><<a href="mailto:dana@pt.lu" target="_blank">dana@pt.lu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    Concern: xelatex with dvi viewer.<br>
    <br>
    I installed a new computer (intel nuc5i5ryh) with Ubuntu 15.04 ,
    texlive2014, and texworks (this configuration worked for years with
    an old computer, os, texlive and texworks).<br>
    <br>
    Here is the problem (<font color="#cc66cc">console output xelatex</font>
    <font color="#cc66cc">and texworks</font>):<br>
    ========================================================<br>
    This is XeTeX, Version 3.14159265-2.6-0.99991 (TeX Live 2014)
    (preloaded format=xelatex)<br>
     restricted \write18 enabled.<br>
    entering extended mode<br>
    (./xelatextest.tex<br>
    LaTeX2e <2014/05/01><br>
    Babel <3.9l> and hyphenation patterns for 79 languages loaded.<br>
    (/usr/local/texlive/2014/texmf-dist/tex/latex/base/article.cls<br>
    Document Class: article 2014/09/29 v1.4h Standard LaTeX document
    class<br>
    (/usr/local/texlive/2014/texmf-dist/tex/latex/base/size10.clo))<br>
    .<br>
    .<br>
    .<br>
(/usr/local/texlive/2014/texmf-dist/tex/latex/polyglossia/babelsh.def))<br>
    No file xelatextest.aux.<br>
    (/usr/local/texlive/2014/texmf-dist/tex/latex/tipa/t3cmr.fd) [1]<br>
    (./xelatextest.aux)<br>
    <font color="#3366ff"><big>xdvipdfmx:fatal: Something is wrong. Are
        you sure this is a DVI file?</big></font><u><br>
    </u><u><br>
    </u><u>Output file removed.</u><br>
     )<br>
    Error 256 (driver return code) generating output;<br>
    file xelatextest.pdf may not be valid.<br>
    SyncTeX written on xelatextest.synctex.gz.<br>
    Transcript written on xelatextest.log.<br>
    ========================================================<br>
    <br>
    <div><font color="#cc66cc"><big>Running
          xelatex in terminal has no problem but produces a .pdf_file,
          not a .dvi file.</big></font><br>
      <br>
      Here is the<font color="#ff6600"> tex test file</font>:<br>
      ===================================<br>
      
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">\documentclass{article}</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">\usepackage{fontspec}</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">\usepackage{polyglossia}</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">\setdefaultlanguage{french}\setotherlanguage{german}</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">\setmainfont{texgyrepagella-regular.otf}[]</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><br>
        \begin{document}</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">test</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">\end{document}</p>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">====================================<br>
      </p>
      <br>
      Here is <font color="#ff6600">ubuntu version</font>:<br>
====================================================================<br>
      Linux hep4a 3.19.0-12-generic #12-Ubuntu SMP Fri Apr 3 04:03:26
      UTC 2015 x86_64 x86_64 x86_64 GNU/Linux<br>
====================================================================<br>
      <br>
      Here is <font color="#ff6600">xelatex version</font>:<br>
      =============================<br>
      XeTeX 3.14159265-2.6-0.99991 (TeX Live 2014)<br>
      kpathsea version 6.2.0<br>
      Copyright 2014 SIL International, Jonathan Kew and Khaled Hosny.<br>
      There is NO warranty.  Redistribution of this software is<br>
      covered by the terms of both the XeTeX copyright and<br>
      the Lesser GNU General Public License.<br>
      For more information about these matters, see the file<br>
      named COPYING and the XeTeX source.<br>
      Primary author of XeTeX: Jonathan Kew.<br>
      Compiled with ICU version 53.1; using 53.1<br>
      Compiled with zlib version 1.2.8; using 1.2.8<br>
      Compiled with FreeType2 version 2.5.3; using 2.5.3<br>
      Compiled with Graphite2 version 1.2.4; using 1.2.4<br>
      Compiled with HarfBuzz version 0.9.28; using 0.9.28<br>
      Compiled with libpng version 1.6.10; using 1.6.10<br>
      Compiled with poppler version 0.25.2<br>
      Compiled with fontconfig version 2.11.1; using 2.11.1<br>
      ==============================<br>
      <br>
      Here is used<font color="#3366ff"> <font color="#ff6600">version
          1 of texworks</font></font>:<br>
      ==================================<br>
      TeXworks 0.4.6 (launchpad) [r.c29723a, 03/04/15 20:05]<br>
      <br>
      Copyright (C) 2007-2015  Jonathan Kew, Stefan Löffler, Charlie
      Sharpsteen<br>
      License GPLv2+: GNU GPL (version 2 or later) <a href="http://gnu.org/licenses/gpl.html" target="_blank"><http://gnu.org/licenses/gpl.html></a><br>
      This is free software: you are free to change and redistribute it.<br>
      There is NO WARRANTY, to the extent permitted by law.<br>
      ======================================<br>
      <br>
      Here is used<font color="#3366ff"> <font color="#ff6600">version
          2 of texworks</font></font>:<br>
      ======================================<br>
      TeXworks 0.5r1361 (Debian)<br>
      <br>
      Copyright (C) 2007-2014  Jonathan Kew, Stefan Löffler, Charlie
      Sharpsteen<br>
      License GPLv2+: GNU GPL (version 2 or later) <a href="http://gnu.org/licenses/gpl.html" target="_blank"><http://gnu.org/licenses/gpl.html></a><br>
      This is free software: you are free to change and redistribute it.<br>
      There is NO WARRANTY, to the extent permitted by law.<br>
      =====================================<br>
      <br>
      I cannot find how to make changes in texworks configuration
      (perhaps tell it to take xpdf or similar) to open the file,<br>
      or give xelatex the option to produce a .dvi file.<br>
      And what happens in the first case with document synchronisation?
      <br>
      <br>
      Even if one suppresses in the texworks configuration "show pdf
      file", it crashes with the same fault.<br>
      <br>
      One final remark: at the installation of texlive i had the symlink
      button active. But all the<br>
      terminal tests (as described in the texlive installation manual)
      did work fine.</div>
    <div><br>
      Kind Regards from Luxembourg,<br>
      <br>
      Henri E. Pesch<br>
      <br>
      <table>
        <tbody>
          <tr>
            <td><strong>Henri-Émile Pesch</strong>  </td>
            <td><br>
            </td>
            <td><br>
            </td>
          </tr>
          <tr>
            <td>ingénieur civil physicien ULg  </td>
            <td>tél.: 00352 799 355</td>
            <td><br>
            </td>
          </tr>
          <tr>
            <td>29, Hammhafferstrooss  </td>
            <td>fax: 00352 799 380</td>
            <td><br>
            </td>
          </tr>
          <tr>
            <td>L-6552 Berdorf  </td>
            <td>e-mail: <a href="mailto:dana@pt.lu" target="_blank">dana@pt.lu</a></td>
            <td><br>
            </td>
          </tr>
          <tr>
            <td><strong>(G.-D. de Luxembourg)</strong>  </td>
            <td> url: <a href="http://www.hep.lu" target="_blank">www.hep.lu</a></td>
            <td><br>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>

</blockquote></div><br></div>