Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to index page
Thread view  Board view
iw2evk

Magenta (Italy),
11.04.2015, 13:19
 

Pandoc document converter work on hx (DOSX)

Hi,

this for inform regarding working of pandoc document format converter under hx.

http://johnmacfarlane.net/pandoc/

Mandatory the presence of PCRE3.DLL in /bin subdirectory.

The program can convert text document format via command line.

No DOS native binaries , but sorgent downlodable.

Roberto iw2evk

Doug

E-mail

16.04.2015, 19:49

@ iw2evk
 

Pandoc document converter work on hx

> Mandatory the presence of PCRE3.DLL in /bin subdirectory.

Anybody know of a safe place to get this DLL? (I don't want to use a generic download site, unless it's recommended.)

Thanks....

- Doug B.

iw2evk

Magenta (Italy),
17.04.2015, 18:59

@ Doug
 

Pandoc document converter work on hx

Hi Doug,

you can download from this package from sourceforge


http://sourceforge.net/projects/gnuwin32/files/pcr...in.zip/download?use_mirror=switch&download=

Regarding the use of Pandoc , the instruction are a bit "cryptics", so i'v etested only some conversion (i.e html to rtf , html to txt etc)

If you have some problems they are a group on google

https://groups.google.com/forum/#!forum/pandoc-discuss

Please report results of your test.

Thanks

Roberto iw2evk

Doug

E-mail

26.04.2015, 19:17

@ iw2evk
 

Pandoc document converter work on hx

Thanks for the link.

Even so, Pandoc runs in Win9x, but in pure MS-DOS v7.1, i get these HX error messages:

dpmild32: import not found: QueryServiceConfigA
dpmild32: import not found: SetSecurityDescriptorGroup
dpmild32: import not found: SetSecurityDescriptorSacl
dpmild32: import not found: SetSecurityDescriptorOwner
dpmild32: import not found: RegSetKeySecurity
dpmild32: import not found: RegGetKeySecurity
dpmild32: import not found: RegConnectRegistryW
dpmild32: import not found: CryptSetProviderA
dpmild32: file ADVAPI32.dll
dpmild32: d:\hx\dadvapi.dll: cannot resolve imports
dpmild32: d:\hx\dadvapi.dll: cannot load PE file

On my computer, the HX binaries are in the D:\HX directory, and that is placed in the PATH before the C:\Windows\System folder. The version of Pandoc is 1.13.2 from 19-Dec-2014.

- Doug B.

iw2evk

Magenta (Italy),
30.04.2015, 20:24

@ Doug
 

Pandoc document converter work on hx

Hi all,

i've make my test on pandoc 1.4

I don't know if new releases have the same executable structure ,
so i suggest to try this version.

DOS386

10.05.2015, 09:56

@ iw2evk
 

Pandoc document converter work on HX (I'll test)

> this for inform regarding working of pandoc document format converter under hx

WOW!

http://pandoc.org/ -> (no files)

http://pandoc.org/installing.html
https://github.com/jgm/pandoc/releases

https://github.com/jgm/pandoc/releases/tag/1.13.2-> only MSI no EXE

https://github.com/jgm/pandoc/releases/download/1.13.2/pandoc-1.13.2-windows.msi -> after extracting 2 levels I get "pandoc.exe" 39'796'238 2014-12-19 23:59 38 MiO !!!

and it worx on (obsolete, unsupported, dead) XP ...

https://github.com/jgm/pandoc/archive/1.13.2.1.zip -> nothing in !!!

https://github.com/jgm/pandoc/releases?after=1.8.0.1

https://github.com/jgm/pandoc/archive/1.5.zip -> "pcre3.dll" 140'288 2010-03-20 14:47

https://github.com/jgm/pandoc/archive/1.0.zip -> nothing in !!!

> i've make my test on pandoc 1.4
> Mandatory the presence of PCRE3.DLL in /bin subdirectory
> Anybody know of a safe place to get this DLL?

There is no version 1.4 and version 1.13.3 doesn't import from "pcre3.dll" ...

---
This is a LOGITECH mouse driver, but some software expect here
the following string:*** This is Copyright 1983 Microsoft ***

iw2evk

Magenta (Italy),
10.05.2015, 19:03

@ DOS386
 

Pandoc document converter work on HX (I'll test)

>
> There is no version 1.4 and version 1.13.3 doesn't import from "pcre3.dll"
> ...

Hi,

try this :

http://sourceforge.net/projects/pandoc/files/pandoc-1.4-setup.exe/download

please report problems during conversion

Have a nice test!

Roberto

DOS386

14.05.2015, 06:00

@ iw2evk
 

Pandoc document converter work on HX (... sex ...)

> I'll test
> ... load/1.13.2/pandoc-1.13.2-windows.msi -> after extracting 2 levels
> I get "pandoc.exe" 39'796'238 2014-12-19 23:59 38 MiO !!!

Well, worx on XP, on HX missing import "GlobalMemoryStatusEx"

> try this :
> http://sourceforge.net/projects/pandoc/files/pandoc-1.4-setup.exe/download

I'll test

PS: same PCRE3.DLL :

https://github.com/jgm/pandoc/archive/1.5.zip
http://sourceforge.net/projects/gnuwin32/files/pcre/7.0/pcre-7.0-bin.zip/download

---
This is a LOGITECH mouse driver, but some software expect here
the following string:*** This is Copyright 1983 Microsoft ***

iw2evk

Magenta (Italy),
14.05.2015, 20:52

@ DOS386
 

Pandoc document converter work on HX (... sex ...)

Hi all,
this evening i've retry to use pandoc with hx for check if they are some flaws
1st ) i've download the version 1.4 of pandoc http://sourceforge.net/projects/pandoc/files/pandoc-1.4-setup.exe/download
open with selfextractor (i've open with wine under puppy linux 2.8.5)
Copy the Pandoc directory in dos system after loaded a lfn driver (i use doslfn)
2nd) in directory c:\pandoc i've placed the required DLL pcre3.dll (see previusly post for download link )
3rd) in autoexec.bat check if exist this row
SET DPMILDR=128
4rt)now invoke pestub -v -s pandoc.exe
From command line call pandoc --help|more , and receive the help

now try to convert the file readme.htm supplied using this command

pandoc -o required format input.file

i.e pandoc -o readme.rtf readme.htm
pandoc -o readme.latex readme.htm
pandoc -o readme.txt readme.htm
and so..

Note : not all conversion seem working , example not work with .odf

good test !
Roberto iw2evk

DOS386

15.05.2015, 11:56

@ iw2evk
 

Pandoc document converter work on HX (... useless ...)

> this evening i've retry to use pandoc with hx for check if they are some flaws

YES :-(

> download the version 1.4 of pandoc
> sf.net/projects/pandoc/files/pandoc-1.4-setup.exe/download

Done!

> open with selfextractor (i've open with wine

Maybe the BEER or INNOUNP (see drdos.org Wiki) would do the job too ;-)

> 3rd) in autoexec.bat check if exist this row
> SET DPMILDR=128

Bad idea to make this default :-(

> now try to convert the file readme.htm supplied using this command

Done!

> Note : not all conversion seem working , example not work with .odf

Meant Open Office ODT ?


PD 1.4 - "pandoc.exe" has only 9 MiO
       - no "bin" (-Laden) exists
       - needs "PCRE3.DLL" (NOT included)
       - needs DOSNTLFN
       - needs many junk support files with junk (very long) names
       - missing import "OpenThread"
       - with DPMILDR=128 is starts and does nothing, then crashes
       - "--help" brews help
       - no useful formats supported
       - conversion from TXT into ODT fails with obscure error message

PD 1.9 - "pandoc.exe" has only 18 MiO
       - directory "bin" (-Laden) does exist
       - does not need "PCRE3.DLL"
       - needs DOSNTLFN
       - needs many junk support files with junk (very long) names
       - does not need import "OpenThread"
       - missing imports "freeaddrinfo" "getaddrinfo" "getnameinfo"
         in "WS2_32.dll" "WSOCK32.DLL"
       - with DPMILDR=128 is starts and does nothing
       - "--help" brews help
       - more junk formats than 1.9 offers, but still no
         useful ones supported
       - conversion from TXT into ODT takes centuries, pretends success
         if no input format specified, and brews ODT file,
         "thumbnail.png" is crap, OpenOffice not available to test
       - IN:  native, json, markdown, markdown+lhs, rst, rst+lhs,
              textile, html, latex, latex+lhs
       - OUT: native, json, html, html5, html+lhs, html5+lhs, s5, slidy,
              dzslides, docbook, opendocument, latex, latex+lhs, beamer,
              context, texinfo, man, markdown, markdown+lhs, plain, rst,
              rst+lhs, mediawiki, textile, rtf, org, asciidoc, odt,
              docx, epub


Unfurtunately, 1.9 can neither brew PDF, nor convert from PDF, nor convert from M$ RTFM, DOC, DOCX.

Does PANDOC work with HX ? Well, theoretically, some old versions, with trouble, YES.

Is PANDOC under HX useful ? Well, with current state of knowledge, NO :-(

If anyone finds a version able to do something useful under DOS, please let me know.

http://www.xaver.me/drdoswiki/index.php?n=Main.HXDOScomplists

---
This is a LOGITECH mouse driver, but some software expect here
the following string:*** This is Copyright 1983 Microsoft ***

iw2evk

Magenta (Italy),
15.05.2015, 13:44

@ DOS386
 

Pandoc document converter work on HX (... useless ...)

Hi,

regarding pandoc 1.4 i've successfully convert html to txt and rtf.

Confirm problem in .odt conversion.

For convert in .pdf needs others programs (see instructions)

NOTE : the conversion to rtf have a strange issue.

If open the resultant file with flwriter the text can be easy ready, if you use ms word or others ms programs the text it's incorrect ..

I've make the same test in WIN 7 professional with same results, so it's not a Hx problem.

So i thinks this program may be enclosed in " HX wishlist"..

Roberto

Back to index page
Thread view  Board view
22049 Postings in 2034 Threads, 396 registered users, 100 users online (0 registered, 100 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum