cross-references in author mode

Hi, I'm using Author mode to perform some visual QC on converted documents (JATS DTD). Is there a way to make footnote, table, and figure xrefs live? That is, to turn the xref element content ("Figure 2" in the example below) into a hypertext link that, when clicked, places the cursor at the start of the actual footnote, table, or figure? For example, make: <xref ref-type="fig" rid="DAWN11-1215_fig2">Figure 2</xref> Link to this: <fig position="anchor" orientation="portrait" id="DAWN11-1215_fig2"> Mary McRae | XML Strategist / Technical Project Manager | mmcrae@iqsolutions.com

Hi Mary, You need something like this in your CSS: xref:before { link:"#" attr(rid); content: url('link.png'); } assuming a link.png image next to your CSS. You can find more details at: http://www.oxygenxml.com/doc/ug-editor/#topics/dg-link-elements.html Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 9/5/14, 10:19 PM, Mary McRae wrote:
Hi,
I'm using Author mode to perform some visual QC on converted documents (JATS DTD). Is there a way to make footnote, table, and figure xrefs live? That is, to turn the xref element content ("Figure 2" in the example below) into a hypertext link that, when clicked, places the cursor at the start of the actual footnote, table, or figure?
For example, make: <xref ref-type="fig" rid="DAWN11-1215_fig2">Figure 2</xref>
Link to this: <fig position="anchor" orientation="portrait" id="DAWN11-1215_fig2">
Mary McRae | XML Strategist / Technical Project Manager | mmcrae@iqsolutions.com _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Hi Mary, By the way, what framework are you using to edit JATS documents in Oxygen? Is it the one made available by Wendell Piez here?
Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 9/6/2014 1:01 AM, George Cristian Bina wrote:
Hi Mary,
You need something like this in your CSS:
xref:before { link:"#" attr(rid); content: url('link.png'); }
assuming a link.png image next to your CSS.
You can find more details at: http://www.oxygenxml.com/doc/ug-editor/#topics/dg-link-elements.html
Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com
On 9/5/14, 10:19 PM, Mary McRae wrote:
Hi,
I'm using Author mode to perform some visual QC on converted documents (JATS DTD). Is there a way to make footnote, table, and figure xrefs live? That is, to turn the xref element content ("Figure 2" in the example below) into a hypertext link that, when clicked, places the cursor at the start of the actual footnote, table, or figure?
For example, make: <xref ref-type="fig" rid="DAWN11-1215_fig2">Figure 2</xref>
Link to this: <fig position="anchor" orientation="portrait" id="DAWN11-1215_fig2">
Mary McRae | XML Strategist / Technical Project Manager | mmcrae@iqsolutions.com _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Hi Radu, I'm using the css stylesheets provided in Wendell's framework as a starting point and then modifying/extending them to more closely align with the look and feel of the source documents. The goal is that, when coupled with a schematron I'm also in the process of building out, someone with very little XML expertise will be able to QC the converted documents. I should add that, while we're using JATS (and BITS), most of the publications are not journal articles. There's probably a 50/50 split between consumer-oriented publications and much longer documents targeted at clinicians. Mary -----Original Message----- From: oxygen-user-bounces@oxygenxml.com [mailto:oxygen-user-bounces@oxygenxml.com] On Behalf Of Radu Coravu Sent: Monday, September 8, 2014 1:45 AM To: oxygen-user@oxygenxml.com Subject: Re: [oXygen-user] cross-references in author mode Hi Mary, By the way, what framework are you using to edit JATS documents in Oxygen? Is it the one made available by Wendell Piez here?
Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 9/6/2014 1:01 AM, George Cristian Bina wrote:
Hi Mary,
You need something like this in your CSS:
xref:before { link:"#" attr(rid); content: url('link.png'); }
assuming a link.png image next to your CSS.
You can find more details at: http://www.oxygenxml.com/doc/ug-editor/#topics/dg-link-elements.html
Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com
On 9/5/14, 10:19 PM, Mary McRae wrote:
Hi,
I'm using Author mode to perform some visual QC on converted documents (JATS DTD). Is there a way to make footnote, table, and figure xrefs live? That is, to turn the xref element content ("Figure 2" in the example below) into a hypertext link that, when clicked, places the cursor at the start of the actual footnote, table, or figure?
For example, make: <xref ref-type="fig" rid="DAWN11-1215_fig2">Figure 2</xref>
Link to this: <fig position="anchor" orientation="portrait" id="DAWN11-1215_fig2">
Mary McRae | XML Strategist / Technical Project Manager | mmcrae@iqsolutions.com _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Hi Mary, Thanks for the details. I issued a pull request on the JATS GIT project containing some improvements (including link navigation, the CSS selectors George suggested for you). Please feel free to ask us any other questions you may have about other possible functionality you would like to see when editing the content for your XML vocabulary. Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 9/8/2014 4:32 PM, Mary McRae wrote:
Hi Radu,
I'm using the css stylesheets provided in Wendell's framework as a starting point and then modifying/extending them to more closely align with the look and feel of the source documents. The goal is that, when coupled with a schematron I'm also in the process of building out, someone with very little XML expertise will be able to QC the converted documents.
I should add that, while we're using JATS (and BITS), most of the publications are not journal articles. There's probably a 50/50 split between consumer-oriented publications and much longer documents targeted at clinicians.
Mary
-----Original Message----- From: oxygen-user-bounces@oxygenxml.com [mailto:oxygen-user-bounces@oxygenxml.com] On Behalf Of Radu Coravu Sent: Monday, September 8, 2014 1:45 AM To: oxygen-user@oxygenxml.com Subject: Re: [oXygen-user] cross-references in author mode
Hi Mary,
By the way, what framework are you using to edit JATS documents in Oxygen? Is it the one made available by Wendell Piez here?
Regards, Radu
Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com
On 9/6/2014 1:01 AM, George Cristian Bina wrote:
Hi Mary,
You need something like this in your CSS:
xref:before { link:"#" attr(rid); content: url('link.png'); }
assuming a link.png image next to your CSS.
You can find more details at: http://www.oxygenxml.com/doc/ug-editor/#topics/dg-link-elements.html
Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com
On 9/5/14, 10:19 PM, Mary McRae wrote:
Hi,
I'm using Author mode to perform some visual QC on converted documents (JATS DTD). Is there a way to make footnote, table, and figure xrefs live? That is, to turn the xref element content ("Figure 2" in the example below) into a hypertext link that, when clicked, places the cursor at the start of the actual footnote, table, or figure?
For example, make: <xref ref-type="fig" rid="DAWN11-1215_fig2">Figure 2</xref>
Link to this: <fig position="anchor" orientation="portrait" id="DAWN11-1215_fig2">
Mary McRae | XML Strategist / Technical Project Manager | mmcrae@iqsolutions.com _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Thanks George! I need to spend more quality time with the excellent documentation oXygen provides. Mary -----Original Message----- From: George Cristian Bina [mailto:george@oxygenxml.com] Sent: Friday, September 5, 2014 6:02 PM To: Mary McRae; oxygen-user@oxygenxml.com Subject: Re: [oXygen-user] cross-references in author mode Hi Mary, You need something like this in your CSS: xref:before { link:"#" attr(rid); content: url('link.png'); } assuming a link.png image next to your CSS. You can find more details at: http://www.oxygenxml.com/doc/ug-editor/#topics/dg-link-elements.html Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 9/5/14, 10:19 PM, Mary McRae wrote:
Hi,
I'm using Author mode to perform some visual QC on converted documents (JATS DTD). Is there a way to make footnote, table, and figure xrefs live? That is, to turn the xref element content ("Figure 2" in the example below) into a hypertext link that, when clicked, places the cursor at the start of the actual footnote, table, or figure?
For example, make: <xref ref-type="fig" rid="DAWN11-1215_fig2">Figure 2</xref>
Link to this: <fig position="anchor" orientation="portrait" id="DAWN11-1215_fig2">
Mary McRae | XML Strategist / Technical Project Manager | mmcrae@iqsolutions.com _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (4)
-
George Cristian Bina
-
Mary McRae
-
Oxygen XML Editor Support (Radu Coravu)
-
Radu Coravu