[XeTeX] Xetex to HTML ?

2013-09-17 Thread Fahad Al-Saidi
Hi All,

Is there an easy way to convert xetex file to html. I tried this command:

htxelatex example-arabic.tex xhtml, charset=utf-8  -cunihtf -utf8

but the output is empty. I want to convert my book to HTML then to epub 
mobi. My book includes a lot of eps pictures.  Any suggestion?


Regards,
Fahad Al-Saidi


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] MAC OS X 10.8.5 - xdvipdfmx error usexobj (beamer - pgf)

2013-09-17 Thread Ulrike Fischer
Am Tue, 17 Sep 2013 00:56:21 +0200 schrieb Federico Tramarin:

 Hi all,
 
 I am experiencing a problem with xelatex, with a very simple presentation I
 wrote using beamer. It was written on a linux machine, and all is working
 well.
 Now I am using a mac (last update) with a mactex 2013 base system.
 All needed packages are installed.
 I get an error relative to the use of pgf shadows. In particular, xelatex
 complaints about
 ** WARNING ** Error locating image file pgfshadebeamer@headfade
 ** WARNING ** Specified (image) object doesn't exist:
 pgfshadebeamer@headfade
 ** WARNING ** Interpreting special command usexobj (pdf:) failed.

 In practice, the pdf produced does not show the gradient on the background.
 Please note that if I add several other pages, they have the correct
 background. Only the first page is corrupted.
 
 Please, is someone able to help me/reproduce this error?
 Or simply could you give me some advice on how to solve it?

I can reproduce the problem with TL 2012, TL2013 and miktex 2.9 on
windows. It goes away if I remove the pstricks related packages and
commands. 


-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/



--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] XeLaTeX PDF Glitch with Serbian Glyphs

2013-09-17 Thread Steve White
Hi Alessandro,

Let me clarify a bit.

The current standards for text encoding, Unicode, does not distinguish
the Serbian Cyrillic glyphs -- they are regarded as a style.  A
stylistic substitution of glyphs can be specified, as you pointed out,
by an OpenType font.

PDF typically contains glyphs extracted from fonts, and supports a
table mapping of glyphs to Unicode.  With this mapping, the display
application may re-construct the Unicode text, for the purpose of
copying. What goes wrong here, is that many PDF generating libraries
fail to fill this PDF table out.  This means, the replacement Serbian
glyph is not correctly mapped to its original Unicode text.

LibreOffice is putting *styled* text into the clipboard.  That means,
it records which font was used to display the text.  When pasted into
another program that handles styled text (on a system with the same
font installed!!!), the result is as you describe-- substitutions are
carried out as instructed by the font.

However in neither case are you copying Serbian glyphs.  Your copied
Unicode characters.  With LibreOffice it also records that the text
was styled with a certain font.  And the PDF copying failed because
the PDF generating software failed to record which glyphs correspond
to which Unicode characters.

Some months ago, I made a comparison of PDF generating software in
this regard.  The functionality varies greatly among them.  This
situation could stand improvement.  I advocate that the libraries draw
mapping information from the tables in the font.

There is a standard involving the naming of glyphs in a font, which is
used by some font-generating libraries to guess the mapping, in the
ignorance of the OpenType tables that actuall *effect* the mapping.
This is a very crummy band-aid, but it can work in situations such as
yours, in some programs.  You just need to find a font where the
glyphs are named according to that standard, and a program that makes
use of that.

One other thought: I have never seen an application for display of
graphical documents such as PDF produce styled text, but...in
principle -- the names of the fonts are stored in the document, as is
information such as scaling of the glyphs... Sounds messy, but
possible.  Not convinced it's *desirable*.  But the first thing is to
get the mapping right.



On Mon, Sep 16, 2013 at 10:16 PM, Alessandro Ceschini
alescesc1...@yahoo.it wrote:
 Serbian Cyrillic requires a peculiar localisation because some glyphs are
 different from the standard. The PDF produced by XeLaTeX however must have
 some glitch because if I try copy/paste from it to another document the
 characters affected by Serbian localisation simply disappear :-\ ! This
 doesn't happen with PDF produced by LibreOffice 4.1, which now supports
 OpenType and therefore localised glyphs: characters are correctly copied,
 and even if the recipient program doesn't support OpenType, then standard
 glyphs are displayed.
 --
 Alessandro Ceschini



 --
 Subscriptions, Archive, and List information, etc.:
   http://tug.org/mailman/listinfo/xetex



--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Xetex to HTML ?

2013-09-17 Thread Zdenek Wagner
2013/9/17 Fahad Al-Saidi fahad.alsa...@gmail.com:
 Hi All,

 Is there an easy way to convert xetex file to html. I tried this command:

 htxelatex example-arabic.tex xhtml, charset=utf-8  -cunihtf -utf8

 but the output is empty. I want to convert my book to HTML then to epub 
 mobi. My book includes a lot of eps pictures.  Any suggestion?

I will have a lecture on this topic at TeXperience 2013 in Brejlov
(Czech Republic). The conference follows immediatelly the 7th
International Context Meeting
(http://meeting.contextgarden.net/2013/), the first part of the
TeXperience conference (including my lectures) will be in English.
There are still free places in the hotel (I can give you contact to
organizers, it is possible to go to TeXperience only and no to the
ConTeXt meeting, if you wish).

I do not know how to create mobi, I deal only with epub. My tool is
not yet documented and it is highly configurable. I can give it to you
(I plan to release it under a free license) but without the lecture
you will hardly understand it.


 Regards,
 Fahad Al-Saidi



 --
 Subscriptions, Archive, and List information, etc.:
   http://tug.org/mailman/listinfo/xetex




-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz



--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Xetex to HTML ?

2013-09-17 Thread Zdenek Wagner
2013/9/17 Fahad Al-Saidi fahad.alsa...@gmail.com:
 Thanks Zdenek. It is difficult to me to attend the TeXperience session. I
 have a question does your tool support xetex and RTL languages?

Yes, it does, but it does not suport math and tables. It was developed
for LaTeX documents with nonstandard markup (for instance in some
books I redefined \chapter so that it requires two parameters). It is
written in perl and all you have to do is to define mappings (or copy
them from my samples), eg \textbf{...} - b.../b, \textit{...} -
i.../i etc. The perl script reads the source text almost as TeX,
so \textbf and \textit may be nested. The next step i XSLT (you need
XSLT2 processor such as Saxon). The table of contents and the
navigation file may either be written by hand or created by XSLT,
samples are available. The whole processing is controlled by ant,
sample build.xml files are available. EPS files can be extracted and
converted first by epstopdf and then by pdf2svg and included as SVG.

In fact, it is the third version, I have to convert books that I
typeset withing last 20 years and each book has different
specialities, that's why I decided not to make a canned tool but a
toolbox which can be easily adapted. I learned much from the first two
versions and now with not too much perl programming you can do
whatever you want, put eveything to a single file, split the output so
that each chapter is in its own XHTML file, proces a book that is
built from several TeX files. The tool automatically create all epub
files that can be created, it offers templates for other files.




 On Tue, Sep 17, 2013 at 1:02 PM, Zdenek Wagner zdenek.wag...@gmail.com
 wrote:

 2013/9/17 Fahad Al-Saidi fahad.alsa...@gmail.com:
  Hi All,
 
  Is there an easy way to convert xetex file to html. I tried this
  command:
 
  htxelatex example-arabic.tex xhtml, charset=utf-8  -cunihtf -utf8
 
  but the output is empty. I want to convert my book to HTML then to epub
  
  mobi. My book includes a lot of eps pictures.  Any suggestion?
 
 I will have a lecture on this topic at TeXperience 2013 in Brejlov
 (Czech Republic). The conference follows immediatelly the 7th
 International Context Meeting
 (http://meeting.contextgarden.net/2013/), the first part of the
 TeXperience conference (including my lectures) will be in English.
 There are still free places in the hotel (I can give you contact to
 organizers, it is possible to go to TeXperience only and no to the
 ConTeXt meeting, if you wish).

 I do not know how to create mobi, I deal only with epub. My tool is
 not yet documented and it is highly configurable. I can give it to you
 (I plan to release it under a free license) but without the lecture
 you will hardly understand it.

 
  Regards,
  Fahad Al-Saidi
 
 
 
  --
  Subscriptions, Archive, and List information, etc.:
http://tug.org/mailman/listinfo/xetex
 



 --
 Zdeněk Wagner
 http://hroch486.icpf.cas.cz/wagner/
 http://icebearsoft.euweb.cz



 --
 Subscriptions, Archive, and List information, etc.:
   http://tug.org/mailman/listinfo/xetex




 --
 my blog

 http://fahadalsaidi.blogspot.com



 --
 Subscriptions, Archive, and List information, etc.:
   http://tug.org/mailman/listinfo/xetex




-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz



--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Xetex to HTML ?

2013-09-17 Thread Dominik Wujastyk
I had an exchange with C. V. Radhakrishnan (maintainer of tex4ht) recently,
and recorded the main points here:

   -
   
http://cikitsa.blogspot.co.at/2013/02/converting-xelatex-into-odt-or-ms-word.html

Perhaps there will be some helpful clues there?

Best,

Dominik





On 17 September 2013 08:36, Fahad Al-Saidi fahad.alsa...@gmail.com wrote:

 Hi All,

 Is there an easy way to convert xetex file to html. I tried this command:

 htxelatex example-arabic.tex xhtml, charset=utf-8  -cunihtf -utf8

 but the output is empty. I want to convert my book to HTML then to epub 
 mobi. My book includes a lot of eps pictures.  Any suggestion?


 Regards,
 Fahad Al-Saidi



 --
 Subscriptions, Archive, and List information, etc.:
   http://tug.org/mailman/listinfo/xetex




--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Xetex to HTML ?

2013-09-17 Thread Fahad Al-Saidi
Unfortunately, tex4ht does not support bidi nor polyglossia packages.
On Sep 17, 2013 4:02 PM, Dominik Wujastyk wujas...@gmail.com wrote:

I had an exchange with C. V. Radhakrishnan (maintainer of tex4ht) recently,
and recorded the main points here:

   -
   
http://cikitsa.blogspot.co.at/2013/02/converting-xelatex-into-odt-or-ms-word.html

Perhaps there will be some helpful clues there?

Best,

Dominik





On 17 September 2013 08:36, Fahad Al-Saidi fahad.alsa...@gmail.com wrote:

 Hi All,

 Is there an easy way to convert xetex file to html. I tried this command:

 htxelatex example-arabic.tex xhtml, charset=utf-8  -cunihtf -utf8

 but the output is empty. I want to convert my book to HTML then to epub 
 mobi. My book includes a lot of eps pictures.  Any suggestion?


 Regards,
 Fahad Al-Saidi



 --
 Subscriptions, Archive, and List information, etc.:
   http://tug.org/mailman/listinfo/xetex





--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] MAC OS X 10.8.5 - xdvipdfmx error usexobj (beamer - pgf)

2013-09-17 Thread Federico Tramarin

  Hi all,
 
  I am experiencing a problem with xelatex, with a very simple
 presentation I
  wrote using beamer. It was written on a linux machine, and all is working
  well.
  Now I am using a mac (last update) with a mactex 2013 base system.
  All needed packages are installed.
  I get an error relative to the use of pgf shadows. In particular, xelatex
  complaints about
  ** WARNING ** Error locating image file pgfshadebeamer@headfade
  ** WARNING ** Specified (image) object doesn't exist:
  pgfshadebeamer@headfade
  ** WARNING ** Interpreting special command usexobj (pdf:) failed.
  In practice, the pdf produced does not show the gradient on the
 background.
  Please note that if I add several other pages, they have the correct
  background. Only the first page is corrupted.
 
  Please, is someone able to help me/reproduce this error?
  Or simply could you give me some advice on how to solve it?



I can reproduce the problem with TL 2012, TL2013 and miktex 2.9 on
 windows. It goes away if I remove the pstricks related packages and
 commands.


Thak you for your test. This give me a bit of comfort ;)
however, in my linux system I verified that all is going well.
It is a XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012/Debian)

It only display a final warning
** WARNING ** 6 memory objects still allocated
but the page is formatted correctly with the gradient on the background.

I need pstrick, so the error remains...
Any advice!?

thank you very much

Federico


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Xetex to HTML ?

2013-09-17 Thread Zdenek Wagner
2013/9/17 Fahad Al-Saidi fahad.alsa...@gmail.com:
 Unfortunately, tex4ht does not support bidi nor polyglossia packages.

In my tool the babel or polyglossia markap will just be mapped to div
xml:lang=ar ... /div and the rest will be achieved by the XHTML
browser.

 On Sep 17, 2013 4:02 PM, Dominik Wujastyk wujas...@gmail.com wrote:

 I had an exchange with C. V. Radhakrishnan (maintainer of tex4ht) recently,
 and recorded the main points here:

 http://cikitsa.blogspot.co.at/2013/02/converting-xelatex-into-odt-or-ms-word.html

 Perhaps there will be some helpful clues there?

 Best,

 Dominik






 On 17 September 2013 08:36, Fahad Al-Saidi fahad.alsa...@gmail.com wrote:

 Hi All,

 Is there an easy way to convert xetex file to html. I tried this command:

 htxelatex example-arabic.tex xhtml, charset=utf-8  -cunihtf -utf8

 but the output is empty. I want to convert my book to HTML then to epub 
 mobi. My book includes a lot of eps pictures.  Any suggestion?


 Regards,
 Fahad Al-Saidi



 --
 Subscriptions, Archive, and List information, etc.:
   http://tug.org/mailman/listinfo/xetex





 --
 Subscriptions, Archive, and List information, etc.:
   http://tug.org/mailman/listinfo/xetex




 --
 Subscriptions, Archive, and List information, etc.:
   http://tug.org/mailman/listinfo/xetex




-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz



--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


[XeTeX] (no subject)

2013-09-17 Thread Fabio Gibiino
Hey everybody.

In the old version of LaTEx I used the packet code polutoniko greek, in
order to change unicode in Ancient Greek.
Because I now use the new version of XeLateX, I replaced polutoniko greek
with \gr{...} knowing that XeLateX does not recognise the code
polutonico.The problem is that with the new code
\gr{...}, the text in unicode had not been changed in Ancient Greek as in
LaTex.

What can I do in XeLateX in order to obtain a Greek font that recognises
and changes unicode in Ancient Greek ?

many thx for ur attention and ur help

Fabio


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] XeLaTeX PDF Glitch with Serbian Glyphs

2013-09-17 Thread Alessandro Ceschini

Hello Ross,

I attached the whole output, not just the pdf, in the even that you wish 
to check the .tex file as well. I've also attached the output, that is 
the pasted text from the .pdf as it appears on LO. The font is always 
the same, FreeSerif, bundled with Ubuntu.


Regards,
--
/Alessandro Ceschini/


FreeSerif LO Output.odt
Description: application/vnd.oasis.opendocument.text
\relax 
This is XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012/Debian) (format=xelatex 2013.8.24)  17 SEP 2013 16:52
entering extended mode
 restricted \write18 enabled.
 %-line parsing enabled.
**FreeSerif Serbian Glyphs.tex
(./FreeSerif Serbian Glyphs.tex
LaTeX2e 2011/06/27
Babel v3.8m and hyphenation patterns for english, dumylang, nohyphenation, et
hiopic, farsi, arabic, pinyin, croatian, bulgarian, ukrainian, russian, slovak,
 czech, danish, dutch, usenglishmax, ukenglish, finnish, french, basque, ngerma
n, german, swissgerman, ngerman-x-2012-05-30, german-x-2012-05-30, monogreek, g
reek, ibycus, ancientgreek, hungarian, bengali, tamil, hindi, telugu, gujarati,
 sanskrit, malayalam, kannada, assamese, marathi, oriya, panjabi, italian, lati
n, latvian, lithuanian, mongolian, mongolianlmc, nynorsk, bokmal, indonesian, e
speranto, coptic, welsh, irish, interlingua, serbian, serbianc, slovenian, friu
lan, romansh, estonian, romanian, armenian, uppersorbian, turkish, afrikaans, i
celandic, kurmanji, polish, portuguese, galician, catalan, spanish, swedish, th
ai, loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count80
\c@section=\count81
\c@subsection=\count82
\c@subsubsection=\count83
\c@paragraph=\count84
\c@subparagraph=\count85
\c@figure=\count86
\c@table=\count87
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texlive/texmf-dist/tex/latex/preprint/fullpage.sty
Package: fullpage 1999/02/23 1.1 (PWD)
\FP@margin=\skip43
)
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.sty
Package: fontspec 2012/05/06 v2.2b Advanced font selection for XeLaTeX/LuaLaTeX


(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3names.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3bootstrap.sty
Package: l3bootstrap 2011/12/29 v3110 L3 Experimental bootstrap code
)
Package: l3names 2012/03/04 v3494 L3 Experimental namespace for primitives
)
(/usr/share/texlive/texmf-dist/tex/latex/etex-pkg/etex.sty
Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB)
\et@xins=\count88
)
Package: expl3 2012/04/23 v3570 L3 Experimental code bundle wrapper

(/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty
Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC)

(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/color.cfg
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package color Info: Driver file: xetex.def on input line 130.

(/usr/share/texlive/texmf-dist/tex/xelatex/xetex-def/xetex.def
File: xetex.def 2009/11/22 v0.94 LaTeX color/graphics driver for XeTeX (RRM/JK)

))
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)

(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg
File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
)
Package graphics Info: Driver file: xetex.def on input line 91.
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3basics.sty
Package: l3basics 2012/03/04 v3491 L3 Experimental basic definitions
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3expan.sty
Package: l3expan 2012/02/26 v3460 L3 Experimental argument expansion
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3tl.sty
Package: l3tl 2012/03/04 v3490 L3 Experimental token lists
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3seq.sty
Package: l3seq 2012/03/04 v3490 L3 Experimental sequences and stacks
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3int.sty
Package: l3int 2012/03/04 v3490 L3 Experimental integers
\c_max_int=\count89
\l_tmpa_int=\count90
\l_tmpb_int=\count91
\l_tmpc_int=\count92
\g_tmpa_int=\count93
\g_tmpb_int=\count94
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3quark.sty
Package: l3quark 2012/02/12 v3384 L3 Experimental quarks
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3prg.sty
Package: l3prg 2012/03/04 v3490 L3 Experimental control structures
\g_prg_map_int=\count95
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3clist.sty
Package: l3clist 2012/03/04 v3490 L3 Experimental comma separated lists
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3token.sty
Package: l3token 2012/03/04 v3491 L3 Experimental 

Re: [XeTeX] XeLaTeX PDF Glitch with Serbian Glyphs

2013-09-17 Thread Alessandro Ceschini

Hello Ross,

I attached the whole output, not just the pdf, in the even that you wish 
to check the .tex file as well. I've also attached the output, that is 
the pasted text from the .pdf as it appears on LO. The font is always 
the same, FreeSerif, bundled with Ubuntu.


Regards,
--
/Alessandro Ceschini/


FreeSerif LO Output.odt
Description: application/vnd.oasis.opendocument.text
\relax 
This is XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012/Debian) (format=xelatex 2013.8.24)  17 SEP 2013 16:52
entering extended mode
 restricted \write18 enabled.
 %-line parsing enabled.
**FreeSerif Serbian Glyphs.tex
(./FreeSerif Serbian Glyphs.tex
LaTeX2e 2011/06/27
Babel v3.8m and hyphenation patterns for english, dumylang, nohyphenation, et
hiopic, farsi, arabic, pinyin, croatian, bulgarian, ukrainian, russian, slovak,
 czech, danish, dutch, usenglishmax, ukenglish, finnish, french, basque, ngerma
n, german, swissgerman, ngerman-x-2012-05-30, german-x-2012-05-30, monogreek, g
reek, ibycus, ancientgreek, hungarian, bengali, tamil, hindi, telugu, gujarati,
 sanskrit, malayalam, kannada, assamese, marathi, oriya, panjabi, italian, lati
n, latvian, lithuanian, mongolian, mongolianlmc, nynorsk, bokmal, indonesian, e
speranto, coptic, welsh, irish, interlingua, serbian, serbianc, slovenian, friu
lan, romansh, estonian, romanian, armenian, uppersorbian, turkish, afrikaans, i
celandic, kurmanji, polish, portuguese, galician, catalan, spanish, swedish, th
ai, loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count80
\c@section=\count81
\c@subsection=\count82
\c@subsubsection=\count83
\c@paragraph=\count84
\c@subparagraph=\count85
\c@figure=\count86
\c@table=\count87
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texlive/texmf-dist/tex/latex/preprint/fullpage.sty
Package: fullpage 1999/02/23 1.1 (PWD)
\FP@margin=\skip43
)
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.sty
Package: fontspec 2012/05/06 v2.2b Advanced font selection for XeLaTeX/LuaLaTeX


(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3names.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3bootstrap.sty
Package: l3bootstrap 2011/12/29 v3110 L3 Experimental bootstrap code
)
Package: l3names 2012/03/04 v3494 L3 Experimental namespace for primitives
)
(/usr/share/texlive/texmf-dist/tex/latex/etex-pkg/etex.sty
Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB)
\et@xins=\count88
)
Package: expl3 2012/04/23 v3570 L3 Experimental code bundle wrapper

(/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty
Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC)

(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/color.cfg
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package color Info: Driver file: xetex.def on input line 130.

(/usr/share/texlive/texmf-dist/tex/xelatex/xetex-def/xetex.def
File: xetex.def 2009/11/22 v0.94 LaTeX color/graphics driver for XeTeX (RRM/JK)

))
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)

(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg
File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
)
Package graphics Info: Driver file: xetex.def on input line 91.
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3basics.sty
Package: l3basics 2012/03/04 v3491 L3 Experimental basic definitions
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3expan.sty
Package: l3expan 2012/02/26 v3460 L3 Experimental argument expansion
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3tl.sty
Package: l3tl 2012/03/04 v3490 L3 Experimental token lists
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3seq.sty
Package: l3seq 2012/03/04 v3490 L3 Experimental sequences and stacks
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3int.sty
Package: l3int 2012/03/04 v3490 L3 Experimental integers
\c_max_int=\count89
\l_tmpa_int=\count90
\l_tmpb_int=\count91
\l_tmpc_int=\count92
\g_tmpa_int=\count93
\g_tmpb_int=\count94
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3quark.sty
Package: l3quark 2012/02/12 v3384 L3 Experimental quarks
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3prg.sty
Package: l3prg 2012/03/04 v3490 L3 Experimental control structures
\g_prg_map_int=\count95
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3clist.sty
Package: l3clist 2012/03/04 v3490 L3 Experimental comma separated lists
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3token.sty
Package: l3token 2012/03/04 v3491 L3 Experimental 

Re: [XeTeX] Xetex to HTML ?

2013-09-17 Thread Peter Dyballa

Am 17.09.2013 um 08:36 schrieb Fahad Al-Saidi:

 My book includes a lot of eps pictures.

That cannot work! XeTeX, and pdfTeX, cannot directly include EPS files into the 
PDF output. Either create vector PDF versions of them or SVG formats, which 
might be the best option for HTML.

Once you have created the PDF format of your XeLaTeX source you can use 
pdftohtml from the most recent xpdf or poppler packages. It will use PNG by 
default for images. I did not test whether and how it handles RTL text. There 
is also an option to produce XML.

--
Greetings

  Pete

Almost anything is easier to get into than out of.
– Allen's Law




--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Xetex to HTML ?

2013-09-17 Thread Herbert Schulz

On Sep 17, 2013, at 12:13 PM, Peter Dyballa peter_dyba...@web.de wrote:

 
 Am 17.09.2013 um 08:36 schrieb Fahad Al-Saidi:
 
 My book includes a lot of eps pictures.
 
 That cannot work! XeTeX, and pdfTeX, cannot directly include EPS files into 
 the PDF output. Either create vector PDF versions of them or SVG formats, 
 which might be the best option for HTML.
 
 Once you have created the PDF format of your XeLaTeX source you can use 
 pdftohtml from the most recent xpdf or poppler packages. It will use PNG by 
 default for images. I did not test whether and how it handles RTL text. There 
 is also an option to produce XML.
 

Howdy,

Both pdflatex and xelatex (actually xdvipdfmx) can convert eps-pdf on the fly 
in recent TeX Live (and other I suppose) distributions. Pdflatex, with the 
graphicx package, uses a restricted version of epstopdf to convert 
file.eps-file-eps-converted-to.pdf and includes that file while xdvipdfmx does 
the conversion in a tmp directory.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Xetex to HTML ?

2013-09-17 Thread Peter Dyballa

Am 17.09.2013 um 19:56 schrieb Herbert Schulz:

 Both pdflatex and xelatex (actually xdvipdfmx) can convert eps-pdf on the 
 fly in recent TeX Live (and other I suppose) distributions. Pdflatex, with 
 the graphicx package, uses a restricted version of epstopdf to convert 
 file.eps-file-eps-converted-to.pdf and includes that file while xdvipdfmx 
 does the conversion in a tmp directory.

Exactly! The problem is that this is not controlled by the user and might 
degrade original quality.  And this can happen twice when a tool tries to 
convert the PDF format into another one. Particularly then when one tries to 
use the same set of images for different purposes it's worth to spend a few 
thoughts on their formats and how to achieve them.

--
Greetings

  Pete

Bake pizza not war!




--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] MAC OS X 10.8.5 - xdvipdfmx error usexobj (beamer - pgf)

2013-09-17 Thread Peter Dyballa

Am 17.09.2013 um 14:02 schrieb Federico Tramarin:

 Thak you for your test. This give me a bit of comfort ;)
 however, in my linux system I verified that all is going well.
 It is a XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012/Debian)

It also works with

This is XeTeX, Version 3.1415926-2.3-0.9997.5 (TeX Live 2011) 
(format=xelatex 2012.4.29)

on Mac OS X.

Since you have two systems with different results you could add

\listfiles

in the preamble, maybe as first line. Then you'll get in the end (of the run 
and of the LOG file) a list of files used for this job. By comparing these 
files you could find possible cause(s).

It's also possible to modify (minimise, decimate) your file until you hit the 
statement that causes the failure. I presume it's the shading at the top: at 
page=1 position=(1.09453e-05, 236.693) (in PDF).


It's actually xetex which does not include this code block into the XDV file:

pdf: beginxobj @pgfshadebeamer@headfade width 364.19536pt height 
35.56593pt
pdf: put @resources  /Shading  /Sh  /ShadingType 2 /ColorSpace 
/DeviceRGB /Domain [0 1] /Coords [0 0.0 0 35.4335] /Function   /FunctionType 
2 /Domain [0 1] /C0 [1 1 1] /C1 [0.87646 0.77353 0.79216] /N 1   /Extend 
[false false]   
pdf: content /Sh sh
pdf: endxobj

Another option is not to use the Singapore theme. It's only that theme that 
uses this headfade thing.

--
Greetings

  Pete

If my theory of relativity is proven successful, Germany will claim me as a 
German, and France will declare that I am a citizen of the world. Should my 
theory prove untrue, France will say that I am a German, and Germany will 
declare that I am a Jew.
– Albert Einstein, 1929




--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] Xetex to HTML ?

2013-09-17 Thread Zdenek Wagner
Dne úterý, 17. září 2013, Peter Dyballa napsal(a):


 Am 17.09.2013 um 19:56 schrieb Herbert Schulz:

  Both pdflatex and xelatex (actually xdvipdfmx) can convert eps-pdf on
 the fly in recent TeX Live (and other I suppose) distributions. Pdflatex,
 with the graphicx package, uses a restricted version of epstopdf to convert
 file.eps-file-eps-converted-to.pdf and includes that file while xdvipdfmx
 does the conversion in a tmp directory.

 Exactly! The problem is that this is not controlled by the user and might
 degrade original quality.  And this can happen twice when a tool tries to
 convert the PDF format into another one. Particularly then when one tries
 to use the same set of images for different purposes it's worth to spend a
 few thoughts on their formats and how to achieve them.


That's true. I prefer to write a makefile and convert the eps files outside
TeX. For the sam reason I would not use PDF to HTML conversion. Well
written latex file contains a structure and EPUB should also have a
structure. It is not easy to reconstruct the structure from mere font
changes in PDF. This is the very reason why I have not tried such tools at
all.



 --
 Greetings

   Pete

 Bake pizza not war!




 --
 Subscriptions, Archive, and List information, etc.:
   http://tug.org/mailman/listinfo/xetex



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex