[texworks] problem: texworks and dvi viewer xdvipdfmx

Luis Montgomery monty.luis at gmail.com
Tue Apr 7 20:03:39 CEST 2015


AFAIK ... XeLaTeX by default generates pdf files.  With -no-pdf option
generates eXtended dvi  (file.xdv ) . So xdvipdfmx file.xdv filters to
file.pdf.

Good luck,

Luis


2015-04-07 11:50 GMT-05:00 Henri-Emile Pesch <dana at pt.lu>:

>  Hello,
>
> Concern: xelatex with dvi viewer.
>
> 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).
>
> Here is the problem (console output xelatex and texworks):
> ========================================================
> This is XeTeX, Version 3.14159265-2.6-0.99991 (TeX Live 2014) (preloaded
> format=xelatex)
>  restricted \write18 enabled.
> entering extended mode
> (./xelatextest.tex
> LaTeX2e <2014/05/01>
> Babel <3.9l> and hyphenation patterns for 79 languages loaded.
> (/usr/local/texlive/2014/texmf-dist/tex/latex/base/article.cls
> Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
> (/usr/local/texlive/2014/texmf-dist/tex/latex/base/size10.clo))
> .
> .
> .
> (/usr/local/texlive/2014/texmf-dist/tex/latex/polyglossia/babelsh.def))
> No file xelatextest.aux.
> (/usr/local/texlive/2014/texmf-dist/tex/latex/tipa/t3cmr.fd) [1]
> (./xelatextest.aux)
> xdvipdfmx:fatal: Something is wrong. Are you sure this is a DVI file?
>
> *Output file removed.*
>  )
> Error 256 (driver return code) generating output;
> file xelatextest.pdf may not be valid.
> SyncTeX written on xelatextest.synctex.gz.
> Transcript written on xelatextest.log.
> ========================================================
>
> Running xelatex in terminal has no problem but produces a .pdf_file, not a
> .dvi file.
>
> Here is the tex test file:
> ===================================
>
> \documentclass{article}
>
> \usepackage{fontspec}
>
> \usepackage{polyglossia}
>
> \setdefaultlanguage{french}\setotherlanguage{german}
>
> \setmainfont{texgyrepagella-regular.otf}[]
>
>
> \begin{document}
>
> test
>
> \end{document}
>
> ====================================
>
> Here is ubuntu version:
> ====================================================================
> 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
> ====================================================================
>
> Here is xelatex version:
> =============================
> XeTeX 3.14159265-2.6-0.99991 (TeX Live 2014)
> kpathsea version 6.2.0
> Copyright 2014 SIL International, Jonathan Kew and Khaled Hosny.
> There is NO warranty.  Redistribution of this software is
> covered by the terms of both the XeTeX copyright and
> the Lesser GNU General Public License.
> For more information about these matters, see the file
> named COPYING and the XeTeX source.
> Primary author of XeTeX: Jonathan Kew.
> Compiled with ICU version 53.1; using 53.1
> Compiled with zlib version 1.2.8; using 1.2.8
> Compiled with FreeType2 version 2.5.3; using 2.5.3
> Compiled with Graphite2 version 1.2.4; using 1.2.4
> Compiled with HarfBuzz version 0.9.28; using 0.9.28
> Compiled with libpng version 1.6.10; using 1.6.10
> Compiled with poppler version 0.25.2
> Compiled with fontconfig version 2.11.1; using 2.11.1
> ==============================
>
> Here is used version 1 of texworks:
> ==================================
> TeXworks 0.4.6 (launchpad) [r.c29723a, 03/04/15 20:05]
>
> Copyright (C) 2007-2015  Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
> License GPLv2+: GNU GPL (version 2 or later)
> <http://gnu.org/licenses/gpl.html> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> ======================================
>
> Here is used version 2 of texworks:
> ======================================
> TeXworks 0.5r1361 (Debian)
>
> Copyright (C) 2007-2014  Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
> License GPLv2+: GNU GPL (version 2 or later)
> <http://gnu.org/licenses/gpl.html> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> =====================================
>
> I cannot find how to make changes in texworks configuration (perhaps tell
> it to take xpdf or similar) to open the file,
> or give xelatex the option to produce a .dvi file.
> And what happens in the first case with document synchronisation?
>
> Even if one suppresses in the texworks configuration "show pdf file", it
> crashes with the same fault.
>
> One final remark: at the installation of texlive i had the symlink button
> active. But all the
> terminal tests (as described in the texlive installation manual) did work
> fine.
>
> Kind Regards from Luxembourg,
>
> Henri E. Pesch
>
>   *Henri-Émile Pesch*
>
>   ingénieur civil physicien ULg   tél.: 00352 799 355
>   29, Hammhafferstrooss   fax: 00352 799 380
>   L-6552 Berdorf   e-mail: dana at pt.lu
>   *(G.-D. de Luxembourg)*   url: www.hep.lu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texworks/attachments/20150407/9a4f01d6/attachment-0001.html>


More information about the texworks mailing list