[jira] Commented: (FOR-1062) the document-v20 sample doc does not utilise all possible xdoc DTD elements

2008-01-28 Thread David Crossley (JIRA)

[ 
https://issues.apache.org/jira/browse/FOR-1062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563337#action_12563337
 ] 

David Crossley commented on FOR-1062:
-

There are two copies of this document:

$FORREST_HOME/site-author/content/xdocs/dtdx/document-v20.xml
and
$FORREST_HOME/main/fresh-site/src/documentation/content/xdocs/samples1/sample.xml

> the document-v20 sample doc does not utilise all possible xdoc DTD elements
> ---
>
> Key: FOR-1062
> URL: https://issues.apache.org/jira/browse/FOR-1062
> Project: Forrest
>  Issue Type: Bug
>  Components: Documentation and website
>Reporter: David Crossley
>
> The dtdx/document-v20 sample document is missing demonstration of some 
> elements, e.g. subtitle, version, author, ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: svn commit: r615253 - /forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl

2008-01-28 Thread Ferdinand Soethe
I agree. Will check the sizing if headings and text in 
general before I change that.


Best regards,
Ferdinand Soethe

Johannes Schaefer wrote:

I would choose a smaller font size for sans headings
they look too big now, IMHO.
Johannes


[EMAIL PROTECTED] schrieb:

Author: ferdinand
Date: Fri Jan 25 07:58:21 2008
New Revision: 615253

URL: http://svn.apache.org/viewvc?rev=615253&view=rev
Log:
Minor changes to typesetting of headings (font changed to sans-serif) 
and padding of box.


Modified:

forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl 



Modified: 
forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl 

URL: 
http://svn.apache.org/viewvc/forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl?rev=615253&r1=615252&r2=615253&view=diff 

== 

--- 
forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl 
(original)
+++ 
forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl 
Fri Jan 25 07:58:21 2008

@@ -508,7 +508,7 @@
 name="heading-type"
 select="//skinconfig/headings/@type" />
 
 
  3pt 
+name="padding-left">3pt
  2pt 
+name="padding-top">4pt
 
 









Re: Xdoc format

2008-01-28 Thread Ross Gardler

Carlos Tejo Alonso wrote:

Carlos, once you have found the examples using the technique that David
suggests it would be great if you could provide a patch for the sample
document. That would help those who follow in your footsteps and stop me
  providing useless information ;-)

Ross


I was doing my homework today :-) I have the sample file patched.


Excellent, thanks.


How can I add sample.xml patched to project?


I guess youa re not using the svn head? If you are then the process is 
explained at http://forrest.apache.org/contrib.html#patch


If you are not you should try and provide a diff (also explained in the 
above link)


Failing that upload your modified version to the issue tracker (again 
links to that are provided in the above document).


The first requires more work from you, but makes it easier to make 
further enhancements (it also makes current commiters job easier). The 
middle option is less work for you and more for the committers but is a 
reasonable compromise. The last is minimal work for you but maximum work 
for the commiter (i.e. less likely to actually get committed - but in 
this case I'll be sure to sort it out for you if that's all you have 
time for).


Ross


Re: Xdoc format

2008-01-28 Thread Tim Williams
On Jan 28, 2008 11:53 AM, Carlos Tejo Alonso
<[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> > That is good explanation, however i gather that Carlos was
> > looking for an example of those elements.
>
> That's the point :-)
>
> > Also there is good recent discussion in our mail archives
> > about automating the use of "version" to diplay source control
> > revision numbers an dates. Not sure how you will find it
> > (i tried a quick search). The "user" list, IIRC.
> > Anyway, that discussion led to an FAQ:
> > http://forrest.apache.org/faq.html#CVS_revison_tags
>
> I was reading also this thread [1] and comparing the result on forrest v0.8. 
> Are these conversion available ?
>
>
> > Someone should add the missing examples to the main "document-v20"
> > sample doc. If you can manage a patch that would be great,
> > otherwise perhaps one of the committers will do so.
> >
> > I added an issue to remind us:
> > https://issues.apache.org/jira/browse/FOR-1062
> >
> > -David
>
> > Carlos, once you have found the examples using the technique that David
> > suggests it would be great if you could provide a patch for the sample
> > document. That would help those who follow in your footsteps and stop me
> >   providing useless information ;-)
> >
> > Ross
>
> I was doing my homework today :-) I have the sample file patched.
>
> How can I add sample.xml patched to project?

Add the patch/diff file as an attachment to the JIRA issue:

https://issues.apache.org/jira/browse/FOR-1062

--tim


RE: Xdoc format

2008-01-28 Thread Carlos Tejo Alonso

Hello,

> That is good explanation, however i gather that Carlos was
> looking for an example of those elements.

That's the point :-)

> Also there is good recent discussion in our mail archives
> about automating the use of "version" to diplay source control
> revision numbers an dates. Not sure how you will find it
> (i tried a quick search). The "user" list, IIRC.
> Anyway, that discussion led to an FAQ:
> http://forrest.apache.org/faq.html#CVS_revison_tags

I was reading also this thread [1] and comparing the result on forrest v0.8. 
Are these conversion available ?

 
> Someone should add the missing examples to the main "document-v20"
> sample doc. If you can manage a patch that would be great,
> otherwise perhaps one of the committers will do so.
> 
> I added an issue to remind us:
> https://issues.apache.org/jira/browse/FOR-1062
>
> -David

> Carlos, once you have found the examples using the technique that David
> suggests it would be great if you could provide a patch for the sample
> document. That would help those who follow in your footsteps and stop me
>   providing useless information ;-)
> 
> Ross

I was doing my homework today :-) I have the sample file patched.

How can I add sample.xml patched to project?

Best regards,

Carlos Tejo Alonso
Departamento de I+D+I - Fundación CTIC
Parque Científico Tecnológico Gijón, Asturias (Spain)
www.fundacionctic.org


[1] http://www.mail-archive.com/dev@forrest.apache.org/msg05262.html


Re: svn commit: r615253 - /forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl

2008-01-28 Thread Johannes Schaefer

I would choose a smaller font size for sans headings
they look too big now, IMHO.
Johannes


[EMAIL PROTECTED] schrieb:

Author: ferdinand
Date: Fri Jan 25 07:58:21 2008
New Revision: 615253

URL: http://svn.apache.org/viewvc?rev=615253&view=rev
Log:
Minor changes to typesetting of headings (font changed to sans-serif) and 
padding of box.

Modified:

forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl

Modified: 
forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl
URL: 
http://svn.apache.org/viewvc/forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl?rev=615253&r1=615252&r2=615253&view=diff
==
--- 
forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl
 (original)
+++ 
forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl
 Fri Jan 25 07:58:21 2008
@@ -508,7 +508,7 @@
 name="heading-type"
 select="//skinconfig/headings/@type" />
 
 
  3pt 
+name="padding-left">3pt
  2pt 
+name="padding-top">4pt
 
 





--
User Interface Design GmbH, Ludwigsburg, Germany
Phone/Fax  +49 7141 37700-46/-99, Mobile +49 170 4914567
E-mail [EMAIL PROTECTED] * www.uidesign.de

Offices:
Martin-Luther-Straße 57-59, D-71636 Ludwigsburg
Truderinger Strasse 330, D-81825 Muenchen
Friedrichsring 46, D-68161 Mannheim

Legal information according to EHUG:
User Interface Design GmbH; Managing Directors: Dr. Claus Goerner,
Franz Koller; Head office: Ludwigsburg; Commercial register of the
local court of Stuttgart, Germany, HRB 205519