That did it. Thank you for the explanation. Hopefully this will help me
with the other things I want to change.
-Jose
On Fri, Sep 21, 2012 at 12:20 PM, Tim Donohue <tdono...@duraspace.org>wrote:
> Hi Jose,
>
> Here's how it looks to happen in Mirage:
>
> 1. The Mirage theme loads up the base theme called "dri2xhtml-alt", see
> this line:
>
> https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/Mirage/Mirage.xsl#L29
>
> 2. The "dri2xhtml-alt" base theme actually turns the <hi rend="bold">
> into <span class="emphasis bold">, see this line:
>
> https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/dri2xhtml-alt/core/elements.xsl#L625
>
> 3. Then, the Mirage CSS (in base.css) takes care of the actual bold
> formatting here:
>
> https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/Mirage/lib/css/base.css#L36
>
> So, that being said, I think the DRI tag <hi rend="italic"> will already
> get auto-transformed into the XHTML tag <span class="emphasis italic">.
> I think the only thing that's missing is some extra CSS like this in
> the "base.css"
>
> .italic { font-style:italic }
>
> At least, I *think* that should work.
>
> - Tim
>
> On 9/21/2012 10:59 AM, Jose Blanco wrote:
> > Tim, I'm using Mirage and I'm looking for where
> > <hi rend="bold">
> >
> > would turn the text into bold so I can duplicate it with italics and
> > can't find it.
> >
> > Thanks,
> > jose
> >
> > On Thu, Sep 20, 2012 at 3:12 PM, Tim Donohue <tdono...@duraspace.org
> > <mailto:tdono...@duraspace.org>> wrote:
> >
> > Jose,
> >
> > It may depend on the theme you are using.
> >
> > Remember, DRI is just the *suggestion* for formatting. The XSLT &
> > CSS in the XMLUI Theme is what actually translates <hi rend="bold">
> > into bold XHTML text.
> >
> > So, it's possible that whatever theme you are using is not properly
> > translating <hi rend="italic"> into italic XHTML text.
> >
> > - Tim
> >
> >
> > On 9/20/2012 2:08 PM, Jose Blanco wrote:
> >
> > Thanks Tim, this is helpful. I tried
> > <hi rend="bold">
> >
> > and that worked great, but when I try
> >
> > <hi rend="italic">
> >
> > No change. Does this one not work?
> >
> > Thanks!
> > Jose
> >
> > On Wed, Sep 19, 2012 at 1:53 PM, Tim Donohue
> > <tdono...@duraspace.org <mailto:tdono...@duraspace.org>
> > <mailto:tdono...@duraspace.org
> > <mailto:tdono...@duraspace.org>__>> wrote:
> >
> > The news-xmlui.xml file is actually a DRI document. As
> > such, only valid
> > DRI tags are allowed (i.e. HTML or XHTML tags won't work).
> >
> > In this case, the <p> is actually also a valid DRI tag,
> > which is why it
> > works. But, <a> and <strong> are not valid DRI tags.
> >
> > Here's a few hints that may help...
> >
> > XHTML <a> = DRI <xref>
> > XHTML <strong> = DRI <hi rend="bold">
> >
> > However, a straight swap of these tags may not completely
> > work, as DRI
> > and XHTML don't necessarily allow the same attributes on
> > tags. So, for
> > example, I don't think DRI has an "onmouseover" attribute.
> >
> > Here's the DRI reference in the documentation:
> >
> https://wiki.duraspace.org/__display/DSDOC18/DRI+Schema+__Reference
> > <https://wiki.duraspace.org/display/DSDOC18/DRI+Schema+Reference
> >
> >
> > - Tim
> >
> > On 9/19/2012 12:34 PM, Jose Blanco wrote:
> > > I have made the following changes to the news-xmlui.xml,
> > but I
> > don't see
> > > the <strong> html tag in the browser or the <a> element.
> > How could I
> > > make this work.
> > >
> > > <p><strong>Depositing your work:</strong> We will create
> > a collection
> > > for you, or add you as a contributor to an existing one.
> > To get
> > started,
> > > <a href=""
> > >
> >
> >
> onmouseover="this.href='m'+'a'__+'i'+'l'+'t'+'o'+':'+'d'+'e'+'__e'+'p'+'b'+'l'+'u'+'e'+'@
> '+'u'__+'m'+'i'+'c'+'h'+'.'+'e'+'d'+'__u'">contact
> > > us</a>. (Available to U-M faculty and staff.)</p>
> > >
> > > The <p> element works fine, but why are the other
> > elements not being
> > > picked up.
> > >
> > > Thank you!
> > > Jose
> > >
> > >
> > >
> >
> >
> ------------------------------__------------------------------__------------------
> > > Live Security Virtual Conference
> > > Exclusive live event will cover all the ways today's
> > security and
> > > threat landscape has changed and how IT managers can
> > respond.
> > Discussions
> > > will include endpoint security, mobile security and the
> > latest in
> > malware
> > > threats.
> > http://www.accelacomm.com/jaw/__sfrnl04242012/114/50122263/
> > <http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/>
> > >
> > >
> > >
> > > _________________________________________________
> > > DSpace-tech mailing list
> > > DSpace-tech@lists.sourceforge.__net
> > <mailto:DSpace-tech@lists.sourceforge.net>
> > <mailto:DSpace-tech@lists.__sourceforge.net
> > <mailto:DSpace-tech@lists.sourceforge.net>>
> >
> > >
> > https://lists.sourceforge.net/__lists/listinfo/dspace-tech
> > <https://lists.sourceforge.net/lists/listinfo/dspace-tech>
> > >
> >
> >
> >
> ------------------------------__------------------------------__------------------
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's
> > security and
> > threat landscape has changed and how IT managers can
> respond.
> > Discussions
> > will include endpoint security, mobile security and the
> > latest in
> > malware
> > threats.
> > http://www.accelacomm.com/jaw/__sfrnl04242012/114/50122263/
> > <http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/>
> > _________________________________________________
> > DSpace-tech mailing list
> > DSpace-tech@lists.sourceforge.__net
> > <mailto:DSpace-tech@lists.sourceforge.net>
> > <mailto:DSpace-tech@lists.__sourceforge.net
> > <mailto:DSpace-tech@lists.sourceforge.net>>
> > https://lists.sourceforge.net/__lists/listinfo/dspace-tech
> > <https://lists.sourceforge.net/lists/listinfo/dspace-tech>
> >
> >
> >
>
>
> ------------------------------------------------------------------------------
> Got visibility?
> Most devs has no idea what their production app looks like.
> Find out how fast your code is with AppDynamics Lite.
> http://ad.doubleclick.net/clk;262219671;13503038;y?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech