Pharo-dev
By thread
pharo-dev@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- 4 participants
- 144623 messages
Re: [Pharo-project] Smalltalk syntax highlighting for Latex
by S Krish
Lyx works cross platform..
On Fri, Jun 15, 2012 at 2:26 PM, camille teruel <camille.teruel(a)gmail.com>wrote:
> +1 for lyx
>
>
> 2012/6/15 S Krish <krishnamachari.sudhakar(a)gmail.com>
>
>> Lyx on Linux helps on Latex formatting in a WYSIWYG mode..
>>
>>
>> On Fri, Jun 15, 2012 at 2:07 PM, Mariano Martinez Peck <
>> marianopeck(a)gmail.com> wrote:
>>
>>> Hi guys. I know that: a) for papers we usually write code in black and
>>> white and b) even when we may want colors like books or thesis, we still
>>> may not want to add colors.
>>> Anyway, for my thesis, I do want to make the code a little bit nicer and
>>> so I did some Smalltalk syntax highlighting with listings package. Not sure
>>> if this would be helpful for someone else, but just in case, I paste at the
>>> end the code.
>>> Basically, I can detect (and therefore, choose a color/style):
>>> globals/classes (start with uppercase), keywords, comments, strings,
>>> symbols and numbers.
>>> I also attach an screenshot.
>>>
>>> Cheers
>>>
>>> btw, thanks to Lukas and Luc for their help.
>>>
>>>
>>>
>>> % Source Code
>>> \usepackage{color}
>>> \usepackage{textcomp}
>>> \usepackage{listings}
>>> % \usepackage{needspace}
>>> % \usepackage{ulem}
>>>
>>> \definecolor{source}{gray}{0.95}
>>>
>>> % my comment style
>>> \newcommand{\myCommentStyle}[1]{{\footnotesize\ttfamily\itshape\color{gray!100!white}
>>> #1}}
>>>
>>> % my string style
>>> \newcommand{\myStringStyle}[1]{{\footnotesize\ttfamily\color{violet!100!black}
>>> #1}}
>>>
>>> % my symbol style
>>> \newcommand{\mySymbolStyle}[1]{{\footnotesize\ttfamily\color{violet!100!black}
>>> #1}}
>>>
>>> % my keyword style
>>> \newcommand{\myKeywordStyle}[1]{{\footnotesize\ttfamily\color{green!70!black}
>>> #1}}
>>>
>>> % my global style
>>> \newcommand{\myGlobalStyle}[1]{{\footnotesize\ttfamily\color{blue!100!black}
>>> #1}}
>>>
>>> % my number style
>>> \newcommand{\myNumberStyle}[1]{{\footnotesize\ttfamily\color{brown!100!black}
>>> #1}}
>>>
>>> \lstset{
>>> language={},
>>> % characters
>>> tabsize=3,
>>> escapechar={!},
>>> keepspaces=true,
>>> breaklines=true,
>>> alsoletter={\#},
>>> breakautoindent=true,
>>> columns=fullflexible,
>>> showstringspaces=false,
>>> % background
>>> frame=single,
>>> aboveskip=1em, % automatic space before
>>> framerule=0pt,
>>> basicstyle=\footnotesize\ttfamily\color{black},
>>> keywordstyle=\myKeywordStyle,% keyword style
>>> commentstyle=\myCommentStyle,% comment style
>>> frame=single,%
>>> backgroundcolor=\color{source},
>>> % numbering
>>> numbersep=5pt,
>>> numberstyle=\myNumberStyle,
>>> numberfirstline=true,
>>> % caption
>>> captionpos=b,
>>> % formatting (html)
>>> moredelim=[is][\textbf]{<b>}{</b>},
>>> moredelim=[is][\textit]{<i>}{</i>},
>>> moredelim=[is][\uline]{<u>}{</u>},
>>> moredelim=[is][\color{red}\uwave]{<wave>}{</wave>},
>>> moredelim=[is][\color{red}\sout]{<del>}{</del>},
>>> moredelim=[is][\color{blue}\uline]{<ins>}{</ins>},
>>> % smalltalk stuff
>>> morecomment=[s][\myCommentStyle]{"}{"},
>>> % morecomment=[s][\myvs]{|}{|},
>>> morestring=[b][\myStringStyle]',
>>> moredelim=[is][]{<sel>}{</sel>},
>>> moredelim=[is][]{<rcv>}{</rcv>},
>>> moredelim=[is][\itshape]{<symb>}{</symb>},
>>> moredelim=[is][\scshape]{<class>}{</class>},
>>> morekeywords={true,false,nil,self,super,thisContext},
>>> identifierstyle=\idstyle,
>>> }
>>>
>>>
>>> \makeatletter
>>> \newcommand*\idstyle[1]{%
>>> \expandafter\id@style\the\lst@token{#1}\relax%
>>> }
>>> \def\id@style#1#2\relax{%
>>> \ifnum\pdfstrcmp{#1}{\#}=0%
>>> % this is a symbol
>>> \mySymbolStyle{\the\lst@token}%
>>> \else%
>>> \edef\tempa{\uccode`#1}%
>>> \edef\tempb{`#1}%
>>> \ifnum\tempa=\tempb%
>>> % this is a global
>>> \myGlobalStyle{\the\lst@token}%
>>> \else%
>>> \the\lst@token%
>>> \fi%
>>> \fi%
>>> }
>>> \makeatother
>>>
>>>
>>> \lstset{literate=%
>>> *{0}{{{\myNumberStyle{0}}}}1
>>> {1}{{{\myNumberStyle{1}}}}1
>>> {2}{{{\myNumberStyle{2}}}}1
>>> {3}{{{\myNumberStyle{3}}}}1
>>> {4}{{{\myNumberStyle{4}}}}1
>>> {5}{{{\myNumberStyle{5}}}}1
>>> {6}{{{\myNumberStyle{6}}}}1
>>> {7}{{{\myNumberStyle{7}}}}1
>>> {8}{{{\myNumberStyle{8}}}}1
>>> {9}{{{\myNumberStyle{9}}}}1
>>> }
>>>
>>>
>>> %\newcommand{\ct}{\lstinline[backgroundcolor=\color{white}]}
>>> \newcommand{\needlines}[1]{\Needspace{#1\baselineskip}}
>>> \newcommand{\lct}{\texttt}
>>>
>>>
>>> \lstnewenvironment{code}{%
>>> \lstset{%
>>> % frame=lines,
>>> frame=single,
>>> framerule=0pt,
>>> mathescape=false
>>> }
>>> }{}
>>>
>>>
>>> \newenvironment{codeNonSmalltalk}
>>> {\begin{alltt}\sffamily}
>>> {\end{alltt}\normalsize}
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Mariano
>>> http://marianopeck.wordpress.com
>>>
>>>
>>
>
June 15, 2012
Re: [Pharo-project] Smalltalk syntax highlighting for Latex
by camille teruel
+1 for lyx
2012/6/15 S Krish <krishnamachari.sudhakar(a)gmail.com>
> Lyx on Linux helps on Latex formatting in a WYSIWYG mode..
>
>
> On Fri, Jun 15, 2012 at 2:07 PM, Mariano Martinez Peck <
> marianopeck(a)gmail.com> wrote:
>
>> Hi guys. I know that: a) for papers we usually write code in black and
>> white and b) even when we may want colors like books or thesis, we still
>> may not want to add colors.
>> Anyway, for my thesis, I do want to make the code a little bit nicer and
>> so I did some Smalltalk syntax highlighting with listings package. Not sure
>> if this would be helpful for someone else, but just in case, I paste at the
>> end the code.
>> Basically, I can detect (and therefore, choose a color/style):
>> globals/classes (start with uppercase), keywords, comments, strings,
>> symbols and numbers.
>> I also attach an screenshot.
>>
>> Cheers
>>
>> btw, thanks to Lukas and Luc for their help.
>>
>>
>>
>> % Source Code
>> \usepackage{color}
>> \usepackage{textcomp}
>> \usepackage{listings}
>> % \usepackage{needspace}
>> % \usepackage{ulem}
>>
>> \definecolor{source}{gray}{0.95}
>>
>> % my comment style
>> \newcommand{\myCommentStyle}[1]{{\footnotesize\ttfamily\itshape\color{gray!100!white}
>> #1}}
>>
>> % my string style
>> \newcommand{\myStringStyle}[1]{{\footnotesize\ttfamily\color{violet!100!black}
>> #1}}
>>
>> % my symbol style
>> \newcommand{\mySymbolStyle}[1]{{\footnotesize\ttfamily\color{violet!100!black}
>> #1}}
>>
>> % my keyword style
>> \newcommand{\myKeywordStyle}[1]{{\footnotesize\ttfamily\color{green!70!black}
>> #1}}
>>
>> % my global style
>> \newcommand{\myGlobalStyle}[1]{{\footnotesize\ttfamily\color{blue!100!black}
>> #1}}
>>
>> % my number style
>> \newcommand{\myNumberStyle}[1]{{\footnotesize\ttfamily\color{brown!100!black}
>> #1}}
>>
>> \lstset{
>> language={},
>> % characters
>> tabsize=3,
>> escapechar={!},
>> keepspaces=true,
>> breaklines=true,
>> alsoletter={\#},
>> breakautoindent=true,
>> columns=fullflexible,
>> showstringspaces=false,
>> % background
>> frame=single,
>> aboveskip=1em, % automatic space before
>> framerule=0pt,
>> basicstyle=\footnotesize\ttfamily\color{black},
>> keywordstyle=\myKeywordStyle,% keyword style
>> commentstyle=\myCommentStyle,% comment style
>> frame=single,%
>> backgroundcolor=\color{source},
>> % numbering
>> numbersep=5pt,
>> numberstyle=\myNumberStyle,
>> numberfirstline=true,
>> % caption
>> captionpos=b,
>> % formatting (html)
>> moredelim=[is][\textbf]{<b>}{</b>},
>> moredelim=[is][\textit]{<i>}{</i>},
>> moredelim=[is][\uline]{<u>}{</u>},
>> moredelim=[is][\color{red}\uwave]{<wave>}{</wave>},
>> moredelim=[is][\color{red}\sout]{<del>}{</del>},
>> moredelim=[is][\color{blue}\uline]{<ins>}{</ins>},
>> % smalltalk stuff
>> morecomment=[s][\myCommentStyle]{"}{"},
>> % morecomment=[s][\myvs]{|}{|},
>> morestring=[b][\myStringStyle]',
>> moredelim=[is][]{<sel>}{</sel>},
>> moredelim=[is][]{<rcv>}{</rcv>},
>> moredelim=[is][\itshape]{<symb>}{</symb>},
>> moredelim=[is][\scshape]{<class>}{</class>},
>> morekeywords={true,false,nil,self,super,thisContext},
>> identifierstyle=\idstyle,
>> }
>>
>>
>> \makeatletter
>> \newcommand*\idstyle[1]{%
>> \expandafter\id@style\the\lst@token{#1}\relax%
>> }
>> \def\id@style#1#2\relax{%
>> \ifnum\pdfstrcmp{#1}{\#}=0%
>> % this is a symbol
>> \mySymbolStyle{\the\lst@token}%
>> \else%
>> \edef\tempa{\uccode`#1}%
>> \edef\tempb{`#1}%
>> \ifnum\tempa=\tempb%
>> % this is a global
>> \myGlobalStyle{\the\lst@token}%
>> \else%
>> \the\lst@token%
>> \fi%
>> \fi%
>> }
>> \makeatother
>>
>>
>> \lstset{literate=%
>> *{0}{{{\myNumberStyle{0}}}}1
>> {1}{{{\myNumberStyle{1}}}}1
>> {2}{{{\myNumberStyle{2}}}}1
>> {3}{{{\myNumberStyle{3}}}}1
>> {4}{{{\myNumberStyle{4}}}}1
>> {5}{{{\myNumberStyle{5}}}}1
>> {6}{{{\myNumberStyle{6}}}}1
>> {7}{{{\myNumberStyle{7}}}}1
>> {8}{{{\myNumberStyle{8}}}}1
>> {9}{{{\myNumberStyle{9}}}}1
>> }
>>
>>
>> %\newcommand{\ct}{\lstinline[backgroundcolor=\color{white}]}
>> \newcommand{\needlines}[1]{\Needspace{#1\baselineskip}}
>> \newcommand{\lct}{\texttt}
>>
>>
>> \lstnewenvironment{code}{%
>> \lstset{%
>> % frame=lines,
>> frame=single,
>> framerule=0pt,
>> mathescape=false
>> }
>> }{}
>>
>>
>> \newenvironment{codeNonSmalltalk}
>> {\begin{alltt}\sffamily}
>> {\end{alltt}\normalsize}
>>
>>
>>
>>
>>
>> --
>> Mariano
>> http://marianopeck.wordpress.com
>>
>>
>
June 15, 2012
Re: [Pharo-project] Smalltalk syntax highlighting for Latex
by S Krish
Lyx on Linux helps on Latex formatting in a WYSIWYG mode..
On Fri, Jun 15, 2012 at 2:07 PM, Mariano Martinez Peck <
marianopeck(a)gmail.com> wrote:
> Hi guys. I know that: a) for papers we usually write code in black and
> white and b) even when we may want colors like books or thesis, we still
> may not want to add colors.
> Anyway, for my thesis, I do want to make the code a little bit nicer and
> so I did some Smalltalk syntax highlighting with listings package. Not sure
> if this would be helpful for someone else, but just in case, I paste at the
> end the code.
> Basically, I can detect (and therefore, choose a color/style):
> globals/classes (start with uppercase), keywords, comments, strings,
> symbols and numbers.
> I also attach an screenshot.
>
> Cheers
>
> btw, thanks to Lukas and Luc for their help.
>
>
>
> % Source Code
> \usepackage{color}
> \usepackage{textcomp}
> \usepackage{listings}
> % \usepackage{needspace}
> % \usepackage{ulem}
>
> \definecolor{source}{gray}{0.95}
>
> % my comment style
> \newcommand{\myCommentStyle}[1]{{\footnotesize\ttfamily\itshape\color{gray!100!white}
> #1}}
>
> % my string style
> \newcommand{\myStringStyle}[1]{{\footnotesize\ttfamily\color{violet!100!black}
> #1}}
>
> % my symbol style
> \newcommand{\mySymbolStyle}[1]{{\footnotesize\ttfamily\color{violet!100!black}
> #1}}
>
> % my keyword style
> \newcommand{\myKeywordStyle}[1]{{\footnotesize\ttfamily\color{green!70!black}
> #1}}
>
> % my global style
> \newcommand{\myGlobalStyle}[1]{{\footnotesize\ttfamily\color{blue!100!black}
> #1}}
>
> % my number style
> \newcommand{\myNumberStyle}[1]{{\footnotesize\ttfamily\color{brown!100!black}
> #1}}
>
> \lstset{
> language={},
> % characters
> tabsize=3,
> escapechar={!},
> keepspaces=true,
> breaklines=true,
> alsoletter={\#},
> breakautoindent=true,
> columns=fullflexible,
> showstringspaces=false,
> % background
> frame=single,
> aboveskip=1em, % automatic space before
> framerule=0pt,
> basicstyle=\footnotesize\ttfamily\color{black},
> keywordstyle=\myKeywordStyle,% keyword style
> commentstyle=\myCommentStyle,% comment style
> frame=single,%
> backgroundcolor=\color{source},
> % numbering
> numbersep=5pt,
> numberstyle=\myNumberStyle,
> numberfirstline=true,
> % caption
> captionpos=b,
> % formatting (html)
> moredelim=[is][\textbf]{<b>}{</b>},
> moredelim=[is][\textit]{<i>}{</i>},
> moredelim=[is][\uline]{<u>}{</u>},
> moredelim=[is][\color{red}\uwave]{<wave>}{</wave>},
> moredelim=[is][\color{red}\sout]{<del>}{</del>},
> moredelim=[is][\color{blue}\uline]{<ins>}{</ins>},
> % smalltalk stuff
> morecomment=[s][\myCommentStyle]{"}{"},
> % morecomment=[s][\myvs]{|}{|},
> morestring=[b][\myStringStyle]',
> moredelim=[is][]{<sel>}{</sel>},
> moredelim=[is][]{<rcv>}{</rcv>},
> moredelim=[is][\itshape]{<symb>}{</symb>},
> moredelim=[is][\scshape]{<class>}{</class>},
> morekeywords={true,false,nil,self,super,thisContext},
> identifierstyle=\idstyle,
> }
>
>
> \makeatletter
> \newcommand*\idstyle[1]{%
> \expandafter\id@style\the\lst@token{#1}\relax%
> }
> \def\id@style#1#2\relax{%
> \ifnum\pdfstrcmp{#1}{\#}=0%
> % this is a symbol
> \mySymbolStyle{\the\lst@token}%
> \else%
> \edef\tempa{\uccode`#1}%
> \edef\tempb{`#1}%
> \ifnum\tempa=\tempb%
> % this is a global
> \myGlobalStyle{\the\lst@token}%
> \else%
> \the\lst@token%
> \fi%
> \fi%
> }
> \makeatother
>
>
> \lstset{literate=%
> *{0}{{{\myNumberStyle{0}}}}1
> {1}{{{\myNumberStyle{1}}}}1
> {2}{{{\myNumberStyle{2}}}}1
> {3}{{{\myNumberStyle{3}}}}1
> {4}{{{\myNumberStyle{4}}}}1
> {5}{{{\myNumberStyle{5}}}}1
> {6}{{{\myNumberStyle{6}}}}1
> {7}{{{\myNumberStyle{7}}}}1
> {8}{{{\myNumberStyle{8}}}}1
> {9}{{{\myNumberStyle{9}}}}1
> }
>
>
> %\newcommand{\ct}{\lstinline[backgroundcolor=\color{white}]}
> \newcommand{\needlines}[1]{\Needspace{#1\baselineskip}}
> \newcommand{\lct}{\texttt}
>
>
> \lstnewenvironment{code}{%
> \lstset{%
> % frame=lines,
> frame=single,
> framerule=0pt,
> mathescape=false
> }
> }{}
>
>
> \newenvironment{codeNonSmalltalk}
> {\begin{alltt}\sffamily}
> {\end{alltt}\normalsize}
>
>
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>
June 15, 2012
[Pharo-project] Smalltalk syntax highlighting for Latex
by Mariano Martinez Peck
Hi guys. I know that: a) for papers we usually write code in black and
white and b) even when we may want colors like books or thesis, we still
may not want to add colors.
Anyway, for my thesis, I do want to make the code a little bit nicer and so
I did some Smalltalk syntax highlighting with listings package. Not sure if
this would be helpful for someone else, but just in case, I paste at the
end the code.
Basically, I can detect (and therefore, choose a color/style):
globals/classes (start with uppercase), keywords, comments, strings,
symbols and numbers.
I also attach an screenshot.
Cheers
btw, thanks to Lukas and Luc for their help.
% Source Code
\usepackage{color}
\usepackage{textcomp}
\usepackage{listings}
% \usepackage{needspace}
% \usepackage{ulem}
\definecolor{source}{gray}{0.95}
% my comment style
\newcommand{\myCommentStyle}[1]{{\footnotesize\ttfamily\itshape\color{gray!100!white}
#1}}
% my string style
\newcommand{\myStringStyle}[1]{{\footnotesize\ttfamily\color{violet!100!black}
#1}}
% my symbol style
\newcommand{\mySymbolStyle}[1]{{\footnotesize\ttfamily\color{violet!100!black}
#1}}
% my keyword style
\newcommand{\myKeywordStyle}[1]{{\footnotesize\ttfamily\color{green!70!black}
#1}}
% my global style
\newcommand{\myGlobalStyle}[1]{{\footnotesize\ttfamily\color{blue!100!black}
#1}}
% my number style
\newcommand{\myNumberStyle}[1]{{\footnotesize\ttfamily\color{brown!100!black}
#1}}
\lstset{
language={},
% characters
tabsize=3,
escapechar={!},
keepspaces=true,
breaklines=true,
alsoletter={\#},
breakautoindent=true,
columns=fullflexible,
showstringspaces=false,
% background
frame=single,
aboveskip=1em, % automatic space before
framerule=0pt,
basicstyle=\footnotesize\ttfamily\color{black},
keywordstyle=\myKeywordStyle,% keyword style
commentstyle=\myCommentStyle,% comment style
frame=single,%
backgroundcolor=\color{source},
% numbering
numbersep=5pt,
numberstyle=\myNumberStyle,
numberfirstline=true,
% caption
captionpos=b,
% formatting (html)
moredelim=[is][\textbf]{<b>}{</b>},
moredelim=[is][\textit]{<i>}{</i>},
moredelim=[is][\uline]{<u>}{</u>},
moredelim=[is][\color{red}\uwave]{<wave>}{</wave>},
moredelim=[is][\color{red}\sout]{<del>}{</del>},
moredelim=[is][\color{blue}\uline]{<ins>}{</ins>},
% smalltalk stuff
morecomment=[s][\myCommentStyle]{"}{"},
% morecomment=[s][\myvs]{|}{|},
morestring=[b][\myStringStyle]',
moredelim=[is][]{<sel>}{</sel>},
moredelim=[is][]{<rcv>}{</rcv>},
moredelim=[is][\itshape]{<symb>}{</symb>},
moredelim=[is][\scshape]{<class>}{</class>},
morekeywords={true,false,nil,self,super,thisContext},
identifierstyle=\idstyle,
}
\makeatletter
\newcommand*\idstyle[1]{%
\expandafter\id@style\the\lst@token{#1}\relax%
}
\def\id@style#1#2\relax{%
\ifnum\pdfstrcmp{#1}{\#}=0%
% this is a symbol
\mySymbolStyle{\the\lst@token}%
\else%
\edef\tempa{\uccode`#1}%
\edef\tempb{`#1}%
\ifnum\tempa=\tempb%
% this is a global
\myGlobalStyle{\the\lst@token}%
\else%
\the\lst@token%
\fi%
\fi%
}
\makeatother
\lstset{literate=%
*{0}{{{\myNumberStyle{0}}}}1
{1}{{{\myNumberStyle{1}}}}1
{2}{{{\myNumberStyle{2}}}}1
{3}{{{\myNumberStyle{3}}}}1
{4}{{{\myNumberStyle{4}}}}1
{5}{{{\myNumberStyle{5}}}}1
{6}{{{\myNumberStyle{6}}}}1
{7}{{{\myNumberStyle{7}}}}1
{8}{{{\myNumberStyle{8}}}}1
{9}{{{\myNumberStyle{9}}}}1
}
%\newcommand{\ct}{\lstinline[backgroundcolor=\color{white}]}
\newcommand{\needlines}[1]{\Needspace{#1\baselineskip}}
\newcommand{\lct}{\texttt}
\lstnewenvironment{code}{%
\lstset{%
% frame=lines,
frame=single,
framerule=0pt,
mathescape=false
}
}{}
\newenvironment{codeNonSmalltalk}
{\begin{alltt}\sffamily}
{\end{alltt}\normalsize}
--
Mariano
http://marianopeck.wordpress.com
June 15, 2012
Re: [Pharo-project] donating money
by Sven Van Caekenberghe
Stéphane,
This looks really great, we should move forward with this now that there is this positive momentum.
Here are some remarks:
- The individual levels, 40 and 99 seem right, are they yearly too ?
- I would give the individual levels more attractive names:
- Individual (Pharo Consortium) Member [ which would include students ]
- Professional (Individual) (Pharo Consortium) Member
- The bronze, silver, gold levels (1000, 2000 & 4000 yearly) without reference to company/organization size are great. I would not put in a separate line for institutions. Companies, organizations, institutions, research labs and universities should all be able to choose one of the 3 levels, depending on how important Pharo is for them or on how large their use of Pharo is. A small organization could be a gold member if they live or die with Pharo, a multinational could be a bronze member if they only have a small team using Pharo occasionally.
- The goodies/extras at the different levels seem about right.
- The license concept has a wrong, even dangerous name, maybe we could call it End User Support Contract ?
- The general day price of 800 sounds a bit high, 600 (75/h) seems a bit more acceptable (but even that is high in an international contest).
- The price for the job offering also seems quite high, it is a small community.
- Since we are talking about yearly subscriptions, we'll have to track start/stop intervals carefully since not every subscription will start/stop at the same time. It will be a challenge to properly represent this on the website.
Sven
On 14 Jun 2012, at 22:50, Stéphane Ducasse wrote:
> Hi cameron
>
> right now there is no simple way to give money to pharo but we are working on it. What is the amount that you have in mind.
> here is a sketch about what we are thinking after I gathered the ideas people mentioned during the pharo conference.
>
>
>
>
>
> Individus managed via the association
> =================
> - Supporter 40 Euros + cup/goody
> reduction at conference
>
> - Ambassador Supporter 99 Euros
> reduction at conferences + cup
>
> - Donation
>
> - Training sessions cheaper
>
> - Conference reduction
>
> managed by INRIA
> =========
>
> A company or an institution can be a consortium member:
>
> The annual fees are
> - Bronze 1000 Euros
> - Silver 2000 Euros
> - Gold 4000 Euros
>
> Institutions 1000 Euros
>
> Main advantages for members.
> ==========================
> Non individual members of the consortium get the following advantages:
> - privileged access to the core development team via a specific mailing-list
> pharo-core-team-for-members(a)lists.gforge.inria.fr
>
> - influence priorities of the next development. The member will be able to propose
> agenda point and items for the core team. They will be requested one month in
> advance before the annual committee meeting.
>
> - get access to privileged support
>
> - Bronze gets one day of support and platinum sponsor status.
>
> - Silver two days of support + one job description for job dashboard and platinum sponsor status.
>
> - Gold four days of support + 3 job description for job dashboard and platinum sponsor status.
>
> - Training special prices and possibility to become pharo trainer
> - Member can advertise themselves on the consortium web site
> - Member can also ask and pay for extra support days at 1000 Euros per day.
> - The consortium can provide access experts for certain tasks.
>
> Sponsoring
> =============
> normal 500 Euros
> platinium 1000 Euros
> - Sponsor will get their logos name exposed to the consortium web site.
> (the idea is that small companies can pay something)
>
>
> License 500 Euros
> =============
> - via a member a non member company can also ask and **pay** for extra support days at 800 Euros per day.
> - via a member a non member company can also get privileged access to core dev via a mailing-list.
> (the idea there is to make it like an insurance or a way to people to donate)
>
> Job offers dashboard
> =============
> External entities can post job offers to the consortium job offers for
> 1000 Euros for one job
> 2000 Euros for an undefined number
>
>
> Gouvernance: steering committee
>
> • A steering committee is composed of one representative of each member (except individuals)
>
> • The chairman of this committee will be Inria
>
> • Agenda : will be established by Inria on proposals of the members (the members will be queried a month in advance)
>
> • Meeting : at least once every year
>
> • Role :
> -Follow the execution of the PHARO R&D Team
> -Validate and give input about the task list
> -Identify members of the executing commitee
> -Prepare, organize conferences, seminars or other animations to promote PHARO and have new members
> -Revise the annual fee
> • Decisions making : after consultation and collect of representative member points of views, Inria takes the final decision.
>
>
> Technical Executing Committee (akaR&D task)
> •Members proposed by the steering board and RMOD Team
> •Study, analyse and validate external contributions for PHARO
> •Report to the steering commitee
> •Propose, schedule and implement tasks in conformance with the tasks list presented and approved the steering
> •Coordinate the release Pharo and its VMs
>
>
> Stef
>
>
>
>
>
>
>
> On Jun 14, 2012, at 9:34 PM, Cameron Sanders wrote:
>
>> I am under the impression that I can donate money to the Pharo group through gforge.inria.fr. Is it possible to donate with a credit card right through their website? If so, can you please share the link to that page? [My tired eyes are not seeing it today and my searches are failing too.] Thanks in advance.
>>
>> -Cam
>
>
June 15, 2012
[Pharo-project] flatten method is kind of broken
by Fabrizio Perin
Hi,
I need to flatten a collection which does not contain other collections
necessarily. The method flatten doesn't really work:
#(#(1 2) #(3 4)) flatten -> #(1 2 3 4) OK
#(#(1) #(2 3) #(#(4) 5) ) flatten -> #(1 2 3 #(4) 5) I would have expected
something like #(1 2 3 4 5)
#(1 2 3) flatten -> error
#(#(1) 2 3) flatten -> error
Is this the meant behavior for flatten? Any other method I could use
instead?
Thanks,
Fabrizio
June 15, 2012
[Pharo-project] Wrong message displayed during refactoring?
by Conrad Taylor
Hi, when I'm on the class side, the wrong message is being displayed when
trying to move a method. For example, I'm seeing the following:
Refactoring -> Move to class side
instead of
Refactoring -> Move to instance side
Also, I'm seeing the same thing when I'm on the instance side of a given
class. However, the functionality is correct.
--
*
*
*Think different and code well*,
-Conrad
June 15, 2012
Re: [Pharo-project] donating money
by Luc Fabresse
Hi Alex,
2012/6/15 Alexandre Bergel <alexandre.bergel(a)me.com>
> By the way, could this donation be included in the ESUG registration?
>
no.
ESUG and Pharo are completly distinct.
> Can I fix myself the amount of money I am willing to give?
>
For individuals, Stef spoke about two donation levels but if donation is
achieved through a paypal account or so, you will be able to choose the
amount.
Cheers,
Luc
>
> Cheers,
> Alexandre
>
>
> On Jun 15, 2012, at 4:50 AM, Stéphane Ducasse wrote:
>
> > Hi cameron
> >
> > right now there is no simple way to give money to pharo but we are
> working on it. What is the amount that you have in mind.
> > here is a sketch about what we are thinking after I gathered the ideas
> people mentioned during the pharo conference.
> >
> >
> >
> >
> >
> > Individus managed via the association
> > =================
> > - Supporter 40 Euros + cup/goody
> > reduction at conference
> >
> > - Ambassador Supporter 99 Euros
> > reduction at conferences + cup
> >
> > - Donation
> >
> > - Training sessions cheaper
> >
> > - Conference reduction
> >
> > managed by INRIA
> > =========
> >
> > A company or an institution can be a consortium member:
> >
> > The annual fees are
> > - Bronze 1000 Euros
> > - Silver 2000 Euros
> > - Gold 4000 Euros
> >
> > Institutions 1000 Euros
> >
> > Main advantages for members.
> > ==========================
> > Non individual members of the consortium get the following advantages:
> > - privileged access to the core development team via a specific
> mailing-list
> > pharo-core-team-for-members(a)lists.gforge.inria.fr
> >
> > - influence priorities of the next development. The member will be
> able to propose
> > agenda point and items for the core team. They will be requested
> one month in
> > advance before the annual committee meeting.
> >
> > - get access to privileged support
> >
> > - Bronze gets one day of support and platinum sponsor
> status.
> >
> > - Silver two days of support + one job description for job
> dashboard and platinum sponsor status.
> >
> > - Gold four days of support + 3 job description for job
> dashboard and platinum sponsor status.
> >
> > - Training special prices and possibility to become pharo trainer
> > - Member can advertise themselves on the consortium web site
> > - Member can also ask and pay for extra support days at 1000 Euros
> per day.
> > - The consortium can provide access experts for certain tasks.
> >
> > Sponsoring
> > =============
> > normal 500 Euros
> > platinium 1000 Euros
> > - Sponsor will get their logos name exposed to the consortium web
> site.
> > (the idea is that small companies can pay something)
> >
> >
> > License 500 Euros
> > =============
> > - via a member a non member company can also ask
> and **pay** for extra support days at 800 Euros per day.
> > - via a member a non member company can also get
> privileged access to core dev via a mailing-list.
> > (the idea there is to make it like an insurance or a way
> to people to donate)
> >
> > Job offers dashboard
> > =============
> > External entities can post job offers to the consortium job offers for
> > 1000 Euros for one job
> > 2000 Euros for an undefined number
> >
> >
> > Gouvernance: steering committee
> >
> > • A steering committee is composed of one representative of each
> member (except individuals)
> >
> > • The chairman of this committee will be Inria
> >
> > • Agenda : will be established by Inria on proposals of the
> members (the members will be queried a month in advance)
> >
> > • Meeting : at least once every year
> >
> > • Role :
> > -Follow the execution of the PHARO R&D Team
> > -Validate and give input about the task list
> > -Identify members of the executing commitee
> > -Prepare, organize conferences, seminars or other
> animations to promote PHARO and have new members
> > -Revise the annual fee
> > • Decisions making : after consultation and collect of
> representative member points of views, Inria takes the final decision.
> >
> >
> > Technical Executing Committee (akaR&D task)
> > •Members proposed by the steering board and RMOD Team
> > •Study, analyse and validate external contributions for PHARO
> > •Report to the steering commitee
> > •Propose, schedule and implement tasks in conformance with the
> tasks list presented and approved the steering
> > •Coordinate the release Pharo and its VMs
> >
> >
> > Stef
> >
> >
> >
> >
> >
> >
> >
> > On Jun 14, 2012, at 9:34 PM, Cameron Sanders wrote:
> >
> >> I am under the impression that I can donate money to the Pharo group
> through gforge.inria.fr. Is it possible to donate with a credit card
> right through their website? If so, can you please share the link to that
> page? [My tired eyes are not seeing it today and my searches are failing
> too.] Thanks in advance.
> >>
> >> -Cam
> >
> >
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
June 15, 2012
[Pharo-project] Tests Guard report for 20132
by Pavel Krivanek
Tests Guard report for 20132
http://code.google.com/p/pharo/w/edit/TestsGuard
Firstly good news:
- we have working 2.0 builds and tests again
- this tests are green again:
* RPackage.Tests.RPackageWithDoTest.testWithDoIsCorrectlyReinstallingDefault
* RPackage.Tests.RPackageWithDoTest.testWithDoIsCorrectlyReinstallingDefaultEvenIfHalt
* Tests.SystemChangeNotification.ChangeHooksTest.testClassRecategorizedEvent1
and now bad news, as expected we have a lot of new failing tests:
* CompressionTests.Archive.ZipArchiveTest.testCreateWithRelativeNames
* CompressionTests.Archive.ZipArchiveTest.testFilePermissions
* CompressionTests.Archive.ZipArchiveTest.testZip
* FileSystem.Tests.Disk.DiskFileSystemTest.testRootIsNotAFile
* Gofer.Tests.GoferApiTest.testDirectoryRepository
* Gofer.Tests.GoferApiTest.testSubDirectoryRepository
* RPackage.Tests.RPackageImportFromPackageInfoTest.testImportExtensionFromParentPackageRegisterExtensionInParentPackage
* SUnit.Tests.Core.SUnitTest.testDialectLocalizedException
* SUnit.Tests.Core.TestCaseTest.testAssertEqualsActualAndExpectedOrder
* Tests.Monticello.MCFileInTest.testStWriter
* Tests.Monticello.MCMczInstallerTest.testInstallFromFile
* Tests.Monticello.MCMczInstallerTest.testInstallFromStream
* Tests.Monticello.MCMethodDefinitionTest.testCannotLoad
* Tests.Monticello.MCMethodDefinitionTest.testComparison
* Tests.Monticello.MCMethodDefinitionTest.testLoadAndUnload
* Tests.Monticello.MCMethodDefinitionTest.testPartiallyRevertOverrideMethod
* Tests.Monticello.MCMethodDefinitionTest.testRevertOldMethod
* Tests.Monticello.MCMethodDefinitionTest.testRevertOverrideMethod
* Tests.System.SmalltalkImageTest.testImageName
* Tests.Traits.TraitTest.testTraitsMethodClassSanity
...and a lot of new Linux specific failing tests:
* CompressionTests.Archive.ZipArchiveTest.testAddNonExistentFile
* CompressionTests.Archive.ZipArchiveTest.testDate29Feb2000
* CompressionTests.Archive.ZipArchiveTest.testPackDate
* CompressionTests.Archive.ZipArchiveTest.testPackTime
* CompressionTests.Archive.ZipArchiveTest.testSetLastModification
* CompressionTests.Archive.ZipArchiveTest.testUnpackDate
* CompressionTests.Archive.ZipArchiveTest.testUnpackTime
* FileSystem.Tests.Core.FileReferenceTest.testRename
* FileSystem.Tests.Disk.DiskFileSystemTest.testCreateDirectoryNoParent
* FileSystem.Tests.Disk.DiskFileSystemTest.testEnsureDirectory
* FileSystem.Tests.Disk.DiskFileSystemTest.testEnsureDirectoryCreatesParent
* FileSystem.Tests.Disk.DiskFileSystemTest.testFileNames
* FileSystem.Tests.Disk.DiskFileSystemTest.testReadStreamDoIfAbsent
* FileSystem.Tests.Disk.DiskFileSystemTest.testReadStreamIfAbsent
* FileSystem.Tests.Disk.DiskFileSystemTest.testWriteStreamDoIfPresent
* FileSystem.Tests.Disk.DiskFileSystemTest.testWriteStreamIfPresent
* FileSystem.Tests.Disk.FileHandleTest.testEnsureClosed
* Graphics.Tests.Files.PNGReadWriterTest.test1BitColors
* Graphics.Tests.Files.PNGReadWriterTest.test2BitColors
* Graphics.Tests.Files.PNGReadWriterTest.test4BitColors
* Graphics.Tests.Files.PNGReadWriterTest.test8BitColors
* Multilingual.Tests.TextConversion.MultiByteFileStreamTest.testBasicChunk
* Multilingual.Tests.TextConversion.MultiByteFileStreamTest.testBinaryUpTo
* Tests.System.CommandLine.BasicCodeLoaderTest.testInstallSourceFilesFail
Cheers,
-- Pavel
June 15, 2012
Re: [Pharo-project] donating money
by Marcus Denker
On Jun 15, 2012, at 4:06 AM, Alexandre Bergel wrote:
> By the way, could this donation be included in the ESUG registration?
> Can I fix myself the amount of money I am willing to give?
>
ESUG has nothing to do with Pharo. ESUG is a general Smalltalk User Group.
The Consortium and ESUG are different legal entitities, and as ESUG support
all Smalltalks, it would be very strange if it would take money for Pharo.
So: No way.
Marcus
--
Marcus Denker -- http://marcusdenker.de
June 15, 2012