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

Metadata with a different format in the exported file #1134

Closed
Tracked by #1269
snden opened this issue Oct 3, 2022 · 2 comments
Closed
Tracked by #1269

Metadata with a different format in the exported file #1134

snden opened this issue Oct 3, 2022 · 2 comments
Assignees
Labels
build tool Component: Exports or the build tool enhancement Request: New feature or improvement next release Note: Features planned for next release

Comments

@snden
Copy link

snden commented Oct 3, 2022

Would it be possible to distinguish the metadata from each other so that it has a different style in the exported file? In . odt - style, in .html - .class? Then it would be possible to work with the metadata in another editor (change font size, color, hide...)

for example in html:

<span class="Locations">
<span class="Characters">
<span class="POV">
<span class="Timeline">
<span class="Objects">
<span class="Focus">
<span class="Synopsis">
<span class="Comment">
<span class="Tag">

@snden snden added the enhancement Request: New feature or improvement label Oct 3, 2022
@vkbo
Copy link
Owner

vkbo commented Oct 3, 2022

As mentioned in the discussion, it's easy for HTML. I will have to look into whether it is practical in ODT.

@vkbo vkbo self-assigned this Oct 3, 2022
@vkbo vkbo added the build tool Component: Exports or the build tool label Oct 3, 2022
@vkbo vkbo added this to the Release 1.8 Beta 1 milestone Oct 3, 2022
@vkbo vkbo mentioned this issue Nov 29, 2022
28 tasks
@vkbo vkbo changed the title metadata with a different format in the exported file Metadata with a different format in the exported file Nov 29, 2022
@vkbo vkbo modified the milestones: Release 2.1 Beta 1, Build Tool Rewrite Apr 24, 2023
@vkbo vkbo modified the milestones: Build Tool Rewrite, Future Release Jan 27, 2024
@vkbo vkbo added the next release Note: Features planned for next release label Mar 18, 2024
@vkbo
Copy link
Owner

vkbo commented Mar 18, 2024

I've added classes for the meta data to the HTML output.

Example:

<p class='meta meta-pov' style='margin-bottom: 0;'><span class='tags'>Point of View:</span> <a href='#tag_Bod'>Bod</a></p>
<p class='meta meta-plot' style='margin-bottom: 0; margin-top: 0;'><span class='tags'>Plot:</span> <a href='#tag_Main'>Main</a></p>
<p class='meta meta-location' style='margin-top: 0;'><span class='tags'>Locations:</span> <a href='#tag_Europe'>Europe</a></p>

It is not practical for the ODT output since I'd have to add specific styles for each kind of meta data. Since you cannot hide text in an ODT file like in HTML, if you need to filter out specific tags, you can do so with the filter added to the Manuscript Settings tool in #1723.

@vkbo vkbo closed this as completed Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build tool Component: Exports or the build tool enhancement Request: New feature or improvement next release Note: Features planned for next release
Projects
None yet
Development

No branches or pull requests

2 participants