Skip to content

Commit

Permalink
Statax 1.3
Browse files Browse the repository at this point in the history
fixing some bugs regarding multiple-word filename
  • Loading branch information
haghish committed Apr 25, 2016
1 parent 95500fc commit ff19b31
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions statax.ado
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ program define statax
* Creating the file
****************************************************************************
tempname canvas
qui file open `canvas' using $statax , write text `replace' `append'
qui file open `canvas' using "$statax" , write text `replace' `append'

if missing("`append'") {
file write `canvas' `"<!doctype html>"' _n ///
Expand All @@ -108,7 +108,7 @@ program define statax
****************************************************************************
file close `canvas'
stataxstyle , style(`style') css("`css'")
capture file open `canvas' using $statax , write text append
capture file open `canvas' using "$statax" , write text append

****************************************************************************
* Main JavaScript engine developed by SHJS
Expand All @@ -118,7 +118,7 @@ program define statax
stataxmain // developed by SHJS
stataxsyn // developed by E. F. Haghish

capture file open `canvas' using $statax , write text append
capture file open `canvas' using "$statax" , write text append


****************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion stataxmain.ado
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ program define stataxmain
version 11

tempname canvas
capture file open `canvas' using $statax , write text append
capture file open `canvas' using "$statax" , write text append

********************************************************************
* This is the main engine
Expand Down
2 changes: 1 addition & 1 deletion stataxstyle.ado
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ program define stataxstyle
syntax [anything] , [STYle(name)] [css(str)]

tempname canvas
capture file open `canvas' using $statax , write text append
capture file open `canvas' using "$statax" , write text append

********************************************************************
* Stata Style (default)
Expand Down
2 changes: 1 addition & 1 deletion stataxsyn.ado
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ program define stataxsyn
syntax

tempname canvas
capture file open `canvas' using $statax , write text append
capture file open `canvas' using "$statax" , write text append

********************************************************************
* This is the main engine
Expand Down

0 comments on commit ff19b31

Please sign in to comment.