@@ -359,6 +359,7 @@ init_texdocs_database = function()
359
359
360
360
doc_roots = {}
361
361
local kpse_texdocs = kpse .expand_var (' $TEXDOCS' )
362
+ local w32_path = texdoc .util .w32_path
362
363
363
364
-- expand the path and turn it into a lua list
364
365
local raw_doc_roots = kpse .expand_braces (kpse_texdocs ):explode (C .kpse_sep )
@@ -376,13 +377,13 @@ init_texdocs_database = function()
376
377
local index_mandatory = (n == 1 )
377
378
dbg_print (' texdocs' ,
378
379
' texdocs[%d] = %s (index_mandatory=%s, recursion_allowed=%s)' ,
379
- i , path , tostring (index_mandatory ), tostring (recursion_allowed ))
380
+ i , w32_path ( path ) , tostring (index_mandatory ), tostring (recursion_allowed ))
380
381
381
382
-- decide if we should use a ls-R index, the filesystem, or do nothing
382
383
local root , shift = lsr_root (path )
383
384
if root and shift and recursion_allowed then
384
385
dbg_print (' texdocs' ,
385
- ' texdocs[%d] using index: %s (shift=%s)' , i , root , shift )
386
+ ' texdocs[%d] using index: %s (shift=%s)' , i , w32_path ( root ) , shift )
386
387
db = init_lsr_db (root , shift )
387
388
elseif not index_mandatory and lfs .isdir (path ) then
388
389
dbg_print (' texdocs' ,
0 commit comments