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

Internal links not removed when exporting to Word #5155

Open
2 of 5 tasks
BabakFarshchian opened this issue May 9, 2024 · 2 comments
Open
2 of 5 tasks

Internal links not removed when exporting to Word #5155

BabakFarshchian opened this issue May 9, 2024 · 2 comments
Labels
bug A bug that affects the functionality of Zettlr.

Comments

@BabakFarshchian
Copy link

Description

Export settings in Import and Export preferences don't work. I change from remove completely to unlink to do nothing. In all cases, the exported Word file includes the full [[filename|title of link]].

Reproducing

  • Create an internal link in a note using the wikilinks format [[filename|title of link]].
  • Export the note using MS Word exporter.
  • Check the exported file. You will find [[filename|title of link]] regardless of the chosen preference in export preferences.

Zettlr Version

Stable (most recent version)

Specify version

3.10

Installation Method

From the Website or GitHub

Your Platform

  • Windows
  • macOS
  • Linux

Architecture

  • Intel 64bit
  • ARM 64bit

Operating System Version

Windows 11

Additional Information

This is not a new behavior. In older versions I experienced a random behavior (links sometimes removed, sometimes not). In the latest version it seems like links are never removed.

@BabakFarshchian BabakFarshchian added the bug A bug that affects the functionality of Zettlr. label May 9, 2024
@nathanlesage
Copy link
Member

I think that's an issue with the current default profiles, try adding the wikilink extension to the reader of the word export profile: reader: markdown+wikilink_title_after_pipe (please check the Pandoc manual for the exact name of the extension!)

@BabakFarshchian
Copy link
Author

Thanks @nathanlesage . I added +wikilinks_title_after_pipe (with an s :-)) to the reader section. The links are now formatted as proper MS Word links. However, the links don't get unlinked. Here is what is exported without the extension:

image

After I add the extension it looks like this:

image

the blue color is because of the Word link. It does not disappear when I select unlink or remove internal links completely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug that affects the functionality of Zettlr.
Projects
None yet
Development

No branches or pull requests

2 participants