From: karl@d1f18fed27c24017d3937186b8675b57da67efc7 Date: Wed, 17 Jun 2020 16:58:28 +0000 (-0400) Subject: (no commit message) X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/25b21fabf108ebaca26ccd9f2bd7218fdae61781 --- 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]]