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

Fail to convert to md test site, error on links to id:XXXX.. #285

Closed
rolojf opened this issue Aug 24, 2019 · 2 comments
Closed

Fail to convert to md test site, error on links to id:XXXX.. #285

rolojf opened this issue Aug 24, 2019 · 2 comments

Comments

@rolojf
Copy link

rolojf commented Aug 24, 2019

Great work, thanks for everything. Just let you know I found something that doesn't seem right.

Actual Behavior

Following the instructions from: https://ox-hugo.scripter.co/doc/tests-site/#alternative-way
When in Emacs try to Export all subrees ir runs ok, except from the following error:

  • Link to ID outside the same post: [[id:de0df718-f9b4-4449-bb0a-eb4402fa5fcb]]
  • Link to subtree by ID: [[id:1e5e0bcd-caea-40ad-a75b-e488634c2678]
  • [[id:de0df718-f9b4-4449-bb0a-eb4402fa5fcb][Link to ID outside the same post]]
  • [[id:1e5e0bcd-caea-40ad-a75b-e488634c2678][Link to subtree by ID]]

Expected Behavior

Compile md pages as it did once I deleted these lines.

How to Reproduce the Issue

Follow the same instructions

Example Org File

https://raw.githubusercontent.com/kaushalmodi/ox-hugo/master/test/site/content-org/all-posts.org

Generated Markdown File or Error

From the messages buffer (edited):
org-export-resolve-fuzzy-link: Unable to resolve link; aborting: "id:de0df718-f9b4-4449-bb0a-eb4402fa5fcb"
org-export-resolve-fuzzy-link: Unable to resolve link; aborting: "id:1e5e0bcd-caea-40ad-a75b-e488634c2678"
org-export-resolve-fuzzy-link: Unable to resolve link; aborting: "id:de0df718-f9b4-4449-bb0a-eb4402fa5fcb"
org-export-resolve-fuzzy-link: Unable to resolve link; aborting: "id:1e5e0bcd-caea-40ad-a75b-e488634c2678"

Ox-Hugo Debug Information

Debug Info # Debug information for `ox-hugo` ## Emacs Version GNU Emacs 26.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.8) of 2019-04-12 ## Org Version Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.2/lisp/org/)

Hugo Version

Hugo Static Site Generator v0.57.2/extended linux/amd64 BuildDate: unknown

Org load-path shadows

No Org mode shadows found in load-path

ox-hugo defcustoms

org-hugo-section "posts"
org-hugo-use-code-for-kbd nil
org-hugo-preserve-filling t
org-hugo-delete-trailing-ws t
org-hugo-prefer-hyphen-in-tags t
org-hugo-allow-spaces-in-tags t
org-hugo-tag-processing-functions (org-hugo–tag-processing-fn-replace-with-spaces-maybe org-hugo–tag-processing-fn-replace-with-hyphens-maybe)
org-hugo-auto-set-lastmod nil
org-hugo-export-with-toc nil
org-hugo-export-with-section-numbers nil
org-hugo-front-matter-format "toml"
org-hugo-default-static-subdirectory-for-externals "ox-hugo"
org-hugo-external-file-extensions-allowed-for-copying ("jpg" "jpeg" "tiff" "png" "svg" "gif" "mp4" "pdf" "odt" "doc" "ppt" "xls" "docx" "pptx" "xlsx")
org-hugo-date-format "%Y-%m-%dT%T%z"
org-hugo-paired-shortcodes ""
org-hugo-langs-no-descr-in-code-fences nil
org-hugo-suppress-lastmod-period 0.0
org-hugo-front-matter-format "toml"
@rolojf rolojf changed the title Fail to convert to md test site, error on lind to id: Fail to convert to md test site, error on links to id:XXXX.. Aug 24, 2019
@kaushalmodi
Copy link
Owner

kaushalmodi commented Aug 24, 2019

I'll update those instructions.. you need to do (require 'org-id) too.

@rolojf
Copy link
Author

rolojf commented Aug 25, 2019

All clear now, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants