emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* export to odt: error in style.xml
@ 2014-10-07 11:11 Detlef Steuer
  2014-10-07 11:53 ` Rasmus
  0 siblings, 1 reply; 8+ messages in thread
From: Detlef Steuer @ 2014-10-07 11:11 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

Trying to open an exported ODT document I see the erroe message:
format error in styles.xml in position (790,2)

This is found the following part of styles.xml:

snip  a lot  of stuff from styles.xml....

<!-- Org Htmlfontify Styles -->

</office:styles>

^^^^^^^^^^^^^^^^^
This line above is line 790

<office:automatic-styles>
  <style:style style:name="MP1" style:family="paragraph"
  style:parent-style-name="Footer"/> <style:paragraph-properties
  fo:text-align="center" style:justify-single-word="false"/>
  </style:style>


snip more stuff .....

Any ideas?

GNU Emacs 24.3.1, org from git 
Org-mode version 8.3beta (release_8.3beta-422-gb54ad3 

Export to latex/pdf works as expected.

Thx in advance
Detlef

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: export to odt: error in style.xml
  2014-10-07 11:11 export to odt: error in style.xml Detlef Steuer
@ 2014-10-07 11:53 ` Rasmus
  0 siblings, 0 replies; 8+ messages in thread
From: Rasmus @ 2014-10-07 11:53 UTC (permalink / raw)
  To: detlef.steuer; +Cc: emacs-orgmode

Hi Detlef,

Detlef Steuer <detlef.steuer@gmx.de> writes:

> Trying to open an exported ODT document I see the erroe message:
> format error in styles.xml in position (790,2)

I changed the style used by odt in commit 464cd96.  The part you refer
to is defined in `org-odt-template', but I don't see how it relates to
that commit instantly though the regexp part shortly after the comment
you point out, might not work. . .

Please (always) provide a short example demonstrating your problem.

Thanks,
Rasmus

-- 
You people at the NSA are becoming my new best friends!

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: export to odt: error in style.xml
       [not found] <20141007142000.7ec1745b@gaia>
@ 2014-10-07 13:28 ` Rasmus
  2014-10-07 18:00   ` Achim Gratz
  0 siblings, 1 reply; 8+ messages in thread
From: Rasmus @ 2014-10-07 13:28 UTC (permalink / raw)
  To: detlef.steuer; +Cc: emacs-orgmode

Hi Detlef,

Detlef Steuer <detlef.steuer@gmx.de> writes:

> I cannot send the file to the list, but maybe you
> can take a look off list?

In the future you should sent minimal examples.  In this case it did
not matter and the mentioned commit was indeed to blame.  It should be
fixed in master @ 004332b.

Thanks for reporting this.

—Rasmus

PS: The output of the file you sent me will likely not look like you
expect (e.g. missing the table), but that is because of syntax
mistakes.

-- 
Lasciate ogni speranza o voi che entrate: siete nella mani di'machellaio

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: export to odt: error in style.xml
  2014-10-07 13:28 ` Rasmus
@ 2014-10-07 18:00   ` Achim Gratz
  2014-10-08  0:02     ` Rasmus
  0 siblings, 1 reply; 8+ messages in thread
From: Achim Gratz @ 2014-10-07 18:00 UTC (permalink / raw)
  To: emacs-orgmode

Rasmus writes:
> In the future you should sent minimal examples.  In this case it did
> not matter and the mentioned commit was indeed to blame.  It should be
> fixed in master @ 004332b.

Could you please rebase or cherry-pick your changes onto the
then-current master before committing them?  Also, you might want to
decide on a single mail address for these committs.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: export to odt: error in style.xml
  2014-10-07 18:00   ` Achim Gratz
@ 2014-10-08  0:02     ` Rasmus
  2014-10-10 18:58       ` Achim Gratz
  0 siblings, 1 reply; 8+ messages in thread
From: Rasmus @ 2014-10-08  0:02 UTC (permalink / raw)
  To: emacs-orgmode

Hi Achim,

Thanks for your helpful message.

Achim Gratz <Stromeko@nexgo.de> writes:

> Rasmus writes:
>> In the future you should sent minimal examples.  In this case it did
>> not matter and the mentioned commit was indeed to blame.  It should be
>> fixed in master @ 004332b.
>
> Could you please rebase or cherry-pick your changes onto the
> then-current master before committing them?

Yes, I am very happy to!

However, can you please elaborate on what exactly I did wrong?  I have
checked for the following to understand your criticism:

  1. When I do $ git diff 004332b^ 00433b I get a one line diff (except
     the context).  There are no change of white space or other garbage.
     Why is this not cherry-picked?
  2. I know I git pull --rebase'ed before I submitted.  I believe the
     patch was only submitted to master, since it shows up on git log
     when I'm on the master branch but not on the maint branch.  This is
     true for my local checkout and for cgit online.  
     Why is this not against the current master?
  3. There is no nasty "Merge branch..." so, again, why is it not
     cherry picked?

I'm not claiming to be an expert of anything, least of all of
anything–software, so please be explicit so I can learn to commit
better.

> Also, you might want to decide on a single mail address for these
> committs.

In principal it is true.  However, is it a real issue¹ in practice?
Rest assured it is always a real email address checked frequently.  It
happens because I use several computers and I sometimes forget to
correct .git/config.  If it *is* a real issue, I could change my
global git config, though it is configured the way it is for a reason.

Thanks,
Rasmus

Footnotes: 

¹ It pains me every time I use my private email for public mailing
list, but I doubt you had my privacy in mind?

-- 
This is the kind of tedious nonsense up with which I will not put

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: export to odt: error in style.xml
  2014-10-08  0:02     ` Rasmus
@ 2014-10-10 18:58       ` Achim Gratz
  2014-10-11 12:46         ` Bastien
  2014-10-14  9:08         ` Rasmus
  0 siblings, 2 replies; 8+ messages in thread
From: Achim Gratz @ 2014-10-10 18:58 UTC (permalink / raw)
  To: emacs-orgmode

Rasmus writes:
>> Could you please rebase or cherry-pick your changes onto the
>> then-current master before committing them?
>
> Yes, I am very happy to!
>
> However, can you please elaborate on what exactly I did wrong?  I have
> checked for the following to understand your criticism:
>
>   1. When I do $ git diff 004332b^ 00433b I get a one line diff (except
>      the context).  There are no change of white space or other garbage.
>      Why is this not cherry-picked?
[…]

This one is, but your earlier commits introduced half a dozen spurious
merges since they were all started at different points on master.

> In principal it is true.  However, is it a real issue¹ in practice?

The script that generates the ChangeLog for the Emacs merge will list
all of these separately and Bastien or who else is doing the merge will
have to manually put them back together.

> ¹ It pains me every time I use my private email for public mailing
> list, but I doubt you had my privacy in mind?

I was asking no such thing, only that the author name and email you use
for your commits are always one and the same.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: export to odt: error in style.xml
  2014-10-10 18:58       ` Achim Gratz
@ 2014-10-11 12:46         ` Bastien
  2014-10-14  9:08         ` Rasmus
  1 sibling, 0 replies; 8+ messages in thread
From: Bastien @ 2014-10-11 12:46 UTC (permalink / raw)
  To: Achim Gratz; +Cc: emacs-orgmode

Achim Gratz <Stromeko@nexgo.de> writes:

> The script that generates the ChangeLog for the Emacs merge will list
> all of these separately and Bastien or who else is doing the merge will
> have to manually put them back together.

Yes.

>> ¹ It pains me every time I use my private email for public mailing
>> list, but I doubt you had my privacy in mind?
>
> I was asking no such thing, only that the author name and email you use
> for your commits are always one and the same.

Yes: it's important to use the same name and address so that we can
group changelogs under the same person when adding them to Emacs.

Thanks,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: export to odt: error in style.xml
  2014-10-10 18:58       ` Achim Gratz
  2014-10-11 12:46         ` Bastien
@ 2014-10-14  9:08         ` Rasmus
  1 sibling, 0 replies; 8+ messages in thread
From: Rasmus @ 2014-10-14  9:08 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

Achim Gratz <Stromeko@nexgo.de> writes:

> Rasmus writes:
>>> Could you please rebase or cherry-pick your changes onto the
>>> then-current master before committing them?
>> However, can you please elaborate on what exactly I did wrong?  I have
>> checked for the following to understand your criticism:
>>
>>   1. When I do $ git diff 004332b^ 00433b I get a one line diff (except
>>      the context).  There are no change of white space or other garbage.
>>      Why is this not cherry-picked?
> […]
>
> This one is, but your earlier commits introduced half a dozen

Let's be clear, there are *two* redundant merges.

> spurious merges since they were all started at different points on
> master.

I fail to see the relevance of your remark.

>> In principal it is true.  However, is it a real issue¹ in practice?
>
> The script that generates the ChangeLog for the Emacs merge will list
> all of these separately and Bastien or who else is doing the merge will
> have to manually put them back together.

Thanks.  I will be more careful on this.

Bastien <bzg@gnu.org> writes:

>> I was asking no such thing, only that the author name and email you use
>> for your commits are always one and the same.
>
> Yes: it's important to use the same name and address so that we can
> group changelogs under the same person when adding them to Emacs.

Thanks.  

Which file is grouped by author?  Looking quickly at ORG-NEWS, it
doesn't seem to be grouped by author?  Anyway

—Rasmus

-- 
C is for Cookie

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-10-14  9:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-07 11:11 export to odt: error in style.xml Detlef Steuer
2014-10-07 11:53 ` Rasmus
     [not found] <20141007142000.7ec1745b@gaia>
2014-10-07 13:28 ` Rasmus
2014-10-07 18:00   ` Achim Gratz
2014-10-08  0:02     ` Rasmus
2014-10-10 18:58       ` Achim Gratz
2014-10-11 12:46         ` Bastien
2014-10-14  9:08         ` Rasmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).