Can knitr be set up to bookmark lower heading levels in PDF? - r-markdown

So, i have an issue whereby knitr only bookmarks up to four levels of RMarkdown headings
#
##
###
####
#####
Is there any way to extend the depth of headings that are being bookmarked in the PDF?

Related

How to analyze what set of ten numbers is repeated? (LOTTO)

How to analyze what set of ten numbers is repeated?
Each set has 20 different numbers. From 1 to 80.
How to do it in EmEditor text editor?
Example:
03,04,05,09,12,15,20,24,26,28,31,33,35,37,43,48,64,70,72,75
06,05,07,10,12,15,21,24,30,28,31,39,35,37,43,49,64,70,72,76
CSV File:
https://www25.zippyshare.com/v/0gLFugWf/file.html
This uses the Bookmark Duplicates dialog to bookmark all duplicates.
Change the User-defined CSV format to use the ";" delimiter. If you don't see the CSV toolbar, go to View | Toolbars | CSV/Sort toolbar. Go to Customize CSV for User-defined format and change Delimiter to ";". Press OK, then click on User-defined separated to go to view the file as a table.
Go to Delete/Bookmark Duplicate Lines (Advanced).
Change the settings like in the screenshot. I'm only looking for duplicates in the lotto numbers. Press the Bookmark button.
At this point, the duplicate entries are bookmarked. The status bar at the bottom shows the number of duplicates. You can navigate the bookmarks with F2 and shift+F2.

Using RMarkdown and Flextable to produce a table in Word with the property 'Allow row to break across pages'

I use Flextable with R Markdown to produce tables in word documents.
I am looking for a way to produce the table so that when it is in Word the table property 'Allow row to break across pages' is turned on. I have tried to do this by modifying the template document which defines the text styles for R Markdown but I cant get this to work.
Is there a way to modify the code (example below) so the resulting table in Word has the property 'Allow row to break across pages' turned on?
```{r table}
data <- iris[c(1:3, 51:53, 101:104),]
library(flextable)
data<-regulartable(data)
data
```
You need to use a chunk option ft.split=TRUE:
```{r ft.split=TRUE}
library(flextable)
data<-regulartable(head(iris))
data
```

Bokeh plot with drop down button

I have a csv file with a large number of columns. I've gotten to a point where I can add multiple columns on the same plot.
What I have so far: -
import pandas
from bokeh.plotting import figure, output_file, show
df=pandas.read_csv("finalMergedv1.csv")
p=figure(plot_width=600,plot_height=400,tools='pan,resize')
p.title="Some Title"
p.title.text_color="Gray"
p.title.text_font="arial"
p.title.text_font_style="bold"
p.xaxis.minor_tick_line_color=None
p.yaxis.minor_tick_line_color=None
p.xaxis.axis_label="x Axis Title"
p.yaxis.axis_label="Column header"
p.circle(df[df.columns[0]],df[df.columns[1]],size=10, color="Black")
p.circle(df[df.columns[0]],df[df.columns[2]],size=5, color="Coral")
p.circle(df[df.columns[0]],df[df.columns[3]],size=7, color="Gray")
output_file("Example.html")
show(p)
I would like to add a drop down widget to be able to select a specific column and view that specific one. The second part would be to change the y_axis_label based on the header of the column selected to view. I'm working with a dataframe thats about 50 -100 columns, so would really appreciate it if someone can tell me there is a better way to visualize that data other than bokeh. I have tried plotly, but would prefer other solutions.

Opencart Styling Product description

I have inserted data in table format in text editor of opencart. But this description is visible in the form of paragraph on front end of the store. How can I display product description in table form. In C:\Xamp\htdocs\opencart-2.0.3.1\upload\catalog\view\theme\default\template\product\category.tpl line 102
I am unable to convert this paragraph description into table format. so that the data entered in table format from admin should be displayed in table format not paragraph
if you get the html code of table in front then you need to use
html_entity_decode($description);
which convert you html tags into its respective.

Django Grappelli closer tabular lines

Is there a way to make labels and textfields closer to each other ?I am using django-grappelli. And can I define the change view such that all lines are in one column?
eg:
Label1 |_textfield1_| Label2 |_textfield_|
Label3 |_Radiobuttons_| Label4 |_large textfield_|