Re: Encoding question

2018-09-16 Thread Tom Robinson
Hi Marek, the encoding at the bottom of the window changes the document after 
it’s already been read into memory (using the wrong encoding).

You want to click Options in the open dialog, or use File > Reopen Using 
Encoding.

Cheers


> On 2018-09-17, at 01:51, Marek Stepanek  wrote:
> 
> 
> Hello all BBEditors!
> 
> 
> I thought that we have no encoding problems, since everybody moved to UTF-8.
> 
> But opening the file:
> 
> /usr/local/texlive/2018/texmf-dist/doc/latex/koma-script-examples/Kapitel-11/source/scrjuraexample.tex
> 
> there is crap in the file:
> 
> ‰ for ä
> ¸ for ü
> 
> 
> etc
> 
> Everybody having installed the full LaTeX with TexLive may reproduce it
> and open this file.
> 
> The command "file scrjuraexample.tex" in the shell gives for this file:
> 
> LaTeX 2e document text, ISO-8859 text
> 
> BBEdit opens this file automatically with "Western (Mac OS Roman)". So I
> try to change the encoding to :
> 
> ISO latin 1
> Western Windows
> 
> etc in the window bottom.
> 
> Nothing works. Any ideas?
> 
> 
> 
> best greetings
> 
> 
> marek

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Encoding question

2018-09-16 Thread Herbert Schulz
> On Sep 16, 2018, at 8:51 AM, Marek Stepanek  
> wrote:
> 
> 
> Hello all BBEditors!
> 
> 
> I thought that we have no encoding problems, since everybody moved to UTF-8.
> 
> But opening the file:
> 
> /usr/local/texlive/2018/texmf-dist/doc/latex/koma-script-examples/Kapitel-11/source/scrjuraexample.tex
> 
> there is crap in the file:
> 
> ‰ for ä
> ¸ for ü
> 
> 
> etc
> 
> Everybody having installed the full LaTeX with TexLive may reproduce it
> and open this file.
> 
> The command "file scrjuraexample.tex" in the shell gives for this file:
> 
> LaTeX 2e document text, ISO-8859 text
> 
> BBEdit opens this file automatically with "Western (Mac OS Roman)". So I
> try to change the encoding to :
> 
> ISO latin 1
> Western Windows
> 
> etc in the window bottom.
> 
> Nothing works. Any ideas?
> 
> 
> 
> best greetings
> 
> 
> marek

Howdy,

Does the file have a line to use the inputenc package? If so, what option does 
it use?

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)


-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Changing color of text enclosed in {braces} (possibly by changing "" to "{}")

2018-09-16 Thread David Donachie
I had the same sort of requirement recently, and made a codeless language 
module for it.

The good news is that you can, with only a bit of XML, get yourself some 
coloured comments. The bad news is that you have to use a custom file type, and 
if you are using Markdown then you probably want to be using the Markdown file 
type.

Also codeless langauge modules have other restrictions, like not being able to 
do folding ... which was a pain for me, but maybe not for you?

David

> On 16 Sep 2018, at 15:56, Jason Stavers  wrote:
> 
> In my writing, I use {braces} to enclose comments to myself, similar to 
> comments in programming code.  I would like those comments to appear in a 
> different color (specifically light green) on my display.  I don't care about 
> suppressing them or how they are treated by BBEdit syntax or spell check.  I 
> just want them to be a different color.  
> 
> I know that I can use "" to identify comments already, and that 
> would work great except I already have a large library of text files that use 
> {braces} for this purpose, and I have been doing it this way for years.  
> Also, I cannot figure out where in the preferences to change the blue color 
> that  This is the BBEdit Talk public discussion group. If you have a 
> feature request or need technical support, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter:  >
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com 
> .
> To post to this group, send email to bbedit@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/bbedit 
> .

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Encoding question

2018-09-16 Thread Marek Stepanek


Hello all BBEditors!


I thought that we have no encoding problems, since everybody moved to UTF-8.

But opening the file:

/usr/local/texlive/2018/texmf-dist/doc/latex/koma-script-examples/Kapitel-11/source/scrjuraexample.tex

there is crap in the file:

‰ for ä
¸ for ü


etc

Everybody having installed the full LaTeX with TexLive may reproduce it
and open this file.

The command "file scrjuraexample.tex" in the shell gives for this file:

LaTeX 2e document text, ISO-8859 text

BBEdit opens this file automatically with "Western (Mac OS Roman)". So I
try to change the encoding to :

ISO latin 1
Western Windows

etc in the window bottom.

Nothing works. Any ideas?



best greetings


marek

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Changing color of text enclosed in {braces} (possibly by changing "" to "{}")

2018-09-16 Thread Jason Stavers
In my writing, I use {braces} to enclose comments to myself, similar to 
comments in programming code.  I would like those comments to appear in a 
different color (specifically light green) on my display.  I don't care 
about suppressing them or how they are treated by BBEdit syntax or spell 
check.  I just want them to be a different color.  

I know that I can use "" to identify comments already, and that 
would work great except I already have a large library of text files that 
use {braces} for this purpose, and I have been doing it this way for years. 
 Also, I cannot figure out where in the preferences to change the blue 
color that