Code: Select all
| Personal | Work |
| :---------------- | :--------------- |
|first row, first column|first row, second column
|second row, first column|second row, second column
|third row, first column|third row, second column
Code: Select all
| Personal | Work |
| :---------------- | :--------------- |
|first row, first column|first row, second column
|second row, first column|second row, second column
|third row, first column|third row, second column
Thanks B.K - what would the output look like once printed? Wouldn't it just be a single document in portrait mode? The ability to edit different parts of the document is good - but i also need to see the two different lists displayed visually next to each other once printed as landscape.B.K. Johnson wrote:@greengeek
Try Geany as Semme suggested. You'll find it is what you want.
Here are 3 screenshots
original text > 450 lines
Text in 2 panels after Tools > Split Window >Side by side
Text in 2 panels after scrolling only right panel
To revert: Tools >Split window > unsplit
Ok, i get what you mean. The problem occurred because I hit the enter key in order to create a line wrap when editing column one. Instead of doing that I would have to be strict about keeping the pipe characters where they are. i will have to test this more and see how the onscreen wrapping works with longer text entries.fredx181 wrote:Hi greengeek, not sure what's the problem exactly, if you separate the text from first and second column with a "|" it should be fine.
FredCode: Select all
| Personal | Work | | :---------------- | :--------------- | |first row, first column|first row, second column |second row, first column|second row, second column |third row, first column|third row, second column
I didn't try such long text and wrapping, but how you did looks OK to me, maybe you can find more about markdown tables, e.g. see here:greengeek wrote: i will have to test this more and see how the onscreen wrapping works with longer text entries.
Aha, yes, I see what you mean, don't know if possible with markdown.I am aiming to use up as much of the A4 landscape real estate as possible, without wasted vertical space:
Hi.greengeek wrote:You're spoiling me musher0!musher0 wrote:I don't know how you use your TO-DO list for the day, and it's not my place to recommend anything about it. But If you wish, you can link this little script as the last item in /root/Startup, and your TO-DO list will be ready for you to fill out every morning when you boot up your Puppy..
I like the idea of the list popping up as soon as i boot my PC - that's a nice touch.
I didnt initially want to use anything other than leafpad, but the reality seems to be i need to broaden my horizons. Gnumeric may have potential if I can get past the problem with cells hiding the data in adjacent cells.
Is there an adjustable "word wrap" or "character wrap" for spreadsheet cells?
Code: Select all
#!/bin/ash
# /root/my-applications/bin/to-do-greengeek.sh
####
DiR=/root/my-documents/my-TO-DOs
mkdir -p $DiR # Non squishing creation of dir.
cd $DiR
if [ "`ls *.gnumeric`" != "" ];then
gnumeric `ls -t *.gnumeric | head -1` 2>/dev/null
# We load the latest gnumeric file in the directory
# if there is one, OR
else
# we create one.
l="-----------"
line () { echo "$l,$l" >> $DiR/to-do.csv; }
date '+%c' > $DiR/to-do.csv
echo ".
WORK,PERSONAL" >> $DiR/to-do.csv
line
for i in 1 2 3 4 5;do
echo "$i),$i)" >> $DiR/to-do.csv
done
line
echo NOTES >> $DiR/to-do.csv
gnumeric to-do.csv 2>/dev/null
fi
Thanks - i also found a tutorial that said to doubleclick the column separator on the top line of the spreadsheet. This worked to force gnumeric to display the full width contents of the cell.musher0 wrote:To widen a column in gnumeric, just put your cursor on the column separator between A and B, and move it to the right.
You're right. Printing isn't possible. Scratch the suggestion.Thanks B.K - what would the output look like once printed? Wouldn't it just be a single document in portrait mode? The ability to edit different parts of the document is good - but i also need to see the two different lists displayed visually next to each other once printed as landscape.
Well, you've prompted me to have another crack with a WP and it seems that having ONE row may be the answer. That way the bigger column (either Work or Personal) grows as the items increase, and the other column can be as full or empty as required. The two columns don't try to keep step the way they did originally where I had one row for each new item.musher0 wrote:How about trying with two rows instead of two columns?
That just has to be feasible in a word processor.
Code: Select all
#!/bin/bash
# /usr/local/bin/2cols-todo-gg.sh
# For greengeek (PuppyLinux forum)
# http://murga-linux.com/puppy/viewtopic.php?t=115747&start=30
# (c) musher0, April 20th 2019. GPL3.
####
DATE="`date '+%y-%m-%d'`"
TODO="/root/my-documents/2cols-todo-gg.$DATE"
# We specify the date as the file ending, to keep these
# files sorted in chronological order in ~/my-documents
if [ ! -f $TODO ];then # If file exists, we do not redo it.
date '+%c' > $TODO # We include today's date.
# We create the frame.
echo "
WORK | PERSONAL
____________________________________|________________________________" >> $TODO
j="1"
for i in `seq 9`;do
SprtR=" $j - | $j -"
echo "$SprtR" >> $TODO
j="`expr $j + 1 `"
done
echo -e "\e[1A"
echo "_____________________________________________________________________
NOTES
" >> $TODO
fi
# We open the file in a new instance of Geany to NOT interfere
# with other editing work that you may be working on.
geany -i $TODO
zip -9 -q $TODO.zip $TODO # We make a quiet back-up.
# end #
Merci bien musher0! Mais je ne comprend pas " type your text in the WORK column with Insert OFF." Explique si'l vous plait?musher0 wrote:Remember to type your text in the WORK column with Insert OFF. Other-wise, the separator won't stay put. I think that would be a minor incon-venience, since the other solutions you tried seemed unsatisfactory.
Typing in the PERSONAL column, however, insert or squish text as you like, it will not matter.
!
Dillinger doesn't, but I think an improvement would be to add 2 lines to the exported styled html after <table class=... so becomes:What would be great is if Dillinger had the ability to format the lists as a very basic two column display without the excessive whitespace.
Code: Select all
<table class="table table-striped table-bordered">
<col width="50%">
<col width="50%">
Where would i be putting this code please? I can't see an existing "<table class" definition anywhere.fredx181 wrote:but I think an improvement would be to add 2 lines to the exported styled html after <table class=... so becomes:Then column width is 50/50Code: Select all
<table class="table table-striped table-bordered"> <col width="50%"> <col width="50%">