Giter Club home page Giter Club logo

nozzle's People

Contributors

ngehlenborg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nozzle's Issues

Allow figures to be 'expanded' by default

Currently, the user needs to click on a figure in order to enlarge it. It would be good one could specify expanded=TRUE in newFigure, so that they are enlarged by default.

assign anchors to sections and other report elements

In order to link to sections, figures, tables we would like to define anchors for these elements when their corresponding "newXXX" method is called.

In a perfect world, the "writeReport" method would generate a warning if duplicate anchors exist.

Problem with default encoding set

I found the bug in nozzle report.

In fact, this situation I already reported to Nils, but I can't found the solution in those days.

After about 2 year, finally I found the cause of problem. (guess)

please check this problem

setting a default encoding within the HTML of the report

sadl zk 2015-07-21 00 24 20

sadl zk 2015-07-21 00 24 38

Problem showing Chinese characters

If using English coding or Unicode in the browser, Chinese characters failed to show correctly.

When using Chinese character coding, namely GBK, Nozzle report will collapse to a narrow window that couldn't be viewed properly. But, If maximize the browser window, the problem is gone.

Add collapse control to Section/SubSection/SubSubSection

It would be extremely useful if the following flags were added to new{Section,SubSection,SubSubSection}:

  • collapsable
    • indicate if a Section/SubSection/SubSubSection is collapsable
  • collapsed
    • indicate if a Section/SubSection/SubSubSection begins collapsed (if collapsable is FALSE, this would be force-set to FALSE regardless of user seting)

asReference should create a link

It would be nice if the reference (i.e. "[#]") was a link that navigates to the associated reference in the references section of the report.

Chinese characters failed to show correctly

the corresponding R script:
setwd('C:/Users/Lenovo/Desktop')

require( "Nozzle.R1" );
#分析方法
r <- newCustomReport( "My Report" );
s1<- newSection('分析方法')

#########
r<- addTo(r,s1)
writeReport(r,filename = 'reports/my_report',credits = FALSE)
neither html nor browser can correctly show Chinese charater.
20191001155735
my_report.html.txt

add support for report DOIs

  • DOI should be included in a "How to Cite?" section.
  • a resolver URL should be provided.
  • generate warning/error if a DOI is set and user tries to set another DOI?

indent sections for every level

In cases where a subsection is included in a subsection indentation would help to tell different levels of the hierarchy apart.

Support different languages

Hi,

It would be nice if Nozzle was able to support languages other than English, such as Mandarin Chinese.

Thank you!

Bug in alphanumeric sorting of tables?

There appears to be a small bug, presumably in the javascript, which means that alphanumeric columns in tables cannot be sorted when using Nozzle. Here is a small test example.

library("Nozzle.r1")
num = c(1,2,3,2.1)
txt <- c("aada","aaba", "aaca","aaaa")
alphanum <- c("aad1", "aab2", "aac3", "aaa4")
d <- data.frame(numeric=num, text=txt, alphanumeric=alphanum)
report <- newCustomReport("Alphanumeric sorting test")
t <- newTable(d, "Test table")
report <- addTo(report, t)
writeReport(report, "test")

In the html output, it is possible to sort the "numeric" and "text" columns, but the "alphanumeric" column does not sort correctly.

Any insight gratefully received.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.