[dk-tug] Fwd: Re: HeVeA for memoir-class?

Bent Jessen <[email protected]> Mon, 23 Nov 2015 12:09:07 +0100
Newsgroups gmane.comp.tex.danish
Message-ID <[email protected]>
Hi, Venner
Her er en lille mail-udveksling med maintainer for HeVeA.
Jeg har prøvet HeVeA og pandoc.
På et ordinært og helt simpelt LaTeX-document ser HeVeA's omsætning til 
html-format bedre ud end Pandoc's.
Documentationen for HeVeA bliver imidlertid meget hurtigt for tung at 
samle op for mig, men den har på den anden side sin egen indbyggede 
logik, som til en start tiltaler mig.
Er der nogen, der har prøvet at justere / konfigurere HeVeA til jobbet 
at omsætte latex til html?
Bent


-------- Videresendt meddelelse --------
Subject: 	Re: HeVeA for memoir-class?
Date: 	Wed, 18 Nov 2015 11:49:03 +0100
From: 	Luc Maranget <[email protected]>
To: 	Bent Jessen <[email protected]>
CC: 	Luc Maranget <[email protected]>



Ok,

There is more than memoir here (\setdefaultlanguage  is babel ?)

Anyhow, most of formatting command should probably be defined
as null commands. For instance :

\newcommand{\setheadfoot}[2]{}



> hi Luc,
>
> Thank you for your quick response!
> A long list is dispayed telling that this and that command is not found.
> It turns out to be mostly all the layout commands of memoir.
> The list looks like this:
>
>    ./essay_iii.tex:8: Warning: Command not found: \setpagecc
>    ./essay_iii.tex:8: Warning: Command not found: \paperheight
>    ./essay_iii.tex:8: Warning: Command not found: \paperwidth
>    ./essay_iii.tex:12: Warning: Command not found: \setlxvchars
>    ./essay_iii.tex:13: Warning: Command not found: \settypeblocksize
>    ./essay_iii.tex:13: Warning: Command not found: \lxvchars
>    ./essay_iii.tex:15: Warning: Command not found: \setlrmargins
>    ./essay_iii.tex:16: Warning: Command not found: \setulmargins
>    ./essay_iii.tex:17: Warning: Command not found: \setheadfoot
>    ./essay_iii.tex:17: Warning: Command not found: \onelineskip
>    ./essay_iii.tex:17: Warning: Command not found: \onelineskip
>    ./essay_iii.tex:18: Warning: Command not found: \setheaderspaces
>    ./essay_iii.tex:18: Warning: Command not found: \onelineskip
>    ./essay_iii.tex:19: Warning: Command not found: \settypeoutlayoutunit
>    ./essay_iii.tex:20: Warning: Command not found: \checkandfixthelayout
>    ./essay_iii.tex:25: Warning: Command not found: \defaultfontfeatures
>    ./essay_iii.tex:26: Warning: Command not found: \setmainfont
>    ./essay_iii.tex:27: Warning: Command not found: \setsansfont
>    ./essay_iii.tex:28: Warning: Command not found: \setmonofont
>    ./essay_iii.tex:30: Warning: Command not found: \setdefaultlanguage
>    ./essay_iii.tex:31: Warning: Command not found: \setotherlanguages
>    ./essay_iii.tex:40: Warning: Defining '\biblerefindex' by \renewcommand
>    ./essay_iii.tex:41: Warning: Command not found: \makepagestyle
>    ./essay_iii.tex:42: Warning: Command not found: \makeheadrule
>    ./essay_iii.tex:42: Warning: Command not found: \normalrulethickness
>    ./essay_iii.tex:43: Warning: Command not found: \makeevenhead
>    ./essay_iii.tex:43: Warning: Command not found: \rightmark
>    ./essay_iii.tex:44: Warning: Command not found: \makeoddhead
>    ./essay_iii.tex:44: Warning: Command not found: \leftmark
>    ./essay_iii.tex:45: Warning: Command not found: \makeevenfoot
>    ./essay_iii.tex:45: Warning: Command not found: \thepage
>    ./essay_iii.tex:46: Warning: Command not found: \makeoddfoot
>    ./essay_iii.tex:46: Warning: Command not found: \thepage
>    ./essay_iii.tex:48: Warning: Defining '\indexmark' by \renewcommand
>    ./essay_iii.tex:51: Warning: Command not found: \addbibresource
>    ./essay_iii.tex:66: Warning: Command not found: \footmarkstyle
>    ./essay_iii.tex:66: Error while reading LaTeX:
>         Macro argument not found
>    Adios
>
> I am not sure about the 'Adios': I do not know if the list has
Obsvously hevea crashes on line 66...

> all(?) the missing commands of my tex-file and the loaded packages.
> It seems to me as if the HeVeA does not execute the
> biblatex-chicago-style, which I am using (including 'biber').
Missing commands are to be corrected one by one, mostly defining them
as null commands. What do you mean by 'including biber' ?


> I have included in my tex-file '\usepackage[utf8]{inputenc}' as the
> LaTeX-engine is XeLaTeX because my text have classical greek and
> biblical hebrew text. (cf. the missing comands:
> \defaultfontfeatures, ....)
If your text is multilingual, there will be additional problem.
Hevea is not designed to support several languages in the same document.
However \usepackage[utf8]{inputenc} looks correct and should work.


Overall I cannot do much more without your source LaTeX.

All the best,

--Luc

>
> /Bent


>
>
> Den 18-11-2015 kl. 11:07 skrev Luc Maranget:
> >Hi Bent,
> >
> >I do not remember of any attempt to implement the memoir class.
> >
> >You say that substiting book.hva for memoir.hva does not work. Can you
> >be more precise?
> >
> >--Luc
> >PS> I do not know the memoir class. However, I'd be suprised if a decent
> >result could not be obtained by small modification of book.hva.
> >
> >
> >
> >>Hi,
> >>
> >>I wonder if any work has been done for HeVeA to execute on memoir
> >>class in LaTeX?  The suggestion to substitute book.hva for the
> >>missing memoir.hva does not execute.
> >>I have a book written in memoir(.cls).
> >>I would like to use HeVeA for making a html-copy
> >>
> >>Bent Jessen,
> >>Copenhagen
> >
> >
>

-- 
Luc