[ 
https://issues.apache.org/jira/browse/LUCENE-3904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir updated LUCENE-3904:
--------------------------------

    Attachment: LUCENE-3904.patch

patch against 3x... i plan to just port forward to trunk.

The problem was that java7's default table style has width:100%, so we need to 
explicitly set it to auto for these captions.

Additionally we need to ensure the text is actually centered for formulas where 
we have A/B.

This changes nothing for java5/6 but fixes the issue for java7.
                
> Similarity javadocs look ugly if created with java7's javadoc
> -------------------------------------------------------------
>
>                 Key: LUCENE-3904
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3904
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: general/javadocs
>    Affects Versions: 3.6, 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-3904.patch
>
>
> The captions used to illustrate the formulas are tables here:
> in jdk 5/6 the table is centered nicely.
> But with java7's javadocs (I think due to some css styles changes?),
> the table is not centered but instead stretched.
> I think we just need to center this table with a different technique?
> Have a look at 
> http://people.apache.org/~rmuir/java7-style-javadocs/org/apache/lucene/search/Similarity.html
>  to see what I mean.
> NOTE: these javadocs are under TFIDFSimilarity.java in trunk.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to