Recent Posts

Pages: 1 2 3 4 5 6 7 [8] 9 10
71
General Discussion / Re: setting a path to my desktop so I can import images
« Last post by Dave on September 08, 2018, 06:58:40 am »
Thanks, I realized I needed Ghost script for interpreting PS...

I was trying to simulate a Chromebook environment on my Mac and wasn't paying close attention. I'm a designer, not a programmer!
72
General Discussion / Re: setting a path to my desktop so I can import images
« Last post by Nermander on September 07, 2018, 11:25:30 pm »
Paid version of what? There is no paid version of Scribus...
73
Scripts and Plugins / Re: Hot folder script
« Last post by ScripterBoy on September 07, 2018, 08:12:07 pm »
My apologies,

I´m not yet familiar enought with Python.

I´m gonna try to do a loop over the "scanned" directory and then, depending on what kind of file I will dectec arriving on it, I would like to launch another script from the loop, is it possible?

I´m sorry for my (big) mistake and thank you so much for your time.
74
Beginner Talk / Re: Bleeds?
« Last post by jack0408 on September 07, 2018, 07:54:01 pm »
... well, jack, ...  is see the crop marks in there...

have you tried to send the screenshot to the printer (with a new pdf where you know the crop marks are there... maybe you have sent the wrong pdf... things happen...)?

ciao
a.l.e

I would, but I don't directly have contact with the printer. Only my client does, and from emails my client has forwarded to me it seems like there's fees for just submitting files to them. Since I'm a freshman college student, I don't want to pay for things if I can help it :p but regardless, I double checked all my files before sending them to my client. I've triple or 4x checked at this point, really.
75
Beginner Talk / Re: Bleeds?
« Last post by jack0408 on September 07, 2018, 07:51:58 pm »
I have no idea...my job in this situation is to create the artwork and pdfs, then my client takes care of the rest. A friend of mine also did a very similar job with this client and was able to get it done. The difference here is that my friend had used inDesign, but I don't have access to it outside of college (and my school schedule is already fairly busy), hence why I decided to go with scribus. But yeah, it seems like the printer requires that bleed inside the trim box.
76
Features / Re: Suggestion: a good start for footnotes Insert > Char > Footnote#
« Last post by dragonfly on September 07, 2018, 07:09:20 pm »
I will give a fuller reply later. But in the interim i reply to this point.

Quote
Apparently it exports in a lot of possible formats, so for instance I could output HTML for practice and view it in the browser while I am just practicing the merge.md routine. I got the idea that it might even conceivably bypass Scribus by using some other format. I am just playing with it now.


I have dropped usage of package project-manager and have installed instead project-viewer.


The preview of HTML intermediate content (pre Scribus) is much enhanced if you install these packages to support your workflow.


atom-html-preview
atom-live-server
file-icons
project-viewer
tool-bar
tool-bar-markdown-writer
zentabs
tidy-markdown
markdown-table-editor
counter
autosave-onchange


Finally, I understand that Atom might be a daunting framework to learn.

It would be remiss to exclude other options for external composition of content to be piped into Scribus.
In addition to the usual editors (Word, LibreOffice) I would try ...

Scrivener
https://www.literatureandlatte.com/scrivener/overview

and a more modest editor

CherryTree
https://www.giuspen.com/cherrytree/

I use CherryTree extensively.

In your scenario you can create CherryTree nodes, subnodes, subsubnodes.

You can export all your nodes (see topbar) as PDF, HTML or as a cherrytree xml file.

So you have a full toolbox.
77
General Discussion / setting a path to my desktop so I can import images
« Last post by Dave on September 07, 2018, 07:01:31 pm »
Hello! I can't seem to point to my desktop when I'm trying to import images into a layout. I don't have the upgraded (paid) version, does this have something to do with it? Is there a code I need to be using? I'm trying this out on a Mac right now, but hope to roll this out to a classroom using Chromebooks...
78
Scripts and Plugins / Re: Hot folder script
« Last post by a.l.e on September 07, 2018, 06:36:47 pm »
well, you have to first

import os

before using it...
79
Scripts and Plugins / Re: Launching scribus script, from outside of Scribus
« Last post by dragonfly on September 07, 2018, 06:27:01 pm »
Quote
Is there any way for starting an scribus script from an external python script?.

Yes, in my own kicking around with building a Scribus custom workflow I have found ways of “pushing” content (document fragments) into a Scribus *.sla file. 

The usual approach is to have Scribus GUI open and launch a python script through Scribus window > scripts to "pull" content into Scribus.  Each script must import scribus.

However in some scenarios Scribus may not be present.

The approach I have tested for my own ends is to regard the template *.sla as an *.xml file and then use xquery script to update the xml elements in the *.sla document without the need to launch Scribus GUI.   The *.sla templates are held in an xml nosql database. The xpaths to textframe or imageframe or even styles must be known in advance and these can easily be found from any xml editor. This is indeed “pushing” content instead of "pulling".

In your workflow you would have a daemon watching your folder and on change trigger the xquery script to push content into xml elements.

Python elementtree will also do this.
80
Scripts and Plugins / Re: Hot folder script
« Last post by ScripterBoy on September 07, 2018, 06:20:27 pm »
As you can see, this is just a simple code for getting current directory contents, and then put this contents into a textframe called c1.

openDoc("c:/users/one/Desktop/tt.sla")
cad=''
for x in os.listdir('.'):
   cad=cad+x

insertText(cad,0,"c1")

But what I get on console, when I try running this is

NameError: name 'os' is not defined
Pages: 1 2 3 4 5 6 7 [8] 9 10
palmate