Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NISO STS import on ISO Fonto: tables appear with strange extra lines added #869

Open
ronaldtse opened this issue Dec 1, 2022 · 3 comments
Assignees
Labels
help wanted sts NISO STS compatibility

Comments

@ronaldtse
Copy link
Contributor

As reported by SIS (sis.se). Have requested for more information.

@ronaldtse ronaldtse added help wanted sts NISO STS compatibility labels Dec 1, 2022
@ronaldtse
Copy link
Contributor Author

From @MatsAhlin :

I took this one:
image

Get extra lines in the Fonto tool. However still looks correct in the preview.
image007

In the file I got from you no extra lines, my guess as above the import is doing something here.

image008

Because this what I see after import:
image009

@ronaldtse
Copy link
Contributor Author

@Intelligent2013 not sure if there's something we can do but could you have a look? Thanks.

@Intelligent2013
Copy link
Contributor

@ronaldtse I assume the extra lines occur due line breaks in the xml content:
image

It seems Fonto treats these line breaks as empty text nodes.

I can update mnconvert to produce the xml in one line without breaks (except source code elements) like this:

<tbody><tr><th valign="top" align="left"><bold>Identifier</bold></th><td valign="top" align="left"><p><italic>The ISO/TC 211 URI of the conformance class.</italic></p></td></tr>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted sts NISO STS compatibility
Projects
None yet
Development

No branches or pull requests

2 participants