ps2pdf is not working anymore - Macport upgrade on MacOS High Sierra 10.13.5












0















After an upgrading following a break dependency on my MacOS High Sierra 10.13.5, the command "ps2pdf" doesn't work anymore.



I use it with latex to convert a ghostscript file .ps, generated from latex compiler and dvips command.



Here is below the error I get with ps2pdf : $ ps2pdf file.ps



While reading gs_ll3.ps:
Error: /undefinedresource in findresource
Operand stack:
(gs_icc.ps00gs_mex_e.ps00gs_mro_e.ps00gs_pdf_e.ps00gs_wan_e.ps00pdf_ops.ps00gs_l2img.ps00pdf_rbld.ps00pdf_base.ps00pdf_draw.ps00pdf_font.ps00pdf_main.ps00pdf_sec.ps00gs_cff.ps00gs_mgl_e.ps00gs_ttf.ps00gs_dps.ps00gs_dpn...) (gs_ll3.ps) 1 Pscript5Idiom.mp_1554149595 IdiomSet 6 Pscript5Idiom.mp_1554149595
Execution stack:
%interp_exit --nostringval-- findresource %loop_continue findresource findresource findresource false 1 %stopped_push --nostringval-- 1969 7 5 %oparray_pop findresource findresource --dict:16/18(ro)(G)-- --dict:2/2(G)-- findresource 2 %dict_continue findresource findresource 1967 5 5 %oparray_pop findresource %errorexec_pop findresource findresource findresource findresource
Dictionary stack:
--dict:1050/1123(G)-- --dict:0/20(G)-- --dict:72/200(L)-- --dict:1050/1123(G)-- --dict:40/43(G)-- --dict:16/18(ro)(G)--
Current allocation mode is global
Current file position is 18894


A solution is to use instead pstopdf but this binary doesn't produce href URL link on pdf generated output file : that's why I would like to make work the classical binary ps2pdf.



I tried to uninstall ghostscript macport and reinstall it but this doesn't change anything.



I have also tried with pdflatex but there are some errors too :



Underfull hbox (badness 10000) in paragraph at lines 45--46

! Undefined control sequence.
c@lor@to@ps ->PSTricks
_Not_Configured_For_This_Format
l.54 sepline

?
! Undefined control sequence.
XC@usec@lor ...string color@ #1#2endcsname @@
fi space
l.54 sepline

?
! Undefined control sequence.
c@lor@to@ps ->PSTricks
_Not_Configured_For_This_Format
l.54 sepline

?
...


Any suggestion or help is welcome, regards.










share|improve this question























  • After a reinstall some dependencies may have changed so likely candidates are different behaviours or missing components or worse duplicate versions of dvips tools such as auto-pst-pdf needing a perl script to run pdfcrop so worth checking locations and numbers of each package/component and their status for running as a resource (folder rights path alias etc.)

    – KJO
    5 hours ago











  • You could try xelatex, which internally converts dvi to pdf (properly processing PSTricks code) without needing ps2pdf or pstopdf. This also preserves hyperlinks.

    – Marijn
    4 hours ago


















0















After an upgrading following a break dependency on my MacOS High Sierra 10.13.5, the command "ps2pdf" doesn't work anymore.



I use it with latex to convert a ghostscript file .ps, generated from latex compiler and dvips command.



Here is below the error I get with ps2pdf : $ ps2pdf file.ps



While reading gs_ll3.ps:
Error: /undefinedresource in findresource
Operand stack:
(gs_icc.ps00gs_mex_e.ps00gs_mro_e.ps00gs_pdf_e.ps00gs_wan_e.ps00pdf_ops.ps00gs_l2img.ps00pdf_rbld.ps00pdf_base.ps00pdf_draw.ps00pdf_font.ps00pdf_main.ps00pdf_sec.ps00gs_cff.ps00gs_mgl_e.ps00gs_ttf.ps00gs_dps.ps00gs_dpn...) (gs_ll3.ps) 1 Pscript5Idiom.mp_1554149595 IdiomSet 6 Pscript5Idiom.mp_1554149595
Execution stack:
%interp_exit --nostringval-- findresource %loop_continue findresource findresource findresource false 1 %stopped_push --nostringval-- 1969 7 5 %oparray_pop findresource findresource --dict:16/18(ro)(G)-- --dict:2/2(G)-- findresource 2 %dict_continue findresource findresource 1967 5 5 %oparray_pop findresource %errorexec_pop findresource findresource findresource findresource
Dictionary stack:
--dict:1050/1123(G)-- --dict:0/20(G)-- --dict:72/200(L)-- --dict:1050/1123(G)-- --dict:40/43(G)-- --dict:16/18(ro)(G)--
Current allocation mode is global
Current file position is 18894


A solution is to use instead pstopdf but this binary doesn't produce href URL link on pdf generated output file : that's why I would like to make work the classical binary ps2pdf.



I tried to uninstall ghostscript macport and reinstall it but this doesn't change anything.



I have also tried with pdflatex but there are some errors too :



Underfull hbox (badness 10000) in paragraph at lines 45--46

! Undefined control sequence.
c@lor@to@ps ->PSTricks
_Not_Configured_For_This_Format
l.54 sepline

?
! Undefined control sequence.
XC@usec@lor ...string color@ #1#2endcsname @@
fi space
l.54 sepline

?
! Undefined control sequence.
c@lor@to@ps ->PSTricks
_Not_Configured_For_This_Format
l.54 sepline

?
...


Any suggestion or help is welcome, regards.










share|improve this question























  • After a reinstall some dependencies may have changed so likely candidates are different behaviours or missing components or worse duplicate versions of dvips tools such as auto-pst-pdf needing a perl script to run pdfcrop so worth checking locations and numbers of each package/component and their status for running as a resource (folder rights path alias etc.)

    – KJO
    5 hours ago











  • You could try xelatex, which internally converts dvi to pdf (properly processing PSTricks code) without needing ps2pdf or pstopdf. This also preserves hyperlinks.

    – Marijn
    4 hours ago
















0












0








0








After an upgrading following a break dependency on my MacOS High Sierra 10.13.5, the command "ps2pdf" doesn't work anymore.



I use it with latex to convert a ghostscript file .ps, generated from latex compiler and dvips command.



Here is below the error I get with ps2pdf : $ ps2pdf file.ps



While reading gs_ll3.ps:
Error: /undefinedresource in findresource
Operand stack:
(gs_icc.ps00gs_mex_e.ps00gs_mro_e.ps00gs_pdf_e.ps00gs_wan_e.ps00pdf_ops.ps00gs_l2img.ps00pdf_rbld.ps00pdf_base.ps00pdf_draw.ps00pdf_font.ps00pdf_main.ps00pdf_sec.ps00gs_cff.ps00gs_mgl_e.ps00gs_ttf.ps00gs_dps.ps00gs_dpn...) (gs_ll3.ps) 1 Pscript5Idiom.mp_1554149595 IdiomSet 6 Pscript5Idiom.mp_1554149595
Execution stack:
%interp_exit --nostringval-- findresource %loop_continue findresource findresource findresource false 1 %stopped_push --nostringval-- 1969 7 5 %oparray_pop findresource findresource --dict:16/18(ro)(G)-- --dict:2/2(G)-- findresource 2 %dict_continue findresource findresource 1967 5 5 %oparray_pop findresource %errorexec_pop findresource findresource findresource findresource
Dictionary stack:
--dict:1050/1123(G)-- --dict:0/20(G)-- --dict:72/200(L)-- --dict:1050/1123(G)-- --dict:40/43(G)-- --dict:16/18(ro)(G)--
Current allocation mode is global
Current file position is 18894


A solution is to use instead pstopdf but this binary doesn't produce href URL link on pdf generated output file : that's why I would like to make work the classical binary ps2pdf.



I tried to uninstall ghostscript macport and reinstall it but this doesn't change anything.



I have also tried with pdflatex but there are some errors too :



Underfull hbox (badness 10000) in paragraph at lines 45--46

! Undefined control sequence.
c@lor@to@ps ->PSTricks
_Not_Configured_For_This_Format
l.54 sepline

?
! Undefined control sequence.
XC@usec@lor ...string color@ #1#2endcsname @@
fi space
l.54 sepline

?
! Undefined control sequence.
c@lor@to@ps ->PSTricks
_Not_Configured_For_This_Format
l.54 sepline

?
...


Any suggestion or help is welcome, regards.










share|improve this question














After an upgrading following a break dependency on my MacOS High Sierra 10.13.5, the command "ps2pdf" doesn't work anymore.



I use it with latex to convert a ghostscript file .ps, generated from latex compiler and dvips command.



Here is below the error I get with ps2pdf : $ ps2pdf file.ps



While reading gs_ll3.ps:
Error: /undefinedresource in findresource
Operand stack:
(gs_icc.ps00gs_mex_e.ps00gs_mro_e.ps00gs_pdf_e.ps00gs_wan_e.ps00pdf_ops.ps00gs_l2img.ps00pdf_rbld.ps00pdf_base.ps00pdf_draw.ps00pdf_font.ps00pdf_main.ps00pdf_sec.ps00gs_cff.ps00gs_mgl_e.ps00gs_ttf.ps00gs_dps.ps00gs_dpn...) (gs_ll3.ps) 1 Pscript5Idiom.mp_1554149595 IdiomSet 6 Pscript5Idiom.mp_1554149595
Execution stack:
%interp_exit --nostringval-- findresource %loop_continue findresource findresource findresource false 1 %stopped_push --nostringval-- 1969 7 5 %oparray_pop findresource findresource --dict:16/18(ro)(G)-- --dict:2/2(G)-- findresource 2 %dict_continue findresource findresource 1967 5 5 %oparray_pop findresource %errorexec_pop findresource findresource findresource findresource
Dictionary stack:
--dict:1050/1123(G)-- --dict:0/20(G)-- --dict:72/200(L)-- --dict:1050/1123(G)-- --dict:40/43(G)-- --dict:16/18(ro)(G)--
Current allocation mode is global
Current file position is 18894


A solution is to use instead pstopdf but this binary doesn't produce href URL link on pdf generated output file : that's why I would like to make work the classical binary ps2pdf.



I tried to uninstall ghostscript macport and reinstall it but this doesn't change anything.



I have also tried with pdflatex but there are some errors too :



Underfull hbox (badness 10000) in paragraph at lines 45--46

! Undefined control sequence.
c@lor@to@ps ->PSTricks
_Not_Configured_For_This_Format
l.54 sepline

?
! Undefined control sequence.
XC@usec@lor ...string color@ #1#2endcsname @@
fi space
l.54 sepline

?
! Undefined control sequence.
c@lor@to@ps ->PSTricks
_Not_Configured_For_This_Format
l.54 sepline

?
...


Any suggestion or help is welcome, regards.







pdftex dvips ghostscript ps2pdf macos






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 6 hours ago









youpilat13youpilat13

1186




1186













  • After a reinstall some dependencies may have changed so likely candidates are different behaviours or missing components or worse duplicate versions of dvips tools such as auto-pst-pdf needing a perl script to run pdfcrop so worth checking locations and numbers of each package/component and their status for running as a resource (folder rights path alias etc.)

    – KJO
    5 hours ago











  • You could try xelatex, which internally converts dvi to pdf (properly processing PSTricks code) without needing ps2pdf or pstopdf. This also preserves hyperlinks.

    – Marijn
    4 hours ago





















  • After a reinstall some dependencies may have changed so likely candidates are different behaviours or missing components or worse duplicate versions of dvips tools such as auto-pst-pdf needing a perl script to run pdfcrop so worth checking locations and numbers of each package/component and their status for running as a resource (folder rights path alias etc.)

    – KJO
    5 hours ago











  • You could try xelatex, which internally converts dvi to pdf (properly processing PSTricks code) without needing ps2pdf or pstopdf. This also preserves hyperlinks.

    – Marijn
    4 hours ago



















After a reinstall some dependencies may have changed so likely candidates are different behaviours or missing components or worse duplicate versions of dvips tools such as auto-pst-pdf needing a perl script to run pdfcrop so worth checking locations and numbers of each package/component and their status for running as a resource (folder rights path alias etc.)

– KJO
5 hours ago





After a reinstall some dependencies may have changed so likely candidates are different behaviours or missing components or worse duplicate versions of dvips tools such as auto-pst-pdf needing a perl script to run pdfcrop so worth checking locations and numbers of each package/component and their status for running as a resource (folder rights path alias etc.)

– KJO
5 hours ago













You could try xelatex, which internally converts dvi to pdf (properly processing PSTricks code) without needing ps2pdf or pstopdf. This also preserves hyperlinks.

– Marijn
4 hours ago







You could try xelatex, which internally converts dvi to pdf (properly processing PSTricks code) without needing ps2pdf or pstopdf. This also preserves hyperlinks.

– Marijn
4 hours ago












0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482828%2fps2pdf-is-not-working-anymore-macport-upgrade-on-macos-high-sierra-10-13-5%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482828%2fps2pdf-is-not-working-anymore-macport-upgrade-on-macos-high-sierra-10-13-5%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

Calculate evaluation metrics using cross_val_predict sklearn

Insert data from modal to MySQL (multiple modal on website)