Comments (3)
The [[!img]]
directive works for me in pandoc-processed pages on my own personal wiki. I also tried it on a fresh install of ikiwiki + ikiwiki-pandoc, and it worked there as well. So I'm pretty sure that the problem is caused by some kind of misconfiguration on your end.
You mention pdf processing specifically. Does the directive work for other image types? If so, you might have to add or change the img_allowed_formats
setting in your .setup
file so as to add pdf
to your allowed formats. If it is present, but pdf processing fails anyway (while, e.g., jpg works), this might be because ghostscript
is missing on your machine – this is an external program which ImageMagick uses for handling pdf
, ps
and eps
files.
Do you get any error messages related to image processing when you run ikiwiki --setup my.setup
or similar?
from ikiwiki-pandoc.
Sorry, I forgot to check which ikiwiki version you were using. I can see that there have been several changes to the img
plugin since version 3.2015061, among them the addition of the img_allowed_formats
setting, so that is not really relevant to your case. Even so, after examining these changes they do not seem to me to be likely to have affected the usability of the directive on pandoc-backed pages. (But of course updating ikiwiki would be a good idea anyway).
from ikiwiki-pandoc.
Indeed Image::Magick was "missing" because I had tried out perlbrew and the perl used didn't have imagemagick installed. I probably should've checked a little closer, but yeah, that is at least the "issue" with ikiwiki-pandoc.
Of course, it might also be a bug.
Of course, might also be my own fault.
from ikiwiki-pandoc.
Related Issues (16)
- html5 option seems to be deprecated HOT 2
- Inline directive does not work HOT 5
- request: add information on how to update the plugin to the readme HOT 1
- Wikilinks easily breaks pandoc-flavoured markdown tables HOT 6
- ikiwiki's style.css breaks pandoc table headers HOT 1
- Regression: Doesn't work anymore with recently updated pandoc 1.18. from homebrew HOT 12
- Inclusion into ikiwiki? Package for debian? HOT 2
- Pandoc YAML metadata block HOT 8
- Regression: --normalize has been removed HOT 3
- Rearrange repo layout so that it's suitable to use with git-submodule
- Support for filters
- Failed to load plugin error on line 286 HOT 4
- Use of uninitialized value […] in pattern match (m//) at […]/pandoc.pm line 269. HOT 4
- pandoc style citations don't work HOT 6
- How to set locale (for bibliography) wiki wide HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ikiwiki-pandoc.