(Closed)MagickPDF (Modern PDF Reader)

Guest · 11298

salvatore

  • Guest
Reply #15 on: April 11, 2019, 12:33:49 PM
yes, maybe on the first of may the projact is finished

hi paolone



Allanon

  • Newbie
  • *
    • Posts: 18
    • Karma: +2/-0
    • A-MC Creative Development
Reply #16 on: April 16, 2019, 07:03:36 AM
Hello all!  :)

As Salvatore said, I'm working to give a GUI to the xpdf tools suite, I'm testing the first tool (pdfDeatch) on the latest IcAROS desktop (thank you Paolone!) but I'm having troubles to run scripts.

I need to execute a script and redirect the output to another file but I fear that something has changed from my last visit on AROS land :)

My old launcher was:
Code: [Select]
Run Execute 'script_name' >'output_log'
From what I can see, no errors are reported but the 'output_log' file is empty, do you have any hints?

Here is the script generated to retrieve the pdfDetach version:
Quote
"tools/bin/pdfdetach" -v

I'm having difficulties to achieve the result I need from the shell too, for example if I run this command:
Code: [Select]
> <path>/tools/bin/pdfdetach -v >RAM:outputThe output still goes to the console, the file RAM:output is generated but it is empty (0 bytes).

The paths are correct, any help is very appreciated :)

PS.: I've downloaded the tools from AROS Archives


salvatore

  • Guest
Reply #17 on: April 16, 2019, 08:06:30 AM
Hi Allanon

it seems to me that there was a problem related to the polybios plugin on aros, in fact rnopdf was not compiled for this architecture, it may be that this has to do with it or there is nothing in between

thank you



salvatore

  • Guest
Reply #18 on: April 16, 2019, 08:10:55 AM
maybe pdfdetach -v "pdf-file" "ram output"



paolone

  • Legendary Member
  • *****
    • Posts: 568
    • Karma: +90/-0
Reply #19 on: April 16, 2019, 10:13:12 AM
Allanon, you simply can't redirect the output of a script to a text file.


Allanon

  • Newbie
  • *
    • Posts: 18
    • Karma: +2/-0
    • A-MC Creative Development
Reply #20 on: April 16, 2019, 11:30:32 AM
Hi Paolone,
thank you for the reply, so I should put the redirect into the script just after the command I want to execute?
I'm too used to Windows, sorry :)

Anyway there is another problem, because this command straight into the shell does not work:
Code: [Select]
> <path>/tools/bin/pdfdetach -v >RAM:outputThe above line creates an empty 'output' file and print the informations to the console.

Where <path> is the local path to the command


paolone

  • Legendary Member
  • *****
    • Posts: 568
    • Karma: +90/-0
Reply #21 on: April 17, 2019, 02:52:41 AM
Hi Paolone,
thank you for the reply, so I should put the redirect into the script just after the command I want to execute?
I'm too used to Windows, sorry :)

Anyway there is another problem, because this command straight into the shell does not work:
Code: [Select]
> <path>/tools/bin/pdfdetach -v >RAM:outputThe above line creates an empty 'output' file and print the informations to the console.

Where <path> is the local path to the command
Hi. Unluckily, not all software ported from other architectures correctly handles redirection on AROS/AmigaOS. I've seen similar behavior from other programs, too, when trying to compose the 'GNU Tools manual' in PDF.


salvatore

  • Guest
Reply #22 on: April 17, 2019, 04:34:13 AM
I talked to allanon about this thing, maybe there is a problem in compiling the xpdftools suite, all the commands work except this, I will inform you about the changes, cmq in the end it will be something that for aros does not exist :)

ps.tex2pdf already exists so we have excluded it



Allanon

  • Newbie
  • *
    • Posts: 18
    • Karma: +2/-0
    • A-MC Creative Development
Reply #23 on: April 18, 2019, 02:17:11 AM
@Paolone
I thought the redirection, pipe, etc was a feature handled by the system but seems it is not and depends on the source, btw, do you know how to redirect stderr on AROS? Maybe messages are sent on stderr instead of stdout, I'm just trying to guess ;)


wawa

  • Senior Member
  • ****
    • Posts: 265
    • Karma: +55/-0
Reply #24 on: April 18, 2019, 05:18:07 AM
as im repeating, for an educated assistance in developing aros and on aros, join us on slack, please. the main developers may not post or read here. if you give me your email address ill invite you.



Allanon

  • Newbie
  • *
    • Posts: 18
    • Karma: +2/-0
    • A-MC Creative Development
Reply #25 on: April 19, 2019, 12:53:17 PM
Hi wawa,

sorry but I wasn't aware about slack, I haven't been to this forum for some time :)
I'm sending you a pm with my email address


salvatore

  • Guest
Reply #26 on: April 19, 2019, 04:42:23 PM
I tried to synthesize the work for all but also using the tools (programs) currently available, there is no reason I think to repeat what already exists, I must receive news from allanon for what we have discussed, then I will update you



wawa

  • Senior Member
  • ****
    • Posts: 265
    • Karma: +55/-0
Reply #27 on: April 19, 2019, 05:35:33 PM
@allanon
invited you



salvatore

  • Guest
Reply #28 on: April 23, 2019, 01:34:07 PM
there are stages of problems with the xpdftools suite, so we will proceed with the reader we hope everything goes well this time, however maybe there will be a surprise but this is not about this work

All The Best



salvatore

  • Guest
Reply #29 on: April 23, 2019, 01:42:05 PM
I wanted to mention something about the creation of a pdf file with aros, the tools already exist, icaros exports pdf files to png so with txt2pdf you can create the text that will then be converted by dopus5 into an image, it only remains to open zunepaint and import everything and also insert the images, then with rnoeffects it is possible to convert the document back to pdf, I think that to better use what you have and to concentrate resources in what you don't have is better