Comments (32)
Please, give me some feedback about this function.
from sci-corpus.
You don't connect the button with the functionality. How can you call the function, how can we use?
Please, add the dependence in the list of dependencies.
from sci-corpus.
Do what you do to export in xml, json or csv but now you can export to pdf
as well.
Yeah, I forgot to put reportlab in the dependences! I'll do soon.
On Tue, May 13, 2014 at 2:22 PM, Daniel Pizetta [email protected]:
You don't connect the button with the functionality. How can you call the
function, how can we use?Please, add the dependence in the list of dependencies.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/42#issuecomment-42985083
.
Tiago de Campos
----------------------------------------------------------
Skype: tiagocampo1
https://www.facebook.com/tiagodecampo
from sci-corpus.
But we have a print to pdf button!
On Tue, May 13, 2014 at 2:35 PM, tiagocampo [email protected]:
Do what you do to export in xml, json or csv but now you can export to pdf
as well.Yeah, I forgot to put reportlab in the dependences! I'll do soon.
On Tue, May 13, 2014 at 2:22 PM, Daniel Pizetta [email protected]:
You don't connect the button with the functionality. How can you call
the
function, how can we use?Please, add the dependence in the list of dependencies.
Reply to this email directly or view it on GitHub<
https://github.com/zericardo182/sci-corpus/issues/42#issuecomment-42985083>.
Tiago de Campos
Skype: tiagocampo1
https://www.facebook.com/tiagodecampoReply to this email directly or view it on GitHubhttps://github.com//issues/42#issuecomment-42986788
.
from sci-corpus.
I didnt know that! hahaha
On Tue, May 13, 2014 at 2:37 PM, Daniel Pizetta [email protected]:
But we have a print to pdf button!
On Tue, May 13, 2014 at 2:35 PM, tiagocampo <[email protected]
wrote:
Do what you do to export in xml, json or csv but now you can export to
as well.Yeah, I forgot to put reportlab in the dependences! I'll do soon.
On Tue, May 13, 2014 at 2:22 PM, Daniel Pizetta <
[email protected]>wrote:You don't connect the button with the functionality. How can you call
the
function, how can we use?Please, add the dependence in the list of dependencies.
Reply to this email directly or view it on GitHub<
.
Tiago de Campos
Skype: tiagocampo1
https://www.facebook.com/tiagodecampoReply to this email directly or view it on GitHub<
#42 (comment).
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/42#issuecomment-42987001
.
Tiago de Campos
----------------------------------------------------------
Skype: tiagocampo1
https://www.facebook.com/tiagodecampo
from sci-corpus.
Very nice :) May we can use something like this...just past as a parameter this variables in pdf function.
And we need to add a little image, sci corpus logo on footer.
from sci-corpus.
I forgot! The first page should be the cover, with title, authors' name and a description - that we can insert class name and professor, all centralized. Just pass those parameters for me in the function and see how to put the number of the pages. :) Good job :)
from sci-corpus.
I just need to know how to create separated pages, uaheuahe.
Yes, these are all the parameters that we will need.
On Tue, May 13, 2014 at 3:55 PM, Daniel Pizetta [email protected]:
I forgot! The first page should be the cover, with title, authors' name
and a description - that we can insert class name and professor, all
centralized. Just pass those parameters for me in the function and see how
to put the number of the pages. :) Good job :)—
Reply to this email directly or view it on GitHubhttps://github.com//issues/42#issuecomment-42996918
.
Tiago de Campos
----------------------------------------------------------
Skype: tiagocampo1
https://www.facebook.com/tiagodecampo
from sci-corpus.
I implemented the dialog, its working, it needs some adaptation from exportToPDF function to receive titlle, description and author's name. To see how you get this information, see ACCEPT function in pdf_dlg.py file. I'm writting all those parameters in preferences, so you just need to know the keys.
I remove page numbers, its better always have. Font and size maybe not work at this moment because of the available ones in report lab, we need to talk.
from sci-corpus.
We need to think about functionality, the class concept is not correct at all. Its too confusing.
from sci-corpus.
http://www.reportlab.com/docs/platypus-example.py
Please dont change until we talk about it.
from sci-corpus.
Actually, this code is more similar to ours:
http://code.activestate.com/recipes/123612-basedoctemplate-with-2-pagetemplate/
On Tue, May 20, 2014 at 8:07 PM, Daniel Pizetta [email protected]:
http://www.reportlab.com/docs/platypus-example.py
Please dont change until we talk about it.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/42#issuecomment-43694706
.
Tiago de Campos
----------------------------------------------------------
Skype: tiagocampo1
https://www.facebook.com/tiagodecampo
from sci-corpus.
More exemples...
http://www.reportlab.com/snippets/13/
from sci-corpus.
Yes, this example is what I use. Note the class definition!
On Wed, May 21, 2014 at 5:43 PM, Daniel Pizetta [email protected]:
More exemples...
http://www.reportlab.com/snippets/13/—
Reply to this email directly or view it on GitHubhttps://github.com//issues/42#issuecomment-43811279
.
Tiago de Campos
----------------------------------------------------------
Skype: tiagocampo1
https://www.facebook.com/tiagodecampo
from sci-corpus.
Still need to remove the italic and fix the font size.
from sci-corpus.
Table of contents aren't showing the pages and the dots...
from sci-corpus.
I removed the page number from table of contents. And I dont understand what you mean with dots
from sci-corpus.
The table of contents used to be like this:
1.1 Abstract .................................. 12
And now is like that
1.1 Abstract
Without page number and dots...
On Fri, Jun 6, 2014 at 3:56 PM, tiagocampo [email protected] wrote:
I removed the page number from table of contents. And I dont understand
what you mean with dotsReply to this email directly or view it on GitHub
#42 (comment)
.
from sci-corpus.
In my computer is fine. Its shows the dots and the page number.
Actually, i thought that the page number that you are talking where the
number in the bottom left corner.
On Fri, Jun 6, 2014 at 4:03 PM, Daniel Pizetta [email protected]
wrote:
The table of contents used to be like this:
1.1 Abstract .................................. 12
And now is like that
1.1 Abstract
Without page number and dots...
On Fri, Jun 6, 2014 at 3:56 PM, tiagocampo [email protected]
wrote:I removed the page number from table of contents. And I dont understand
what you mean with dotsReply to this email directly or view it on GitHub
<
#42 (comment).
—
Reply to this email directly or view it on GitHub
#42 (comment)
.
Tiago de Campos
from sci-corpus.
I just test the TOC and its working!
from sci-corpus.
Another error: export with font Helvetica, use DIM option, size 12.
Traceback (most recent call last):
File "build/bdist.linux-i686/egg/sci_corpus/sci_corpus_main.py", line 829, in printFile
File "build/bdist.linux-i686/egg/sci_corpus/pdf_writer.py", line 216, in exportToPDF
File "/usr/lib/python2.7/dist-packages/reportlab/lib/styles.py", line 209, in add
raise KeyError("Style '%s' already defined in stylesheet" % key)
KeyError: "Style 'phrase_base' already defined in stylesheet"
from sci-corpus.
It generates this error in any configuration of font, size or dim/replace. Bus just after the second export.
MAGIC>
from sci-corpus.
You cause this error when trying to change the font configuration right?
If so, I think I know how to correct this error!
On Fri, Jun 6, 2014 at 5:19 PM, Daniel Pizetta [email protected]
wrote:
It generates this error in any configuration of font, size or dim/replace.
Bus just after the second export.MAGIC>
—
Reply to this email directly or view it on GitHub
#42 (comment)
.
Tiago de Campos
from sci-corpus.
WHen you export a pdf file with the option dim marked, you need to see the parameter in preferences called 'replace where', if is inside markers it means that the text inside the markers need to be dim. Now it works oposite. I think you program it thinking on your example, and it works, but needs to be general and the parameter replace where is for that :)
from sci-corpus.
When we use 'replace' it works, but dim doesn't.
from sci-corpus.
I will look
Em 15/06/2014 15:05, "Daniel Pizetta" [email protected] escreveu:
When we use 'replace' it works, but dim doesn't.
—
Reply to this email directly or view it on GitHub
#42 (comment)
.
from sci-corpus.
The problem is:
To make the text be bold, it has to begin with "< b >" and end with "< / b >". The function adjustSentence is not implemented to support different begin/end markers. I will not implement this functionality!
This is not an error or a bug in the exportPDF module, you should open another issue to treat this problem. Thanks
from sci-corpus.
The function adjustSentece (from Ze) deal with any kind of markers, inside
or outside.
If you mark the option in pdf export to dim and it was marked replace
inside markers must be dimmed the part outside, because dim has an opposite
functionality from replace!
So if it not working like that, this is a problem in export pdf.
On Mon, Jun 16, 2014 at 10:59 AM, tiagocampo [email protected]
wrote:
Reply to this email directly or view it on GitHub
#42 (comment).
from sci-corpus.
To make the text be bold, it has to begin with "< b >" and end with "< / b >" : You just need to change where you put this, and change the name from interface for BOLD not DIM, in this case.
from sci-corpus.
If you alheary have the solution in your mind, IMPLEMENT IT.
I will not mess with adjustSentence. My part of the deal was to implement
the exporttoPDF module. This module is working WITHOUT BUGS. The miss
behavior are in the interface with another function that is not my
jurisdiction.
On Mon, Jun 16, 2014 at 11:09 AM, Daniel Pizetta [email protected]
wrote:
To make the text be bold, it has to begin with "< b >" and end with "< / b
" : You just need to change where you put this, and change the name from
interface for BOLD not DIM, in this case.—
Reply to this email directly or view it on GitHub
#42 (comment)
.
Tiago de Campos
from sci-corpus.
I dont want to implement, I was explaining because I will implement all the
other ones that I put. We need to divide the tasks. And since the beggining
it was DIM not BOLD.
On Mon, Jun 16, 2014 at 11:13 AM, tiagocampo [email protected]
wrote:
If you alheary have the solution in your mind, IMPLEMENT IT.
I will not mess with adjustSentence. My part of the deal was to implement
the exporttoPDF module. This module is working WITHOUT BUGS. The miss
behavior are in the interface with another function that is not my
jurisdiction.On Mon, Jun 16, 2014 at 11:09 AM, Daniel Pizetta [email protected]
wrote:
To make the text be bold, it has to begin with "< b >" and end with "< /
b" : You just need to change where you put this, and change the name
from
interface for BOLD not DIM, in this case.Reply to this email directly or view it on GitHub
<
https://github.com/zericardo182/sci-corpus/issues/42#issuecomment-46182607>.
Tiago de Campos
Reply to this email directly or view it on GitHub
#42 (comment)
.
from sci-corpus.
Well,
DIM means lack of brightness. How you imagined the implementation ?
On Mon, Jun 16, 2014 at 11:30 AM, Daniel Pizetta [email protected]
wrote:
I dont want to implement, I was explaining because I will implement all the
other ones that I put. We need to divide the tasks. And since the beggining
it was DIM not BOLD.On Mon, Jun 16, 2014 at 11:13 AM, tiagocampo [email protected]
wrote:If you alheary have the solution in your mind, IMPLEMENT IT.
I will not mess with adjustSentence. My part of the deal was to implement
the exporttoPDF module. This module is working WITHOUT BUGS. The miss
behavior are in the interface with another function that is not my
jurisdiction.On Mon, Jun 16, 2014 at 11:09 AM, Daniel Pizetta <
[email protected]>wrote:
To make the text be bold, it has to begin with "< b >" and end with "<
/
b" : You just need to change where you put this, and change the name
from
interface for BOLD not DIM, in this case.Reply to this email directly or view it on GitHub
<.
Tiago de Campos
Reply to this email directly or view it on GitHub
<
#42 (comment).
—
Reply to this email directly or view it on GitHub
#42 (comment)
.
Tiago de Campos
from sci-corpus.
Related Issues (20)
- Better collor for selected categories
- Optional auto clear for reference field HOT 2
- Tools for text edit
- Shortcuts for actions
- Auto formatting text inside text edit
- Save as don't change the current file HOT 2
- Close and save, it rewrite the last path HOT 4
- Disable save after save it
- Auto save option
- Show error messages in log view and pop up if critical HOT 5
- Total number of section/component/strategy/sentence
- Printing empty categories in PDF export HOT 8
- Adjust sentence - dim and replace modes HOT 17
- Workspace dialog when first open software
- Internal doc and Wiki
- New fields for preferences and pdf - auto clear sentence/reference HOT 1
- Choose markers automatically HOT 2
- Two modes: writing and insertion
- Select categories to show in writing mode
- Keep the highlighted sentences on top
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sci-corpus.