-
Notifications
You must be signed in to change notification settings - Fork 48
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
No .info file #228
Comments
Just to add in case it helps, as I have the same issue of missing .info file, which needs to be generated manually. I've beeing adding the following pre-built instruction in my :straight
(;; Info manual isn't generated by default, so do it here:
:pre-build
(("make" "org-transclusion.org")
("make" "-C" "./docs" "org-transclusion.texi")
("makeinfo" "./docs/org-transclusion.texi" "-o" "./docs/org-transclusion.info")
("install-info" "./docs/org-transclusion.info" "./docs/dir"))) This way I can make the info doc for I haven't created the issue ticket like this myself since I'm yet to understand the mechanics of registering package with Melpa, etc.; I got a clue from this ticket: I'm not sure if the missing info is caused by my particular environment ( |
Sorry I do not know how Doom and Straight work at all. ELPA adds What's the reason why this is not a feature request / bug report for Doom or Straight? As I understand it, Straight is a third-party package, and there are other packages that provide similar functionality such as Elpaca and Quelpa. I do not think it is up to individual packages to support these arbitrarily, when the built-in This is not a hard "no", but because I do not know what to do (I don't use Doom or Straight), I cannot be of much help without guidance from you and other users. Do you know what other packages that provide .info file do? Maybe that's something I can try to emulate if you can let me know the detail. |
Sorry I didn't mean to burden you with a responsibility of fixing the issue; my intention was to simply report that I'm having a similar issue with (apparently) a different tool, for which the solution might be the same. For most other packages that I usually get via MELPA (with or without When I have time, I'll see where best to apply a fix on my end, and if it's here then I'll submit a PR. Please feel free to ignore my comment above. |
I agree that it should not be necessary to write a Makefile. I've migrated off Doom/Straight for just Elpaca. And I can test on my own packages, omitting .info, and I see that an .info file is generated. So there is something Elpaca is capable of automating. But curiously, no info files for Orderless, Embark nor Org-transclusion! EDIT: Oh, for Orderless/Embark I just had to do |
For what it's worth, neither .texi nor .info files are very large. They're around the same size as the original .org. That's why I include both in my repos, even though they are technically "build artifacts", by typing |
Just pushed a new commit simply adding I will need to see if this breaks anything in ELPA(devel). Can you let me know if you can get Elpaca to (re)build an info file? I think you need to run PS. this is besides the point, I don't have |
If you do
you can add the "texinfo" backend. Then, C-c C-e should have the I see now it is the same thing you have in your Makefile... but I wonder if I may steal this Makefile for my projects, to skip the manual labor of typing
Sure! Got this output. It could not find fdl.texi, although I can see it is inside the folder, in the docs subdirectory. Maybe it needs to be
|
Thank you. There is this line: https://github.com/nobiot/org-transclusion/blob/main/org-transclusion.texi#L1148 I think I need to specify the directory path as you suggests… |
Re |
See #255 |
I believe now the reason I do not get the manual is progfolio/elpaca#360. I'll let you know later if that fixes the issue :) |
I think you have to include an .info file (not just .texi file) for the Info doc to automatically install. At least, there's no Info doc in my Doom (which uses straight.el).
OK, I looked around. The MELPA recipe format has a default
:files
setting that includesdocs/*.texi
, among many others. So the file is included in the download. However, I think you have to add a Makefile instruction to turn it into .info. In my packages, I found it easier to just pre-generate the .info file (via org-export) and commit it to the repo.The text was updated successfully, but these errors were encountered: