[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

*Subject*: **Re: [docbook-apps] Equations in docbook not working**

*From*:**Joachim Rodrigues <rodrigues.joachim@gmail.com>***To*: DeanNelson@aol.com*Date*: Wed, 2 Oct 2013 21:59:47 +0200

Hi Thanks for your reply,

Sorry but i changed the doctype in the included file : test.xml to get

<!DOCTYPE equation PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"

<equation><title>Fermat's Last Theorem</title>

<alt>x^n + y^n ≠ z^n ∀ n > 2</alt>

<mathphrase>x<superscript>n</superscript>

+ y<superscript>n</superscript>

≠ z<superscript>n</superscript>

∀ n ≠ 2</mathphrase>

</equation>

But now the equation appears but not correctly i got :

xn + yn # zn # n # 2

did you get the correct formula when you tried ?

On Wed, Oct 2, 2013 at 12:42 AM, <DeanNelson@aol.com> wrote:

Hello,First make sure your DOCTYPEs are correctly used. I corrected the included file's DOCTYPE before it would legally compile.Next, you can use mathphrase:<!DOCTYPE equation PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN""http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"><equation><title>Fermat's Last Theorem</title><alt>x^n + y^n ≠ z^n ∀ n > 2</alt><mathphrase>x<superscript>n</superscript>+ y<superscript>n</superscript>≠ z<superscript>n</superscript>∀ n ≠ 2</mathphrase>`</equation>`

This compiled correctly on my system.I use MathML for all of my equations. See Bob Stayton's book for a better explanation of how to integrate MathML equations.Hope this helps.Regards,Dean NelsonIn a message dated 10/1/2013 1:13:59 P.M. Pacific Daylight Time, rodrigues.joachim@gmail.com writes:Yes sorrySo i have downloaded this docbook complete project that is open source.with this commandand from the source code to generate the PDF i didcd m2eclipse-bookandmvn clean installthis generates the pdf and it's okmy problem is when i create a file named test.xml with<!DOCTYPE equation PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"<equation><title>Fermat's Last Theorem</title><alt>x^n + y^n ≠ z^n ∀ n > 2</alt><graphic fileref="figures/fermat.png"/></equation>and in the m2eclipse-book/m2ebook-content/src/main/resources/foreword.xml file, i include<xi:include href="" xmlns:xi="http://www.w3.org/2001/XInclude" />to have this :<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE preface PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"<preface id="foreword"><title>Foreword: ${project.version}</title><xi:include href="">xmlns:xi="http://www.w3.org/2001/XInclude" /><para>If you would like to receive updates whenever there is a change tothis book, you can subscribe to our Book Announcement mailing list. Tosubscribe to this mailing list, send an email to: <ulinkurl="" title="mailto:book-notify-subscribe@sonatype.org" href="mailto:book-notify-subscribe@sonatype.org" target="_blank">book-notify-subscribe@sonatype.org">book-notify-subscribe@sonatype.org</ulink></para><para>We welcome your feedback, please do not hesitate to contact theSonatype team with any questions or ideas you may have about theproduct.</para>So i'm expecting to have an equation just before the text : "If you would" but i'm getting blank paragraphEquation 1. Fermat's Last Theorem

If you would like to receive updates whenever

thanks for your help

On Tue, Oct 1, 2013 at 12:29 AM, <DeanNelson@aol.com> wrote:

Hello!For us to help you, we would need to know a little more about your issue. Equations can be a bit tricky for all formats, but I think you are trying to get it to work in eBook format?Can you tell us what you have tried, specifically? It would help us understand your issue.

Regards,Dean NelsonIn a message dated 9/30/2013 1:07:28 P.M. Pacific Daylight Time, rodrigues.joachim@gmail.com writes:Hi i have downloaded a free ebook :because i'm learning how to write a book.I need to write equations so i simply added this exampleto a xml file of the free ebook. but it does't wort at all.Can somebody help ?thanks

**Follow-Ups**:**Re: [docbook-apps] Equations in docbook not working***From:*"Bob Stayton" <bobs@sagehill.net>

**References**:**Re: [docbook-apps] Equations in docbook not working***From:*DeanNelson@aol.com

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]