From 25b21fabf108ebaca26ccd9f2bd7218fdae61781 Mon Sep 17 00:00:00 2001 From: "karl@d1f18fed27c24017d3937186b8675b57da67efc7" Date: Wed, 17 Jun 2020 12:58:28 -0400 Subject: [PATCH] --- ...ther_unusual_characters_in_page_names.mdwn | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/forum/backslash_and_other_unusual_characters_in_page_names.mdwn diff --git a/doc/forum/backslash_and_other_unusual_characters_in_page_names.mdwn b/doc/forum/backslash_and_other_unusual_characters_in_page_names.mdwn new file mode 100644 index 000000000..4984d63e5 --- /dev/null +++ b/doc/forum/backslash_and_other_unusual_characters_in_page_names.mdwn @@ -0,0 +1,20 @@ +Is there a way to support backslash or other "unusual" characters in +the output .html names? + +I added `\\` to wiki_file_chars (not just `\` since this value is +the contents of a Perl [...] regexp, per +IkiWiki.pm). But doing this and then creating a file \foo.mdwn on the +source side is not enough, because the backslash is autotranslated to / +(for the sake of Windows I suppose), resulting in +http://example.org//foo/. + +I'm looking to make a TeX-related wiki. Hence having backslash as a +normal character is desirable. I know there would be plenty more complications, +but, just exploring the options ... + +Generalizing from backslashes, is there a way to control the mapping +from .mdwn names to the output .html names (and directories I guess), +apart from the specific usedirs and indexpages settings? + +I've glanced through plugins and done a bunch of web searches without +any success. Any help appreciated. Thanks. --[[KarlBerry]]