tei:pb/@facs image not shown in author mode

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
eduarddrenth
Posts: 9
Joined: Thu Oct 03, 2019 2:17 pm

tei:pb/@facs image not shown in author mode

Post by eduarddrenth » Thu Oct 03, 2019 2:20 pm

Is there a way to show tei:pb/@facs image in author mode

alex_jitianu
Posts: 770
Joined: Wed Nov 16, 2005 11:11 am

Re: tei:pb/@facs image not shown in author mode

Post by alex_jitianu » Wed Oct 09, 2019 9:43 am

Hello,

The author layout is controlled through CSS so if you write the proper rule then it will render that image. If you can post a sample TEI then I can provide a possible CSS rule to render the image.

Best regards,
Alex

eduarddrenth
Posts: 9
Joined: Thu Oct 03, 2019 2:17 pm

Re: tei:pb/@facs image not shown in author mode

Post by eduarddrenth » Wed Oct 09, 2019 1:34 pm

Hi,

Never saw your reply because I did not receive mail.

I am very experienced in css, where can I find the css?

Regards, Eduard
alex_jitianu wrote:
Wed Oct 09, 2019 9:43 am
Hello,

The author layout is controlled through CSS so if you write the proper rule then it will render that image. If you can post a sample TEI then I can provide a possible CSS rule to render the image.

Best regards,
Alex

eduarddrenth
Posts: 9
Joined: Thu Oct 03, 2019 2:17 pm

Re: tei:pb/@facs image not shown in author mode

Post by eduarddrenth » Wed Oct 09, 2019 1:43 pm

Found the css here: Oxygen\ XML\ Editor\ 21/frameworks/tei/xml/tei/css/
alex_jitianu wrote:
Wed Oct 09, 2019 9:43 am
Hello,

The author layout is controlled through CSS so if you write the proper rule then it will render that image. If you can post a sample TEI then I can provide a possible CSS rule to render the image.

Best regards,
Alex

eduarddrenth
Posts: 9
Joined: Thu Oct 03, 2019 2:17 pm

Re: tei:pb/@facs image not shown in author mode

Post by eduarddrenth » Wed Oct 09, 2019 3:53 pm

Thanks for the pointer,

I created tei_pbimages.css and added that as an alternate stylesheet for TEI P5:

Code: Select all

pb[facs] {
    content: attr(facs,url);
    width: 600px;
    float: right;
    display: block;
}
alex_jitianu wrote:
Wed Oct 09, 2019 9:43 am
Hello,

The author layout is controlled through CSS so if you write the proper rule then it will render that image. If you can post a sample TEI then I can provide a possible CSS rule to render the image.

Best regards,
Alex

alex_jitianu
Posts: 770
Joined: Wed Nov 16, 2005 11:11 am

Re: tei:pb/@facs image not shown in author mode

Post by alex_jitianu » Thu Oct 10, 2019 8:38 am

Hi,

I'm glad to hear you found a solution. Perhaps it is worth sharing the CSS with the official framework so that others will benefit from it:

https://github.com/TEIC/oxygen-tei

You can add an issue on the project or send a pull request.

Best regards,
Alex

Post Reply