Posted: Fri 11 May 2018, 19:20 Post subject:
Re: wasn't previously a problem, but now unlabled html files areSubject description: being seen (at least some of the time) as plain text files...

edited/improved 5/13:

Quote:

script and vtg sheet above apparently need the files made marked as html for some of the browsers at least some of the time, so i'll reup the two files from above with the fixes. to do it manually (if you've noticed the content is suddenly not editable), it's a bunch of swap and replaces...end lines (\n) for .html\n
...and [fontname][space]...---be back in a bit. sorry for the inconvenience.

---
here's the first bit:

Code:

[...]

[...]

Quote:

to do it manually (if you've noticed the content is suddenly not editable), it's a bunch of swap and replaces...end lines (\n) for .html\n
...and [fontname][space]...

for the first chunk, that was accurate except for an extend select and typing of .html to get at some text that was nicely aligned to begin with. in the second chunk i had to do the same thing but there was more of it and the pieces not nicely aligned, so i had to substitute space for line break, line break for .html plus line break, and then swap back out the line breaks for spaces.

...which reminds me--if you don't make the "\n" in the vtg sheet "\\n" (i.e. "escape it")it will break the line and remove itself from the text displayed.

___
(oops. double post. sorry again)

but here's some knowledge/insight gained:

Quote:

(and if i slowed down my efforts to edit the vtg file as fast as possible, i probably would've seen i could've just substituted " " for ".html ", but what can ya do)).

not only a double post, but the now removed (from this post at least) script and vtg sheet were a little more messed up than i was expecting (and the fix made it worse and i ended up stepping off for a bit).

i like terminal dump updates better than pets generally, at least for my own stuff (just grabbed the icon for the pet i'm about to post by running "bwp-mc" through some code on the mcc page (thanks again to technosaurus), but this one passed the point of convenience after the fourth run through and fail, so i made it a pet.

anyway, this pet does what the original (and previous) post failed to do:

ignore the bit on the previous page--i'll post the bwpt mcbwpter was supposed to have made (and which you can mod to replace the new/working bwpt). some of the original file (still messed up and still available a post back) got moved to the pinstall script, which i'll post (copying out of the templates folder doesn't seem to work for some reason, but copying into it from the bwp1 directory that got made into it is just a few steps and you can better choose which templates become most easily accessible yourself that way).

bwpt in terminal make a bwpt1 folder in that directory (`/~ key opens the terminal in a given directory). if you're doing it from the general/main terminal, cd to the directory, then "bwpt."

<p style="margin-bottom: 0in; line-height: 150%" align="right">right aligned<br><br></p>
<p style="margin-bottom: 0in; line-height: 150%" align="justify"><br><br>document as a whole is justified--delete the areas you don\'t need, copy and paste those you do where you need them. to use this document as a word processor (mini-bwp), open and bookmark it in a browser, download a copy to reopen as your working document, keeping the original to grab formatting from and mess around in. download/save as pdf (print menu) or html (file menu--html will let you use the browser (or a text editor--faster saves and you can change the names in the tabs, but it \'s less intuitive overall) for further edits). <br><br>
<br>(Untitled 1 and 2 from the bwp have been upgraded and/or spun off from the bwp as the bwp2 and/or the mini-bwp/bwp-mini. as with the original (and bbwp before it), paste in formatting, links and other content. download to save. ctrl a,c,v,x,y,z and a few other keyboard shortcuts work in most browsers. link below can be deleted like any other text; use text editor view to paste in links to your files (tables of contents, etc)).<br><br>
p. dogfellow, 5/4/18<br>
<br>
<br>
<br>for more, see bbwp updated as bwp:<br>
<a href="http:///murga-linux.com/puppy/viewtopic.php?p=990597#990597" target="_blank">http://http://murga-linux.com/puppy/viewtopic.php?p=990597#990597</a><br>
<!--use file:/// for your files (for tables of contents, long term convenience, etc) and http:// for websites (second occurence of path above is text that shows--could be anything, but use &gt: &lt; to >< in plain text mode outside the comments (you can paste them into the browser view as you\'d expect with a regular word processor, but it won\'t work in straight up html mode.)-->

this is another comment. you can have as many as you like and they can go on indefinitely.
(you can type here and paste into browser view for the faster saves and more natural typing environment, but remember to keep track of your reloads and refreshes as well as your saves so you don\'t end up undoing what you\'ve done)
-->

<!-- get rid of the html in the title if the text editor has color coding for code and you find it annoying

alter this document as a new base template and/or make copies for backup. search and swap/find and replace 150 for 200 or 100 to change spacing from 1.5 to 2 or 1. do the same with serif to change font (mono and sans are two that work in testing).
-->

see the commented out bits (they\'ll be between arrows like these) in text editor mode for more tips (they\'re not visible in browser mode. change the name that appears in the tab and the internal document name while you\'re there).
<br>

to focus more on browser use than text editor mode, make a copy of the appropriate template and rename it as your working document. open both with a browser and bookmark. reload the template if you\'ve made a mess of the formatting or preferred the way it was before you started to get the hang of things.
<br>--&gt;
<span style="font-size: 12pt; color:black; font-weight:normal; font-family: serif">
12 point serif

(file is based around a convenience made for geany as it's set up in puppy linux. if you haven't got the vtg or know the deal about the cauliflowers machue, you can make desktop files or terminal dumps from the stuff. substitute anything that can open plain text files for the geany and leafpad bit. at present (5/12/18), the browser based word processor still needs a text editor (or text editor function--the bwp series uses a text box for it, but text editors are quicker and have advantages in addition to the those highlighted below) to manually force page breaks, change the tab tag, and enter a tab space with the tab key.)

right click or ctrl+shift+o in geany to use this document as a set of links/table of contents.

(highlight groups of files and paste in their paths, use space (literally type a space--i don't know off hand the regex for space...\s?...and substitute it with a
in the find and replace boxes to swap what you get so it looks like the leafpad arrangement above (i used extend select and typed leafpad after that). most programs will respond to vtging the way the selection deposits it in a file (space rather than line delimited. i.e. usually selecting, middle clicking, and then adding the program followed by a space at the beginning of the line is enough "programming"/arranging of text.

---vtg---

to vtg bwp1s about, substitute path in line below:

cd /path/to/dir; bwpt

more: http://murga-linux.com/puppy/viewtopic.php?p=991583#991583

---mcc---
http://murga-linux.com/puppy/viewtopic.php?p=884162#884162

mkdir -p /file/bwp1/

cp -au /root/my-applications/mc/bwp1/ /file/bwp1/

^upcoming nwp shortcuts or overwrites. arc and ark are duplicates, so the above will likely end up as ark next pet or update (leaving arc as backup/archive default for bbwp)(this is the bwp)(or one of 12 versions of thiswordprocessor.html/wordprocessor.html)

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum