git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Aw: Re: [PATCH] Remove pdf target from Makefiles
@ 2013-06-18  7:59 Thomas Ackermann
  2013-06-18 16:19 ` Jonathan Nieder
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Ackermann @ 2013-06-18  7:59 UTC (permalink / raw)
  To: jrnieder, th.acker; +Cc: git

> 
> I don't understand.  Do you mean that you want to change the rules
> that generate user-manual.xml?  Would generating different XML files
> for the PDF and for other purposes (with different names) work as a
> way to achieve that without losing the printable manual?
> 

This would be even worse when we have to create different xml depending on the
wanted output. The problem here is in the xml->pdf/html step: I wanted to change
the formatting of links in the pdf from "Section <number>" to "<section_name>" to
make it the same as in the html. Thereby I noticed that the definition for this is
in files from /etc/asciidoc/dblatex. So to change it we have to introduce our own files
in ./Documentation and work on them to bring the formatting of user-manual.html
and user-manual.pdf closer together.


---
Thomas

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

* Re: Re: [PATCH] Remove pdf target from Makefiles
  2013-06-18  7:59 Aw: Re: [PATCH] Remove pdf target from Makefiles Thomas Ackermann
@ 2013-06-18 16:19 ` Jonathan Nieder
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Nieder @ 2013-06-18 16:19 UTC (permalink / raw)
  To: Thomas Ackermann; +Cc: git

Thomas Ackermann wrote:

>>                                 Would generating different XML files
>> for the PDF and for other purposes (with different names) work as a
>> way to achieve that without losing the printable manual?
>
> This would be even worse when we have to create different xml depending on the
> wanted output. The problem here is in the xml->pdf/html step: I wanted to change
> the formatting of links in the pdf from "Section <number>" to "<section_name>" to
> make it the same as in the html. Thereby I noticed that the definition for this is
> in files from /etc/asciidoc/dblatex. So to change it we have to introduce our own files
> in ./Documentation and work on them to bring the formatting of user-manual.html
> and user-manual.pdf closer together.

Now I'm even more confused. ;-)

If I understood the original commit message correctly, you were saying
the XML file was not suitable for html generation and you wanted to
tweak it, and were dropping the PDF target to avoid breaking it.  Now
if I understand correctly you are saying the XML file actually *is*
suitable for html generation, and that the html generation rules just
need tweaking.  In that case, why remove the PDF target?

Puzzled,
Jonathan

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

end of thread, other threads:[~2013-06-18 16:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-18  7:59 Aw: Re: [PATCH] Remove pdf target from Makefiles Thomas Ackermann
2013-06-18 16:19 ` Jonathan Nieder

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

	https://80x24.org/mirrors/git.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).